/* --- Base Typography & Colors --- */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #334155;
    background-color: #f8fafc;
    overflow-x: hidden;
}

/* --- Landing Page Hero Section --- */
.hero-section {
    background: linear-gradient(90deg, rgba(255,255,255,0.95) 30%, rgba(255,255,255,0.7) 100%), 
                url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1600');
    background-size: cover;
    background-position: center;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* --- Feature Components --- */
.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0d6efd;
    color: #0d6efd;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: white;
}

.feature-box:hover .feature-icon {
    background-color: #0d6efd;
    color: white;
    transform: translateY(-5px);
}

/* --- Form Styles --- */
.form-control {
    padding: 0.75rem 1rem;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
    border-color: #0d6efd;
}

/* --- Buttons --- */
.btn-primary {
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    border-width: 2px;
    font-weight: 600;
    border-radius: 8px;
}

/* --- Dashboard & Sidebar Patch --- */
.sidebar {
    min-height: 100vh;
    background: #1e293b; /* Deep slate professional look */
    color: #f1f5f9;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar .nav-link {
    color: #94a3b8;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    margin: 4px 10px;
    border-radius: 8px;
    transition: all 0.2s;
}

.sidebar .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.sidebar .nav-link.active {
    color: #ffffff;
    background: #3b82f6; /* Primary Blue */
}

.sidebar .nav-link i {
    margin-right: 10px;
    font-size: 1.1rem;
}

/* --- Dashboard Card Patch --- */
.card {
    border-radius: 12px;
    border: none;
    transition: transform 0.2s ease-in-out;
}

.card.shadow-sm:hover {
    transform: translateY(-3px);
}

/* --- Mobile Adjustments --- */
@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
        padding-top: 3rem;
    }
    
    .sidebar {
        min-height: auto;
    }
}