.db-store-location-selector-auto-hook {
    position: relative;
    z-index: 12;
}

.db-store-location-selector {
    border: 1px solid #d7dbe6;
    border-radius: 12px;
    background: #ffffff;
    padding: 12px;
    margin: 10px auto;
    max-width: 980px;
}

.db-store-location-selector--compact {
    padding: 8px 10px;
    margin: 6px auto;
    max-width: 720px;
    border-radius: 10px;
}

.db-store-location-selector--compact .db-store-location-selector__head {
    margin-bottom: 6px;
}

.db-store-location-selector--compact .db-store-location-selector__title {
    font-size: 13px;
}

.db-store-location-selector--compact .db-store-location-selector__current {
    font-size: 11px;
}

.db-store-location-selector--compact .db-store-location-selector__controls {
    gap: 6px;
}

.db-store-location-selector--compact .db-store-location-selector__input {
    height: 34px;
    border-radius: 8px;
    padding: 0 10px;
}

.db-store-location-selector--compact .db-store-location-selector__feedback {
    margin-top: 6px;
    font-size: 11px;
}

.db-store-location-selector--full {
    padding: 16px;
    margin: 14px auto;
    max-width: 1080px;
}

.db-store-location-selector--full .db-store-location-selector__title {
    font-size: 15px;
}

.db-store-location-selector--full .db-store-location-selector__input {
    height: 42px;
}

.db-store-location-selector--full .db-store-location-selector__feedback {
    font-size: 13px;
}

.db-store-location-selector__head {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.db-store-location-selector__title {
    font-size: 14px;
    color: #111827;
}

.db-store-location-selector__current {
    font-size: 12px;
    color: #4b5563;
}

.db-store-location-selector__controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.db-store-location-selector__input {
    flex: 1;
    min-width: 120px;
    height: 38px;
    border: 1px solid #c5cad6;
    border-radius: 10px;
    padding: 0 12px;
}

.db-store-location-selector__submit {
    white-space: nowrap;
}

.db-store-location-selector__feedback {
    margin: 8px 0 0;
    font-size: 12px;
    color: #4b5563;
}

.db-store-location-selector__feedback.is-success {
    color: #0f766e;
}

.db-store-location-selector__feedback.is-error {
    color: #b91c1c;
}

.db-store-freight-badge {
    margin: 6px 0 8px;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.35;
    border: 1px dashed #d1d5db;
    color: #374151;
    background: #f9fafb;
}

.db-store-freight-badge.is-pending {
    display: none;
}

.db-store-freight-badge__line + .db-store-freight-badge__line {
    margin-top: 2px;
}

.db-store-freight-badge__line--admin {
    font-size: 11px;
    opacity: 0.9;
}

.db-store-freight-badge.is-inside {
    border-color: #86efac;
    background: #f0fdf4;
    color: #166534;
}

.db-store-freight-badge.is-eligible {
    border-color: #86efac;
    background: #f0fdf4;
    color: #166534;
}

.db-store-freight-badge.is-outside {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.db-store-freight-badge.is-missing {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.db-store-freight-badge.is-consult {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.db-store-freight-badge--single {
    margin-top: 12px;
}

.db-store-coverage-warning {
    margin: 8px 0 0;
    font-size: 12px;
    color: #991b1b;
}

.db-store-coverage-blocked .db-store-coverage-disabled {
    pointer-events: none !important;
    opacity: 0.5 !important;
}

@media (max-width: 720px) {
    .db-store-location-selector--compact {
        padding: 8px;
    }

    .db-store-location-selector__controls {
        flex-wrap: wrap;
    }

    .db-store-location-selector__submit,
    .db-store-location-selector__change {
        width: 100%;
    }
}
