/* Main Styles for Weather Forecast App - Glassmorphism Edition */

:root {
    /* Core Gradients */
    --day-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --night-gradient: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    
    /* Glass Variables (Light Theme) */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --nav-glass: rgba(255, 255, 255, 0.85);

    /* Brand Colors */
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --accent-color: #e74c3c;
    --warning-color: #f39c12;
    --success-color: #27ae60;
    --info-color: #9b59b6;

    /* Text Colors */
    --text-color: #2c3e50;
    --text-light: #5a6a7e;
    --heading-color: #1a252f;
    
    /* Inputs */
    --input-bg: rgba(255, 255, 255, 0.9);
    
    /* Transitions */
    --transition-speed: 0.4s;
}

/* Dark Mode Variables */
body.night {
    --glass-bg: rgba(30, 30, 50, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --nav-glass: rgba(20, 20, 35, 0.85);
    
    --text-color: #e0e0e0;
    --text-light: #a0a0a0;
    --heading-color: #ffffff;
    
    --input-bg: rgba(0, 0, 0, 0.3);
    --primary-color: #6dd5fa; /* Lighter blue for dark mode contrast */
}

/* --- Global Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Inter', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--day-gradient);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    transition: background 0.8s ease, color 0.3s ease;
    background-attachment: fixed; /* Keeps gradient fixed while scrolling */
}

body.night {
    background: var(--night-gradient);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--heading-color);
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

h1 { font-size: 2.8rem; letter-spacing: -1px; }
h2 { font-size: 2.2rem; margin-top: 2.5rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; opacity: 0.9; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

a:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.4);
}

