.ssp-wrapper {
    border: 1px solid #e2e2e2;
    padding: 12px;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 900px;
    font-size: 13px;
}

.ssp-outage-banner {
    background: #f2dede;
    border: 1px solid #ebcccc;
    color: #a94442;
    padding: 6px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
    font-weight: 500;
}

.ssp-header.ssp-header-single {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 10px;
}

.ssp-current-view {
    color: #555;
}

.ssp-services {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ssp-service-card {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 8px 10px;
    cursor: pointer;
}

.ssp-service-card.ssp-expanded {
    border-color: #0073aa;
    box-shadow: 0 0 0 1px rgba(0,115,170,0.15);
}

.ssp-service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.ssp-service-title {
    font-weight: 600;
}

.ssp-service-overall {
    font-size: 12px;
}

/* Status-Farben oben rechts */
.ssp-service-overall-ok {
    color: #28a745;
}

.ssp-service-overall-planned {
    color: #856404;
}

.ssp-service-overall-unplanned {
    color: #721c24;
}

.ssp-service-timeline {
    display: flex;
    align-items: center;
    gap: 1px;
    margin: 4px 0;
    width: 100%;
}

.ssp-bar {
    flex: 1 1 0;
    height: 26px;
    display: inline-block;
    border-radius: 1px;
    min-width: 2px;
}

/* Grün = alles ok */
.ssp-bar-ok {
    background: #28a745;
}

/* Gelb/Grau für geplante Wartungstage */
.ssp-bar-planned {
    background: #ffe08a;
}

/* Rot für ungeplante Ausfälle */
.ssp-bar-unplanned {
    background: #d9534f;
}

.ssp-service-footer {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #777;
    margin-top: 4px;
}

.ssp-no-services {
    margin: 0;
    font-size: 13px;
    color: #777;
}

/* Incidents-Details */

.ssp-incidents {
    margin-top: 8px;
    border-top: 1px dashed #ddd;
    padding-top: 6px;
}

.ssp-incidents-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.ssp-incidents-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ssp-incident-item {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    margin-bottom: 2px;
}

.ssp-inc-type {
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 11px;
    border: 1px solid transparent;
}

.ssp-inc-type-planned {
    background: #fff3cd;
    border-color: #ffeeba;
    color: #856404;
}

.ssp-inc-type-unplanned {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.ssp-inc-type-unknown {
    background: #e2e3e5;
    border-color: #d6d8db;
    color: #383d41;
}

.ssp-inc-date,
.ssp-inc-time {
    color: #555;
}

.ssp-inc-note {
    color: #555;
    font-style: italic;
}

.ssp-incidents-empty {
    margin: 0;
    font-size: 12px;
    color: #777;
}
