/* ==========================================================================
   DRK Standorte – Map & List Styles
   ========================================================================== */

.drk-locations-wrapper {
    max-width: 100%;
    margin: 0 auto;
}

/* ---- Map ---- */
#drk-locations-map {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 1.5rem;
    z-index: 1;
}

/* Leaflet popup overrides */
.drk-popup-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin: 0 0 4px;
    color: #e2001a; /* DRK red */
}
.drk-popup-address {
    margin: 0 0 2px;
    font-size: 0.85rem;
    color: #333;
}
.drk-popup-note {
    margin: 4px 0 0;
    font-size: 0.8rem;
    font-style: italic;
    color: #666;
}
.drk-popup-type {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 8px;
    border-radius: 3px;
    background: #e2001a;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ---- Location list ---- */
.drk-locations-list {
    display: grid;
    gap: 0;
}

.drk-location-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.15s ease;
}
.drk-location-item:last-child {
    border-bottom: none;
}
.drk-location-item:hover,
.drk-location-item--active {
    background: #fdf0f0;
}

.drk-location-item__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: #e2001a;
    margin-top: 2px;
}
.drk-location-item__icon svg {
    width: 100%;
    height: 100%;
}

.drk-location-item__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.drk-location-item__title {
    font-size: 0.95rem;
    color: #222;
}
.drk-location-item__address {
    font-size: 0.85rem;
    color: #555;
}
.drk-location-item__district {
    color: #888;
}
.drk-location-item__note {
    font-size: 0.8rem;
    font-style: italic;
    color: #777;
}
.drk-location-item__type {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 3px;
    background: #e2001a;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    align-self: flex-start;
}

/* ---- Empty state ---- */
.drk-locations-empty {
    text-align: center;
    padding: 2rem;
    color: #888;
    font-style: italic;
}
