/* Allgemeine Stile */
body {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

#wrapper {
    display: flex;
    height: 100vh;
}

/* Seitenleiste */
#navleft {    
    background-color: #343a40;
    color: #fff;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.user-account {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 15px;
}

.user-account img {
    width: 100px;
    height: 100px;
    border-radius: 20%;
    margin-bottom: 10px;
}

.sidebar-scroll {
    width: 100%;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
}

.sidebar-nav ul li {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease, padding-left 0.3s ease;
}

.sidebar-nav ul li a:hover {
    background-color: #495057;
    display: block;
    border-radius: 5px;
    padding-left: 15px;
}

/* Bootstrap Dropdown Anpassungen */
.dropdown-menu {
    min-width: 160px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.dropdown-item:hover {
    background-color: #f1f1f1;
}

/* Hauptinhalt */
#main-content {
    width: 80%;
    padding: 20px;
    background-color: #ffffff;
    overflow-y: auto;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 2px solid #000;
    margin-bottom: 20px;
}



.panel-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}


.time-display {
    font-size: 1rem;
    font-weight: bold;
    margin-left: 10px;
}
.btn-lg {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.container {
    max-width: 600px;
    margin-top: 50px;
}
.summary-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.summary-box {
    flex: 1;
    padding: 10px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.summary-box-mytime {
    height: 38px; /* Gleiche Höhe wie die Formularelemente */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
    min-width: 80px;
    text-align: center;
}

.summary-table-container {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-bottom: -5px; /* Reduziert den Abstand zur Tabelle */
}


 
/* Status Styles */
.label {
  display: inline;
  padding: .2em .6em .3em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25em;
}
.label-gesendet{color:#ffffff;background-color:#757575}
.label-empfangen{color:#000000;background-color:#FFC107}
.label-gelesen{color:#ffffff;background-color:#e64a19}
.label-angenommen{color:#ffffff;background-color:#303f9f}
.label-begonnen{color:#141449;background-color:#c5cae9}
.label-erreicht{color:#ffffff;background-color:#009688}
.label-auslieferung{color:#000000;background-color:#afb42b}
.label-wieder{color:#ffffff;background-color:#3f51b5}
.label-unterbrochen{color:#ffffff;background-color:#c2185b}
.label-abgebrochen{color:#ffffff;background-color:#7b1fa2}
.label-abgelehnt{color:#ffffff;background-color:#d32f2f}
.label-abgeschlossen{color:#ffffff;background-color:#388e3c}

.label-timeStart{color:#000000;background-color:#afb42b}
.label-timeZusatz{color:#000000;background-color:#ffcc00}
.label-timePauseStart{color:#000000;background-color:#FFC107}
.label-timePauseEnde{color:#000000;background-color:#EFA9F1}
.label-timeEnde{color:#ffffff;background-color:#388e3c}
.label-timeUrlaub{color:#000000;background-color:#02B9E4}
.label-timeKrank{color:#000000;background-color:#E8FCAA}
.label-timeUnbezahlt{color:#000000;background-color:#AEA380}
.label-timeFeiertag{color:#ffffff;background-color:#303f9f}
.label-timeFreigestellt{color:#ffffff;background-color:#2980B9}
.label-timeBetriebsrat{color:#ffffff;background-color:#757575}
.label-timeDayoff{color:#000000;background-color:#DDCEC2}
.label-timeError{color:#ffffff;background-color:#ee1a1a}

/* Buttons */
.btn {
    border-radius: 5px;
    font-size: 16px;
    padding: 10px 15px;
}

.btn-success, .btn-warning, .btn-danger {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Responsive Anpassung */
@media (max-width: 768px) {
    #wrapper {
        flex-direction: column;
    }
    
    #left-sidebar, #navleft {
        width: 100%;
        height: auto;
    }
    
    #main-content {
        width: 100%;
    }
	.summary-table-container {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        position: relative;
    }
	
}
/* Responsive Anpassung für die Boxen */
@media (max-width: 400px) {
    .summary-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .summary-box {
        width: 100%;
    }
}
