 /*APP Menue
 */
 .main {
    padding-bottom: 60px; /* Platz für das App-Menü */
}
 .app-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #f8f9fa;
    z-index: 2;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}
/* Zusätzlicher Platzhalter, der nur sichtbar ist, wenn das Menü angezeigt wird */
.app-menu-spacer {
    height: 60px; /* Gleiche Höhe wie das Menü */
    display: none; /* Standardmäßig ausgeblendet */
}

.app-menu-visible .app-menu-spacer {
    display: block; /* Platzhalter wird angezeigt, wenn das Menü sichtbar ist */
}
#back-button {
  padding: 0.4rem 0.6rem;
  font-size: 1.2rem;
  color: #333;
  background: none;
  border: none;
}

.page-item.active .page-link {
    z-index: 1;
    }

.app-menu-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #6c757d;
    font-size: 12px;
}

.app-menu-icon i {
    margin-bottom: 5px;
}
#searchResults {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000; 
    width: 100%;
}
footer.footer{
        display: none;
}
.sidebar-toggle{
    display: none;
}
.sidebar{
    z-index: 3;
}
.info-icon {
    cursor: pointer;
    color: #007bff;
    margin-left: 5px;
    font-size: 13px;
    padding: 5px;
}
.notification-container {
    position: fixed;
    z-index: 1000;
    padding: 10px;
    box-sizing: border-box;
    z-index: 1000;
}

.notification-container.top-right {
    top: 20px;
    right: 20px;
}

.notification-container.top-left {
    top: 20px;
    left: 20px;
}

.notification-container.bottom-right {
    bottom: 20px;
    right: 20px;
}

.notification-container.bottom-left {
    bottom: 20px;
    left: 20px;
}
.notification {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 10px;
    padding: 10px 20px;
    min-width: 300px;
    font-size: 25px;
}

.notification-header {
    font-weight: bold;
}

.notification.success {
    border-left: 10px solid #28a745; 
}

.notification.danger {
    border-left: 10px solid #dc3545; 
}

.notification.info {
    border-left: 10px solid #17a2b8;
}

.notification.warning {
    border-left: 10px solid #ffc107; 
}

.custom-tooltip {
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 8px 12px; 
    border-radius: 4px;
    font-size: 14px;
    z-index: 9999;
    max-width: 200px;
    text-align: center;
}
textarea#newNote {
    resize: none;
    height: 100px;
}

.notes-section {
    position: relative;
    height: 200px;
}

.notes-wrapper {
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
}

.notes-list {
    display: flex;
    flex-direction: column-reverse;
    list-style: none;
    margin: 0;
    padding: 0;
}

.note-item {
	background-color: #f7f7f7;
    padding: 10px;
    border-radius: 5px;
    width:99%;
}
.real-content {
    display: none;
}
.skeleton-text {
    height: 20px;
    width: 80%;
    background-color: #e0e0e0;
    margin-bottom: 5px;
    border-radius: 7px;
}

.skeleton-avatar {
    width: 32px;
    height: 32px;
    background-color: #e0e0e0;
    border-radius: 50%;
}

