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;
}

    /* Dark Mode Styles */
    body.dark-mode {
        background-color: #1e1e2f;
        color: #ffff66;
    }

        body.dark-mode .card {
            background-color: #2b2b3c;
            color: #e4e4e4;
            border: 1px solid #444 !important;
        }

        body.dark-mode .card-header {
            background-color: #3a3a4f;
            color: #fff;
        }

        body.dark-mode .card-body {
            background-color: #2b2b3c;
            color: #fff;
            border-radius: 0 0 0.9rem 0.9rem;
        }

        body.dark-mode .form-check-label {
            color: #ccc;
        }

        body.dark-mode canvas {
            background-color: #1e1e2f;
        }

        body.dark-mode .occupancy {
            background-color: #1e1e2f !important;
        }

        body.dark-mode .list-group-item {
            background-color: #2b2b3c !important;
            color: #fff !important;
        }

            body.dark-mode .list-group-item:hover {
                background-color: #3a3a4d !important;
            }

        body.dark-mode #availableList::-webkit-scrollbar-thumb,
        body.dark-mode #reservedList::-webkit-scrollbar-thumb {
            background-color: rgba(180, 180, 180, 0.8);
        }

            body.dark-mode #availableList::-webkit-scrollbar-thumb:hover,
            body.dark-mode #reservedList::-webkit-scrollbar-thumb:hover {
                background-color: rgba(180, 180, 180, 0.5);
            }

.occupancy-chart {
    max-height: 150px;
}

.dash-chart {
    max-height: 200px;
}

#revenueChart {
    /* REMOVE height */
    width: 100% !important;
}

/* Scrollbar for all scrollable elements */
*::-webkit-scrollbar {
    width: 8px;
    height: 6px;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background-color: rgba(100, 100, 100, 0.4);
    border-radius: 4px;
}

    *::-webkit-scrollbar-thumb:hover {
        background-color: rgba(100, 100, 100, 0.7);
        box-shadow: 0 0 4px rgba(100, 100, 100, 0.5);
    }

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 100, 100, 0.4) transparent;
}

body.dark-mode * {
    scrollbar-color: rgba(180, 180, 180, 0.3) transparent;
}