html {
  font-size: 14px;
}

@media (min-width: 900px) {
  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;
    background: #121212 !important;
}

/* Loading Overlay */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 9999; /* Ensure it sits above other content */
    display: flex;
    align-items: center;
    justify-content: center;
}

.layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
}

.stats-bar {
    background-color: #1c1c1c;
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #333;
}

.main-content {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.bar-chart {
    flex: 2;
    background-color: #1a1a1a;
    padding: 15px;
    overflow: auto;
    border-right: 1px solid #333;
}

.right-panel {
    flex: 1;
    background-color: #1e1e1e;
    display: flex;
    flex-direction: column;
    
}

.panel-tabs {
    display: flex;
    background-color: #272727;
    border-bottom: 1px solid #333;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    background: none;
    border: none;
    color: #bbb;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .tab-btn.active {
        background-color: #333;
        color: #ffcc00;
    }

    .tab-btn:hover {
        background-color: #444;
    }

h4 {
    color: #ffcc00;
}


.panel-content {
    flex: 1;
    padding: 15px;
    overflow: scroll; /* Enable scrolling */
    margin-bottom: 28px;
}

    /* Hide scrollbar */
    .panel-content::-webkit-scrollbar {
        display: none; /* Hide scrollbar in WebKit browsers (Chrome, Safari) */
    }

/* Optional: hide scrollbar in other browsers */
.panel-content {
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
    scrollbar-width: none; /* For Firefox */
}


.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }

/* Spinner Styles */
.spinner {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

/* Spin Animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
