/* Account pages — login & profile */

.account-page {
    min-height: 100vh;
    background: linear-gradient(145deg, #0b1220 0%, #0f4c81 55%, #0a3559 100%);
    display: flex;
    flex-direction: column;
}

.account-header {
    padding: 1.25rem 0;
}

.account-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.account-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #fff;
}

.account-brand img {
    height: 34px;
}

.account-brand span {
    font-weight: 700;
    font-size: 1.05rem;
}

.account-back {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.account-back:hover {
    color: #fff;
}

.account-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem 3rem;
}

.account-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.25);
    padding: 2.5rem 2rem;
}

.account-card-wide {
    max-width: 720px;
}

.account-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0b1220;
    margin-bottom: 0.5rem;
}

.account-card-desc {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.auth-step-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #00b4a0;
    background: #e6f9f6;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.auth-form-group {
    margin-bottom: 1.25rem;
}

.auth-form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #334155;
    margin-bottom: 0.5rem;
    display: block;
}

.auth-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input:focus {
    outline: none;
    border-color: #00b4a0;
    box-shadow: 0 0 0 3px rgba(0, 180, 160, 0.15);
    background: #fff;
}

.auth-input.ltr {
    direction: ltr;
    text-align: left;
}

.auth-btn {
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.auth-btn-primary {
    background: #00b4a0;
    color: #fff;
}

.auth-btn-primary:hover {
    background: #00a08e;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 180, 160, 0.3);
}

.auth-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 1rem;
}

.auth-link {
    background: none;
    border: none;
    color: #0f4c81;
    font-size: 0.85rem;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
}

.auth-link:hover {
    color: #00b4a0;
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    color: #475569;
}

.auth-alert {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.auth-alert-info {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.auth-alert-danger {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.auth-alert ul {
    margin: 0;
    padding-right: 1.25rem;
}

/* User layout */
.user-layout {
    min-height: 100vh;
    background: #f8fafc;
}

.user-header {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
}

.user-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-content {
    padding: 2rem 0 3rem;
}

.user-sidebar {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1rem;
}

.user-nav-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 0.25rem;
    transition: background 0.2s, color 0.2s;
}

.user-nav-link:hover,
.user-nav-link.active {
    background: #e6f9f6;
    color: #0f4c81;
}

.user-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    min-height: 320px;
}

.user-panel-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0b1220;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.profile-badge.incomplete {
    background: #fffbeb;
    color: #b45309;
}

.profile-badge.complete {
    background: #e6f9f6;
    color: #047857;
}

.month-picker-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.month-picker-chip {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.month-picker-chip:hover,
.month-picker-chip.active {
    background: #0f4c81;
    border-color: #0f4c81;
    color: #fff;
}

.month-picker-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.month-picker-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-size: 1.5rem;
    line-height: 1;
    color: #0f4c81;
    cursor: pointer;
}

.month-picker-btn:hover {
    background: #e6f9f6;
}

.month-picker-value {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    min-width: 100px;
    justify-content: center;
}

.month-picker-input {
    width: 3rem;
    border: none;
    background: transparent;
    font-size: 2rem;
    font-weight: 700;
    color: #0b1220;
    text-align: center;
    pointer-events: none;
}

.month-picker-range {
    width: 100%;
    accent-color: #0f4c81;
}

.card.border-dashed {
    border: 2px dashed #e2e8f0 !important;
}

.bank-info strong {
    color: #0b1220;
}

.checkout-discount-form {
    max-width: 400px;
}

.checkout-discount-input {
    display: flex;
    gap: 0.5rem;
}

.checkout-discount-input .form-control {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
}

.checkout-discount-input .btn {
    border-radius: 10px;
    padding-inline: 1.25rem;
    white-space: nowrap;
}

.checkout-discount-applied {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    max-width: 420px;
}

.checkout-discount-applied-icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #10b981;
    color: #fff;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
}

.checkout-discount-applied-body {
    flex: 1;
    min-width: 0;
}

.checkout-discount-applied-title {
    font-weight: 700;
    color: #065f46;
    font-size: 0.95rem;
}

.checkout-discount-applied-meta {
    font-size: 0.8rem;
    color: #047857;
    margin-top: 0.15rem;
}

