/* Container für die gesamte Auswahlbox */
.warehouse-selection-container {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Titel der Auswahlbox */
.warehouse-selection-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

/* Optionen als flexibles Layout */
.warehouse-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Styling für jede Option */
.warehouse-option {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover-Effekt für Optionen */
.warehouse-option:hover {
    background-color: #f0f0f0;
    border-color: #0071a1;
}

/* Radio-Buttons verbergen */
.warehouse-option input[type="radio"] {
    opacity: 0; /* Radio-Button ist unsichtbar, aber noch klickbar */
    position: absolute; /* Entfernt es aus dem normalen Layoutfluss */
}

/* Text innerhalb der Option */
.warehouse-option .warehouse-name {
    font-size: 14px;
    color: #555;
}

/* Markierte Option hervorheben */
.warehouse-option input[type="radio"]:checked + .warehouse-name {
    font-weight: bold;
    color: #0071a1;
}

/* */


.warehouse-tooltip {
    font-size: 0.85em;
    margin-left: 5px;
    cursor: pointer;
    position: relative;
    display: inline-block;
}

.warehouse-tooltip-content {
    display: none;
    position: absolute;
    background: #fff;
    color: #333;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    white-space: nowrap; /* Kein automatischer Zeilenumbruch */
    z-index: 10;
    top: 35px; /* Position unter dem Icon */
    left: 50%;
    transform: translateX(-50%);
    text-align: left;
    max-width: 1300px; /* Maximale Breite */
    min-width: 160px; /* Mindestbreite */
    width: auto; /* Automatische Anpassung an den Inhalt */
    box-sizing: border-box; /* Padding und Border in die Breite einbeziehen */
}

.warehouse-tooltip:hover .warehouse-tooltip-content {
    display: block;
}

.warehouse-tooltip img {
    width: 20px; /* Größe des Icons */
    height: 20px;
    vertical-align: middle;
    filter: invert(23%) sepia(9%) saturate(1059%) hue-rotate(182deg) brightness(92%) contrast(90%);
}

.warehouse-tooltip span {
    vertical-align: middle;
    display: inline-block; /* Text richtig ausrichten */
}


.woocommerce-checkout-review-order-table .warehouse-info {
    font-size: 0.85em;
    color: #555;
    margin-top: 5px;
    line-height: 1.4;
}




/* PGP-Nachrichten */
.pgp-message {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-family: monospace;
    overflow-x: auto;
    max-width: 100%;
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.5;
}

/* Normale Kundennotizen */
.customer-note {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    background-color: #fefefe;
    border: 1px solid #e0e0e0;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Keine Kundennotizen */
.no-customer-note {
    font-size: 1rem;
    color: #888;
    font-style: italic;
    margin-bottom: 15px;
}

/* Responsives Styling */
@media (max-width: 768px) {
    .pgp-message, .customer-note {
        font-size: 0.25rem;
        padding: 8px;
    }
}

.warehouse-ajax-filter {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
}

.warehouse-ajax-filter li {
    margin-bottom: 5px;
}

.warehouse-ajax-filter label {
    cursor: pointer;
}

#wrapper {
    position: relative;
}

.products {
    transition: opacity 0.3s ease;
}