
:root{
    --bg-main:#050b18;
    --bg-panel:rgba(9,17,34,.96);
    --bg-panel-2:rgba(12,22,43,.94);
    --bg-card:rgba(255,255,255,.055);
    --bg-card-hover:rgba(255,255,255,.085);
    --border:rgba(58,131,255,.24);
    --border-soft:rgba(255,255,255,.08);
    --text:#f4f7ff;
    --muted:#8f9bb3;
    --blue:#1677ff;
    --blue2:#0f5fe0;
    --blue-soft:rgba(22,119,255,.18);
    --green:#24d07a;
    --red:#ff4d5e;
    --yellow:#ffbd3d;
    --purple:#7b61ff;
}

*{
    box-sizing:border-box;
    user-select:none;
    font-family:Inter,Segoe UI,Arial,sans-serif;
}

body{
    margin:0;
    background:transparent;
    overflow:hidden;
    color:var(--text);
}

.hidden{display:none!important}

#app{
    width:100vw;
    height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    background:
        radial-gradient(circle at 20% 15%, rgba(22,119,255,.24), transparent 32%),
        radial-gradient(circle at 85% 80%, rgba(30,94,255,.16), transparent 35%),
        linear-gradient(135deg, rgba(3,8,18,.72), rgba(2,9,22,.42));
}

.panel{
    width:1180px;
    height:780px;
    display:flex;
    overflow:hidden;
    border-radius:22px;
    color:var(--text);
    background:
        linear-gradient(180deg, rgba(15,25,45,.96), rgba(6,12,25,.97)),
        var(--bg-panel);
    border:1px solid var(--border);
    box-shadow:
        0 0 0 1px rgba(255,255,255,.04) inset,
        0 24px 90px rgba(0,0,0,.72),
        0 0 70px rgba(22,119,255,.16);
}

.sidebar{
    width:270px;
    padding:22px 16px;
    display:flex;
    flex-direction:column;
    gap:9px;
    background:
        linear-gradient(180deg, rgba(8,15,31,.98), rgba(8,13,26,.95));
    border-right:1px solid rgba(255,255,255,.07);
}