.checkout-discount-remove {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    color: #6b7280;
    text-decoration: none;
    font-size: 1.25rem;
    line-height: 1;
    transition: background 0.15s, color 0.15s;
}

.checkout-discount-remove:hover {
    background: #fff;
    color: #dc2626;
}

.checkout-discount-hint {
    font-size: 0.8rem;
    color: #047857;
    margin-top: -0.25rem;
    margin-bottom: 0.5rem;
}

.checkout-discount-code {
    display: inline-block;
    background: #d1fae5;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-right: 0.25rem;
}

.auth-alert-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.checkout-welcome {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f4c81 0%, #1a6bb5 50%, #0d9488 100%);
    color: #fff;
    padding: 1.75rem 1.5rem;
}

.checkout-welcome-glow {
    position: absolute;
    top: -40%;
    left: -20%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.checkout-welcome-content {
    position: relative;
    z-index: 1;
}

.checkout-welcome-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.checkout-welcome-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    line-height: 1.4;
    color: #fff;
}

.checkout-welcome-text {
    font-size: 0.95rem;
    opacity: 0.92;
    margin: 0 0 1rem;
    line-height: 1.7;
}

.checkout-welcome-highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
}

.checkout-welcome-highlight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.checkout-welcome-highlight strong {
    color: #fef08a;
}

.checkout-bonus-note {
    font-size: 0.9rem;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 10px;
    padding: 0.6rem 0.85rem;
}

.checkout-bonus-tag {
    display: inline-block;
    background: #10b981;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    margin-right: 0.35rem;
}

.month-picker-chip-tag {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    color: #10b981;
    margin-top: 0.1rem;
}

.month-picker-chip.active .month-picker-chip-tag {
    color: #fef08a;
}

.checkout-cta {
    width: 100%;
    max-width: 360px;
    border-radius: 12px;
    font-weight: 700;
    padding: 0.85rem 1.5rem;
}

/* ── Receipt upload ── */
.receipt-upload {
    background: #fff;
    border: 2px dashed #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem;
    transition: border-color 0.2s;
}

.receipt-upload:hover {
    border-color: #cbd5e1;
}

.receipt-upload-header {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
}

.receipt-upload-header-icon {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
}

.receipt-upload-title {
    margin: 0 0 0.2rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0b1220;
}

.receipt-upload-subtitle {
    margin: 0;
    font-size: 0.82rem;
    color: #64748b;
}
.receipt-bank-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.55rem 0.75rem;
}

.receipt-bank-label {
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
    margin-bottom: 0.15rem;
}

.receipt-bank-value {
    font-size: 0.88rem;
    font-weight: 600;
    color: #0b1220;
    word-break: break-all;
}

.receipt-upload-fields {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .receipt-upload-fields {
        grid-template-columns: 1fr 1.15fr;
        align-items: stretch;
    }
}

.receipt-upload-col-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.receipt-upload-col-file {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.receipt-upload-col-file .receipt-dropzone {
    flex: 1;
    min-height: 200px;
}

.receipt-bank-item-amount {
    background: #eff6ff;
    border-color: #bfdbfe;
    margin-top: auto;
}

.receipt-amount-display {
    font-size: 1.1rem !important;
    color: #0f4c81 !important;
}

.receipt-field-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.4rem;
}

.receipt-amount-input {
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 0.7rem 0.9rem !important;
    font-size: 1rem;
}

.receipt-dropzone {
    position: relative;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    background: #fafbfc;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    overflow: hidden;
}

.receipt-dropzone:hover,
.receipt-dropzone:focus {
    border-color: #0f4c81;
    background: #f0f7ff;
    outline: none;
}

.receipt-dropzone.drag-over {
    border-color: #10b981;
    background: #ecfdf5;
}

.receipt-dropzone.has-file {
    border-style: solid;
    border-color: #a7f3d0;
    background: #f0fdf4;
    cursor: default;
    min-height: auto;
}

.receipt-file-input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

.receipt-dropzone-empty {
    text-align: center;
    padding: 1.25rem 1rem;
}

