body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

#app-header {
    height: 70px;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
    position: relative;
    border-bottom: 2px solid #ccc;
}

/* Mimic "National Lampoon's" */
.logo-top {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #222;
    margin-bottom: -5px;
    font-weight: bold;
}

/* Mimic "EUROPEAN VACATION" */
.logo-bottom {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 38px;
    color: #d32f2f; /* Classic bold red */
    -webkit-text-stroke: 1.5px #fbc02d; /* Yellow outline */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    letter-spacing: 1px;
    line-height: 1;
}

#map {
    height: calc(100% - 70px);
    width: 100%;
}

/* Custom Weather Marker Styles */
.custom-leaflet-icon {
    /* Need this to prevent Leaflet from giving default backgrounds to divIcons */
    background: transparent;
    border: none;
}

.weather-marker {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    padding: 6px 12px;
    border: 1px solid #ccc;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    width: max-content;
    box-sizing: border-box;
    /* Removed pointer-events: none so we can click links */
}

/* Base link styles */
.weather-marker a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.weather-marker a:hover {
    opacity: 0.7;
}

.weather-marker .city-link:hover .city {
    text-decoration: underline;
    color: #0056b3;
}

/* Wrapper for the weather content to act as a flex container */
.weather-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.weather-marker .location-col {
    text-align: left;
}

.weather-marker .icon-col {
    font-size: 28px;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.weather-marker .weather-col {
    text-align: right;
}

.weather-marker .city {
    font-weight: bold;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.weather-marker .date {
    font-size: 11px;
    color: #666;
    white-space: nowrap;
}

.weather-marker .temps {
    font-size: 13px;
    font-weight: 600;
}

.weather-marker .high {
    color: #d32f2f;
}

.weather-marker .low {
    color: #1976d2;
}

.weather-marker .desc {
    font-size: 11px;
    color: #555;
    text-transform: capitalize;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    #app-header {
        height: 60px;
    }

    .logo-top {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .logo-bottom {
        font-size: 26px;
        -webkit-text-stroke: 1px #fbc02d;
    }

    #map {
        height: calc(100% - 60px);
    }

    .weather-marker {
        padding: 4px 8px;
        gap: 8px;
    }

    .weather-link {
        gap: 8px;
    }

    .weather-marker .icon-col {
        font-size: 22px;
    }

    .weather-marker .city {
        font-size: 13px;
    }

    .weather-marker .temps {
        font-size: 12px;
    }
}
