body {
    font-family: "Jost", sans-serif;
    color: #394345;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    height: 100vh;
}

h2 {
    margin: 0;
    padding: 0;
    display: inline;
}


.container {
    text-align: center;
}

#mitarbeiter-liste {
    min-width: 380px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.mitarbeiter {
    display: flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
    padding: 0 20px;
    margin: 10px 0 0 10px;
    background-color: #ffffff;
    height: 70px;
    border-radius: 8px;
}

.mitarbeiter .nummer, .mitarbeiter .name {
    font-weight: 600;
}

.pausezeit, .einstempelzeit {
    font-size: 12px;
}

.mitarbeiter .nummer {
    font-size: 22px;
    padding: 0 10px;
}

.mitarbeiter .name {
    font-size: 16px;
    flex-grow: 1;
}

.mitarbeiter.pause {
    background-color: #ffffe0;
    color: #FFD166;
}

.mitarbeiter.gruen {
    background-color: #DBFFF0;
    color: #06D6A0;
}

.status-punkt {
    line-height: 20px;
}

.gruen_bg { background-color: #06D6A0; }
.rot_bg { background-color: #FF6666; }
.pause_bg { background-color: #FFD166; }

.gruen { color: #06D6A0; }
.rot { color: #FF6666; }
.gelb { color: #FFD166; }

#zeit-anzeige {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 40px;
    text-align: center;
    position: relative;
}

#time {
    font-size: 180px;
    font-weight: 700;
    line-height: 0.9;
    color: #06D6A0;
}

#text {
    font-size: 40px;
    font-weight: 700;
    padding-bottom: 30px;
    line-height: 1;
}

#datum {
    font-weight: 500;
    line-height: 1;
}

#status-message {
    font-size: 16px;
    margin-bottom: 10px;
}

.eingestempelt {
    background-color: #DBFFF0;
    color: #06D6A0;
}

.auswertung-link a {
    color: #394345;
    font-size: 20px;
    margin-right: 10px;
}

.btn {
    margin: 5px;
    padding: 10px 20px;
    border: none;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
}

.btn-primary { background-color: #007bff; }
.btn-warning { background-color: #FFD166; }
.btn-success { background-color: #06D6A0; }
.btn-danger { background-color: #FF6666; }

.abbrechen {
    margin: 5px;
    padding: 10px 20px;
    border: solid 1px #BBB;
    color: #BBB;
    background: #FFF;
    cursor: pointer;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal i{
    vertical-align: middle;
    font-size: 20px;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 30px;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.modal-header {
    font-size: 20px;
    font-weight: 700;
}

.modal-body {
    font-size: 24px;
    font-weight: 700;
}

.modal-footer {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.geburtstag {
    background-color: #843dff;
    background-position: center;
    margin-bottom:40px;
    top: 0;
    padding: 15px;
    width: 60%;
    max-width: 400px;
    border-radius: 8px;
    text-align: center;
    color: #FFF;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

table.auswertung {
    color: #394345;
    width: 50%;
}

th {
    border-bottom: 2px solid #394345;
    text-align: left;
    padding: 3px;
}

td {
    border-bottom: 1px solid #394345;
    padding: 3px;
    height: 40px;
}

td.tag {
    font-size: 32px;
    font-weight: 700;
    width: 60px;
    text-align: center;
    vertical-align: top;
}

.punkt-in, .punkt-out, .punkt-pause {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.punkt-in { background-color: #06D6A0; }
.punkt-out { background-color: #FF6666; }
.punkt-pause { background-color: #FFD166; }

.keypad button {
    background-color: #e9e9e9; /* Hellgrauer Hintergrund */
    color: #394345;
    border: none;
    border-radius: 5px;
    font-size: 24px;
    font-weight: 900;
    width: 60px;
    height: 60px;
    padding: 10px;
    margin: 5px 5px 10px 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#mitarbeiterNummer {
    font-size: 36px;
    font-weight: 900;
    padding: 10px;
    margin-bottom: 20px;
    width: 30%;
    box-sizing: border-box;
    text-align: center;
    border: 1px solid #BBB;
    border-radius: 5px;
}
    
#error-message {
    color: #FF6666;
    text-align: center;
    padding: 10px;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.sonntag {
            background-color: #FF6666;
            color: #FFF;
}

.tag-wochentag {
    font-size: 10px;
    text-transform: uppercase;
    line-height: 1.5;
}

.tag {
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
}

.urlaub {
    background-color: #f9f9f9; /* Heller Hintergrund für Urlaub */
    color: #C0C0C0; /* Graue Schriftfarbe */
    border-bottom: 1px solid #E0E0E0;
}

.status-punkt.urlaub {
    color: #C0C0C0; /* Graue Farbe für das Symbol */
}

.status-punkt i {
    font-size: 30px; /* Größe des Symbols */
    line-height: 30px;
}

    #autoOutLink {
        position: fixed;
        bottom: 20px;
        right: 20px;
    }

    #autoOutLink a {
        color: #CFCFCF;
        text-decoration: none;
        font-size: 36px;
    }

#feedbackModal {
    position: fixed;
    text-align: center;
    top: 50%;
    left: 50%;
    border-radius: 8px;
    width: 40%;
    font-size: 24px;
    font-weight: 600;
    display: none;
    z-index: 1000;
    transition: opacity 0.8s ease;
    background-color: #f5f5f5;
}
        
        .modal-confirm {		
            color: #434e65;
            width: 525px;
            position: fixed;
            top: 20%;
            left: 50%;
            transform: translate(-50%, -50%);
            display: none; /* Initially hidden */
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        }

        .modal-header {
            border-bottom: none;   
            position: relative;
            text-align: center;
            border-radius: 8px 8px 0 0;
            margin: 0;
            padding: 25px;
        }

        .modal-bottom {
            padding: 20px 80px;
            color: #434e65;
            font-size: 18px;
            font-weight: 400;
            text-transform: uppercase;
        }

        .modal-confirm .icon-box {
            color: #fff;		
            width: 95px;
            height: 95px;
            display: inline-block;
            border-radius: 50%;
            z-index: 9;
            border: 5px solid #fff;
            text-align: center;
            vertical-align: middle;            
        }

        .modal-confirm .icon-box i {
            font-size: 64px;
        }

        /* Zusätzliche Styles für verschiedene Feedback-Typen */
        .modal-confirm.success .modal-header {
            background: #06D6A0; /* Grün für Erfolg */
        }
        .modal-confirm.error .modal-header {
            background: #FF6666; /* Rot für Fehler */
        }
        .modal-confirm.warning .modal-header {
            background: #FFD166; /* Orange für Warnung */
        }