.brand{
    display:flex;
    align-items:center;
    gap:13px;
    padding:7px 10px 18px;
    margin-bottom:2px;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.brand-logo{
    width:58px;
    height:58px;
    object-fit:contain;
    filter:drop-shadow(0 0 18px rgba(22,119,255,.35));
}

.brand h2{
    margin:0;
    font-size:18px;
    letter-spacing:-.3px;
}

.brand p{
    margin:3px 0 0;
    color:var(--muted);
    font-size:12px;
}

.locale-select{
    width:100%;
    height:42px;
    margin:7px 0 9px;
    border:none;
    outline:none;
    border-radius:10px;
    padding:0 12px;
    color:var(--text);
    background:rgba(255,255,255,.065);
    border:1px solid rgba(255,255,255,.075);
    font-weight:700;
}

.locale-select option{color:#0d1424}

.side{
    width:100%;
    height:44px;
    display:flex;
    align-items:center;
    gap:11px;
    border:none;
    border-radius:10px;
    padding:0 13px;
    color:#dce7ff;
    cursor:pointer;
    background:transparent;
    text-align:left;
    font-weight:750;
    font-size:14px;
    transition:.16s ease;
}

.side-icon{
    width:22px;
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:.9;
    filter:saturate(1.1);
}

.side-label{
    flex:1;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}

.side:hover{
    background:rgba(255,255,255,.06);
    color:#fff;
}

.side.active{
    background:linear-gradient(135deg,var(--blue),var(--blue2));
    box-shadow:0 8px 22px rgba(22,119,255,.32);
    color:#fff;
}

.system-status{
    margin-top:auto;
    background:rgba(255,255,255,.055);
    border:1px solid rgba(255,255,255,.08);
    border-radius:14px;
    padding:14px;
}

.status-title{
    font-size:11px;
    color:#d8e4ff;
    font-weight:900;
    margin-bottom:10px;
}

.status-row{
    display:flex;
    gap:8px;
    align-items:center;
    color:#dce7ff;
    font-size:13px;
}

.status-dot{
    width:9px;
    height:9px;
    border-radius:999px;
    background:#00d675;
    box-shadow:0 0 12px rgba(0,214,117,.8);
}

.status-version{
    margin-top:7px;
    color:var(--muted);
    font-size:12px;
}

.sidebar-footer{
    margin-top:10px;
}

.close{
    width:100%;
    height:42px;
    border:none;
    border-radius:10px;
    color:#fff;
    background:rgba(255,77,94,.14);
    border:1px solid rgba(255,77,94,.18);
    cursor:pointer;
    font-weight:800;
    transition:.16s ease;
}

.close:hover{
    background:rgba(255,77,94,.24);
}

.main{
    flex:1;
    padding:28px 32px;
    overflow-y:auto;
    background:
        radial-gradient(circle at 92% 5%, rgba(22,119,255,.12), transparent 35%),
        linear-gradient(180deg, rgba(10,18,35,.7), rgba(6,11,23,.84));
}

.main::-webkit-scrollbar{width:8px}
.main::-webkit-scrollbar-thumb{background:rgba(22,119,255,.35);border-radius:20px}
.main::-webkit-scrollbar-track{background:transparent}

.header{
    padding-bottom:22px;
    margin-bottom:22px;
    border-bottom:1px solid rgba(255,255,255,.075);
}

.header h1{
    margin:0;
    font-size:30px;
    letter-spacing:-.7px;
}

.header p{
    margin:7px 0 0;
    color:var(--muted);
    font-size:14px;
}

.page{
    animation:fadeIn .14s ease;
}

@keyframes fadeIn{
    from{opacity:.65;transform:translateY(4px)}
    to{opacity:1;transform:translateY(0)}
}

.grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px 26px;
}

.mt{margin-top:18px}

.field{
    display:flex;
    flex-direction:column;
    gap:8px;
}

label{
    color:#c8d4ee;
    font-size:13px;
    font-weight:800;
}

input,select,textarea{
    width:100%;
    border:none;
    outline:none;
    border-radius:8px;
    padding:0 14px;
    color:var(--text);
    background:rgba(255,255,255,.062);
    border:1px solid rgba(255,255,255,.08);
    font-size:14px;
    transition:.16s ease;
}

input,select{height:46px}

textarea{
    min-height:116px;
    padding-top:12px;
    resize:vertical;
}

select option{
    color:#0d1424;
}

input::placeholder,textarea::placeholder{
    color:#66728a;
}

input:focus,select:focus,textarea:focus{
    border-color:rgba(22,119,255,.62);
    box-shadow:0 0 0 3px rgba(22,119,255,.12);
    background:rgba(255,255,255,.082);
}

.section-title{
    margin:28px 0 14px;
    color:#f4f7ff;
    font-size:17px;
    font-weight:900;
    letter-spacing:-.2px;
}

.section-title::after{
    content:"";
    display:block;
    width:42px;
    height:3px;
    margin-top:8px;
    border-radius:99px;
    background:linear-gradient(90deg,var(--blue),transparent);
}

.settings-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}

.toggle{
    min-height:54px;
    display:flex;
    align-items:center;
    gap:10px;
    padding:14px;
    border-radius:12px;
    color:#eaf1ff;
    font-weight:800;
    background:var(--bg-card);
    border:1px solid var(--border-soft);
}

.toggle input{
    width:18px;
    height:18px;
    accent-color:var(--blue);
}

.grade,.shop-box,.outfit-box,.armory-item,.evidence-locker,.discord-box,.card,.boss-card,.stat-card{
    background:
        linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.04));
    border:1px solid var(--border-soft);
    border-radius:14px;
    box-shadow:0 10px 28px rgba(0,0,0,.15);
}

.grade{
    display:grid;
    grid-template-columns:80px 1fr 1fr 120px 44px;
    gap:12px;
    align-items:end;
    padding:16px;
    margin-bottom:12px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
    margin-top:18px;
}

.card{
    padding:18px;
}

.card h3{
    margin:0 0 10px;
    font-size:17px;
}

.card p{
    margin:0 0 14px;
    color:var(--muted);
}

.shop-box,.outfit-box,.discord-box{
    padding:18px;
    margin-bottom:14px;
}

.shop-head,.outfit-head{
    display:grid;
    grid-template-columns:1fr 120px 168px 44px;
    gap:12px;
    align-items:end;
}

