.login-card {
    max-width: 400px;
    margin: 100px auto;
    background: var(--white);
    padding: 48px 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
}
.login-card .logo { margin-bottom: 24px; }
.login-card h1 { font-size: 22px; margin-bottom: 4px; font-weight: 600; }
.login-card h2 { font-size: 15px; color: var(--text-light); margin-bottom: 30px; font-weight: 400; }
.login-card .btn { width: 100%; margin-top: 10px; }

header {
    background: var(--white);
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-right, .header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-right span { font-weight: 600; color: var(--text); }

.dashboard-content {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.stat-card {
    background: var(--white);
    padding: 28px 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--primary);
}
.stat-number { font-size: 36px; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 14px; color: var(--text-light); margin-top: 4px; }

.quotes-table-wrap {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.quotes-table-wrap h3 { margin-bottom: 16px; color: var(--text); font-size: 18px; }

table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 16px; text-align: right; border-bottom: 1px solid var(--border); font-size: 14px; }
th { font-weight: 600; color: var(--text-light); font-size: 13px; background: var(--bg); }
tr:hover { background: var(--primary-light); }

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}
.badge-viewed { background: var(--green-light); color: var(--green); }
.badge-pending { background: #fff3e0; color: #f57c00; }

.empty-state { text-align: center; padding: 40px; color: var(--text-light); }

.form-content {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
}
.form-actions { text-align: center; margin-top: 24px; }

/* Reps Management Screen */
.reps-table-wrap {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.reps-table-wrap h3 {
    margin-bottom: 16px;
    color: var(--text);
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Rep Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}
.modal-card {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 480px;
}
.modal-card h2 {
    font-size: 20px;
    margin-bottom: 24px;
    color: var(--text);
    text-align: center;
}
.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    justify-content: center;
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 2000;
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.3s ease;
}
@keyframes toastIn {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@media (max-width: 768px) {
    .stats-row { grid-template-columns: 1fr; }
    header { flex-direction: column; gap: 12px; padding: 12px 16px; }
    .header-left { flex-wrap: wrap; justify-content: center; }
    .quotes-table-wrap { overflow-x: auto; }
    .reps-table-wrap { overflow-x: auto; }
    .modal-card { margin: 20px; padding: 24px; }
    .dashboard-content { padding: 0 12px; }
    .login-card { margin: 40px auto; padding: 32px 24px; }
}
