/* Base font size */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    background-color: #f5f7fa;
    min-height: 100vh;
}

/* Focus styles */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Navbar branding */
.navbar-brand {
    font-weight: bold;
    font-size: 1.4rem;
    color: #258cfb !important;
}

/* Navbar links */
.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

    .nav-link:hover {
        color: #0056b3 !important;
    }

.nav-item.active .nav-link {
    color: #258cfb !important;
}

/* Main content container */
main,
.main-content {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    flex: 1;
}

/* Footer styles */
footer {
    background-color: #f8f9fa;
    padding: 1rem 0;
    font-size: 0.9rem;
    text-align: center;
}

/* Calendar container (for agenda page) */
#calendar {
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    margin-top: 1rem;
}

/* Card header gradient */
.card-header {
    background: linear-gradient(90deg, #258cfb, #0056b3);
}

/* Primary button */
.btn-primary {
    background-color: #258cfb;
    border-color: #258cfb;
}

    .btn-primary:hover {
        background-color: #0056b3;
        border-color: #0056b3;
    }

/* Sidebar styles */
.sidebar {
    min-width: 220px;
    background-color: #f8f9fa;
    border-right: 1px solid #e5e5e5;
}

    .sidebar .nav-link {
        color: #333;
    }

        .sidebar .nav-link:hover {
            background-color: #e9ecef;
        }

/* Responsive adjustments */
@media (max-width: 991px) {
    .sidebar {
        display: none;
    }

    .main-content {
        margin: 0;
        padding: 1rem;
    }
}
/* Responsive MENU */
.sidebar .nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    color: #333;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .sidebar .nav-link:hover {
        background-color: #e9ecef;
        color: #0056b3;
    }

    .sidebar .nav-link.active {
        background-color: #258cfb;
        color: #fff !important;
    }

.sidebar .nav-item.text-uppercase {
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}