/* =========================================================
   ADMISSION PAYMENT
========================================================= */

.admission-payment-section {
    margin-top: 40px;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.payment-section-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.payment-section-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #14532d;
    color: #ffffff;
    font-size: 20px;
}

.payment-section-header h2 {
    margin: 0 0 6px;
    font-size: 24px;
    color: #14532d;
}

.payment-section-header p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}


/* =========================================================
   PAYMENT NOTICE
========================================================= */

.payment-notice {
    display: flex;
    gap: 14px;
    padding: 18px;
    margin-bottom: 25px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
}

.payment-notice-icon {
    color: #15803d;
    font-size: 20px;
    padding-top: 2px;
}

.payment-notice strong {
    display: block;
    margin-bottom: 5px;
    color: #166534;
}

.payment-notice p {
    margin: 4px 0 0;
    color: #475569;
    line-height: 1.6;
}


/* =========================================================
   PAYMENT ACCOUNT CARDS
========================================================= */

.payment-accounts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.payment-account-card {
    padding: 22px;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    background: #ffffff;
    transition: 0.2s ease;
}

.payment-account-card:hover {
    border-color: #14532d;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.payment-account-top {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 20px;
}

.payment-account-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: #ffffff;
    font-size: 18px;
}

.momo-icon {
    background: #facc15;
    color: #111827;
}

.orange-icon {
    background: #f97316;
}

.payment-account-top h3 {
    margin: 0 0 3px;
    color: #1e293b;
    font-size: 18px;
}

.payment-account-top span {
    font-size: 13px;
    color: #64748b;
}

.payment-account-details {
    display: grid;
    gap: 13px;
}

.payment-detail {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 11px;
    border-bottom: 1px solid #f1f5f9;
}

.payment-detail:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.payment-detail span {
    color: #64748b;
    font-size: 14px;
}

.payment-detail strong {
    color: #1e293b;
    text-align: right;
    font-size: 14px;
}


/* =========================================================
   PAYMENT FORM
========================================================= */

.payment-form-group {
    margin-bottom: 25px;
}

.payment-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #1e293b;
}

.payment-label span {
    color: #dc2626;
}


/* =========================================================
   PAYMENT METHODS
========================================================= */

.payment-method-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.payment-method-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s ease;
}

.payment-method-option:hover {
    border-color: #14532d;
    background: #f8fafc;
}

.payment-method-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-radio {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #94a3b8;
    border-radius: 50%;
    position: relative;
}

.payment-method-option input:checked + .payment-radio {
    border-color: #14532d;
}

.payment-method-option input:checked + .payment-radio::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    top: 3px;
    left: 3px;
    border-radius: 50%;
    background: #14532d;
}

.payment-method-option:has(input:checked) {
    border-color: #14532d;
    background: #f0fdf4;
}

.payment-method-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.payment-method-content strong {
    color: #1e293b;
}

.payment-method-content small {
    color: #64748b;
}


/* =========================================================
   PAYMENT INPUT
========================================================= */

.payment-input {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: #1e293b;
    font-size: 15px;
    outline: none;
    transition: 0.2s ease;
    box-sizing: border-box;
}

.payment-input:focus {
    border-color: #14532d;
    box-shadow: 0 0 0 3px rgba(20, 83, 45, 0.10);
}

.payment-help {
    display: block;
    margin-top: 7px;
    color: #64748b;
    font-size: 13px;
}


/* =========================================================
   CONFIRMATION
========================================================= */

.payment-confirmation {
    padding: 18px;
    margin-top: 5px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.payment-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    color: #334155;
    line-height: 1.6;
    font-size: 14px;
}

.payment-checkbox-label input {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: #14532d;
}


/* =========================================================
   VERIFICATION NOTICE
========================================================= */

