:root {
    --navy: #082e5c;
    --navy-dark: #051f40;
    --red: #d10a11;
    --ink: #092a50;
    --muted: #64748b;
    --line: #dce6ef;
    --green: #168463;
    --shadow: 0 22px 60px rgba(8, 46, 92, .13);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: #f8fbfe;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background-image:
        linear-gradient(rgba(255, 255, 255, .28), rgba(255, 255, 255, .28)),
        url("../images/istanbul-v2-vapursuz1.png");
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    isolation: isolate;
}

body::before {
    content: "";
    position: fixed;
    z-index: -1;
    left: 0;
    bottom: 4px;
    width: clamp(250px, 31vw, 460px);
    aspect-ratio: 1200 / 532;
    background: url("../images/istanbul-vapur-dalgali.png") center / contain no-repeat;
    pointer-events: none;
    animation: ferry-trip 34s linear infinite;
}

.page-shell::before,
.page-shell::after {
    content: "";
    position: fixed;
    z-index: -1;
    left: 0;
    width: 82px;
    aspect-ratio: 80 / 52;
    background: url("../images/marti1.png") center / contain no-repeat;
    opacity: .8;
    pointer-events: none;
    filter: drop-shadow(0 2px 2px rgba(8, 46, 92, .1));
    animation: gull-flight 24s linear infinite, gull-wings .58s steps(1, end) infinite;
}

.page-shell::before {
    top: 31vh;
}

.page-shell::after {
    top: 43vh;
    width: 66px;
    animation-name: gull-flight-reverse, gull-wings;
    animation-duration: 29s, .58s;
    animation-delay: -9s, 0s;
}

@keyframes ferry-trip {
    from { transform: translate3d(-120%, 0, 0); }
    to { transform: translate3d(calc(100vw + 20px), 0, 0); }
}

@keyframes gull-flight {
    from { transform: translate3d(-140%, 0, 0); }
    to { transform: translate3d(calc(100vw + 40px), 0, 0); }
}

@keyframes gull-flight-reverse {
    from { transform: translate3d(calc(100vw + 40px), 0, 0) scaleX(-1); }
    to { transform: translate3d(-140%, 0, 0) scaleX(-1); }
}

@keyframes gull-wings {
    0%, 49% { background-image: url("../images/marti1.png"); }
    50%, 100% { background-image: url("../images/marti2.png"); }
}

.site-header {
    min-height: 104px;
    padding: 0 12px;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
    position: relative;
    z-index: 3;
}

.site-header-inner {
    width: 100%;
    max-width: 1180px;
    min-height: 103px;
    padding-left: 0;
    padding-right: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--navy);
    text-decoration: none;
}

.brand-logo {
    width: 68px;
    height: 68px;
    object-fit: contain;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 19px;
    font-weight: 900;
}

.brand small {
    margin-top: 4px;
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.header-help {
    text-align: right;
    font-size: 13px;
}

.header-help span,
.header-help a {
    display: block;
}

.header-help span {
    margin-bottom: 4px;
    color: var(--muted);
}

.header-help a {
    color: var(--navy);
    font-weight: 800;
    text-decoration: none;
}

.page-shell {
    width: min(1180px, calc(100% - 40px));
    max-width: 1180px;
    margin: 52px auto 80px;
    padding: 0;
    position: relative;
    z-index: 1;
}

.intro-panel {
    padding: 28px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .74);
    backdrop-filter: blur(4px);
}

.eyebrow,
.card-kicker {
    display: block;
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.eyebrow {
    margin-bottom: 15px;
}

.intro-panel h1 {
    margin: 0 0 18px;
    color: var(--navy);
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -.035em;
}

.intro-panel h1::after {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    margin-top: 22px;
    border-radius: 4px;
    background: var(--red);
}

.intro-panel > p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.stepper {
    margin: 40px 0 0;
    padding: 0;
    display: grid;
    list-style: none;
}

.step {
    min-height: 75px;
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: start;
    gap: 12px;
    color: #8a9bab;
    position: relative;
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 18px;
    top: 38px;
    height: 37px;
    border-left: 2px solid #d8e2ec;
}

.step > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid #cbd7e2;
    border-radius: 50%;
    background: #fff;
    font-size: 13px;
    font-weight: 800;
}

