/* ============================================ */
/* RESET-TABELLE - maAdminVisible               */
/* ============================================ */

/* Lade-Anzeige */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loading-spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #4a6fa5;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

.loading-subtext {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

/* Haupttabelle */
.reset-table { 
    border-collapse: collapse; 
    font-size: 12px; 
    width: 100%; 
    margin-top: 15px;
}

.reset-table th { 
    background: #4a6fa5; 
    color: white; 
    padding: 8px; 
    text-align: center; 
    font-weight: bold; 
    border: 1px solid #3a5a8a;
}

.reset-table td { 
    padding: 6px; 
    border: 1px solid #ccc; 
    text-align: center; 
}

.reset-table tr:nth-child(even) { 
    background: #f5f5f5; 
}

.reset-table tr:hover { 
    background: #e8f0fe; 
}

/* Benutzername */
.reset-table .benutzer-name { 
    text-align: left; 
    font-weight: bold; 
    min-width: 180px;
}

.reset-table .benutzer-name a {
    color: #2c5282;
    text-decoration: none;
}

.reset-table .benutzer-name a:hover {
    text-decoration: underline;
}

/* Status-Icons */
.reset-table .status-ok { 
    color: #28a745; 
    font-weight: bold; 
    font-size: 18px;
}

.reset-table .status-err { 
    color: #dc3545; 
    font-weight: bold; 
    font-size: 18px;
}

/* Sichtbarkeit */
.reset-table .ja { 
    color: #28a745; 
    font-weight: bold; 
}

.reset-table .nein { 
    color: #999; 
}

/* Zeilenfarben nach Gruppe */
.reset-table .muss { 
    background: #d4edda; 
}

.reset-table .kann { 
    background: #fff3cd; 
}

.reset-table .nicht { 
    background: #f8d7da; 
}

.reset-table .muss:nth-child(even) { 
    background: #c3e6cb; 
}

.reset-table .kann:nth-child(even) { 
    background: #ffeeba; 
}

.reset-table .nicht:nth-child(even) { 
    background: #f5c6cb; 
}

/* Begründungsspalte */
.reset-table .grund { 
    text-align: left; 
    font-size: 11px; 
    max-width: 300px; 
}

/* Icons */
.icon-yes { 
    color: #28a745; 
    font-size: 16px; 
}

.icon-no { 
    color: #dc3545; 
    font-size: 16px; 
}

.icon-na { 
    color: #ccc; 
    font-size: 16px; 
}

/* ============================================ */
/* SPALTENUNTER TEILUNG - DEUTLICHER            */
/* ============================================ */

/* Hauptspalten-Header */
.reset-table .hauptspalte {
    background: #2c5282;
    font-size: 14px;
    padding: 10px;
    letter-spacing: 1px;
}

.reset-table .hauptspalte-status {
    background: #2c5282;
    border-left: 3px solid #ffc107;
    border-right: 3px solid #ffc107;
}

.reset-table .hauptspalte-sichtbarkeit {
    background: #2c5282;
    border-left: 3px solid #28a745;
    border-right: 3px solid #28a745;
}

/* Trennlinien zwischen den Hauptspalten */
.reset-table .trennlinie-links {
    border-left: 3px solid #ffc107 !important;
}

.reset-table .trennlinie-rechts {
    border-right: 3px solid #28a745 !important;
}

.reset-table .trennlinie-mitte {
    border-left: 3px solid #28a745 !important;
    border-right: 3px solid #ffc107 !important;
}

/* Unter-Header */
.reset-table .unter-header {
    background: #3a5a8a;
    font-size: 11px;
}

/* ============================================ */
/* LEGENDE                                       */
/* ============================================ */

.legende { 
    margin: 15px 0; 
    padding: 15px; 
    background: #f8f9fa; 
    border: 1px solid #dee2e6;
    border-radius: 5px;
    line-height: 1.8;
}

.legende-titel {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.legende-item { 
    display: inline-block; 
    margin-right: 20px; 
    margin-bottom: 5px;
    padding: 8px 12px; 
    border-radius: 4px;
    vertical-align: top;
}

.legende-item strong {
    display: block;
    margin-bottom: 3px;
}

.legende-item span {
    font-size: 11px;
}

.legende-muss { 
    background: #d4edda; 
    border: 1px solid #c3e6cb; 
}

.legende-kann { 
    background: #fff3cd; 
    border: 1px solid #ffeeba; 
}

.legende-nicht { 
    background: #f8d7da; 
    border: 1px solid #f5c6cb; 
}

.legende-icons {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #dee2e6;
}

/* ============================================ */
/* GRUPPEN-HEADER                                */
/* ============================================ */

.group-header { 
    font-weight: bold; 
    text-align: left; 
    padding: 10px; 
    font-size: 14px; 
}

.group-header td {
    padding: 10px 15px;
    font-size: 13px;
}

.group-header-muss { 
    background: #c3e6cb; 
    border: 1px solid #b8daff;
}

.group-header-kann { 
    background: #ffeeba; 
    border: 1px solid #ffc107;
}

.group-header-nicht { 
    background: #f5c6cb; 
    border: 1px solid #dc3545;
}

/* ============================================ */
/* ZUSAMMENFASSUNG                               */
/* ============================================ */

.zusammenfassung {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

.zusammenfassung h3 {
    margin-top: 0;
    color: #333;
}

.zusammenfassung ul {
    list-style: none;
    padding: 0;
}

/*.zusammenfassung li {
    padding: 5px 0;
    font*/

    .zurueck-link{
        padding: 10px;
        color: white;
    }
    
  /* Symbole für aktiv/inaktiv */
.symbol-active {
    color: #28a745;
    font-size: 18px;
    display: inline-block;
    text-align: center;
    width: 24px;
}

.symbol-inactive {
    color: #ccc;
    font-size: 18px;
    display: inline-block;
    text-align: center;
    width: 24px;
}

.symbol-none {
    color: #dc3545;
    font-size: 14px;
    display: inline-block;
    text-align: center;
    width: 24px;
}