.shop-coords{
    margin:12px 0;
    color:var(--muted);
    font-size:13px;
}

.shop-item{
    display:grid;
    grid-template-columns:1fr 110px 110px 110px 44px;
    gap:12px;
    align-items:end;
    margin-bottom:10px;
}

.armory-item{
    display:grid;
    grid-template-columns:1fr 1fr 110px 110px 110px 44px;
    gap:12px;
    align-items:end;
    padding:16px;
    margin-bottom:12px;
}

.evidence-locker{
    display:grid;
    grid-template-columns:1fr 115px 125px 115px 44px;
    gap:12px;
    align-items:end;
    padding:16px;
    margin-bottom:12px;
}

.outfit-json{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    margin-top:14px;
}

.action,.small-btn,.remove{
    border:none;
    border-radius:10px;
    color:white;
    cursor:pointer;
    font-weight:900;
    transition:.16s ease;
}

.action{
    min-height:42px;
    padding:0 17px;
}

.small-btn{
    min-height:40px;
    padding:0 14px;
    margin-top:8px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.08);
}

.remove{
    height:44px;
    width:44px;
    background:rgba(255,77,94,.16);
    border:1px solid rgba(255,77,94,.18);
    color:#ff6b79;
    font-size:18px;
}

.purple{background:linear-gradient(135deg,#7b61ff,#6046e8)}
.green{background:linear-gradient(135deg,#21d483,#0da868)}
.red{background:linear-gradient(135deg,#ff4d5e,#d93645)}
.yellow{background:linear-gradient(135deg,#ffbd3d,#e39b16)}
.blue{background:linear-gradient(135deg,#2094ff,#1267e8)}

.action:hover,.small-btn:hover,.remove:hover{
    transform:translateY(-1px);
    filter:brightness(1.08);
}

.footer{
    margin-top:24px;
    display:flex;
    justify-content:flex-end;
}

.gap{gap:12px}
.row{display:flex}

.log-events{
    grid-template-columns:repeat(2,1fr);
}

.discord-box p{
    margin:0 0 18px;
    color:var(--muted);
}

#bossApp{
    width:100vw;
    height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    position:absolute;
    left:0;
    top:0;
    background:rgba(0,0,0,.28);
}

.boss-panel{
    width:900px;
    max-height:760px;
    overflow-y:auto;
    border-radius:22px;
    padding:26px;
    color:var(--text);
    background:linear-gradient(180deg, rgba(15,25,45,.98), rgba(6,12,25,.98));
    border:1px solid var(--border);
    box-shadow:0 24px 90px rgba(0,0,0,.75),0 0 70px rgba(22,119,255,.16);
}

.boss-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.boss-header h1{
    margin:0;
    font-size:30px;
}

.boss-header p{
    margin:6px 0 0;
    color:var(--muted);
}

.small-close{
    width:auto;
    padding:0 18px;
}

.boss-stats{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
    margin-bottom:14px;
}

.stat-card{
    padding:18px;
}

.stat-card span{
    display:block;
    color:var(--muted);
    margin-bottom:8px;
    font-size:13px;
    font-weight:800;
}

.stat-card strong{
    font-size:27px;
}

.boss-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
}

.boss-card{
    padding:18px;
    margin-bottom:14px;
}

.boss-card h3{
    margin:0 0 14px;
}

.boss-card input{
    margin-bottom:10px;
}

.employees-card{
    max-height:340px;
    overflow-y:auto;
}

.employee-row{
    display:grid;
    grid-template-columns:1fr 100px 120px 90px;
    gap:10px;
    align-items:center;
    padding:12px;
    margin-bottom:10px;
    border-radius:12px;
    background:rgba(0,0,0,.19);
    border:1px solid rgba(255,255,255,.055);
}

.employee-row span{
    color:#dce7ff;
    font-size:14px;
}

@media(max-width:1200px){
    .panel{width:96vw;height:86vh}
}

/* Job Select Style Fix */

select {
    background: rgba(255,255,255,.062);
    color: #f4f7ff;
    border: 1px solid rgba(255,255,255,.08);
}

select option {
    background: #0b1428;
    color: #f4f7ff;
}

select:focus {
    background: rgba(255,255,255,.09);
    border-color: rgba(22,119,255,.62);
}

#jobSelect,
#actionJobSelect,
#shopJobSelect,
#outfitJobSelect,
#armoryJobSelect,
#evidenceJobSelect,
#giveJobSelect {
    background: rgba(255,255,255,.062);
    color: #f4f7ff;
}

#jobSelect option,
#actionJobSelect option,
#shopJobSelect option,
#outfitJobSelect option,
#armoryJobSelect option,
#evidenceJobSelect option,
#giveJobSelect option {
    background: #0b1428;
    color: #f4f7ff;
}
/* ToDo Board Erweiterung */
body{background:#050b18;overflow:auto}
.todo-panel{height:820px;max-height:92vh}
.brand-badge{
    width:58px;height:58px;border-radius:16px;display:flex;align-items:center;justify-content:center;
    background:linear-gradient(135deg,var(--blue),var(--blue2));font-size:28px;font-weight:900;
    box-shadow:0 0 22px rgba(22,119,255,.34)
}
.todo-header{display:flex;align-items:center;justify-content:space-between;gap:20px}
.stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:20px}
.board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;min-height:520px}
.column{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.075);border-radius:16px;padding:14px;transition:.16s ease}
.column.drag-over{border-color:rgba(22,119,255,.7);box-shadow:0 0 0 3px rgba(22,119,255,.12)}
.column-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.07)}
.column-head h3{margin:0;font-size:16px}.column-head span{min-width:30px;height:26px;display:flex;align-items:center;justify-content:center;border-radius:999px;background:var(--blue-soft);color:#dce8ff;font-weight:900}
.task-list{display:flex;flex-direction:column;gap:12px;min-height:420px}.task-card{background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.045));border:1px solid rgba(255,255,255,.09);border-radius:14px;padding:14px;box-shadow:0 12px 26px rgba(0,0,0,.18);cursor:grab;transition:.16s ease}.task-card:hover{transform:translateY(-2px);background:var(--bg-card-hover)}
.task-card h4{margin:10px 0 8px;font-size:16px}.task-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.45;user-select:text}.task-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.priority{font-size:11px;font-weight:900;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.08)}.date{font-size:11px;color:var(--muted)}
.priority-low{border-left:3px solid var(--green)}.priority-medium{border-left:3px solid var(--yellow)}.priority-high{border-left:3px solid var(--red)}
.task-actions{display:flex;gap:8px;margin-top:12px}.task-actions .small-btn{margin-top:0;flex:1}.small-btn.danger{background:rgba(255,77,94,.12);border-color:rgba(255,77,94,.2);color:#ff7180}.empty{padding:18px;border-radius:12px;text-align:center;color:var(--muted);border:1px dashed rgba(255,255,255,.12);background:rgba(0,0,0,.12)}
.modal{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.55);z-index:20}.modal-card{width:560px;max-width:92vw;padding:22px;border-radius:18px;background:linear-gradient(180deg, rgba(15,25,45,.98), rgba(6,12,25,.98));border:1px solid var(--border);box-shadow:0 24px 90px rgba(0,0,0,.75),0 0 70px rgba(22,119,255,.16)}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.modal-head h2{margin:0}
@media(max-width:980px){.panel{width:98vw;height:auto;min-height:92vh}.sidebar{display:none}.board,.stats-row{grid-template-columns:1fr}.todo-header{align-items:flex-start;flex-direction:column}.main{padding:20px}}

/* Kategorie Board Anpassungen */
.category-board .column-head h3{font-size:15px}
.status-pill{font-size:11px;font-weight:900;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.08);white-space:nowrap}
.status-pill.todo{color:#dce7ff;background:rgba(22,119,255,.16);border:1px solid rgba(22,119,255,.18)}
.status-pill.progress{color:#ffd891;background:rgba(255,189,61,.13);border:1px solid rgba(255,189,61,.18)}
.status-pill.done{color:#9af3c3;background:rgba(36,208,122,.12);border:1px solid rgba(36,208,122,.18)}
.task-meta{display:flex;justify-content:space-between;gap:10px;margin-top:12px;color:var(--muted);font-size:11px;border-top:1px solid rgba(255,255,255,.07);padding-top:10px}
input[type="date"]{color-scheme:dark}
