/* =========================================
   DDH Studio Enterprise 8.0
   style.css
   Teil 1
========================================= */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

:root{

    --bg:#1d1f23;
    --panel:#2a2d33;
    --panel2:#343840;

    --text:#ffffff;
    --text2:#c7c7c7;

    --blue:#2f80ed;
    --green:#27ae60;
    --orange:#f39c12;
    --red:#e74c3c;
    --purple:#8e44ad;
    --gray:#7f8c8d;

    --radius:18px;

}

body{

    font-family:

    -apple-system,

    BlinkMacSystemFont,

    "Segoe UI",

    Arial,

    sans-serif;

    background:

    var(--bg);

    color:

    var(--text);

}

.app{

    min-height:100vh;

}

/* =========================================
   Header
========================================= */

.hauptHeader{

    position:sticky;

    top:0;

    z-index:999;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px;

    background:

    var(--panel);

    border-bottom:

    1px solid #444;

}

.headerLinks,
.headerRechts{

    width:80px;

    display:flex;

    justify-content:center;

}

.headerMitte{

    flex:1;

    text-align:center;

}

.headerMitte h1{

    font-size:34px;

    margin-bottom:6px;

}

#headerUntertitel{

    color:

    var(--text2);

    font-size:15px;

}

/* =========================================
   Header Buttons
========================================= */

.hauptHeader button{

    width:55px;

    height:55px;

    border:none;

    border-radius:15px;

    background:

    var(--blue);

    color:white;

    font-size:24px;

    cursor:pointer;

    transition:.25s;

}

.hauptHeader button:hover{

    transform:scale(1.05);

    background:#1669d8;

}
/* =========================================
   Navigation
========================================= */

#navigation{

    display:flex;

    align-items:center;

    gap:12px;

    overflow-x:auto;

    padding:15px;

    background:var(--panel);

    border-bottom:1px solid #444;

}

#navigation::-webkit-scrollbar{

    display:none;

}

.navButton{

    flex:0 0 auto;

    padding:14px 24px;

    border:none;

    border-radius:14px;

    background:var(--panel2);

    color:white;

    font-size:15px;

    cursor:pointer;

    transition:.25s;

}

.navButton:hover{

    background:#444a55;

}

.navButton.aktiv{

    background:var(--blue);

}

/* =========================================
   Seiten
========================================= */

.seite{

    display:none;

    padding:25px;

    animation:einblenden .25s;

}

.seite.aktiv{

    display:block;

}

@keyframes einblenden{

    from{

        opacity:0;

        transform:translateY(10px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* =========================================
   Module
========================================= */

.modul{

    background:var(--panel);

    border-radius:20px;

    padding:25px;

    box-shadow:

    0 10px 30px rgba(0,0,0,.25);

}

.modul h2{

    margin-bottom:20px;

}

.modul h3{

    margin-bottom:15px;

}

.modul p{

    color:var(--text2);

}

/* =========================================
   Layout
========================================= */

.kalenderLayout,
.aufgabenLayout{

    display:grid;

    grid-template-columns:

    2fr 1fr;

    gap:25px;

}
/* =========================================
   Buttons
========================================= */

button{

    border:none;

    border-radius:14px;

    background:var(--blue);

    color:white;

    padding:14px 20px;

    font-size:15px;

    cursor:pointer;

    transition:.25s;

}

button:hover{

    background:#1669d8;

    transform:translateY(-2px);

}

/* =========================================
   Eingabefelder
========================================= */

input,
select,
textarea{

    width:100%;

    padding:14px;

    margin-bottom:15px;

    border:none;

    border-radius:14px;

    background:var(--panel2);

    color:white;

    font-size:15px;

}

input:focus,
select:focus,
textarea:focus{

    outline:none;

    box-shadow:

    0 0 0 2px var(--blue);

}

/* =========================================
   Dashboard
========================================= */

.dashboardGrid{

    display:grid;

    grid-template-columns:

    repeat(4,1fr);

    gap:20px;

}

.dashboardKarte{

    background:var(--panel2);

    border-radius:18px;

    padding:22px;

    text-align:center;

    transition:.25s;

}

.dashboardKarte:hover{

    transform:translateY(-4px);

}

.dashboardKarte h3{

    color:var(--text2);

    margin-bottom:12px;

}

.dashboardKarte p{

    font-size:34px;

    font-weight:bold;

    color:var(--blue);

}

.dashboardBereich{

    margin-top:25px;

    background:var(--panel2);

    border-radius:18px;

    padding:20px;

}

#dashboardTodos,
#dashboardSchichten{

    display:flex;

    flex-direction:column;

    gap:12px;

}
/* =========================================
   Kalender
========================================= */

.kalenderLinks{

    background:var(--panel);

    border-radius:20px;

    padding:20px;

}

.kalenderRechts{

    background:var(--panel);

    border-radius:20px;

    padding:20px;

}

.wochentage{

    display:grid;

    grid-template-columns:repeat(7,1fr);

    gap:10px;

    margin-bottom:15px;

}

.wochentage div{

    text-align:center;

    font-weight:bold;

    color:var(--text2);

}

#tage{

    display:grid;

    grid-template-columns:repeat(7,1fr);

    gap:10px;

}

.tag{

    min-height:110px;

    background:var(--panel2);

    border-radius:16px;

    padding:10px;

    cursor:pointer;

    transition:.25s;

    border:2px solid transparent;

}

.tag:hover{

    background:#40454f;

    transform:translateY(-2px);

}

.tag.aktiv{

    border-color:var(--blue);

}

.tagNummer{

    font-size:22px;

    font-weight:bold;

}

.leer{

    background:transparent;

    pointer-events:none;

}

/* =========================================
   Termine
========================================= */

#terminListe{

    display:flex;

    flex-direction:column;

    gap:12px;

    margin-top:20px;

}

