﻿
html {
    position: relative;
    min-height: 100%;
  
}

body {
    margin-bottom: 60px;
    padding: 0px;
    margin: 0px;
}


.autocomplete-list {
    position: absolute;
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: 0;
    background: white;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
}

    .autocomplete-list li {
        padding: 0.5em;
        cursor: pointer;
    }

        .autocomplete-list li.active,
        .autocomplete-list li:hover {
            background: #f0f0f0;
        }



.ad-text {
    position: relative;
    max-height: 3em; /* roughly two lines at normal line‑height */
    overflow: hidden;
    transition: max-height 0.25s ease;
}

    .ad-text::after {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100%;
        height: .5em;
        background: linear-gradient(to bottom, rgba(255,255,255,0), white);
    }

    .ad-text.expanded {
        max-height: 100em; /* big enough to show all lines */
    }

        .ad-text.expanded::after {
            display: none;
        }


/* make all placeholders use the muted text color */
::placeholder {
    color: #6c757d !important;
    opacity: 1; /* ensure it’s fully opaque */
}

[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
    transition: transform 0.3s;
}

