/* Time Widget Positioning */
.time-widget {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    padding: 10px 15px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(139, 94, 60, 0.3);
    font-family: Arial, sans-serif;
}

.time-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #8B5E3C;
    margin-bottom: 3px;
}

.time-value,
.day-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: #8B5E3C;
}

/* Weather Widget Container */
.weather-container {
    position: absolute;
    bottom: 15px;
    right: 20px;
    display: flex;
    gap: 15px;
    z-index: 10;
}

.weather-box {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    padding: 12px;
    width: 130px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(139, 94, 60, 0.3);
    transition: transform 0.3s ease;
    color: #8B5E3C;
}

.weather-box:hover {
    transform: translateY(-5px);
}

.weather-location {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.weather-temp {
    font-size: 1.2rem;
    font-weight: bold;
}

.weather-desc {
    font-size: 0.85rem;
    margin: 5px 0;
}

.weather-humidity {
    font-size: 0.8rem;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.weather-humidity::before {
    content: "💧";
    margin-right: 4px;
    font-size: 0.75rem;
}

.weather-icon {
    font-size: 2rem;
    margin: 8px 0;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.weather-updated {
    margin-top: 5px;
    font-size: 0.7rem;
    opacity: 0.6;
}

/* FontAwesome Gradients & Colors from CSS context */
.weather-icon .fa-sun { color: #FFD700; }
.weather-icon .fa-moon { color: #8b8b87; }
.weather-icon .fa-cloud { color: #0e3a74; }
.weather-icon .fa-cloud-rain { color: #1E90FF; }
.weather-icon .fa-bolt { color: #f78809; }
.weather-icon .fa-snowflake { color: #4ae6e6; }
.weather-icon .fa-smog { color: #615e5e; }

.weather-icon .fa-cloud-sun { 
    background: linear-gradient(135deg, #FFD700, #1E90FF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent; 
}
.weather-icon .fa-cloud-moon { 
    background: linear-gradient(135deg, #360774, #8b8b87);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent; 
}

/* Responsive Media Queries for Widgets */
@media (max-width: 768px) {
    .time-widget {
        top: 15px;
        left: 15px;
        right: auto; /* Moves time to top-left on mobile so it doesn't overlap logo */
        padding: 8px 12px;
    }
    
    .time-title { font-size: 0.8rem; }
    .time-value, .day-value { font-size: 0.95rem; }
    
    .weather-container {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
    
    .weather-box {
        width: 105px;
        padding: 8px;
    }
    
    .weather-location { font-size: 0.85rem; }
    .weather-temp { font-size: 1rem; }
    .weather-desc, .weather-humidity { font-size: 0.75rem; }
    .weather-icon { font-size: 1.5rem; }
}