/* lagerauftraege_style.css */

body {
    font-family: 'Roboto', sans-serif;
    background-color: #e0e0e0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    gap: 20px;
}

/* APP CONTAINER */
.app-container {
    width: 450px;
    min-width: 450px;
    background-color: #f4f4f4;
    height: 850px;
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    border-radius: 8px;
    overflow: hidden;
}

.search-container { 
    padding: 10px; 
    background: #fff; 
    border-bottom: 1px solid #ddd; 
}
.search-container input {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    border: 2px solid #1a5b8e;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: center;
    outline: none;
}

.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; }

/* CARD-LAYOUT (IDENTISCH ZU ARTIKELINFO) */
.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; }

/* SCHRIFTGRÖSSEN */
.text-bold { font-weight: 700; }
.text-xl { font-size: 32px; letter-spacing: -0.5px; margin-bottom: 2px; line-height: 1.1; }
.text-lg { font-size: 20px; margin-bottom: 15px; color: #333; }
.text-md { font-size: 18px; }

/* STANDORT-BOX */
.standort-box {
    background-color: #0b1d2e;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 26px;
    font-weight: 700;
    border-radius: 8px;
    margin: 15px 0 20px 0;
    letter-spacing: 1px;
}
.standort-box-label { font-size: 12px; font-weight: 700; color: #ccc; text-transform: uppercase; margin-bottom: 4px; }

/* GRIDS & CARDS */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.info-card { background: #f4f4f4; padding: 12px; border-radius: 8px; text-align: center; border: 1px solid #ddd; }
.btn-yellow { width: 100%; padding: 15px; background-color: #ffca28; font-weight: 700; font-size: 18px; border: none; border-radius: 6px; cursor: pointer; }

hr { border: 0; border-top: 1px solid #ccc; margin: 15px 0; }

/* FEHLER FEEDBACK */
.flash-error { animation: shake 0.4s; background-color: #ffebee !important; border: 2px solid red !important; }
@keyframes shake { 0%, 100% {transform: translateX(0);} 25% {transform: translateX(-10px);} 75% {transform: translateX(10px);} }

/* SIDEBARS */
.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; }
.info-sidebar h2 { font-size: 16px; margin-top: 0; border-bottom: 2px solid #1a5b8e; padding-bottom: 5px; color: #1a5b8e; }
.info-item { background: #f4f4f4; padding: 8px; margin-bottom: 5px; border-radius: 4px; cursor: pointer; border-left: 3px solid #1a5b8e; }

.help-sidebar { width: 445px !important; min-width: 445px !important; background: #fff; border-radius: 8px; 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; }