.receipt-dropzone-icon {
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.receipt-dropzone-text {
    margin: 0 0 0.25rem;
    font-size: 0.9rem;
    color: #475569;
}

.receipt-dropzone-text strong {
    color: #0f4c81;
}

.receipt-dropzone-hint {
    margin: 0;
    font-size: 0.75rem;
    color: #94a3b8;
}

.receipt-preview {
    position: relative;
    width: 100%;
    padding: 0.75rem;
}

.receipt-preview-image-wrap {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8f0;
    max-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.receipt-preview-img {
    display: block;
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
}

.receipt-preview-pdf {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    width: 100%;
}

.receipt-preview-pdf-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: #fee2e2;
    color: #dc2626;
    font-weight: 800;
    font-size: 0.75rem;
    border-radius: 8px;
}

.receipt-preview-filename {
    font-size: 0.82rem;
    color: #64748b;
    word-break: break-all;
    text-align: center;
}

.receipt-preview-remove {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: 1.75rem;
    height: 1.75rem;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.receipt-preview-remove:hover {
    background: #dc2626;
}

.receipt-submit-btn {
    width: 100%;
    border-radius: 12px;
    font-weight: 700;
    padding: 0.8rem 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.receipt-submit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    font-size: 0.85rem;
}

.receipt-pending-note {
    margin: 0.75rem 0 0;
    font-size: 0.82rem;
    color: #b45309;
    text-align: center;
}

/* ── User journey & redesigned account pages ── */
.user-page {
    max-width: 100%;
}

.user-page-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0b1220;
}

.user-page-subtitle {
    color: #64748b;
    font-size: 0.9rem;
}

.user-journey {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 1.5rem;
    overflow-x: auto;
}

.user-journey-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    min-width: 90px;
    text-align: center;
}

.user-journey-num {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    background: #e2e8f0;
    color: #64748b;
}

.user-journey-step.current .user-journey-num {
    background: #0f4c81;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.2);
}

.user-journey-step.current .user-journey-label {
    color: #0f4c81;
    font-weight: 700;
}

.user-journey-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
}

.user-journey-line {
    flex: 1;
    height: 2px;
    min-width: 24px;
    background: #e2e8f0;
    margin-bottom: 1.25rem;
}

.user-hero {
    position: relative;
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    color: #fff;
    overflow: hidden;
}

.user-download-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.user-download-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.user-download-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: #0b1220;
}

.user-download-card-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0 0 0.75rem;
}

.user-prereq-list {
    flex: 1;
    margin: 0 0 1rem;
    padding-right: 1.15rem;
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.7;
}

.user-empty-img {
    max-width: 120px;
    height: auto;
    opacity: 0.85;
}

