/* Öffnungszeiten Plugin Styles */

/* Container für Öffnungszeiten-Anzeige */
.open,
.close {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: #ffffff;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #000000;
    margin: 8px 0;
    position: relative;
}

/* Grüner Indikator für "Geöffnet" */
.open::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #28a745;
    flex-shrink: 0;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
    animation: pulse-green 2s ease-in-out infinite;
}

/* Roter Indikator für "Geschlossen" */
.close::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #dc3545;
    flex-shrink: 0;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
    animation: pulse-red 2s ease-in-out infinite;
}

/* Puls-Animation für grünen Indikator */
@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(40, 167, 69, 0.1);
    }
}

/* Puls-Animation für roten Indikator */
@keyframes pulse-red {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(220, 53, 69, 0.1);
    }
}

/* Icon-Styling */
.open i,
.close i {
    font-size: 16px;
    margin-right: 4px;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .open,
    .close {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .open::before,
    .close::before {
        width: 10px;
        height: 10px;
    }
}

