:root {
    --primary-color: #4F46E5;
    --secondary-color: #6B7280;
    --background-color: #F3F4F6;
    --sidebar-background: #111827;
    --card-background: #FFFFFF;
    --text-color: #1F2937;
    --text-muted: #6B7280;
    --border-color: #E5E7EB;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
}

#main-content {
    transition: margin-left .3s;
}

.card {
    border: none;
    border-radius: 0.75rem;
}
.fab {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--primary-color);
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.fab:hover {
    background-color: #4338CA; /* A slightly darker primary color */
    color: #FFF;
    transform: scale(1.05);
}
#sidebar {
    background-color: var(--sidebar-background);
    color: #fff;
}

#sidebar .nav-link {
    color: var(--text-muted);
    transition: all 0.2s ease-in-out;
    border-radius: 0.5rem;
}

#sidebar .nav-link:hover {
    background-color: #374151;
    color: #fff;
}

#sidebar .nav-link.active {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 500;
}

#sidebar .nav-link-header {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#sidebar hr {
    border-color: #374151;
}

.dropdown-menu {
    border-radius: 0.75rem;
}
.project-card {
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

.project-card .card-footer {
    border-top: 1px solid var(--border-color);
}

.badge.bg-info-soft {
    background-color: rgba(23, 162, 184, 0.1);
    color: #0c8599 !important;
}
.list-group-item-action {
    transition: background-color 0.2s ease-in-out;
}

.list-group-item-action:hover {
    background-color: #f8f9fa; /* A very light grey for hover */
}
#users-table th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.object-fit-cover {
    object-fit: cover;
}

.badge.bg-success-soft {
    background-color: rgba(25, 135, 84, 0.1);
    color: #146c43 !important;
}

.badge.bg-secondary-soft {
    background-color: rgba(108, 117, 125, 0.1);
    color: #565e64 !important;
}
#notification-count {
    font-size: 0.65rem;
    padding: 0.25em 0.5em;
    border: 2px solid var(--sidebar-background);
}
/* --- FIX: Hide sidebar on auth pages --- */
.auth-layout #sidebar {
    display: none !important;
}

.plan-card {
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1) !important;
}

.plan-card.current-plan {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0.5rem 1.5rem rgba(79, 70, 229, 0.15) !important;
}

.plan-card ul li {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.plan-card ul li i {
    color: var(--primary-color);
}