/* PlaceAutocompleteElement Container */
.tabsl-place-autocomplete-container {
    position: relative;
    width: 100%;
}

/* PlaceAutocompleteElement Styling (Web Component) - analog zum Shop-Standard form-control */
gmp-place-autocomplete {
    width: 100%;
    display: block;
    height: 38px !important;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    padding: 0.375rem 0.75rem;
    box-sizing: border-box;
    font-family: inherit;
}

gmp-place-autocomplete:hover {
    border-color: #adb5bd;
}

gmp-place-autocomplete:focus,
gmp-place-autocomplete:focus-within {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Styling für das Input-Element im Shadow DOM */
gmp-place-autocomplete::part(input) {
    height: 100% !important;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}

gmp-place-autocomplete::part(input):focus {
    outline: none;
    border: none;
    box-shadow: none;
}

gmp-place-autocomplete::part(input)::placeholder {
    color: #6c757d;
    opacity: 1;
}

/* Legacy: Pac-Container für Rückwärtskompatibilität */
.pac-container {
    background-color: #fff;
    border: 1px solid #d4d4d4;
    border-top: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-family: inherit;
    z-index: 1000 !important;
    margin-top: 0;
    border-radius: 0 0 4px 4px;
}

.pac-item {
    padding: 10px 12px;
    cursor: pointer;
    border-top: 1px solid #e6e6e6;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
}

.pac-item:first-child {
    border-top: none;
}

.pac-item:hover {
    background-color: #f5f5f5;
}

.pac-item-selected {
    background-color: #e8f0fe;
}

.pac-item-selected:hover {
    background-color: #d2e3fc;
}

.pac-icon {
    margin-right: 8px;
    margin-top: 2px;
    width: 15px;
    height: 20px;
    display: inline-block;
    vertical-align: top;
    flex-shrink: 0;
}

.pac-item-content {
    flex: 1;
    min-width: 0;
}

.pac-item-name {
    font-weight: bold;
    font-size: 14px;
    color: #333;
    margin-bottom: 0;
    line-height: 1.5;
}

.pac-item-address {
    font-size: 14px;
    color: #333;
    margin-top: 0;
    line-height: 1.5;
}

.pac-matched {
    font-weight: bold;
}

.pac-item-query {
    font-size: 14px;
    padding-right: 3px;
}

.pac-container:after {
    display: none !important;
}

/* DHL Location Finder Dropdown - analog zum Google Places Autocomplete Dropdown */
.dhl-location-dropdown {
    background-color: #fff;
    border: 1px solid #d4d4d4;
    border-top: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-family: inherit;
    z-index: 1001 !important;
    margin-top: 0;
    border-radius: 0 0 4px 4px;
    max-height: 350px;
    overflow-y: auto;
}

.dhl-location-item {
    display: flex;
    align-items: flex-start;
    padding: 10px 12px;
    cursor: pointer;
    border-top: 1px solid #e6e6e6;
    font-size: 14px;
    line-height: 1.5;
}

.dhl-location-item:first-child {
    border-top: none;
}

.dhl-location-item:hover {
    background-color: #f5f5f5;
}

.dhl-location-item-selected {
    background-color: #e8f0fe;
}

.dhl-location-item-selected:hover {
    background-color: #d2e3fc;
}

.dhl-location-icon {
    margin-right: 8px;
    margin-top: 2px;
    width: 15px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    line-height: 1;
}

.dhl-location-content {
    flex: 1;
    min-width: 0;
}

.dhl-location-name {
    font-weight: bold;
    font-size: 14px;
    color: #333;
    margin-bottom: 0;
}

.dhl-location-address {
    font-size: 14px;
    color: #333;
    margin-bottom: 0;
    padding-right: 3px;
}

.dhl-location-meta {
    font-size: 14px;
    color: #333;
}

/* DHL PLZ Hinweis */
.dhl-zip-hint {
    padding: 0;
}

.dhl-hint-content {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: linear-gradient(135deg, #fff8e1 0%, #fff 100%);
    font-size: 13px;
    color: #5d4037;
}

.dhl-hint-icon {
    font-size: 18px;
    margin-right: 10px;
}

/* User-Hinweis für Eingabe */
.dhl-input-hint {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    line-height: 1.4;
}

.dhl-input-hint strong {
    color: #d40511;
}

