/* Globale Einstellungen */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #e0e0e0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    gap: 20px;
}

/* ----- INFO KASTEN (Sidebar Links) ----- */
.info-sidebar {
    width: 300px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    font-size: 13px;
    color: #333;
    box-sizing: border-box;
}
.info-sidebar h2 {
    font-size: 16px;
    margin-top: 0;
    border-bottom: 2px solid #1a5b8e;
    padding-bottom: 5px;
    color: #1a5b8e;
}
.info-sidebar h3 {
    font-size: 14px;
    margin: 15px 0 5px 0;
    color: #555;
    border-bottom: 1px solid #ddd;
}
.info-item {
    background: #f4f4f4;
    padding: 8px;
    margin-bottom: 5px;
    border-radius: 4px;
    cursor: pointer;
    border-left: 3px solid #1a5b8e;
    transition: background 0.2s;
}
.info-item:hover { background: #e0e0e0; }
.info-item b { display: block; font-size: 14px; }
.info-item span { font-size: 11px; color: #666; }

/* ----- APP CONTAINER (Mitte) ----- */
.ef-container {
    width: 450px;
    min-width: 450px;
    background-color: #f4f4f4;
    height: 850px;
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.ef-header {
    background-color: #1a5b8e;
    color: white;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 18px;
}

.ef-search-container { padding: 8px 10px; background: white; border-bottom: 1px solid #ddd; }
.ef-search-container input { 
    width: 100%; 
    padding: 10px 15px; 
    font-size: 16px; 
    border: 1px solid #999; 
    border-radius: 4px; 
    box-sizing: border-box; 
}

.ef-content-area { flex: 1; overflow-y: auto; padding: 15px; background: #fff; display: flex; flex-direction: column; }
.ef-dynamic-content { flex-grow: 1; }

.ef-target-box { 
    background-color: #0b1d2e; 
    color: white; 
    text-align: center; 
    padding: 15px; 
    font-size: 26px; 
    font-weight: 700; 
    border-radius: 8px; 
    margin: 10px 0; 
    letter-spacing: 1px; 
}
.ef-target-label { font-size: 12px; font-weight: 700; color: #ccc; text-transform: uppercase; margin-bottom: 4px; }

.ef-input-active {
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
    font-size: 18px;
    border: 2px solid #1a5b8e;
    border-radius: 4px;
    margin-top: 10px;
    display: block;
}

/* LISTE MULTI-AUFTRÄGE ALS CARDS */
.ef-list-container { 
    border: none; 
    margin-top: 10px; 
}

.ef-list-item { 
    padding: 15px 12px; 
    background: #fff; 
    cursor: pointer; 
    transition: all 0.2s ease;
    border: 1px solid #ccc;
    border-radius: 10px;        
    margin-bottom: 12px;       
    box-shadow: 0 2px 4px rgba(0,0,0,0.08); 
}

.ef-list-item:hover { 
    border-color: #1a5b8e; 
    background: #fcfcfc;
}

.ef-list-item:active { 
    background: #e0e0e0; 
    transform: scale(0.98);    
}

.ef-list-header { 
    display: flex; 
    justify-content: space-between; 
    font-weight: 700; 
    font-size: 16px; 
    color: #1a5b8e; 
    margin-bottom: 4px; 
}

.ef-list-sub { 
    font-size: 15px; 
    color: #333; 
    font-weight: 700; 
    line-height: 1.3; 
}

.text-bold { font-weight: 700; }
.text-xl { font-size: 32px; margin-bottom: 2px; }
.text-lg { font-size: 20px; margin-bottom: 15px; }
.text-md { font-size: 18px; }
.badge-green { background-color: #43a047; color: white; border-radius: 24px; padding: 4px 14px; font-size: 24px; margin-left: 10px; }
.menge-row { font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* DATEN-RASTER */
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; text-align: center; font-size: 15px; gap: 5px; margin-bottom: 5px; }
.grid-3 div { margin-bottom: 8px; }

.btn-yellow { background-color: #ffca28; color: #000; font-weight: 700; font-size: 18px; width: 100%; padding: 15px; border: none; border-radius: 6px; margin-top: 20px; cursor: pointer; }
hr { border: 0; border-top: 1px solid #ccc; margin: 15px 0; }

/* ----- RECHTE HILFE SIDEBAR (445px) ----- */
.help-sidebar {
    width: 445px !important;       
    min-width: 445px !important;
    max-width: 445px !important;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    height: 850px;      
    display: flex;
    flex-direction: column;
    border-right: 4px solid #ffca28;
    box-sizing: border-box;
    overflow: hidden;
}

.help-sidebar h2 {
    font-size: 14px; 
    color: #fff;
    background-color: #1a5b8e;
    margin: 0;
    padding: 13px 10px;
    border-radius: 8px 8px 0 0;
    text-align: center;
    letter-spacing: 0.5px;
}

.help-scroll-area {
    padding: 15px;    
    overflow-y: auto; 
    overflow-x: hidden;
    flex: 1;
    font-size: 13px;  
    line-height: 1.5;
    color: #333;
    word-wrap: break-word; 
}

.help-scroll-area h3 { font-size: 16px; color: #1a5b8e; margin-top: 0; border-bottom: 1px solid #eee; }
.help-scroll-area b { color: #000; }
.help-scroll-area hr { border-top: 1px dashed #ccc; margin: 15px 0; }