html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.card-header {
    border: none !important;
    background-color: transparent !important;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.btn {
    border: none;
    background-color: dodgerblue;
    color: white;
}

.rmbtn {
    border: none;
    background-color: darkred;
    color: white;
}

#sidebar-container {
    width: 250px;
    position: fixed;
    top: 70px;
    left: 0;
    height: 100%;
    background-color: #111827;
    border-right: 1px solid #1f2937;
    padding: 1rem;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    transition: left 0.3s ease;
    z-index: 1040;
    color: white;
}

    #sidebar-container.collapsed {
        left: -250px !important;
    }

.sidebar-section-anchor {
    font-weight: normal;
    transition: font-weight 0.2s ease, color 0.2s ease;
    color: var(--bs-white);
    display: flex;
    align-items: center;
}

.sidebar-section-anchor:hover {
    font-weight: bold;
    background: transparent;
    color: var(--bs-white);
}

#sidebar-container a:not(.sidebar-section-anchor):not(.sidebar-pin) {
        display: flex;
        align-items: center;
        color: #d1d5db;
        padding: 10px 12px;
        border-radius: 6px;
        text-decoration: none;
        transition: background-color 0.2s ease, color 0.2s ease;
        font-weight: 500;
        gap: 10px;
    }

#sidebar-container a:not(.sidebar-section-anchor):not(.sidebar-pin):hover {
            background-color: #1f2937;
            color: white;
        }

        #sidebar-container a i {
            font-size: 1.1rem;
        }

#toggle-sidebar-btn {
    position: fixed;
    top: 80px;
    left: 260px;
    z-index: 1050;
    background-color: #1f2937;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 8px 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    transition: left 0.3s ease, transform 0.3s ease;
}

    #toggle-sidebar-btn:hover {
        background-color: #374151;
    }

    #toggle-sidebar-btn.collapsed {
        left: 10px !important;
    }

    #toggle-sidebar-btn i {
        transition: transform 0.2s ease;
    }

    #toggle-sidebar-btn.collapsed i {
        transform: rotate(180deg);
    }

.sidebar-header {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e5e7eb;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}