.termin{

    background:var(--panel2);

    border-radius:14px;

    padding:15px;

    border-left:5px solid var(--blue);

}

.terminButtons{

    display:flex;

    gap:10px;

    margin-top:12px;

}

.terminButtons button{

    flex:1;

}
/* =========================================
   DDH Studio Enterprise
   Teams-Schichtplan
========================================= */

.schichtLayout{

    display:flex;

    flex-direction:column;

    gap:25px;

}

.schichtKopf{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

}

.schichtNavigation{

    display:flex;

    align-items:center;

    gap:15px;

}

.schichtNavigation button{

    width:50px;

    height:50px;

    padding:0;

    font-size:22px;

}

#schichtMonat{

    min-width:220px;

    text-align:center;

    font-size:24px;

}

.mitarbeiterBereich{

    display:flex;

    gap:15px;

    align-items:center;

}

.mitarbeiterBereich input{

    flex:1;

    margin:0;

}

.mitarbeiterBereich button{

    width:240px;

}

#mitarbeiterListe{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

}

.mitarbeiter{

    background:var(--panel2);

    border-left:5px solid var(--blue);

    border-radius:14px;

    padding:15px;

    min-width:220px;

    font-weight:bold;

}

/* =========================================
   Schichttabelle
========================================= */

.schichtPlan{

    overflow:auto;

    border-radius:18px;

    background:var(--panel);

}

#schichtTabelle{

    border-collapse:collapse;

    min-width:2200px;

    width:100%;

}

#schichtTabelle thead{

    position:sticky;

    top:0;

    z-index:50;

}

#schichtTabelle th{

    background:var(--blue);

    color:white;

    padding:14px;

    border:1px solid #444;

    white-space:nowrap;

}

#schichtTabelle td{

    border:1px solid #444;

    background:var(--panel2);

    width:70px;

    height:70px;

    text-align:center;

    cursor:pointer;

    transition:.2s;

}

#schichtTabelle td:hover{

    background:#4b5160;

}

#schichtTabelle tbody tr:hover td{

    background:#40454f;

}

#schichtTabelle tbody td:first-child{

    position:sticky;

    left:0;

    background:#26292f;

    z-index:20;

    min-width:220px;

    text-align:left;

    padding-left:15px;

    font-weight:bold;

}

/* =========================================
   Schichten
========================================= */

.schicht{

    width:48px;

    height:48px;

    border-radius:12px;

    display:flex;

    align-items:center;

    justify-content:center;

    margin:auto;

    color:white;

    font-weight:bold;

    font-size:18px;

}

.schicht.frueh{

    background:#27ae60;

}

.schicht.spaet{

    background:#f39c12;

}

.schicht.nacht{

    background:#2980b9;

}

.schicht.frei{

    background:#7f8c8d;

}

.schicht.urlaub{

    background:#e74c3c;

}

.schicht.krank{

    background:#8e44ad;

}

/* =========================================
   Legende
========================================= */

.schichtLegende{

    display:flex;

    flex-wrap:wrap;

    gap:20px;

}

.legende{

    display:flex;

    align-items:center;

    gap:10px;

}

.farbe{

    width:22px;

    height:22px;

    border-radius:6px;

}

