.search-container {
    font-size: 1.2rem;
    text-align: center;
    padding: 6rem 1rem 4rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    min-height: calc(100vh - 100px);
    margin-bottom: 2rem;
}

.search-box {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(40,120,255,0.1), rgba(20,40,80,0.05));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: min(600px, 90vw);
    backdrop-filter: blur(8px);
    animation: fadeInDown 0.5s ease-out;
}

.search-box h2 {
    margin: 0 0 1.5rem 0;
    background: linear-gradient(180deg, #fff, #b3d9ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2rem;
}

.search-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-group {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.input-group input {
    flex: 1;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.input-group input:focus {
    outline: none;
    border-color: rgba(59,160,255,0.5);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 20px rgba(59,160,255,0.15);
}

.input-group input::placeholder {
    color: rgba(255,255,255,0.4);
}

.search-button {
    background: linear-gradient(180deg, #3ba0ff, #0077ee);
    color: #fff;
    border: none;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,119,238,0.3);
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,119,238,0.4);
}

.search-button:active {
    transform: translateY(0);
}

.results-box {
    border: 1px solid rgba(255,255,255,0.08);
    padding: 2rem;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    width: min(800px, 90vw);
    backdrop-filter: blur(6px);
    min-height: 100px;
    animation: fadeInUp 0.5s ease-out;
}

#weather-result {
    color: #dfeeff;
    line-height: 1.6;
}

#weather-result h3 {
    color: #fff;
    margin: 0 0 1rem 0;
}

#weather-result p {
    margin: 0.5rem 0;
}

#weather-result ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

#weather-result li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

#weather-result li:last-child {
    border-bottom: none;
}

.enhanced-description {
    margin: 1rem 0;
    padding: 1rem;
    background: linear-gradient(180deg, rgba(59,160,255,0.1), rgba(0,119,238,0.05));
    border-radius: 8px;
    color: #b3d9ff;
    font-style: italic;
}

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

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

@media (max-width: 640px) {
    .search-container {
        padding: 5rem 0.5rem 2rem;
        gap: 1.5rem;
    }

    .search-box {
        padding: 1.5rem;
        width: calc(100% - 20px);
        margin: 0 10px;
    }
    
    .search-box h2 {
        font-size: 1.6rem;
    }

    .input-group input {
        padding: 1rem;
        font-size: 1rem;
        width: 100%;
    }
    
    .search-button {
        width: 100%;
        padding: 1rem;
        margin-top: 0.5rem;
        font-size: 1.1rem;
    }
    
    .results-box {
        padding: 1.5rem;
        width: calc(100% - 20px);
        margin: 0 10px;
        font-size: 0.95rem;
    }

    #weather-result {
        text-align: left;
    }

    #weather-result h3 {
        font-size: 1.4rem;
        text-align: center;
    }

    #weather-result p {
        margin: 0.8rem 0;
    }

    #weather-result ul {
        margin: 1rem 0;
    }

    #weather-result li {
        padding: 0.8rem 0;
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .enhanced-description {
        margin: 1.2rem 0;
        padding: 1rem;
        font-size: 0.95rem;
        line-height: 1.5;
        text-align: center;
    }
}