/* CSS für die Schwimmbad Ampel */

.sptl-container {
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 20px 0;
}

.sptl-light {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    border-radius: 50px;
    background-color: #f5f5f5;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.sptl-indicator {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 15px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
}

.sptl-text {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Status-Farben */
.sptl-status-open .sptl-indicator {
    background-color: #4CAF50; /* Grün */
    box-shadow: 0 0 10px #4CAF50, inset 0 2px 4px rgba(0,0,0,0.2);
}
.sptl-status-open .sptl-text {
    color: #2E7D32;
}

.sptl-status-restricted .sptl-indicator {
    background-color: #FFC107; /* Gelb */
    box-shadow: 0 0 10px #FFC107, inset 0 2px 4px rgba(0,0,0,0.2);
}
.sptl-status-restricted .sptl-text {
    color: #F57F17;
}

.sptl-status-closed .sptl-indicator {
    background-color: #F44336; /* Rot */
    box-shadow: 0 0 10px #F44336, inset 0 2px 4px rgba(0,0,0,0.2);
}
.sptl-status-closed .sptl-text {
    color: #C62828;
}