.farbe.frueh{

    background:#27ae60;

}

.farbe.spaet{

    background:#f39c12;

}

.farbe.nacht{

    background:#2980b9;

}

.farbe.frei{

    background:#7f8c8d;

}

.farbe.urlaub{

    background:#e74c3c;

}

.farbe.krank{

    background:#8e44ad;

}
/* =========================================
   Responsive
========================================= */

@media(max-width:1200px){

    .dashboardGrid{

        grid-template-columns:
        repeat(2,1fr);

    }

    .kalenderLayout,
    .aufgabenLayout{

        grid-template-columns:
        1fr;

    }

}

@media(max-width:900px){

    .hauptHeader{

        flex-wrap:wrap;

        gap:15px;

    }

    .headerLinks,
    .headerRechts{

        width:auto;

    }

    .headerMitte h1{

        font-size:28px;

    }

    #navigation{

        flex-wrap:nowrap;

        overflow-x:auto;

    }

    .schichtKopf{

        flex-direction:column;

        align-items:flex-start;

    }

    .mitarbeiterBereich{

        flex-direction:column;

        align-items:stretch;

    }

    .mitarbeiterBereich button{

        width:100%;

    }

}

@media(max-width:700px){

    .seite{

        padding:15px;

    }

    .dashboardGrid{

        grid-template-columns:
        1fr;

    }

    .dashboardKarte{

        padding:18px;

    }

    .dashboardKarte p{

        font-size:28px;

    }

    .wochentage{

        font-size:14px;

    }

    .tag{

        min-height:80px;

    }

    .tagNummer{

        font-size:18px;

    }

    #schichtTabelle{

        min-width:1700px;

    }

    #schichtTabelle td{

        width:60px;

        height:60px;

    }

    #schichtTabelle tbody td:first-child{

        min-width:170px;

    }

    .schicht{

        width:40px;

        height:40px;

        font-size:15px;

    }

}

@media(max-width:500px){

    .hauptHeader{

        padding:15px;

    }

    .headerMitte h1{

        font-size:22px;

    }

    #headerUntertitel{

        font-size:13px;

    }

    .navButton{

        padding:12px 18px;

        font-size:14px;

    }

    .modul{

        padding:18px;

    }

    .schichtNavigation{

        width:100%;

        justify-content:space-between;

    }

    #schichtMonat{

        min-width:auto;

        flex:1;

        font-size:20px;

    }

}
/* =========================================
   Schicht Dialog
========================================= */

.schichtDialog{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.65);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:5000;

}

.schichtDialog.aktiv{

    display:flex;

}

.schichtFenster{

    width:520px;

    max-width:95%;

    background:var(--panel);

    border-radius:20px;

    padding:25px;

    box-shadow:0 20px 60px rgba(0,0,0,.45);

}

.schichtFenster h2{

    margin-bottom:20px;

    text-align:center;

}

.schichtAuswahlGrid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:15px;

}

.schichtAuswahl{

    height:60px;

    font-size:18px;

    font-weight:bold;

}

.schichtAuswahl.frueh{

    background:#27ae60;

}

.schichtAuswahl.spaet{

    background:#f39c12;

}

.schichtAuswahl.nacht{

    background:#2980b9;

}

.schichtAuswahl.frei{

    background:#7f8c8d;

}

.schichtAuswahl.urlaub{

    background:#e74c3c;

}

.schichtAuswahl.krank{

    background:#8e44ad;

}

#schichtLoeschen{

    margin-top:20px;

    background:#c0392b;

}

#schichtAbbrechen{

    margin-top:12px;

    background:#555;

}
/* =========================================
   Schicht Dialog
========================================= */

.schichtDialog{

    position:fixed;
    inset:0;

    display:none;

    justify-content:center;
    align-items:center;

    background:rgba(0,0,0,.6);

    z-index:9999;

}

.schichtDialog.aktiv{

    display:flex;

}

.schichtFenster{

    width:90%;
    max-width:420px;

    background:var(--panel);

    border-radius:20px;

    padding:25px;

}

.schichtAuswahlGrid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:12px;

    margin:20px 0;

}

.schichtAuswahl{

    padding:18px;

    font-size:16px;

}

#schichtLoeschen{

    width:100%;

    margin-bottom:12px;

    background:#e74c3c;

}

#schichtAbbrechen{

    width:100%;

    background:#555;

}
.schichtZelle.markiert{

    outline:3px solid #00d4ff;

    outline-offset:-3px;

}