:root {
    --sidebar-width: 260px;
    --primary: #4f46e5;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: #f4f6f9;
}

.login-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-page .card {
    border-radius: 1rem;
}

.sidebar {
    min-height: 100vh;
    width: var(--sidebar-width);
    background: #1e293b;
    color: #94a3b8;
}

.sidebar .nav-link {
    color: #94a3b8;
    padding: 0.65rem 1rem;
    margin: 0.15rem 0.75rem;
    border-radius: 0.5rem;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: rgba(79, 70, 229, 0.2);
    color: #fff;
}

.sidebar-brand {
    color: #fff;
    padding-top: 1rem;
}

.main-content {
    min-height: 100vh;
    background: #f4f6f9;
}

.stat-card {
    border: none;
    border-radius: 0.75rem;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-card .icon {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.table-card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

@media (max-width: 767.98px) {
    .sidebar {
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
    }
}

.invoice-print {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
}

@media print {
    .no-print { display: none !important; }
    body { background: #fff; }
}

/* Landing page */
.landing-nav {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(8px);
    padding: 0.75rem 0;
}

.landing-hero {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #9333ea 100%);
    padding-top: 72px;
}

.hero-stat h3 {
    font-size: 1.75rem;
}

.hero-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
}

.hero-card-header {
    background: #f8fafc;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
}

.hero-card-header i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.hero-benefits {
    padding: 1.5rem;
}

.hero-benefits li {
    padding: 0.6rem 0;
    color: #475569;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.landing-footer {
    background: #1e293b;
}

.contact-list li {
    padding: 0.5rem 0;
    color: #64748b;
}

.contact-list i {
    width: 24px;
    margin-right: 0.5rem;
}

/* Registration page */
.register-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.register-card {
    border-radius: 1rem;
}

.success-icon {
    animation: scaleIn 0.4s ease-out;
}

@keyframes scaleIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
