/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #000;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Animated background particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: floatingBg 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes floatingBg {
    0%, 100% {
        transform: translateY(0px);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px);
        opacity: 0.6;
    }
}

/* Background animations */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: all 0.8s ease-in-out;
}

.background-animation.sunny {
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
}

.background-animation.rainy {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
}

/* Rain animation */
.rain-drop {
    position: absolute;
    width: 2px;
    height: 15px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    animation: rainfall 1s linear infinite;
}

@keyframes rainfall {
    0% {
        transform: translateY(-100vh);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Sun animation */
.sun {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, #ffeaa7 0%, #fdcb6e 100%);
    border-radius: 50%;
    box-shadow: 0 0 50px rgba(253, 203, 110, 0.5);
    animation: sunPulse 3s ease-in-out infinite alternate;
}

@keyframes sunPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 50px rgba(253, 203, 110, 0.5);
    }
    100% {
        transform: scale(1.1);
        box-shadow: 0 0 80px rgba(253, 203, 110, 0.8);
    }
}

/* Container */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out;
}

header h1 {
    font-size: 2.5rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 4px rgba(0, 0, 0, 0.6);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

header p {
    font-size: 1.1rem;
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8), 0 0 3px rgba(0, 0, 0, 0.6);
    font-weight: 500;
}

/* Location section */
.location-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.location-input-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.autocomplete-container {
    position: relative;
    width: 100%;
}

#locationInput {
    width: 100%;
    padding: 1.2rem 60px 1.2rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    transition: all 0.3s ease;
    outline: none;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

#locationInput:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
    background: white;
}

#locationInput::placeholder {
    color: #666;
    font-weight: 400;
}

.locate-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
}

.locate-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, #0056b3, #004085);
}

.locate-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.check-btn {
    width: 100%;
    padding: 1rem;
    border: 2px solid #00a085;
    border-radius: 12px;
    background: linear-gradient(135deg, #00b894, #00a085);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.check-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.check-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 184, 148, 0.4);
}

.check-btn:hover::before {
    width: 200%;
    height: 200%;
}

.check-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
}

/* Weather section */
.weather-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.weather-icon-container {
    margin-bottom: 2rem;
}

.weather-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: bounceIn 0.8s ease-out;
    position: relative;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.weather-icon.rain {
    animation: bounceIn 0.8s ease-out, rainPulse 2s ease-in-out infinite;
}

.weather-icon.sun {
    animation: bounceIn 0.8s ease-out, sunGlow 3s ease-in-out infinite;
}

.weather-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: iconGlow 2s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes bounceIn {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.3) rotate(-90deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes rainPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2)) hue-rotate(0deg);
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 6px 12px rgba(0, 100, 255, 0.3)) hue-rotate(10deg);
    }
}

@keyframes sunGlow {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2)) brightness(1);
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 6px 16px rgba(255, 200, 0, 0.4)) brightness(1.2);
    }
}

