/* Custom Styles for WeatherPro App */
:root {
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-dark: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
}

.gradient-bg {
    background: var(--gradient-dark);
    min-height: 100vh;
}

.weather-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}

.weather-card .card-body {
    padding: 1rem;
}

.location-hierarchy {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.hierarchy-item {
    padding: 0.5rem;
}

.weather-icon {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.weather-detail-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.weather-detail-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.detail-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.detail-value {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.detail-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Loading animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .weather-card .card-body {
        padding: 1.5rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .weather-icon {
        width: 100px;
        height: 100px;
    }
}

/* Custom input styles */
.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1);
}

/* Button styles */
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}