.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-logo {
    font-size: 48px;
    font-weight: bold;
    color: #1976d2;
    margin-bottom: 20px;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1976d2;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

.loading-text {
    margin-top: 20px;
    color: #666;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

[v-cloak] {
    display: none;
}

.view-container-wrapper {
    padding: 16px;
}

.high-priority-row {
    background-color: #fff3e0 !important;
}

.loading-map {
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
    color: #666;
}


/* - - - - - - */

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-logo {
    font-size: 48px;
    font-weight: bold;
    color: #1976d2;
    margin-bottom: 20px;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1976d2;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

.loading-text {
    margin-top: 20px;
    color: #666;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

[v-cloak] {
    display: none;
}

.view-container-wrapper {
    padding: 16px;
}

/* Custom Leaflet Marker Styles */
.custom-marker {
    background: transparent !important;
    border: none !important;
}

.custom-marker.green div {
    background-color: green !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.custom-marker.red div {
    background-color: red !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Verbesserte Popup-Styles */
.leaflet-popup-content {
    font-family: 'Roboto', sans-serif;
}

.leaflet-popup-content strong {
    color: #1976d2;
}

.leaflet-popup-content hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 8px 0;
}

/* - - - - - - */

/* Stelle sicher dass der Chart-Container korrekt dimensioniert ist */
.chart-container {
    position: relative;
    height: 400px;
    width: 100%;
    min-height: 400px;
}

#historyChart {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* Stelle sicher dass der Tab-Inhalt sichtbar ist */
.v-window-item {
    overflow: visible !important;
}

.v-window-item--active {
    position: relative;
}

/* Sicherstellen dass Canvas korrekt gerendert wird */
canvas {
    max-width: 100%;
    height: auto;
}

.click-marker {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Cursor-Stil für klickbare Map */
.leaflet-container.crosshair-enabled {
    cursor: crosshair !important;
}


/* - - - - - - */
#historyChart {
    width: 100% !important;
    height: 400px !important;
    min-height: 400px;
}
.chart-container {
    position: relative;
    height: 400px;
    width: 100%;
}

#historyChart {
    width: 100% !important;
    height: 100% !important;
}

.custom-marker {
    transition: all 0.3s ease;
}

.custom-marker:hover {
    transform: scale(1.2);
}

/* - - - - - - */station-info {
    line-height: 1.4;
    min-width: 200px;
}

.station-info .font-weight-medium {
    margin-bottom: 2px;
}

.fuel-types {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fuel-prices {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

.selfservice-status {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.action-buttons {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.data-table-row:hover {
    background-color: #f5f5f5;
}

/* Responsive Anpassungen */
@media (max-width: 1200px) {
    .station-info {
        min-width: 150px;
    }
}

/* Chip Farben für Kraftstofftypen */
.v-chip--outlined {
    border-width: 1px;
}
.tankstellen-im-umkreis tr {
    border: 1px solid green;
}
.tankstellen-im-umkreis tr td {
    border: 1px solid purple;
}
.tankstellen-im-umkreis td:nth-child(2) {
    vertical-align: top;
    margin-top: 6px;
    border: 1px solid red;
    padding-top: 0px !important;
}


/* ----------------- */
.search-container {
    transition: all 0.3s ease;
    max-width: 200px;
}

.search-container.search-focused {
    max-width: 100%;
}

.animated-search {
    transition: all 0.3s ease;
}

/* Für die Tabellenzeilen mit mehreren Kraftstoffen */
.fuel-types {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fuel-prices {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

.selfservice-status {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

/* Responsive Anpassungen */
@media (max-width: 960px) {
    .search-container {
        max-width: 100%;
    }
    
    .search-container:not(.search-focused) {
        max-width: 150px;
    }
}
/* ----- */
.search-container {
    transition: all 0.3s ease;
    max-width: 200px;
}

.search-container.search-focused {
    max-width: 100%;
}

.animated-search {
    transition: all 0.3s ease;
}

/* Für die Tabellenzeilen mit mehreren Kraftstoffen */
.fuel-types {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fuel-prices {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

.selfservice-status {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

/* Responsive Anpassungen */
@media (max-width: 960px) {
    .search-container {
        max-width: 100%;
    }
    
    .search-container:not(.search-focused) {
        max-width: 150px;
    }
}