/* Reset and Base Styles */
html, body {
    height: 100%;
    margin: 0;
    overflow: hidden;
    background-color: #1a1a1a;
    color: #e0e0e0;
    font-family: 'Arial', sans-serif;
}
.container-fluid {
    height: 100vh;
    padding: 5px; /* Reduced padding */
    display: flex;
    flex-direction: column;
    box-sizing: border-box; /* Include padding in height */
}
.row {
    margin: 2px 0; /* Reduced margin */
}
.border {
    border: 1px solid #444;
    border-radius: 8px;
}
.bg-dark {
    background-color: #2a2a2a;
}
.bg-secondary {
    background-color: #3a3a3a;
}
.bg-light {
    background-color: #4a4a4a;
}
h5, h6 {
    color: #f0f0f0;
    margin-bottom: 8px;
}
/* Main Row (Camera, Minimap, Weapon Selection) */
.main-row {
    flex-grow: 1;
    display: flex;
    height: calc(70vh - 20px); /* Adjusted for padding/margins */
}
/* Camera View */
.camera-view {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
}
.camera-view iframe {
    width: 100%;
    height: 90%;
    border: 2px solid #555;
    border-radius: 5px;
}
/* Minimap */
.minimap-section {
    height: 100%;
    padding: 8px;
    display: flex;
    flex-direction: column;
}
#map {
    flex-grow: 1;
    width: 100%;
    border: 2px solid #555;
    border-radius: 5px;
    overflow: hidden;
}
.leaflet-control-container {
    font-size: 12px;
}
.leaflet-control-zoom {
    margin: 5px !important;
}
.leaflet-control-attribution {
    font-size: 10px;
    padding: 2px;
}
/* Weapon Selection */
.weapon-section {
    height: 100%;
    padding: 12px;
    overflow-y: auto;
}
.weapon-section .row {
    margin-bottom: 12px;
    padding: 8px;
    background-color: #333;
    border-radius: 5px;
}
.weapon-section i {
    margin-right: 5px;
}
.weapon-section h6 {
    margin: 4px 0;
}
.rank-icon {
    width: 40px;
    height: 40px;
    margin: 5px;
}
/* Bottom Row (Gearbox, Battery, Ammo) */
.bottom-row {
    height: calc(20vh - 10px); /* Adjusted for padding/margins */
    display: flex;
}
.gearbox-section {
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.gearbox-section i {
    font-size: 3rem;
}
.gearSelection-wrapper i {
    font-size: 5rem;
}
.vertical-progress {
    display: flex;
    flex-direction: column-reverse; 
    height: 9rem; 
    width: 2rem;
}
.progress-bar {
    width: 100%;
}
.brake-image {
    width: 5rem;
    /* height: 40px; */
}
.battery-section {
    padding: 8px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.ammo-section {
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Messages Section */
.messages-section {
    max-height: 6rem;
    margin-top: 2%;
    margin-left: 2%;
    margin-right: 2%;
}
#messagesResponse {
    font-size: 0.9rem;
    overflow-y: auto;
    max-height: 100%;
}

/* .vertical-progress {
    display: flex;
    flex-direction: column-reverse; /* Makes the progress bar start from the bottom 
    height: 9rem; /* Full height of the container 
    width: 2rem;
}
 .vertical-progress .progress-bar { 
    width: 100%; /* Ensures the bar spans the full width of the progress container 
} */


