html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
    display: flex;
    flex-wrap: nowrap;
    background-color: #f8f9fa;
}

.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;
}

.sidebar {
    width: 250px;
    position: fixed;
    height: 100%;
    background: #f8f8ff;
    color: black;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

    .sidebar a.sidebar-header {
        display: block;
        color: black;
        padding: 15px;
        text-decoration: none;
        font-size: 1.25rem;
        font-weight: bold;
        background-color: #dcdcdc;
    }

    .sidebar a.sidebar-link {
        display: block;
        color: black;
        padding: 15px;
        text-decoration: none;
        transition: background-color 0.3s, color 0.3s;
    }

        .sidebar a.sidebar-link:hover {
            background-color: #e0e0e0;
            color: black;
        }

.content {
    margin-left: 250px;
    padding: 20px;
    width: calc(100% - 250px);
    transition: margin-left 0.3s, width 0.3s;
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-250px);
    }

        .sidebar.active {
            transform: translateX(0);
        }

    .content {
        margin-left: 0;
        width: 100%;
    }

    .toggle-btn {
        display: block;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 1001;
    }
}

@media (min-width: 769px) {
    .toggle-btn {
        display: none;
    }
}
