/* ================================================================
   ACD Menu – Autocomplete Dropdown
   Styled to mirror Gravity Forms (gform_wrapper_10) on
   sturdibuiltsheds.com
   ================================================================ */

/* Wrapper */
.acd-menu-wrapper.gform_wrapper {
    max-width: 480px;
    margin: 0 auto;
    font-family: inherit;
}

/* Field label */
.acd-menu-wrapper .gfield_label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

/* Input container – position:relative so dropdown anchors to it */
.acd-menu-wrapper .acd-input-wrap {
    position: relative;
}

/* Text input – mirrors .ginput_container input[type=text] */
.acd-menu-wrapper #acd-zip-input {
    width: 100%;
    box-sizing: border-box;
    height: 44px;
    padding: 0 14px;
    font-size: 16px;
    color: #333;
    background: #fff;
    border: 1px solid #b3b3b3;
    border-radius: 3px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}

.acd-menu-wrapper #acd-zip-input:focus {
    border-color: #5b8dd9;
    box-shadow: 0 0 0 2px rgba(91, 141, 217, 0.25);
}

/* Suggestions dropdown */
.acd-suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999999;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
    border: 1px solid #b3b3b3;
    border-top: none;
    border-radius: 0 0 3px 3px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    max-height: 260px;
    overflow-y: auto;
}

.acd-suggestions li {
    padding: 10px 14px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.1s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.acd-suggestions li:last-child {
    border-bottom: none;
}

.acd-suggestions li:hover,
.acd-suggestions li.acd-active {
    background: #f0f5ff;
    color: #1a3e6e;
}

.acd-suggestions li strong {
    font-size: 15px;
    color: #1a3e6e;
    min-width: 52px;
}

.acd-suggestions .acd-lot-name {
    color: #666;
    font-size: 13px;
}

/* No result message */
.acd-no-result {
    margin-top: 6px;
    font-size: 13px;
    color: #c0392b;
}

/* Footer / button row – mirrors .gform_footer */
.acd-menu-wrapper .gform_footer {
    margin-top: 14px;
    text-align: left;
}

/* Button – mirrors .gform_button on sturdibuiltsheds.com */
.acd-menu-wrapper #acd-go-btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: #1a3e6e;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
    line-height: 1;
}

.acd-menu-wrapper #acd-go-btn:hover:not(:disabled) {
    background: #15325a;
}

.acd-menu-wrapper #acd-go-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 480px) {
    .acd-menu-wrapper.gform_wrapper {
        max-width: 100%;
    }
    .acd-menu-wrapper #acd-go-btn {
        width: 100%;
        text-align: center;
    }
}
