* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f3f4f6;
    color: #111827;
    line-height: 1.5;
}
.demo-banner {
    background: #fef3c7;
    color: #78350f;
    text-align: center;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid #fde68a;
}
.topnav {
    background: #1e293b;
    color: white;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topnav .brand { font-weight: 700; font-size: 18px; }
.topnav a { color: #cbd5e1; text-decoration: none; margin-left: 18px; font-size: 14px; }
.topnav a:hover { color: white; }
.container { max-width: 1100px; margin: 32px auto; padding: 0 24px; }
.card {
    background: white;
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 24px;
}
h1 { font-size: 24px; margin-bottom: 6px; }
h2 { font-size: 18px; margin-bottom: 16px; color: #1e293b; }
.muted { color: #6b7280; font-size: 14px; }
label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px; margin-top: 14px; }
input, select, textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}
input:focus, select:focus { outline: none; border-color: #3b82f6; }
button, .btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 11px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 16px;
    display: inline-block;
    text-decoration: none;
}
button:hover, .btn:hover { background: #2563eb; }
.btn-secondary { background: #6b7280; }
.btn-secondary:hover { background: #4b5563; }
.btn-success { background: #10b981; }
.btn-success:hover { background: #059669; }
.alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-info { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat-card { background: #f9fafb; padding: 18px; border-radius: 8px; }
.stat-value { font-size: 26px; font-weight: 700; color: #1e293b; }
.stat-label { font-size: 13px; color: #6b7280; margin-top: 4px; }
.login-wrap { max-width: 420px; margin: 80px auto; padding: 0 16px; }
.brand-large { text-align: center; font-size: 28px; font-weight: 800; color: #1e293b; margin-bottom: 8px; }
.tagline { text-align: center; color: #6b7280; margin-bottom: 32px; }
.tabs { display: flex; border-bottom: 1px solid #e5e7eb; margin-bottom: 20px; }
.tab { padding: 10px 18px; cursor: pointer; border-bottom: 2px solid transparent; font-size: 14px; font-weight: 600; color: #6b7280; }
.tab.active { color: #3b82f6; border-bottom-color: #3b82f6; }
.tab-content { display: none; }
.tab-content.active { display: block; }
.bank-details { background: #f9fafb; padding: 18px; border-radius: 8px; border: 1px dashed #d1d5db; }
.bank-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.bank-row .label { color: #6b7280; }
.bank-row .value { font-weight: 600; font-family: monospace; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid #e5e7eb; }
th { background: #f9fafb; font-weight: 600; color: #374151; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-approved { background: #d1fae5; color: #065f46; }
.test-card-hint { font-size: 12px; color: #6b7280; background: #f9fafb; padding: 10px; border-radius: 6px; margin-top: 10px; }
.test-card-hint code { background: white; padding: 2px 6px; border-radius: 3px; font-family: monospace; }

/* Modal overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal {
    background: white;
    border-radius: 12px;
    max-width: 480px;
    width: 100%;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    text-align: center;
}
.modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: #d1fae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}
.modal h3 { font-size: 20px; margin-bottom: 8px; color: #111827; }
.modal p { color: #6b7280; font-size: 14px; margin-bottom: 4px; }
.progress-wrap {
    background: #e5e7eb;
    border-radius: 999px;
    height: 10px;
    margin: 24px 0 8px;
    overflow: hidden;
    position: relative;
}
.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 999px;
    width: 25%;
    position: relative;
    overflow: hidden;
}
.progress-bar::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255,255,255,0.4) 50%,
        transparent 100%
    );
    animation: shimmer 1.6s infinite;
}
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.progress-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 20px;
}
.modal-eta {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #065f46;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;
}
.btn-block { width: 100%; margin-top: 0; }