@keyframes iconGlow {
    0%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    50% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.weather-info h2 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.rain-probability {
    margin-bottom: 2rem;
}

.probability-value {
    font-size: 3rem;
    font-weight: 900;
    color: #333;
    display: block;
    text-shadow: none;
}

.probability-label {
    color: #666;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Hourly forecast */
.hourly-forecast {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hourly-forecast h3 {
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hourly-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    animation: fadeInLeft 0.5s ease-out;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 -0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.hourly-item:last-child {
    border-bottom: none;
}

.hourly-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 0 3px 3px 0;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.hourly-item:hover {
    background: rgba(0, 123, 255, 0.05);
    transform: translateX(5px);
}

.hourly-item:hover::before {
    transform: scaleY(1);
}

.hour-time {
    color: #333;
    font-weight: 700;
}

.hour-rain {
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rain-icon {
    font-size: 1rem;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

/* Day toggle */
.day-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
}

.day-btn {
    flex: 1;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 12px;
    background: white;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.day-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.day-btn:hover {
    background: #f8f9fa;
    border-color: #007bff;
    color: #007bff;
}

.change-location-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid #6c757d;
    border-radius: 12px;
    background: white;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.change-location-btn:hover {
    background: #6c757d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Loading spinner */
.loading {
    text-align: center;
    padding: 2rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid white;
    border-right: 4px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: spin 1s linear infinite, pulse 2s ease-in-out infinite;
    margin: 0 auto 1rem;
    position: relative;
}

.spinner::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: spin 2s linear infinite reverse;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
    }
    50% { 
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
    }
}

.loading p {
    color: white;
    font-size: 1.1rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    font-weight: 600;
}

/* Error message */
.error-message {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 1rem;
    border: 2px solid #c82333;
    border-radius: 12px;
    margin-top: 1rem;
    text-align: center;
    animation: shake 0.5s ease-in-out, fadeInUp 0.3s ease-out;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.error-message::before {
    content: '⚠️';
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.error-message::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    font-weight: 500;
    position: relative;
    margin-top: 2rem;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    margin-bottom: 1rem;
}

footer a {
    color: white;
    text-decoration: underline;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

footer a:hover {
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    text-decoration: none;
    transform: translateY(-2px);
}

footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.7));
    transition: width 0.3s ease;
}

footer a:hover::after {
    width: 100%;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
}

.close:hover {
    color: #333;
    transform: scale(1.1);
}

.privacy-content h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.privacy-content h3 {
    color: #555;
    margin: 1.5rem 0 0.5rem 0;
}

.privacy-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #666;
}

.privacy-content a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.privacy-content a:hover {
    color: #0056b3;
    text-decoration: underline;
}

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Staggered animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* Autocomplete styles */
.autocomplete-suggestions {
    position: absolute;
    top: calc(100% - 10px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0 0 20px 20px;
    max-height: 240px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    display: none;
}

.autocomplete-suggestion {
    padding: 16px 20px;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
    position: relative;
}

.autocomplete-suggestion:last-child {
    border-bottom: none;
    border-radius: 0 0 18px 18px;
}

.autocomplete-suggestion:hover {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    transform: translateX(4px);
}

.autocomplete-suggestion.selected {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    transform: translateX(4px);
}

.autocomplete-suggestion::before {
    content: "📍";
    margin-right: 8px;
    opacity: 0.7;
}

/* Focus and accessibility improvements */

.locate-btn:focus {
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
    transform: translateY(-50%) scale(1.05);
}

.check-btn:focus {
    box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.25);
}

.day-btn:focus {
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.change-location-btn:focus {
    box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.25);
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .weather-icon::before,
    body::before {
        animation: none !important;
    }
    
    .spinner::before {
        animation: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .location-section,
    .weather-section {
        background: white;
        border: 3px solid #000;
    }
    
    .weather-info h2,
    .probability-value,
    .hour-time {
        color: #000;
    }
    
    .probability-label,
    .hour-rain {
        color: #333;
    }
    
    .day-btn {
        border: 2px solid #000;
        background: white;
        color: #000;
    }
    
    .day-btn.active {
        background: #000;
        color: white;
    }
    
    .autocomplete-suggestion {
        border: 1px solid #000;
    }
}

/* Focus visible for keyboard navigation */
.location-input:focus-visible,
.locate-btn:focus-visible,
.check-btn:focus-visible,
.day-btn:focus-visible,
.change-location-btn:focus-visible {
    outline: 3px solid #005fcc;
    outline-offset: 2px;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* PWA Install Banner */
.install-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 90%;
    width: 350px;
}

.install-banner.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.install-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.install-content span {
    flex: 1;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
}

.install-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.install-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.install-close {
    background: none;
    border: none;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.install-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

/* Responsive design */
@media (max-width: 1024px) {
    .container {
        max-width: 90%;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    header p {
        font-size: 1rem;
    }
    
    .location-section,
    .weather-section {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .weather-icon {
        font-size: 4rem;
    }
    
    .probability-value {
        font-size: 2.5rem;
    }
    
    .hourly-forecast {
        padding: 1rem;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    /* Reduce animations on mobile for better performance */
    .weather-icon::before {
        display: none;
    }
    
    body::before {
        animation: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0.5rem;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    #locationInput {
        padding: 1rem 55px 1rem 1.2rem;
        font-size: 1rem;
        border-radius: 16px;
    }
    
    .locate-btn {
        width: 38px;
        height: 38px;
        right: 6px;
        font-size: 1rem;
    }
    
    .autocomplete-suggestions {
        max-height: 180px;
        border-radius: 0 0 16px 16px;
    }
    
    .autocomplete-suggestion {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .day-toggle {
        flex-direction: column;
    }
    
    .weather-icon {
        font-size: 3rem;
    }
    
    .probability-value {
        font-size: 2rem;
    }
}