.weather-container {
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #2d3436;
    line-height: 1.6;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.weather-container:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.weather-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
}

.weather-current h3 {
    margin: 0 0 15px 0;
    font-size: 20px;
    font-weight: 600;
    color: #2d3436;
    position: relative;
    padding-bottom: 8px;
}

.weather-current h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 3px;
}

.weather-temp {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    animation: fadeIn 0.8s ease;
}

.weather-temp .temp {
    font-size: 36px;
    font-weight: 700;
    margin-right: 15px;
    color: #2d3436;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.weather-temp .condition {
    font-size: 18px;
    color: #636e72;
    font-weight: 500;
}

.weather-details {
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    animation: slideUp 0.6s ease;
}

.weather-details p {
    margin: 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.weather-details p:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.weather-details i {
    margin-right: 10px;
    font-size: 18px;
    width: 24px;
    text-align: center;
    color: #6c5ce7;
}

.weather-forecast {
    margin-top: 25px;
    border-top: 1px solid rgba(45, 52, 54, 0.1);
    padding-top: 20px;
    animation: fadeIn 1s ease;
}

.weather-forecast h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #2d3436;
    position: relative;
    padding-bottom: 5px;
}

.weather-forecast h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 2px;
}

.forecast-days {
    display: flex;
    justify-content: space-between;
}

.forecast-day {
    flex: 1;
    min-width: 0;
    text-align: center;
    margin: 0 5px;
    padding: 12px 5px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.forecast-day:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.forecast-day .day {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #636e72;
    margin-bottom: 8px;
}

.forecast-day .temps {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.forecast-day .high {
    color: #e17055;
    font-weight: 600;
}

.forecast-day .low {
    color: #0984e3;
    font-weight: 600;
}

.weather-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(45, 52, 54, 0.1);
    font-size: 12px;
    color: #636e72;
    animation: fadeIn 1.2s ease;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.weather-source, .weather-update {
    margin: 0;
    line-height: 1.4;
}

.weather-source::before {
    content: "📌 ";
}

.weather-update::before {
    content: "🕒 ";
}

.weather-refresh {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(106, 17, 203, 0.3);
}

.weather-refresh:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(106, 17, 203, 0.4);
}

.weather-refresh:active {
    transform: translateY(0);
}

.weather-loading {
    padding: 20px;
    text-align: center;
    color: #636e72;
    font-size: 15px;
    animation: pulse 1.5s infinite;
}

.weather-error {
    padding: 20px;
    text-align: center;
    color: #d63031;
    font-size: 15px;
    animation: shake 0.5s ease;
}

.permission-help {
    margin-top: 15px;
    padding: 12px;
    background: rgba(214, 48, 49, 0.1);
    border-radius: 8px;
    font-size: 13px;
    color: #636e72;
    line-height: 1.5;
}

.permission-help a {
    color: #6a11cb;
    text-decoration: none;
    font-weight: 500;
}

.permission-help a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}
.wi {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.wi-thermometer:before { content: "🌡️"; }
.wi-humidity:before { content: "💧"; }
.wi-wind:before { content: "🌬️"; }
.wi-cloudy:before { content: "☁️"; }
.wi-barometer:before { content: "📊"; }
.wi-smog:before { content: "🌫️"; }