/* ==== Kontejner search tarif adress ==== */
.search-tarif-adress-glass {
    position: relative;
    display: flex;
    max-width: 540px;
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.15);
    box-shadow: rgba(0,0,0,0.15) 0px 5px 15px;
    margin: 20px auto 30px;
    transition: border-color 0.2s ease;
    /* key change */
    overflow: visible; /* aby dropdown mohl vyskakovat */
}

/* Jemné zvýraznění při focusu */
.search-tarif-adress-glass:focus-within {
    border-color: #0444ac;
}

/* === input ==== */
#autoComplete {border: none; width: 100%;}
.autoComplete_wrapper {width: 100%;}
.search-tarif-adress-glass input {
    flex: 1;
    padding: 14px 16px;
    padding-right: 140px;
    font-size: 15px;
    border: none;
    outline: none;
    background: transparent;
    color: #1f2937;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.search-tarif-adress-glass input::placeholder {
    color: rgba(31,41,55,0.6);
}



/* === button === */
.search-tarif-adress-glass button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 14px;
    border: none;
    border-radius: 12px;
    background-color: #7bae11;
    color: white;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: background 0.25s ease;
}

.search-tarif-adress-glass button:hover {
    background: #0444ac;
}


/* === DARK MODE === */
html[data-theme='dark'] .search-tarif-adress-glass {
    background: rgba(30,30,30,0.3);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

html[data-theme='dark'] .search-tarif-adress-glass:focus-within {
    border-color: rgba(123,174,17,0.7);
}

html[data-theme='dark'] .search-tarif-adress-glass input {
    color: #f0f0f0;
}

html[data-theme='dark'] .search-tarif-adress-glass input::placeholder {
    color: rgba(255,255,255,0.5);
}

