* {
    margin: 0;
    padding: 0;
}

#map {
    height: 100vh;
    width: 100vw;
}

.leaflet-control-attribution.leaflet-control {
    display: none;
}

.car-info-block {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 1rem;
}

.card.popup-content .btn {
    color: #fff;
}

.center-map {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
}

.leaflet-popup-content {
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.card.popup-content .btn-group {
    width: 100%;
}

.car-name {
    font-size: 1.1rem;
}

.car-is-parked {
    filter: grayscale(10%);
}

/* -------------------------------------------------------- */

.popup_eco {
    margin: 8px;
}

.fa-solid, .stat-item>span, .stat-item{
    font-size: 14px;
}

.popup_eco .header {
    display: flex;
    align-items: center;
}

.popup_eco .car-icon {
    font-size: 1.5rem;
    margin-right: 6px;
    width: 36px;
    height: 36px;

    background-color: #dda9a9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup_eco .car-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #222;
}

.popup_eco .stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.popup_eco .stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 6px 8px;
    /* border-radius: 50px; */
    font-weight: 600;
    color: white;
    gap: 4px;
}

.popup_eco .stat-item:first-child {
    border-radius: 8px 0 0 8px;
}

.popup_eco .stat-item:last-child {
    border-radius: 0 8px 8px 0;
}

.popup_eco .battery {
    background-color: #3a9e64;
}

.popup_eco .speed {
    background-color: #e17055;
}

.popup_eco .direction {
    background-color: #4db6e5;
}

.popup_eco .info-section {
    margin-bottom: 10px;
}

.popup_eco .info-label {
    font-size: .7rem;
    color: #777;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

.popup_eco .info-label i {
    margin-right: 8px;
    /* width: 16px; */
    text-align: center;
    font-size: 1rem;
}



.header__icon--menu span {
    background: #003252 !important;
    height: 2px;
}
.popup_eco .info-value {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    font-weight: bold;
    #word-break: break-all;
    padding-left: 5px;
}

.popup_eco .button-row {
    display: flex;
    margin-bottom: 10px;
}

.leaflet-popup-content{
    margin: 13px 10px 13px 10px !important;
}

.popup_eco .control-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    font-size: 13px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.leaflet-container a.leaflet-popup-close-button{
    font-size: 35px;
    top: 3px !important;
    right: 6px !important;
}

.leaflet-popup-close-button span{
    font-size: 25px;
}

.popup_eco .control-btn i {
    margin-right: 8px;
    font-size: 16px;
}

.popup_eco .control-btn:hover {
    opacity: 0.9;
}

.popup_eco .btn-green {
    background-color: #3a9e64;
    border-radius: 8px 0 0 8px;
}

.popup_eco .btn-red {
    background-color: #d9534f;
    border-radius: 0 8px 8px 0;
}

.popup_eco .divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 6px 0;
}

.popup_eco .additional-controls {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 10px;
}

.popup_eco .additional-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    background-color: #f0f0f0;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    #justify-content: space-between;
    transition: all 0.2s ease;
}

.popup_eco .additional-btn:hover {
    background-color: #e0e0e0;
}

.popup_eco .additional-btn i {
    margin-right: 8px;
    font-size: 16px;
    /* width: 16px; */
    /* font-size: 1.1rem; */
    /* text-align: center; */
}

.popup_eco .icon {
    margin-right: 8px;
}


.popup_eco .car-icon>.car {
    display: block;
}

.popup_eco .car-icon>.loading {
    display: none;
}

.popup_eco .car-icon.progress>.car {
    display: none;
}

.popup_eco .car-icon.progress>.loading {
    display: block;
}

.leaflet-control-center {
    font-size: 1rem;
    margin-top: 5px;
    border-radius: 20px !important;
    border: #222 1px solid !important;
}

.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
    border: transparent !important;
}