:root {
    --primary-color: #5e72e4;
    --secondary-color: #825ee4;
    --bg-color: #f8f9fe;
    --text-color: #32325d;
    --sidebar-width: 250px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Open Sans', sans-serif;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    background: white;
}

.navbar-brand {
    font-weight: 800;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: white;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.list-group-item {
    color: #525f7f;
    font-weight: 600;
    transition: all 0.3s;
    border-radius: 0.5rem !important;
    margin: 0.2rem 1rem;
}

.list-group-item:hover,
.list-group-item.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.list-group-item i {
    min-width: 20px;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 0 2rem 0 rgba(136, 152, 177, 0.15);
    border-radius: 1rem;
}

.card-header {
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 700;
}

/* Auth Pages */
.auth-bg {
    background: linear-gradient(87deg, #5e72e4 0, #825ee4 100%) !important;
    min-height: 100vh;
}

.auth-card {
    border: 0;
    box-shadow: 0 0 2rem 0 rgba(136, 152, 177, 0.3);
}

.auth-header {
    background: transparent;
    border: 0;
    padding-bottom: 0;
}

.form-control {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid #cad1d7;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(94, 114, 228, 0.25);
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    transition: all 0.15s ease;
}

.btn-primary:hover {
    background-color: #324cdd;
    border-color: #324cdd;
    transform: translateY(-1px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.main-content {
    margin-left: var(--sidebar-width);
    padding: 20px;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .main-content {
        margin-left: 0;
    }
}

.post-card {
    transition: transform 0.2s;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}