/* Container für horizontales Scrollen */
.globallogin-container {
    position: relative;
    overflow-x: auto; /* Ermöglicht horizontales Scrollen */
    -webkit-overflow-scrolling: touch; /* Sanftes Scrollen für mobile Geräte */
}

/* Tabelle: Grundstil */
.globallogin-container table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

/* Kopfzeilen */
.globallogin-container table thead th {
    background-color: #444;
    color: #fff;
    padding: 10px;
    font-weight: bold;
    text-transform: uppercase;
    /* font-variant: small-caps; */
    position: sticky;
    top: 0; /* Kopfzeile bleibt oben fixiert */
    z-index: 0;
    white-space: nowrap;
}

/* Tabellenzellen */
.globallogin-container table tbody td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    white-space: nowrap;
    z-index: 0;
    background-color: #f9f9f9;
}

.globallogin-container table tbody td:nth-child(1),
.globallogin-container table thead th:nth-child(1) {
    position: sticky;
    left: 0; /* Fixiere die erste Spalte */
    width: 30px; /* Setze eine Breite */
    min-width: 30px; /* Mindestbreite für Konsistenz */
    background-color: #fff; /* Hintergrundfarbe */
    z-index: 1; /* Priorität vor anderen Inhalten */
    box-shadow: 1px 0 2px rgba(0, 0, 0, 0.1); /* Optionaler Schatten für bessere Sichtbarkeit */
}

/* Zweite Spalte fixieren */
.globallogin-container table tbody td:nth-child(2),
.globallogin-container table thead th:nth-child(2) {
    position: sticky;
    left: 30px; /* Abstand zur ersten Spalte (Breite der ersten Spalte) */
    width: 70px; /* Breite der zweiten Spalte */
    min-width: 70px; /* Mindestbreite */
    background-color: #fff; /* Hintergrundfarbe */
    z-index: 1;
    box-shadow: 1px 0 2px rgba(0, 0, 0, 0.1);
}
.globallogin-container table thead th:nth-child(1),
.globallogin-container table thead th:nth-child(2){
    background-color: #444;
}


/* Alternierende Zeilenfarben */
.globallogin-container table tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.globallogin-container table tbody tr:nth-child(even) {
    background-color: #fff;
}

.globallogin-container table tbody tr:hover {
    background-color: #f1f1f1;
}


@media (max-width: 768px) {
    .globallogin-container table tbody td, .globallogin-container table thead th {
        padding: 2px;
        font-weight: normal;
    }
}