.payment-verification-notice {
    display: flex;
    gap: 13px;
    margin-top: 20px;
    padding: 17px;
    border-radius: 12px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.payment-verification-notice > i {
    color: #ea580c;
    font-size: 19px;
    padding-top: 2px;
}

.payment-verification-notice strong {
    display: block;
    color: #9a3412;
    margin-bottom: 4px;
}

.payment-verification-notice p {
    margin: 0;
    color: #57534e;
    line-height: 1.5;
    font-size: 14px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .admission-payment-section {
        padding: 20px;
        border-radius: 14px;
    }

    .payment-accounts,
    .payment-method-options {
        grid-template-columns: 1fr;
    }

    .payment-section-header h2 {
        font-size: 21px;
    }

    .payment-detail {
        flex-direction: column;
        gap: 3px;
    }

    .payment-detail strong {
        text-align: left;
    }

}





/* ==========================================================================
   TC HEALTHCARE INTERNATIONAL
   Admin - Admission Details
   ========================================================================== */

/* --------------------------------------------------------------------------
   Main Content
   -------------------------------------------------------------------------- */

.admin-main {
    padding: 30px;
    min-width: 0;
}


/* --------------------------------------------------------------------------
   Page Header
   -------------------------------------------------------------------------- */

.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.page-header h1 {
    margin: 8px 0 5px;
    font-size: 28px;
    line-height: 1.25;
    color: #111827;
}

.page-header p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #166534;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}


/* --------------------------------------------------------------------------
   Alerts
   -------------------------------------------------------------------------- */

.admin-alert {
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
}


/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.admin-card {
    margin-bottom: 22px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
}

.card-header {
    padding: 20px 22px;
    border-bottom: 1px solid #e5e7eb;
}

.card-header h2 {
    margin: 0 0 5px;
    color: #111827;
    font-size: 18px;
    line-height: 1.4;
}

.card-header h2 i {
    margin-right: 8px;
    color: #166534;
}

.card-header p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}


/* --------------------------------------------------------------------------
   Details Grid
   -------------------------------------------------------------------------- */

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-item {
    min-width: 0;
    padding: 18px 22px;
    border-bottom: 1px solid #f1f5f9;
}

.detail-item:nth-child(odd) {
    border-right: 1px solid #f1f5f9;
}

.detail-full {
    grid-column: 1 / -1;
    border-right: 0 !important;
}

.detail-label {
    display: block;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.detail-item span:not(.detail-label):not(.status-badge),
.detail-item strong {
    color: #111827;
    font-size: 15px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}


/* --------------------------------------------------------------------------
   Status Badges
   -------------------------------------------------------------------------- */

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.status-success {
    background: #dcfce7;
    color: #166534;
}

.status-warning {
    background: #fef3c7;
    color: #92400e;
}

.status-danger {
    background: #fee2e2;
    color: #991b1b;
}


/* --------------------------------------------------------------------------
   Admission Actions
   -------------------------------------------------------------------------- */

.action-card {
    margin-bottom: 22px;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 22px;
}

.action-form {
    margin: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 11px 16px;

    border: 0;
    border-radius: 9px;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.4;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-success {
    background: #16a34a;
    color: #ffffff;
}

.btn-success:hover {
    background: #15803d;
}

.btn-danger {
    background: #dc2626;
    color: #ffffff;
}

.btn-danger:hover {
    background: #b91c1c;
}

.btn-secondary {
    background: #475569;
    color: #ffffff;
}

.btn-secondary:hover {
    background: #334155;
}


/* --------------------------------------------------------------------------
   Timeline
   -------------------------------------------------------------------------- */

.timeline {
    padding: 10px 22px 20px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
}

.timeline-item:last-child {
    border-bottom: 0;
}

.timeline-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    border-radius: 50%;

    background: #f0fdf4;
    color: #166534;
}

.timeline-item strong {
    display: block;
    margin-bottom: 4px;
    color: #111827;
    line-height: 1.4;
}

.timeline-item span {
    display: block;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}


/* --------------------------------------------------------------------------
   Tablet
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {

    .admin-main {
        padding: 25px 20px;
    }

}


/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */

@media (max-width: 700px) {

    .admin-main {
        padding: 20px 15px;
    }

    .page-header {
        flex-direction: column;
        gap: 12px;
    }

    .page-header h1 {
        font-size: 23px;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .detail-item:nth-child(odd) {
        border-right: 0;
    }

    .detail-full {
        grid-column: auto;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-form {
        width: 100%;
    }

    .action-form .btn {
        width: 100%;
    }

    .timeline {
        padding-left: 18px;
        padding-right: 18px;
    }

}


/* --------------------------------------------------------------------------
   Small Mobile
   -------------------------------------------------------------------------- */

@media (max-width: 420px) {

    .admin-main {
        padding: 16px 12px;
    }

    .card-header {
        padding: 17px;
    }

    .detail-item {
        padding: 16px 17px;
    }

    .action-buttons {
        padding: 17px;
    }

    .page-header h1 {
        font-size: 21px;
    }

}