.user-hero-success {
    background: linear-gradient(135deg, #047857 0%, #0d9488 50%, #0f4c81 100%);
}

.user-hero-download {
    background: linear-gradient(135deg, #0f4c81 0%, #1d4ed8 55%, #0d9488 100%);
}

.user-hero-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 50%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.user-hero-body {
    position: relative;
    z-index: 1;
}

.user-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.user-hero-title {
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    color: #fff;
}

.user-hero-text {
    margin: 0;
    opacity: 0.92;
    font-size: 0.95rem;
    line-height: 1.7;
}

.user-progress-wrap {
    height: 6px;
    background: rgba(255,255,255,0.25);
    border-radius: 4px;
    margin-top: 1rem;
    overflow: hidden;
}

.user-progress-bar {
    height: 100%;
    background: #fef08a;
    border-radius: 4px;
    transition: width 0.3s;
}

.user-stat-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
}

.user-stat-card-highlight {
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.user-stat-label {
    display: block;
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.user-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b1220;
}

.user-action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.user-action-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    background: #fff;
}

.user-action-card:hover {
    border-color: #0f4c81;
    box-shadow: 0 8px 24px rgba(15, 76, 129, 0.1);
    transform: translateY(-2px);
    color: inherit;
}

.user-action-card-primary {
    background: linear-gradient(135deg, #eff6ff 0%, #ecfdf5 100%);
    border-color: #93c5fd;
}

.user-action-icon {
    font-size: 1.5rem;
}

.user-action-title {
    font-weight: 700;
    color: #0b1220;
}

.user-action-desc {
    font-size: 0.82rem;
    color: #64748b;
}

.user-empty-state {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.user-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.user-empty-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0b1220;
    margin-bottom: 0.75rem;
}

.user-empty-text {
    color: #64748b;
    max-width: 480px;
    margin: 0 auto 1.5rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

.user-empty-hint {
    font-size: 0.88rem;
    color: #64748b;
}

.user-steps-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1rem;
}

.user-step-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #0f4c81;
}

.user-step-inline-muted {
    color: #94a3b8;
}

.user-step-num {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: currentColor;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.user-step-inline .user-step-num {
    background: #0f4c81;
}

.user-step-inline-muted .user-step-num {
    background: #cbd5e1;
}

.user-step-arrow {
    color: #cbd5e1;
    font-size: 0.85rem;
}

.user-download-card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.user-download-card-app {
    border-color: #93c5fd;
    background: linear-gradient(180deg, #eff6ff 0%, #fff 40%);
}

.user-download-card-prereq {
    border-color: #fde68a;
    background: linear-gradient(180deg, #fffbeb 0%, #fff 40%);
}

.user-download-card-head {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.user-download-card-head h3 {
    margin: 0 0 0.2rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.user-download-card-head p {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
}

.user-download-card-icon {
    font-size: 2rem;
    line-height: 1;
}

.user-download-notes {
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.user-download-hint {
    font-size: 0.78rem;
    color: #94a3b8;
    text-align: center;
    margin: 0.75rem 0 0;
}

.user-prereq-info {
    flex: 1;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.user-prereq-info ul {
    margin: 0.5rem 0 0;
    padding-right: 1.25rem;
}

.user-requirements-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
}

.user-requirements-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0b1220;
}

.user-requirements-list {
    margin: 0;
    padding-right: 1.25rem;
    font-size: 0.88rem;
    line-height: 1.9;
    color: #475569;
}

.user-requirements-note {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #e2e8f0;
}

.user-next-step {
    font-size: 0.88rem;
    color: #64748b;
}

.user-balance-card {
    background: linear-gradient(145deg, #0f4c81 0%, #1a6bb5 100%);
    color: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    text-align: center;
}

.user-balance-label {
    display: block;
    font-size: 0.85rem;
    opacity: 0.85;
    margin-bottom: 0.35rem;
}

.user-balance-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.user-balance-hint {
    font-size: 0.82rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 0;
}

.user-info-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    height: 100%;
}

.user-info-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.user-info-steps {
    margin: 0;
    padding-right: 1.25rem;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.9;
}

.user-section-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.user-table thead th {
    font-size: 0.78rem;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 600;
    border-bottom-width: 1px;
}

.user-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
}

.user-sidebar-heading {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    margin: 0 0 0.5rem 0.75rem;
}

.user-nav-icon {
    font-size: 0.75rem;
    opacity: 0.7;
}

.user-sidebar-footer {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
}

/* ── Download FAQ ── */
.user-faq {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
}

.user-faq-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b1220;
    margin-bottom: 0.35rem;
}

.user-faq-lead {
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 1.25rem;
}

.user-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.user-faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.user-faq-item summary {
    padding: 0.9rem 1.1rem;
    font-weight: 600;
    font-size: 0.92rem;
    color: #334155;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.user-faq-item summary::-webkit-details-marker {
    display: none;
}

.user-faq-item summary::after {
    content: "+";
    font-size: 1.1rem;
    color: #94a3b8;
    font-weight: 400;
    flex-shrink: 0;
}

.user-faq-item[open] summary::after {
    content: "−";
}

.user-faq-item[open] summary {
    border-bottom: 1px solid #f1f5f9;
    color: #0f4c81;
}

.user-faq-body {
    padding: 1rem 1.1rem 1.1rem;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.8;
}

.user-faq-body ul,
.user-faq-body ol {
    margin: 0;
    padding-right: 1.25rem;
}

.user-faq-footer {
    margin: 1.25rem 0 0;
    font-size: 0.88rem;
    color: #64748b;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px dashed #e2e8f0;
}

/* ── Support / Tickets ── */
.support-welcome {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg, #eff6ff 0%, #ecfdf5 100%);
    border: 1px solid #bfdbfe;
    border-radius: 18px;
}

.support-welcome-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0b1220;
    margin: 0 0 0.5rem;
}

.support-welcome-desc {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.75;
    max-width: 520px;
}

.support-welcome-btn {
    border-radius: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.support-promise-card {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1rem 1.15rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    height: 100%;
    font-size: 0.82rem;
    color: #64748b;
}

.support-promise-card strong {
    color: #0b1220;
    font-size: 0.9rem;
}

.support-promise-icon {
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
}

.support-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: #fafbfc;
    border: 2px dashed #e2e8f0;
    border-radius: 18px;
}

.support-empty-icon {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.support-empty h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.support-empty p {
    color: #64748b;
    max-width: 400px;
    margin: 0 auto 1.5rem;
    line-height: 1.75;
}

.support-empty-hint {
    font-size: 0.85rem;
    color: #94a3b8;
}

.support-ticket-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.support-ticket-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.support-ticket-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 6px 20px rgba(15, 76, 129, 0.08);
    transform: translateY(-1px);
    color: inherit;
}

.support-ticket-title {
    font-size: 1rem;
    font-weight: 600;
    color: #0b1220;
    margin: 0.35rem 0 0.2rem;
}

.support-ticket-date {
    font-size: 0.78rem;
    color: #94a3b8;
}

.support-ticket-arrow {
    color: #cbd5e1;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.support-ticket-status {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
}

.support-ticket-status-open {
    background: #dbeafe;
    color: #1d4ed8;
}

.support-ticket-status-progress {
    background: #fef3c7;
    color: #b45309;
}

.support-ticket-status-closed {
    background: #f1f5f9;
    color: #64748b;
}

.support-back-link {
    display: inline-block;
    font-size: 0.88rem;
    color: #64748b;
    text-decoration: none;
    margin-bottom: 1rem;
}

.support-back-link:hover {
    color: #0f4c81;
}

.support-compose-title,
.support-thread-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0b1220;
    margin: 0 0 0.5rem;
}

.support-compose-desc {
    color: #64748b;
    line-height: 1.75;
    margin: 0;
    max-width: 540px;
}

.support-compose-form,
.support-reply-box {
    background: #fafbfc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
}

.support-field {
    margin-bottom: 1.25rem;
}

.support-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: #334155;
    margin-bottom: 0.45rem;
}

.support-input,
.support-textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.support-input:focus,
.support-textarea:focus {
    outline: none;
    border-color: #0f4c81;
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.12);
}

