/*
 * Plugin Name: Local Weather Shortcode
 * Description: Styles for the Local Weather Shortcode plugin.
 */

.local-weather-display {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #87CEEB 0%, #ADD8E6 100%); /* Light blue gradient */
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    margin: 20px auto;
    font-family: 'Inter', sans-serif;
    color: #333;
    overflow: hidden; /* Ensures inner elements respect border-radius */
}

.local-weather-display h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #2c3e50; /* Darker blue */
}

.local-weather-display .weather-card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: inline-block; /* To contain content */
    width: 100%; /* Make it responsive */
    box-sizing: border-box; /* Include padding in width */
}

.local-weather-display .weather-icon {
    width: 100px;
    height: 100px;
    margin: 10px auto;
    display: block;
}

.local-weather-display .temperature {
    font-size: 3em;
    font-weight: bold;
    color: #e67e22; /* Orange-red for temperature */
    margin: 0;
}

.local-weather-display .description {
    font-size: 1.2em;
    margin-top: 5px;
    text-transform: capitalize;
    color: #555;
}

.local-weather-display p {
    font-size: 1em;
    margin: 5px 0;
    color: #666;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .local-weather-display {
        padding: 15px;
        margin: 10px auto;
        max-width: 95%;
    }

    .local-weather-display h2 {
        font-size: 1.5em;
    }

    .local-weather-display .temperature {
        font-size: 2.5em;
    }

    .local-weather-display .weather-icon {
        width: 80px;
        height: 80px;
    }
}