.step div {
    padding-top: 1px;
}

.step strong,
.step small {
    display: block;
}

.step strong {
    padding-top: 2px;
    font-size: 14px;
}

.step small {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.35;
}

.step.active {
    color: var(--navy);
}

.step.active > span {
    color: #fff;
    background: var(--navy);
    border-color: var(--navy);
    box-shadow: 0 7px 20px rgba(8, 46, 92, .22);
}

.step.complete {
    color: var(--green);
}

.step.complete > span {
    color: #fff;
    background: var(--green);
    border-color: var(--green);
}

.form-card {
    padding: 42px 46px;
    overflow: hidden;
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(8, 46, 92, .1);
    border-radius: 22px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}

.card-heading {
    padding-bottom: 28px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    border-bottom: 1px solid var(--line);
}

.card-heading > div:first-child {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.section-no {
    margin-top: 2px;
    padding: 6px;
    color: var(--red);
    border: 1px solid rgba(209, 10, 17, .25);
    border-radius: 5px;
    font-size: 11px;
    font-weight: 900;
}

.card-kicker {
    margin-bottom: 7px;
    font-size: 10px;
}

.card-heading h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(22px, 3vw, 27px);
    font-weight: 900;
    line-height: 1.2;
}

.secure-badge {
    min-width: max-content;
    padding: 8px 11px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--green);
    background: #eef9f5;
    border: 1px solid #cce9df;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.lookup-form {
    padding-top: 31px;
}

.identity-field label {
    display: block;
    margin: 0 0 9px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.input-wrap {
    position: relative;
}

.identity-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 30px;
    display: grid;
    place-items: center;
    color: var(--red);
    background: #fff0f1;
    border-radius: 7px;
    font-size: 17px;
    pointer-events: none;
}

.identity-field input {
    width: 100%;
    min-height: 58px;
    padding: 0 16px 0 64px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #cbd7e2;
    border-radius: 10px;
    outline: none;
    font: 700 17px/1 Inter, "Segoe UI", Arial, sans-serif;
    letter-spacing: .035em;
    transition: border-color .2s, box-shadow .2s;
}

.identity-field input::placeholder {
    color: #91a1b1;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
}

.identity-field input:hover {
    border-color: #9eb1c3;
}

.identity-field input:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 4px rgba(8, 46, 92, .08);
}

.identity-field input[aria-invalid="true"] {
    border-color: #b4233c;
}

.identity-field > small {
    display: block;
    margin-top: 9px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.identity-field > .field-error {
    min-height: 18px;
    margin-top: 4px;
    color: #a8152c;
    font-weight: 700;
}

.primary-button {
    width: 100%;
    min-height: 56px;
    margin-top: 11px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: #fff;
    background: var(--navy);
    border: 0;
    border-radius: 10px;
    box-shadow: 0 9px 22px rgba(8, 46, 92, .22);
    font: 900 13px/1 Inter, "Segoe UI", Arial, sans-serif;
    letter-spacing: .055em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .2s, transform .2s, box-shadow .2s;
}

.primary-button:hover {
    background: var(--navy-dark);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(8, 46, 92, .26);
}

.primary-button:focus-visible {
    outline: 3px solid rgba(209, 10, 17, .35);
    outline-offset: 3px;
}

.primary-button:disabled {
    opacity: .72;
    cursor: wait;
    transform: none;
}

.button-arrow {
    font-size: 19px;
    transition: transform .2s;
}

.primary-button:hover .button-arrow {
    transform: translateX(3px);
}

.privacy-note {
    margin-top: 28px;
    padding: 16px 17px;
    display: flex;
    align-items: center;
    gap: 13px;
    color: #526681;
    background: #f7fafc;
    border: 1px solid var(--line);
    border-radius: 11px;
}

.privacy-note p {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
}

.privacy-note strong {
    color: var(--navy);
}

.debt-page {
    align-items: start;
}

.debt-card {
    padding-top: 0;
}

.member-summary {
    margin: 0 -46px 34px;
    padding: 24px 46px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--navy);
    background: linear-gradient(100deg, #f1f7fc, #fbfdff);
    border-bottom: 1px solid var(--line);
}

.member-avatar {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--navy);
    border-radius: 50%;
    font-size: 21px;
    box-shadow: 0 8px 20px rgba(8, 46, 92, .18);
}