.skeleton-badge {
    width: 60px;
    height: 10px;
    background-color: #e0e0e0;
}
@keyframes loading {
    10% { background-color: #e0e0e0; }
    50% { background-color: #f0f0f0; }
    100% { background-color: #e0e0e0; }
}
.skeleton-text {
    animation: loading 2s infinite ease-in-out;
}
.drag-and-drop-area {
    border: 2px dashed #007bff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    margin: 20px auto;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    background-color: #f8f9fa;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.drag-and-drop-area.highlight {
    border-color: #28a745;
    background-color: #e2e6ea;
}
.drag-and-drop-area.error {
    border-color: #dc3545; 
}
.drag-and-drop-area:hover {
    border-color: #0056b3;
    background-color: #e9ecef;
}
.drag-and-drop-area .upload-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}
.drag-and-drop-area .upload-btn:hover {
    background-color: #0056b3;
}
.drag-and-drop-area .upload-icon {
    margin-right: 8px;
}
@media (min-width: 767px) {
    .app-menu {
        display: none;
    }
    .sidebar-toggle{
        display: flex;
    }
    footer.footer{
        display:flex;
    }
    .page-item.active .page-link {
        z-index: 3;
    }
    .main {
        padding-bottom: 0; /* Kein Platz für das Menü notwendig */
    }
    

} 
.fc-v-event .fc-event-main{
    color: #020202;
} 
.fc-h-event .fc-event-main {
    color: #020202;
} 
.fc-highlight {
    background-color: #ff9;
    opacity: 0.75;
    border: 1px solid #f90; 
    box-shadow: 0 0 10px #f90; 
}

@media (max-width: 768px) { 
	.fc{
		height: 46em;
	}
    .fc .fc-toolbar {
        display: block; 
		font-size: 0.7em;
		
    }
    .input-group-navbar {
        min-width: 140px;
    }
    .content {
   	 padding: 0.5rem;
        font-size: .785rem;
	}
}

/*WorkloadDatetimePicker*/
        
.dtp-calendar {
    width: 100%;
    margin: auto;
    border-collapse: separate;
    border-spacing: 4px;
}

.dtp-calendar th, .dtp-calendar td, .dtp-calendar tr {
    border: none;
    vertical-align: top;
    position: relative;
    width: 14.3%;
}

.dtp-day-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: flex-end;
    box-sizing: border-box;
    padding: 5px;
}

.dtp-day-header {
    text-align: right; 
    font-weight: bold;
    color: black;
    flex-shrink: 0;
    margin-bottom: 5px; 
}

.dtp-day-content {
    font-size: 0.9em;
    color: #666;
    flex-grow: 1; 
    display: flex;
    flex-direction: column; 
    align-items: flex-end; 
    gap: 5px;
}

.dtp-task-count {
    background-color: #ddd;
    border-radius: 8px;
    padding: 0px 5px;
    font-size: 0.8em;
    color: #333;
    display: inline-block;
    width: auto;
    max-width: 100%;
}

.dtp-event-holiday {
    background-color:#9fd18e;
    border-radius: 8px;
    padding: 0px 5px;
    font-size: 0.8em;
    color: #333;
    display: inline-block;
    width: auto;
    max-width: 100%;
}

.dtp-day-active:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.dtp-selected-day-preview {
	margin-top: 15px;
    text-align: center;
    font-size: 1.2em;
}
.dtp-today {
    border: 2px solid #f5d019c7 !important
}

.dtp-disabled {
    color: #ccc;
    filter: blur(1px);
}

.dtp-busy-low {
    background-color: #d4edda;
}

.dtp-busy-medium {
    background-color: #ffeeba;
}

.dtp-busy-high {
    background-color: #f8d7da;
}

.dtp-empty {
    background-color: transparent;
}

.dtp-busy-no {
    background-color: #eeeeee;
}

/* Prozentbasierte Auslastung (Minutenmodell) */
.load-0  { background-color: #eeeeee; }      /* 0% (bisher dtp-busy-no) */
.load-1  { background-color: #d4edda; }      /* 1–40% (grün) */
.load-2  { background-color: #ffeeba; }      /* 41–60% (gelb) */
.load-3  { background-color: #f3c290; }      /* 61–80% (orange) */
.load-4  { background-color: #f8d7da; }      /* 81–100% (rot) */

/* Auftragsanzahlbasiert (Kunden ohne Minutenmodell) */
.orders-0  { background-color: #eeeeee; }    /* 0 Aufträge (grau) */
.orders-1  { background-color: #d4edda; }    /* 1–4 (grün) */
.orders-2  { background-color: #ffeeba; }    /* 5–6 (gelb) */
.orders-3  { background-color: #f8d7da; }    /* ≥7 (rot) */


.dtp-day-selected {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
    border: 2px solid black !important;
    font-weight: bold;
}

.dtp-nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.dtp-nav-buttons button {
    background-color: #ccd6e1;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.dtp-nav-buttons button:hover {
    background-color: #3f80ea;
}

.dtp-month-label {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    align-self: center;
}

.dtp-picker-container {
    z-index: 1000;
    top: 100%;
    left: 0;
    width: 100%;
	max-width: 700px;
    margin-top: 5px;
    padding: 10px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 12px 24px rgb(0 0 0 / 37%);
}
.hidden {
	display: none;
}

.dtp-calendar-icon {
    position: absolute;
    right: 5px;
    top: 3px;
    cursor: pointer;
    font-size: 18px;
    color: #555;
}
/*Macropad*/
.macropad-container {
    display: grid;
    gap: 10px;
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    max-width: 300px;
    margin: 0 auto;
    border: 2px solid #687279; 
}
.macropad-key {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333;
    border: 1px solid #687279;
    color: #fff;
    font-size: 14px;
    padding: 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    overflow: hidden;           /* Verhindert Textüberlauf */
    text-overflow: ellipsis;    /* Ellipse für überlangen Text */
   
}
.macropad-key:hover {
    font-size: 14px;
    white-space: normal;    /* Aktiviert Zeilenumbruch beim Hover */
    overflow: visible;
    text-align: center;
    padding: 5px;
    z-index: 1;            /* Stellt sicher, dass es über anderen Elementen liegt */
}
.macropad-key.has-text {
    font-size: 10px;   
    padding: 15px 10px;   
}

.macropad-key:hover {
    background-color: #687279;
}
.macropad-key-active {
background-color: #ff5722; 
}
@media (max-width: 480px) {
    .dtp-calendar th, .dtp-calendar td {
        padding: 1px; 
        font-size: 1.1em; 
    }

    .dtp-day-header {
        font-size: 0.9em; 
    }

    .dtp-day-content {
        font-size: 0.5em;
    }

    .dtp-month-label {
        font-size: 1.4em; 
    }

    .dtp-picker-container {
        padding: 5px;
    }
	.dtp-day-container{
		padding: 2px;
	}
}

.suggestions-box {
    border: 1px solid #ccc;
    max-height: 100px;
    overflow-y: auto;
}
.suggestion-item {
    padding: 10px;
    cursor: pointer;
}
.suggestion-item:hover {
    background-color: #eee;
}

