/* 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;
}

/* LINKS: SIMULATIONS-SIDEBAR */
.info-sidebar {
    width: 300px;
    min-width: 300px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
}
.info-sidebar h2 { font-size: 16px; color: #1a5b8e; border-bottom: 2px solid #1a5b8e; padding-bottom: 5px; margin-top: 0; }
.info-sidebar h3 { font-size: 14px; margin: 15px 0 5px 0; 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: 0.2s; }
.info-item:hover { background: #e8e8e8; }
.info-item b { display: block; font-size: 14px; }
.info-item span { font-size: 11px; color: #666; }

/* MITTE: APP CONTAINER */
.app-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);
}

.header { background-color: #1a5b8e; color: white; padding: 12px 15px; display: flex; justify-content: space-between; font-weight: 700; font-size: 18px; }
.search-container { padding: 8px 10px; background: white; border-bottom: 1px solid #ddd; }
.search-container input { width: 100%; padding: 10px 15px; font-size: 16px; border: 1px solid #999; border-radius: 4px; box-sizing: border-box; }

.content-area { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    padding: 15px; 
    background: #fff; 
    overflow: hidden; 
}
.dynamic-content { 
    flex: 1; 
    overflow-y: auto; 
    padding-right: 5px;
}

/* FOOTER ACTIONS */
.footer-actions {
    margin-top: 10px;
}

/* CARD-LAYOUT FÜR LISTEN */
.list-container { border: none; }
.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);
}
.list-item:active { background: #e0e0e0; transform: scale(0.98); }
.list-item-header { display: flex; justify-content: space-between; font-weight: 700; font-size: 16px; color: #1a5b8e; margin-bottom: 4px; }
.list-item-sub { font-size: 14px; color: #333; line-height: 1.3; }

/* SPEZIFISCH: UMLAGERUNG */
.standort-box { background-color: #0b1d2e; color: white; text-align: center; padding: 15px; font-size: 24px; font-weight: 700; border-radius: 8px; margin: 15px 0; }
.standort-box-label { font-size: 11px; font-weight: 700; color: #ccc; text-transform: uppercase; margin-bottom: 4px; }
.badge-green { background-color: #43a047; color: white; border-radius: 24px; padding: 6px 18px; font-size: 28px; }
.menge-container { text-align: center; margin: 20px 0; }
.reserve-warning { background-color: #ff9800; color: #000; padding: 10px; border-radius: 6px; font-weight: 700; text-align: center; margin-top: 10px; border: 2px solid #e65100; }

/* ZIEL EINGABE */
.target-input { 
    width: 100%; 
    padding: 15px; 
    font-size: 20px; 
    font-weight: 700; 
    text-align: center; 
    border: 2px solid #1a5b8e; 
    border-radius: 6px; 
    box-sizing: border-box; 
    margin-bottom: 10px; 
}

/* TYPOGRAFIE */
.text-bold { font-weight: 700; }
.text-xl { font-size: 32px; margin-bottom: 2px; }
.text-lg { font-size: 20px; margin-bottom: 10px; }
.text-md { font-size: 16px; }
hr { border: 0; border-top: 1px solid #ccc; margin: 15px 0; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; text-align: center; font-size: 14px; gap: 5px; }

/* BUTTONS */
.btn-yellow { background-color: #ffca28; color: #000; font-weight: 700; font-size: 18px; width: 100%; padding: 15px; border: none; border-radius: 6px; cursor: pointer; }
.btn-red { background-color: #c62828; color: #fff; font-weight: 700; font-size: 18px; width: 100%; padding: 15px; border: none; border-radius: 6px; cursor: pointer; }

/* FLASH FEEDBACK */
.flash-error { background-color: #ffcdd2 !important; transition: background 0.1s; }

/* RECHTE HILFE SIDEBAR */
.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; text-align: center; }
.help-scroll-area { padding: 15px; overflow-y: auto; flex: 1; font-size: 13px; color: #333; }
.help-scroll-area h3 { font-size: 16px; color: #1a5b8e; border-bottom: 1px solid #eee; }