/* EVC Header Weather Temperature Styles */

.evc-header-weather-temp-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent; /* Transparent background */
    color: #ffffff; /* White text for dark header background */
    font-family: 'Inter', sans-serif;
    font-size: 1.2em; /* Base font size */
    height: 100%; /* Take full height of parent module */
    box-sizing: border-box;
    white-space: nowrap; /* Prevent wrapping */
}

.evc-header-weather-icon {
    width: 25px; /* Adjust icon size to match font */
    height: 25px; /* Adjust icon size to match font */
    margin-right: 5px; /* Space between icon and temperature */
    vertical-align: middle;
}

.evc-header-weather-temp {
    font-size: 1em; /* Make font size relative to container's font-size */
    font-weight: 600;
    line-height: 1; /* Ensure tight line height for vertical alignment */
    vertical-align: middle;
}

.evc-header-weather-temp-loading,
.evc-header-weather-temp-error {
    font-size: 0.8em;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.8); /* Slightly transparent white for loading/error */
}

/* Responsive adjustments for smaller header spaces if needed */
@media (max-width: 768px) {
    .evc-header-weather-temp-container {
        font-size: 1.1em;
    }
    .evc-header-weather-icon {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .evc-header-weather-temp-container {
        font-size: 1em;
    }
    .evc-header-weather-icon {
        width: 20px;
        height: 20px;
    }
}
