/* assets/css/style.css */
.custom-location-weather {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    margin: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    max-width: 400px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.custom-location-weather .location {
    font-size: 1.4em;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.custom-location-weather .datetime {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 15px;
}

.custom-location-weather .weather-main {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.custom-location-weather .temperature {
    font-size: 2.5em;
    font-weight: bold;
    color: #2c3e50;
}

.custom-location-weather .unit-toggle {
    background: #E91D25;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
    font-weight: 500;
}

.custom-location-weather .unit-toggle:hover {
    background: #E91D25;
    transform: translateY(-1px);
}

.custom-location-weather .unit-toggle:active {
    transform: translateY(0);
}

.custom-location-weather .weather-details {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.custom-location-weather .weather-details div {
    margin: 5px 0;
    color: #666;
    font-size: 0.95em;
    line-height: 1.4;
}

/* Error message styling */
.custom-location-weather p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.4;
    margin: 10px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
}

/* Responsive design */
@media (max-width: 480px) {
    .custom-location-weather {
        padding: 15px;
    }

    .custom-location-weather .temperature {
        font-size: 2em;
    }

    .custom-location-weather .location {
        font-size: 1.2em;
    }
}

/* Weather icon styling */
.custom-location-weather .weather-icon {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.custom-location-weather .weather-main {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}