.member-summary > div:nth-child(2) {
    min-width: 0;
}

.member-summary span,
.member-summary strong {
    display: block;
}

.member-summary > div > span {
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.member-summary > div > strong {
    overflow: hidden;
    font-size: 17px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-badge {
    margin-left: auto;
    padding: 8px 11px;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    color: var(--green);
    background: #eaf7f2;
    border: 1px solid #cce9df;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.debt-heading {
    padding-top: 0;
}

.debt-placeholder {
    margin-top: 28px;
    padding: 42px 24px;
    text-align: center;
    color: var(--muted);
    background: #f8fbfd;
    border: 1px dashed #b9cbdc;
    border-radius: 14px;
}

.debt-placeholder > i {
    display: block;
    margin-bottom: 14px;
    color: var(--navy);
    font-size: 34px;
}

.debt-placeholder h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 19px;
    font-weight: 900;
}

.debt-placeholder p {
    margin: 0;
    font-size: 13px;
}

.debt-empty > i {
    color: var(--green);
}

.debt-table-wrap {
    margin-top: 28px;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.debt-table {
    min-width: 840px;
    color: var(--ink);
    font-size: 13px;
}

.debt-table thead th {
    padding: 14px 13px;
    color: #536a82;
    background: #f4f8fb;
    border-bottom-color: var(--line);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .045em;
    text-transform: uppercase;
    white-space: nowrap;
}

.debt-table tbody td {
    padding: 15px 13px;
    border-color: #e8eef4;
}

.debt-table tbody tr:last-child td {
    border-bottom: 0;
}

.debt-interest {
    color: #9a5c08 !important;
}

.debt-row-total {
    color: var(--navy) !important;
    font-weight: 900;
}

.debt-totals {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.debt-totals > div {
    padding: 16px 17px;
    display: grid;
    gap: 6px;
    background: #f7fafc;
    border: 1px solid var(--line);
    border-radius: 11px;
}

.debt-totals span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.debt-totals strong {
    color: var(--navy);
    font-size: 18px;
}

.debt-totals .grand-total {
    color: #fff;
    background: var(--navy);
    border-color: var(--navy);
    box-shadow: 0 9px 22px rgba(8, 46, 92, .16);
}

.debt-totals .grand-total span,
.debt-totals .grand-total strong {
    color: #fff;
}

.debt-actions {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.logout-form {
    margin: 0;
}

.payment-start-form {
    margin: 0;
}

.payment-summary-bar {
    margin: 0 -46px 34px;
    padding: 22px 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: var(--navy);
    background: linear-gradient(100deg, #f1f7fc, #fbfdff);
    border-bottom: 1px solid var(--line);
}

.payment-summary-bar span,
.payment-summary-bar strong {
    display: block;
}

.payment-summary-bar span {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.payment-summary-bar strong {
    font-size: 22px;
    font-weight: 900;
}

.payment-member {
    max-width: 55%;
    text-align: right;
}

.payment-member strong {
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.payment-heading {
    padding-top: 0;
}

.payment-content {
    padding-top: 30px;
}

.card-preview {
    min-height: 176px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 88% 12%, rgba(255,255,255,.18), transparent 27%),
        linear-gradient(135deg, #0c3b72, #061e3d 72%);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    box-shadow: 0 20px 38px rgba(8, 46, 92, .23);
    position: relative;
}

.card-preview::after {
    content: "";
    position: absolute;
    right: -64px;
    bottom: -94px;
    width: 210px;
    height: 210px;
    border: 34px solid rgba(255, 255, 255, .055);
    border-radius: 50%;
}

.card-preview-top,
.card-preview-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.card-preview-top i {
    font-size: 25px;
}

.card-preview-top span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.card-chip {
    width: 42px;
    height: 31px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    background: linear-gradient(135deg, #f5d792, #c8a858);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 7px;
}

.card-chip span {
    border-right: 1px solid rgba(95, 70, 20, .25);
}

.card-preview-number {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 800;
    letter-spacing: .08em;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.card-preview-bottom small,
.card-preview-bottom strong {
    display: block;
}

.card-preview-bottom small {
    margin-bottom: 3px;
    color: rgba(255, 255, 255, .66);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.card-preview-bottom strong {
    max-width: 170px;
    overflow: hidden;
    font-size: 11px;
    letter-spacing: .04em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.supported-cards {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.supported-cards span {
    padding: 6px 9px;
    color: #526681;
    background: #f6f9fc;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
}

.installment-info {
    margin: 12px 0 0;
    padding: 11px 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #526681;
    background: rgba(244, 248, 251, .92);
    border: 1px solid var(--line);
    border-radius: 9px;
    font-size: 11px;
    line-height: 1.55;
}

.installment-info > i {
    margin-top: 1px;
    color: var(--navy);
    font-size: 14px;
}

.installment-info strong {
    color: var(--navy);
}

.card-form .form-label {
    margin-bottom: 7px;
    color: var(--navy);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.card-form .form-control,
.card-form .form-select,
.card-form .input-group-text {
    min-height: 49px;
    border-color: #cbd7e2;
}

.card-form .input-group-text {
    color: var(--navy);
    background: #f4f8fb;
}

.card-form .form-control:focus,
.card-form .form-select:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 4px rgba(8, 46, 92, .08);
}

.card-form .form-text {
    color: var(--muted);
    font-size: 11px;
}

.card-meta {
    margin-top: 8px;
    padding: 9px 11px;
    color: #526681;
    background: #f5f8fb;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.45;
}

.card-meta.success {
    color: #12664e;
    background: #edf8f4;
    border-color: #cce9df;
}

.payment-security-note {
    margin-top: 30px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 13px;
    color: #526681;
    background: #f1f8f5;
    border: 1px solid #cfe8df;
    border-radius: 11px;
}

.payment-security-note > i {
    color: var(--green);
    font-size: 25px;
}

.payment-security-note p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
}

.payment-security-note strong {
    color: #12664e;
}

.payment-actions {
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.debt-actions .btn {
    min-height: 46px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    border-color: #cbd7e2;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
}

.debt-actions .btn-primary {
    color: #fff;
    background: var(--navy);
    border-color: var(--navy);
}

.debt-actions .btn-primary:disabled {
    color: #fff;
    background: var(--navy);
    border-color: var(--navy);
    opacity: .58;
}

.shield-mark {
    flex: 0 0 32px;
    width: 32px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--green);
    border-radius: 15px 15px 18px 18px;
    font-size: 17px;
    clip-path: polygon(50% 0, 100% 17%, 93% 74%, 50% 100%, 7% 74%, 0 17%);
}

.system-alert {
    margin: 24px 0 0;
    padding: 15px 17px;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.system-alert > i {
    margin-top: 2px;
    font-size: 18px;
}

.system-alert strong,
.system-alert span {
    display: block;
}

.payment-rule-alert strong {
    margin-bottom: 8px;
}

.site-footer {
    width: min(1180px, calc(100% - 40px));
    max-width: 1180px;
    min-height: 78px;
    margin: auto auto 22px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #173b63;
    background: rgba(247, 250, 253, .88);
    border: 1px solid rgba(255, 255, 255, .92);
    border-radius: 20px;
    box-shadow: 0 14px 40px rgba(8, 46, 92, .08), inset 0 1px 0 rgba(255, 255, 255, .8);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 11px;
    position: relative;
    z-index: 2;
}

.footer-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.footer-security {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #173b63;
}

.footer-security > i {
    color: #173b63;
    font-size: 12px;
}

.site-footer nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 24px;
}

.site-footer a {
    color: #173b63;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s;
}

.site-footer a:hover {
    color: var(--red);
}

.site-footer a:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 4px;
    border-radius: 2px;
}

.information-page { background-color:#f5f9fd; }
.information-shell { width:min(1180px,calc(100% - 40px)); max-width:1180px; margin:auto; padding:44px 0; }
.information-card { overflow:hidden; border:1px solid rgba(201,216,230,.9); border-radius:24px; background:rgba(255,255,255,.96); box-shadow:var(--shadow); }
.information-hero { display:flex; align-items:flex-start; gap:20px; padding:34px 38px 30px; border-bottom:1px solid var(--line); background:linear-gradient(135deg,#f4f9ff 0%,#fff 72%); }
.information-icon { display:grid; flex:0 0 58px; width:58px; height:58px; place-items:center; border-radius:18px; background:#e8f2ff; color:#0d6efd; font-size:26px; }
.information-hero .eyebrow { display:block; margin-bottom:7px; color:var(--red); font-size:11px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.information-hero h1 { margin:0 0 10px; color:var(--navy); font-size:clamp(27px,4vw,40px); font-weight:900; }
.information-hero p { max-width:850px; margin:0; color:var(--muted); font-size:15px; line-height:1.7; }
.information-sections { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; padding:28px 38px; }
.information-section { display:flex; align-items:flex-start; gap:13px; padding:20px; border:1px solid var(--line); border-radius:16px; background:#fbfdff; }
.information-section-icon { display:grid; flex:0 0 38px; width:38px; height:38px; place-items:center; border-radius:12px; background:#eaf4ff; color:#0d6efd; font-size:17px; }
.information-section h2 { margin:3px 0 11px; color:var(--navy); font-size:16px; font-weight:900; }
.information-section p { margin:0 0 10px; color:#405873; font-size:13px; line-height:1.65; }
.information-section p:last-child { margin-bottom:0; }
.information-section a { color:var(--navy); text-decoration:none; }
.information-section a:hover { color:var(--red); }
.information-notice { display:flex; align-items:flex-start; gap:12px; margin:0 38px 34px; padding:16px 18px; border:1px solid #b9d9cc; border-radius:13px; background:#edf9f4; color:#125f49; }
.information-notice i { margin-top:1px; font-size:18px; }
.information-notice p { margin:0; font-size:13px; line-height:1.55; }
.information-back { display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border:1px solid #cbd9e7; border-radius:10px; color:var(--navy); background:#fff; font-size:13px; font-weight:800; text-decoration:none; }
.information-back:hover { border-color:#0d6efd; color:#0d6efd; }
.information-page .site-footer a[aria-current="page"] { color:var(--red); }

@media (max-width: 991.98px) {
    .information-sections { grid-template-columns:1fr; }
}

@media (max-width: 575.98px) {
    .information-shell { width:calc(100% - 24px); padding:24px 0; }
    .information-hero { padding:25px 20px; }
    .information-icon { flex-basis:46px; width:46px; height:46px; border-radius:14px; font-size:21px; }
    .information-sections { padding:20px; }
    .information-notice { margin:0 20px 24px; }
    .information-back { padding:9px; font-size:0; }
    .information-back i { font-size:18px; }
}

.payment-result-main {
    width: 100%;
    flex: 1 0 auto;
    display: grid;
    place-items: start center;
    padding: clamp(32px, 7vh, 74px) 20px 42px;
}

.payment-result-page {
    width: 100%;
    max-width: none;
    margin: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .28), rgba(255, 255, 255, .28)),
        url("../images/istanbul-v2.png");
    background-position: center bottom;
    background-size: cover;
}

.payment-result-page::before {
    left: clamp(16px, 4vw, 72px);
    bottom: 84px;
    width: clamp(270px, 31vw, 520px);
    animation: none;
}

.payment-result-card {
    width: min(620px, 100%);
    padding: 30px clamp(24px, 6vw, 54px) 38px;
    color: var(--ink);
    background: linear-gradient(145deg, rgba(255, 255, 255, .86), rgba(244, 249, 253, .68));
    border: 1px solid rgba(255, 255, 255, .92);
    border-radius: 26px;
    box-shadow: 0 24px 65px rgba(8, 46, 92, .16), inset 0 1px 0 rgba(255, 255, 255, .94);
    backdrop-filter: blur(20px) saturate(135%);
    -webkit-backdrop-filter: blur(20px) saturate(135%);
}

.payment-result-logo {
    display: block;
    width: 118px;
    height: 112px;
    margin: 0 auto 12px;
    object-fit: contain;
}

.payment-result-status {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    box-shadow: 0 12px 26px rgba(8, 46, 92, .16);
    font-size: 31px;
    font-weight: 900;
}

.payment-result-status.is-error {
    background: linear-gradient(145deg, #ef4050, #cf1f31);
}

.payment-result-status.is-success {
    background: linear-gradient(145deg, #28a77f, #14785b);
}

.payment-result-card h1 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: clamp(26px, 4vw, 34px);
    font-weight: 850;
    letter-spacing: -.025em;
}

.payment-result-card p {
    max-width: 500px;
    margin: 0 auto;
    color: #4e647c;
    font-size: 16px;
    line-height: 1.65;
}

.payment-result-receipt {
    margin-top: 8px;
    color: #4e647c;
    font-size: 16px;
    line-height: 1.5;
}

.payment-result-receipt strong {
    color: var(--navy);
    font-weight: 850;
}

.payment-result-button {
    width: auto;
    min-height: 48px;
    margin-top: 24px;
    padding: 12px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

@media (max-width: 575px) {
    .payment-result-page {
        background-size: cover;
    }

    .payment-result-page::before {
        left: 8px;
        bottom: 106px;
        width: min(62vw, 245px);
    }

    .payment-result-main {
        padding: 24px 14px 30px;
    }

    .payment-result-card {
        padding: 24px 20px 30px;
        border-radius: 20px;
    }

    .payment-result-logo {
        width: 102px;
        height: 96px;
    }
}

@media (max-width: 850px) {
    body {
        background-size: auto 430px;
    }

    body::before {
        width: clamp(150px, 36vw, 230px);
        bottom: -8px;
    }

    .site-header {
        min-height: 88px;
        padding: 0 20px;
    }

    .site-header-inner {
        min-height: 87px;
    }

    .brand-logo {
        width: 58px;
        height: 58px;
    }

    .brand strong {
        font-size: 16px;
    }

    .header-help {
        display: none;
    }

    .page-shell {
        margin-top: 20px;
    }

    .intro-panel {
        padding: 22px;
    }

    .intro-panel h1 {
        max-width: 620px;
        font-size: clamp(31px, 7vw, 42px);
    }

    .stepper {
        margin-top: 28px;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .step {
        min-height: 0;
        grid-template-columns: 32px 1fr;
        gap: 8px;
    }

    .step > span {
        width: 32px;
        height: 32px;
    }

    .step:not(:last-child)::after {
        display: none;
    }

    .step small {
        display: none;
    }
}

@media (max-width: 580px) {
    .site-header {
        min-height: 78px;
    }

    .site-header-inner {
        min-height: 77px;
    }

    .brand {
        gap: 10px;
    }

    .brand-logo {
        width: 50px;
        height: 50px;
    }

    .brand strong {
        font-size: 15px;
    }

    .brand small {
        font-size: 9px;
    }

    .page-shell {
        width: calc(100% - 24px);
        margin-bottom: 52px;
    }

    .intro-panel {
        padding: 18px 16px;
    }

    .intro-panel > p {
        font-size: 15px;
    }

    .stepper {
        gap: 7px;
    }

    .step {
        display: flex;
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

    .step strong {
        font-size: 11px;
        line-height: 1.25;
    }

    .form-card {
        padding: 29px 21px;
        border-radius: 18px;
    }

    .member-summary {
        margin: 0 -21px 28px;
        padding: 20px 21px;
    }

    .member-summary > div:nth-child(2) {
        flex: 1 1 auto;
    }

    .member-summary > div > strong {
        overflow: visible;
        line-height: 1.25;
        text-overflow: clip;
        white-space: normal;
    }

    .member-avatar {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .member-badge {
        display: none !important;
    }

    .payment-summary-bar {
        margin: 0 -21px 28px;
        padding: 20px 21px;
    }

    .payment-summary-bar strong {
        font-size: 18px;
    }

    .payment-member {
        max-width: 52%;
    }

    .card-preview {
        min-height: 164px;
        padding: 18px 20px;
    }

    .debt-totals {
        grid-template-columns: 1fr;
    }

    .debt-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .debt-actions .btn {
        justify-content: center;
    }

    .card-heading {
        padding-bottom: 22px;
    }

    .secure-badge {
        display: none;
    }

    .card-heading h2 {
        font-size: 21px;
    }

    .lookup-form {
        padding-top: 25px;
    }

    .site-footer {
        width: calc(100% - 32px);
        margin-bottom: 16px;
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        border-radius: 17px;
    }

    .footer-info {
        line-height: 1.55;
    }

    .site-footer nav {
        justify-content: flex-start;
        gap: 12px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
