:root {
    --bg-color: #f3f3f3;
    --card-bg: rgba(255, 255, 255, 0.9);
    --primary-green: #6b8c75; /* A darker shade of your request for text/buttons */
    --accent-green: rgb(188, 203, 177 / 52%);
    --light-green: #eaf1e5;
    --off-white: #f6f9f1;
    --text-grey: #cccccc;
    --text-dark: #333;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Auth Pages */
.auth-bg {
    background: linear-gradient(135deg, #f6f9f1 0%, #eaf1e5 100%);
    min-height: 100vh;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.input-style {
    background-color: var(--off-white);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    font-size: 0.95rem;
}

.input-style:focus {
    box-shadow: 0 0 0 2px var(--accent-green);
    border-color: var(--primary-green);
    background-color: #fff;
}

.btn-brand {
    background-color: #333; /* Meta usually uses dark or blue, staying dark for contrast */
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-brand:hover {
    background-color: #000;
    color: #fff;
    transform: translateY(-1px);
}

.brand-color {
    color: var(--primary-green);
    font-weight: 700;
}

/* Dashboard */
.dashboard-bg {
    background-color: var(--bg-color);
}

.sidebar {
    width: 250px;
    min-height: 100vh;
    position: fixed;
    z-index: 100;
}

.sidebar .nav-link {
    color: #666;
    font-weight: 500;
    transition: 0.2s;
}

.sidebar .nav-link:hover, .sidebar .nav-link.active {
    background-color: var(--light-green);
    color: var(--primary-green);
}

#page-content-wrapper {
    margin-left: 250px;
    background-color: var(--bg-color);
}

.stats-card {
    border: none;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    border-left: 4px solid var(--primary-green);
}

.table thead th {
    font-weight: 600;
    color: #555;
    background-color: var(--off-white) !important;
    border-bottom: 2px solid var(--accent-green);
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        bottom: 0;
        width: 100%;
        height: 60px;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        border-top: 1px solid #ddd;
        border-right: none;
    }
    .sidebar .sidebar-heading { display: none; }
    .sidebar ul { display: flex; width: 100%; justify-content: space-around; margin: 0; padding: 0; }
    .sidebar li { margin: 0; }
    .sidebar .nav-link { flex-direction: column; font-size: 10px; padding: 5px; }
    .sidebar .nav-link i { font-size: 16px; margin-bottom: 2px; }
    #page-content-wrapper { margin-left: 0; margin-bottom: 60px; }
    .stats-card { margin-bottom: 10px; }
}