/* Layout & Global */
body { 
    background: #f4f7f6; 
    overflow-x: hidden; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
}

/* Sidebar Tabs Navigation */
.sidebar { 
    width: 250px; 
    min-height: 100vh; 
    background: #212529; 
    color: white; 
    transition: all 0.3s; 
    flex-shrink: 0;
}

/* Restores the specific look: No blue background, just the line on the left */
.sidebar a.nav-link { 
    color: rgba(255,255,255,0.7) !important; 
    text-decoration: none; 
    padding: 10px 15px !important; /* Tightened padding */
    display: flex !important; 
    align-items: center;
    transition: 0.3s; 
    border-left: 4px solid transparent !important;
    background: none !important;
    border-radius: 0 !important;
    font-size: 0.95rem;
}

/* Tightens the gap between Icon and Text */
.sidebar a.nav-link i {
    margin-right: 10px !important; /* Forces the text to stay close to the icon */
    width: 20px; /* Keeps icons aligned vertically */
    text-align: center;
}

.sidebar a.nav-link:hover, 
.sidebar a.nav-link.active { 
    color: white !important; 
    background: rgba(255,255,255,0.1) !important; 
    border-left: 4px solid #3498db !important; 
}

/* Main Content Area */
.main-content {
    flex-grow: 1;
    min-height: 100vh;
    padding: 25px;
    display: flex;           /* ADD */
    flex-direction: column;  /* ADD */
}

/* Reusable Cards */
.card, .profile-card { 
    background: white; 
    border-radius: 12px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    border: none; 
}

/* Status Colors */
.status-pending { color: #f39c12; font-weight: bold; }
.status-accepted { color: #27ae60; font-weight: bold; }

.promo-box { 
    background: white; 
    border-left: 5px solid #0d6efd; 
    border-radius: 8px; 
}

.form-switch .form-check-input { width: 3em; height: 1.5em; cursor: pointer; }
.section-title { 
    font-size: 0.85rem; 
    font-weight: 700; 
    color: #6c757d; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}