/* --- Animations --- */
@keyframes slideDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --- Navigation (Glass Effect) --- */
.navbar {
    background-color: var(--nav-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-speed);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-brand i {
    font-size: 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.nav-brand h1 {
    font-size: 1.8rem;
    margin: 0;
}

.version {
    background: linear-gradient(135deg, var(--secondary-color), #27ae60);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px; /* Pill shape */
    font-weight: 600;
    transition: all 0.3s;
}

.nav-links a:hover {
    background-color: rgba(52, 152, 219, 0.1);
    transform: translateY(-2px);
}

.nav-links a.active {
    background: linear-gradient(135deg, var(--primary-color), #2980b9);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

/* --- Hero Section --- */
.hero-section {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem 3rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--glass-shadow);
    text-align: center;
    animation: slideDown 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

/* Decorative background blur for hero */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--info-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-form {
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.input-with-icon-large {
    position: relative;
    display: flex;
    align-items: stretch; /* Changed from center to stretch */
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s;
    min-height: 65px; /* Added minimum height */
    background: var(--input-bg); /* Add background to entire container */
}

.input-with-icon-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.input-with-icon-large i {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.4rem;
    z-index: 3; /* Increased z-index to ensure it's above input */
    pointer-events: none;
}

.input-with-icon-large input {
    flex: 1;
    padding: 22px 22px 22px 65px;
    font-size: 1.2rem;
    border: none;
    background-color: transparent; /* Changed to transparent */
    color: var(--text-color);
    transition: background 0.3s;
    line-height: normal;
    height: 100%;
    position: relative;
    z-index: 2; /* Lower than icon */
}

.input-with-icon-large input:focus {
    outline: none;
    /* Remove background-color change on focus since container handles it */
}

/* Change container background on input focus */
.input-with-icon-large:focus-within {
    background-color: #ffffff;
}

body.night .input-with-icon-large:focus-within {
    background-color: rgba(0,0,0,0.5);
}

.search-btn {
    background: linear-gradient(135deg, var(--secondary-color), #219653);
    color: white;
    border: none;
    padding: 0 45px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    align-self: stretch;
    position: relative;
    z-index: 4; /* Ensure button is above everything */
}

.search-btn:hover {
    filter: brightness(1.1);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    backdrop-filter: blur(5px);
    animation: float 6s ease-in-out infinite;
}

.stat:nth-child(2) { animation-delay: 1s; }
.stat:nth-child(3) { animation-delay: 2s; }
.stat:nth-child(4) { animation-delay: 3s; }

.stat i {
    font-size: 1.6rem;
    color: var(--warning-color);
}

/* --- Quick Search (Glass Card) --- */
.quick-search-section {
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--glass-shadow);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.quick-search-section h2 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--heading-color);
}

.quick-search-section p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1rem;
}

/* Grid layout for city chips */
.city-chips-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.city-chip {
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 16px 20px;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    text-align: center;
    min-height: 60px;
    position: relative;
    overflow: hidden;
}

body.night .city-chip {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.city-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.city-chip:hover::before {
    left: 100%;
}

.city-chip:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.city-chip:hover i {
    color: white;
}

.city-chip i {
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: color 0.3s;
}

/* --- Weather Preview --- */
.weather-preview {
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--glass-shadow);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.preview-card {
    display: flex;
    gap: 3rem;
    align-items: center;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(46, 204, 113, 0.1));
    padding: 3rem;
    border-radius: 20px;
    margin-top: 1.5rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.temp-value {
    font-size: 4.5rem;
    font-weight: 800;
    background: linear-gradient(to bottom, var(--text-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.temp-feels {
    margin-top: 5px;
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.8;
}

.preview-condition i {
    font-size: 3rem;
    filter: drop-shadow(0 0 10px rgba(243, 156, 18, 0.4));
    animation: pulse 3s infinite;
}

.detail {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    transition: transform 0.2s;
    margin-bottom: 3px;
}

body.night .detail {
    background-color: rgba(255, 255, 255, 0.05);
}

.detail:hover {
    transform: scale(1.02);
}

.detail i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.btn-view-full {
    background: linear-gradient(135deg, var(--primary-color), #2980b9);
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s;
}

.btn-view-full:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

/* --- Features Grid --- */
.features-section { 
    margin-bottom: 3rem; 
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.feature-card {
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.feature-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255,255,255,0.8);
}

body.night .feature-card:hover {
    background-color: rgba(40, 40, 60, 0.8);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Status & Footer --- */
.status-card {
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
}

.status-item {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

body.night .status-item {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* ===== ENHANCED FOOTER SECTION ===== */
.footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    z-index: -1;
}

body.night .footer {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

.footer-section {
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.1);
}

body.night .footer-section {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

body.night .footer-section:hover {
    background: rgba(0, 0, 0, 0.3);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .footer-logo {
        justify-content: center;
    }
}

.footer-logo i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo h3 {
    margin: 0;
    font-size: 1.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--info-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(52, 152, 219, 0.3);
    position: relative;
    color: var(--heading-color);
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), transparent);
}

@media (max-width: 768px) {
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-color);
    background: rgba(52, 152, 219, 0.1);
    transform: translateX(8px);
}

@media (max-width: 768px) {
    .footer-links a:hover {
        transform: translateX(0);
    }
}

.footer-links a i {
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .social-links {
        justify-content: center;
    }
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.weather-data-source {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 10px;
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.api-key {
    font-family: monospace;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-light);
    word-break: break-all;
    margin-top: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    max-width: 1400px;
    margin: 3rem auto 0;
    padding: 2rem 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .footer-bottom-links {
        justify-content: center;
    }
}

.footer-bottom-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .city-chips-container {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .container { padding: 15px; }
    
    .nav-container { flex-direction: column; gap: 1.5rem; }
    
    .hero-content h1 { font-size: 2.5rem; }
    
    .input-with-icon-large { 
        flex-direction: column; 
        border-radius: 20px; 
        align-items: stretch;
        min-height: auto;
        background: none; /* Remove background for mobile */
    }
    
    .input-with-icon-large i { 
        top: 22px;
        left: 20px;
        transform: none;
    }
    
    .input-with-icon-large input { 
        width: 100%; 
        padding: 20px 20px 20px 60px; 
        height: 60px;
        background-color: var(--input-bg); /* Add background back for mobile */
        border-radius: 16px 16px 0 0; /* Round top corners */
    }
    
    .search-btn { 
        width: 100%; 
        justify-content: center; 
        padding: 20px;
        height: 60px;
        border-radius: 0 0 16px 16px; /* Round bottom corners */
    }
    
    .preview-card { flex-direction: column; text-align: center; }
    
    .city-chips-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .city-chips-container {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .city-chip {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Additional improvements for button appearance */
.search-btn:active {
    transform: scale(0.98);
}

.search-btn i {
    font-size: 1.1rem;
}

/* Loading states */
.loading-skeleton {
    background: linear-gradient(90deg, 
        rgba(255,255,255,0.1) 25%, 
        rgba(255,255,255,0.2) 50%, 
        rgba(255,255,255,0.1) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 8px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Error states */
.error-container {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem 0;
    text-align: center;
    box-shadow: var(--glass-shadow);
}

.error-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .search-btn,
    .btn-view-full {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .hero-section,
    .quick-search-section,
    .weather-preview,
    .feature-card,
    .status-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        backdrop-filter: none !important;
        background: white !important;
    }
}