#loader {
    display: none;
    text-align: center;
    padding: 12px 0;
}

.payment-page {
    margin-top: -100px;
    padding-bottom: 48px;
}

.payment-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(23, 38, 95, 0.18);
    overflow: hidden;
}

.payment-card__header {
    background: linear-gradient(135deg, #17265f 0%, #243d8f 100%);
    color: #fff;
    padding: 28px 32px 24px;
}

.payment-card__header h1 {
    font-size: 1.65rem;
    margin: 0 0 8px;
    color: #fff;
}

.payment-card__subtitle {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 600;
    opacity: 0.95;
}

.payment-card__lead {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.88;
}

.payment-card__body {
    padding: 28px 32px 32px;
}

.payment-section {
    margin-bottom: 24px;
}

.payment-section__title {
    font-size: 1rem;
    font-weight: 700;
    color: #17265f;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #eef1f8;
}

.form-hint {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #eef4ff;
    border: 1px solid #c9d8f5;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 18px;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #334155;
}

.form-hint--secure {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.form-hint--error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.form-hint--error i {
    color: #b91c1c;
}

.form-hint i {
    color: #17265f;
    margin-top: 2px;
}

.form-hint--secure i {
    color: #15803d;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-option-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    margin: 0;
    font-weight: 500;
}

.payment-option-card:hover {
    border-color: #94a9d9;
    background: #f8faff;
}

.payment-option-card:has(input:checked) {
    border-color: #17265f;
    background: #f0f4ff;
    box-shadow: 0 0 0 1px #17265f;
}

.payment-option-card input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.payment-summary {
    background: #f8faff;
    border: 1px solid #dbe4f5;
    border-radius: 16px;
    padding: 18px 20px;
    margin: 8px 0 22px;
}

.payment-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
    font-size: 0.95rem;
    color: #475569;
}

.payment-summary__row--total {
    margin-top: 8px;
    padding-top: 14px;
    border-top: 2px dashed #c9d4ea;
    font-size: 1.08rem;
    font-weight: 700;
    color: #17265f;
}

.payment-summary__note {
    margin: 12px 0 0;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.4;
}

.payment-card .form-group label {
    font-weight: 600;
    color: #1e293b;
}

.payment-card .input-box input[readonly] {
    background: #f8fafc;
    color: #334155;
}

.payment-card .input-box input[type="tel"] {
    position: relative;
    display: block;
    width: 100%;
    height: 52px;
    box-sizing: border-box;
    background: #f8fafc;
    border: 1px solid #e2deda;
    color: #334155;
    font-size: 16px;
    padding-left: 21px;
    padding-right: 20px;
}

.payment-card .btn-one {
    width: 100%;
}

.payment-card .btn-one:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.payment-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.9rem;
    color: #64748b;
    text-decoration: none;
}

.payment-back-link:hover {
    color: #17265f;
}

@media (max-width: 575px) {
    .payment-card__header,
    .payment-card__body {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.receipt-success-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.receipt-success-badge i {
    color: #86efac;
}

.receipt-details {
    background: #f8faff;
    border: 1px solid #dbe4f5;
    border-radius: 16px;
    padding: 6px 20px;
    margin-bottom: 24px;
}

.receipt-detail-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #e8eef8;
    font-size: 0.95rem;
}

.receipt-detail-row:last-child {
    border-bottom: none;
}

.receipt-detail-row span {
    color: #64748b;
    flex-shrink: 0;
}

.receipt-detail-row strong {
    color: #1e293b;
    text-align: right;
    word-break: break-word;
}

.receipt-detail-row--amount strong {
    color: #17265f;
    font-size: 1.15rem;
}

.receipt-message {
    margin: 0 0 22px;
    font-size: 0.98rem;
    line-height: 1.55;
    color: #334155;
}

.receipt-support {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 24px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #475569;
}

.receipt-support a {
    color: #17265f;
    font-weight: 600;
    text-decoration: none;
}

.receipt-support a:hover {
    text-decoration: underline;
}

.receipt-signoff {
    margin: 0 0 18px;
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.5;
}

.receipt-address {
    background: #17265f;
    color: #fff;
    text-align: center;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.9rem;
}

.receipt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}

.receipt-actions .btn-one,
.receipt-actions .btn-one--outline {
    flex: 1 1 160px;
    text-align: center;
    justify-content: center;
}

.btn-one--outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 999px;
    border: 2px solid #17265f;
    background: #fff;
    color: #17265f;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.btn-one--outline:hover {
    background: #17265f;
    color: #fff;
}

.receipt-print-area {
    max-width: 720px;
    margin: 0 auto;
}

@media (max-width: 575px) {
    .receipt-detail-row {
        flex-direction: column;
        gap: 4px;
    }

    .receipt-detail-row strong {
        text-align: left;
    }
}

@media print {
    .main-header,
    .stricky-header,
    .receipt-actions,
    .receipt-back-link,
    .hideDuringPrinting {
        display: none !important;
    }

    .payment-page {
        margin-top: 0;
        padding: 0;
    }

    .payment-card {
        box-shadow: none;
        border-radius: 0;
    }

    .payment-card__header {
        background: #17265f !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .receipt-address {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