.support-hint {
    display: block;
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 0.35rem;
}

.support-compose-note {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.85rem;
    color: #475569;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    line-height: 1.6;
}

.support-compose-faq {
    font-size: 0.88rem;
    color: #64748b;
    text-align: center;
}

.support-thread-meta {
    font-size: 0.82rem;
    color: #94a3b8;
}

.support-chat {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.support-bubble {
    max-width: 85%;
    border-radius: 16px;
    padding: 0.9rem 1.1rem;
}

.support-bubble-user {
    align-self: flex-end;
    background: linear-gradient(135deg, #0f4c81 0%, #1a6bb5 100%);
    color: #fff;
    border-bottom-left-radius: 4px;
}

.support-bubble-staff {
    align-self: flex-start;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-bottom-right-radius: 4px;
}

.support-bubble-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.45rem;
    font-size: 0.78rem;
}

.support-bubble-user .support-bubble-head {
    opacity: 0.9;
}

.support-bubble-staff .support-bubble-head {
    color: #64748b;
}

.support-bubble-name {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
}

.support-bubble-avatar {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: #10b981;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
}

.support-bubble-body {
    white-space: pre-wrap;
    line-height: 1.75;
    font-size: 0.92rem;
}

.support-bubble-staff .support-bubble-body {
    color: #334155;
}

.support-closed-note {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1.1rem 1.25rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    font-size: 0.9rem;
    color: #166534;
}

.support-closed-note strong {
    display: block;
    margin-bottom: 0.2rem;
}

.support-closed-note p {
    font-size: 0.85rem;
    color: #15803d;
}
