.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
}

h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    color: #e8f4ff;
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.input-container {
    max-width: 700px;
    display: flex;
    gap: 12px;
    align-items: center;
    box-shadow: 0 24px 60px rgba(2, 18, 45, 0.35);
}

.search-container {
    position: relative;
    flex: 1;
}

.input-container label {
    color: #c8d9ff;
    font-weight: 600;
}

.input-container input {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #f9fbff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-container input:focus {
    border-color: #70a0ff;
    box-shadow: 0 0 0 4px rgba(112, 160, 255, 0.12);
}

.input-container>button {
    padding: 14px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #5d8bff 0%, #3e5dff 100%);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.input-container>button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(35, 82, 255, 0.24);
}

.autocomplete-items {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    overflow: hidden;
    background: rgba(10, 22, 39, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
    z-index: 10;
    border-radius: 14px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}

.autocomplete-items.show {
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    animation: autocompleteFade 0.2s ease-out;
}

.autocomplete-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 12px;
    text-align: left;
    cursor: pointer;
    background: transparent;
    color: #f9fbff;
    transition: background 0.2s ease, transform 0.2s ease;
    border: none;
}

.autocomplete-item:hover {
    background: rgba(255, 255, 255, 0.12);
}

.autocomplete-item small {
    color: #8fb3ff;
    font-size: 0.8rem;
}

@keyframes autocompleteFade {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}