/*
===================================
Lebenshilfe Bremervörde / Zeven gGmbH
Projekt: LHBZ Intranet 
Entwickler: Florian Munzert
Mitwirkende: Adam Kilani, Janosch Buschmann
Datei: lh_base.css
Datei-Link: https://intern.lhbz.it/lh_base.css
===================================
*/

.lh-theme-toggle{margin-left:auto;flex:0 0 auto;position:relative;width:48px;height:48px;border-radius:16px;border:1px solid var(--glass-brd);background:var(--glass-2);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);color:var(--brand-deep);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;box-shadow:var(--card-shadow);transition:box-shadow .35s,border-color .35s,transform .5s var(--ease);overflow:hidden}
[data-theme="dark"] .lh-theme-toggle{color:var(--accent-2)}
.lh-theme-toggle:hover{box-shadow:var(--glow-accent);border-color:var(--accent);transform:rotate(40deg) scale(1.05)}
.lh-theme-toggle svg{width:21px;height:21px}
.lh-theme-toggle .ico-moon{display:none}
[data-theme="dark"] .lh-theme-toggle .ico-sun{display:none}
[data-theme="dark"] .lh-theme-toggle .ico-moon{display:block}


*{scrollbar-width:thin;scrollbar-color:var(--glass-brd) transparent}
::-webkit-scrollbar{width:9px;height:9px}
::-webkit-scrollbar-thumb{background:var(--glass-brd);border-radius:9px}
::-webkit-scrollbar-track{background:transparent}


@keyframes lhSpin{to{--ang:360deg}}
@keyframes lhSweep{0%{left:-130%}60%,100%{left:150%}}
@keyframes lhShift{0%,100%{background-position:0 50%}50%{background-position:100% 50%}}
@keyframes lhBreath{0%,100%{opacity:.55}50%{opacity:.9}}
@keyframes lhLogoGlow{0%,100%{filter:drop-shadow(0 4px 12px rgba(10,125,84,.2))}50%{filter:drop-shadow(0 4px 16px rgba(191,154,63,.3))}}
@keyframes lhRise{from{opacity:0;transform:translateY(16px) scale(.99)}to{opacity:1;transform:none}}

@media (prefers-reduced-motion:reduce){*{animation:none!important}}


[data-theme="dark"]{
  --card-bg:#17231e;--lh-card-bg:#17231e;--lh-card:#17231e;--lh-soft-panel:#141f1a;
  --card-border:#2b3a33;--lh-border:#2b3a33;
  --lh-bg-light:#0b130f;--lh-bg:#0b130f;
  --lh-grey-main:#eef6f0;--lh-text:#eef6f0;--lh-anthracite:#eef6f0;
  --lh-grey-muted:#9eb0a5;--lh-muted:#9eb0a5;
  --lh-green-text:#34d399;--lh-green-symbol:#34d399;
}

[data-theme="dark"] .detail-content,[data-theme="dark"] .detail-meta,[data-theme="dark"] .lh-detail-content,[data-theme="dark"] .result-card,[data-theme="dark"] .chart-box,[data-theme="dark"] .answer-row,[data-theme="dark"] .template-card,[data-theme="dark"] .builder,[data-theme="dark"] .builder-item,[data-theme="dark"] .my-response-box,[data-theme="dark"] .meta-card,[data-theme="dark"] .question-card,[data-theme="dark"] .teacher-card,[data-theme="dark"] .person-picker,[data-theme="dark"] .signature-pad,[data-theme="dark"] .history-person-card,[data-theme="dark"] .cover-preview,[data-theme="dark"] .question-html,[data-theme="dark"] .meta-stack,[data-theme="dark"] .detail-cover-wrap{background:var(--glass-2)!important;border-color:var(--glass-brd)!important;color:var(--text)!important}
[data-theme="dark"] .answer-table th,[data-theme="dark"] .answer-table td{border-color:var(--hair)!important;color:var(--text)!important}
[data-theme="dark"] .detail-image,[data-theme="dark"] .question-image,[data-theme="dark"] .question-preview{background:var(--glass)!important}
[data-theme="dark"] .alert-box.alert-success,[data-theme="dark"] .alert-success{background:rgba(0,168,107,.16)!important;color:#7ee0b6!important;border-color:rgba(0,168,107,.3)!important}
[data-theme="dark"] .alert-box.alert-error,[data-theme="dark"] .alert-error{background:rgba(200,60,46,.16)!important;color:#f2998c!important;border-color:rgba(200,60,46,.34)!important}
[data-theme="dark"] .bar{background:rgba(255,255,255,.08)!important}
[data-theme="dark"] .pill{background:rgba(46,211,154,.14)!important;color:#8fe9c4!important;border-color:rgba(46,211,154,.3)!important}
[data-theme="dark"] .participation-badge{background:linear-gradient(135deg,rgba(46,211,154,.16),rgba(212,178,98,.14))!important;color:#bfeede!important;border-color:rgba(46,211,154,.3)!important}

[data-theme="dark"] .mp-card,[data-theme="dark"] .mp-panel,[data-theme="dark"] .mp-section,[data-theme="dark"] .mp-detail,[data-theme="dark"] .mp-row,[data-theme="dark"] .room-panel,[data-theme="dark"] .chat-panel{background:var(--glass-2)!important;border-color:var(--glass-brd)!important;color:var(--text)!important}


[data-theme="dark"] table{background:transparent!important;color:var(--text)!important}
[data-theme="dark"] .answer-table,[data-theme="dark"] .table,[data-theme="dark"] table.table,[data-theme="dark"] .data-table,[data-theme="dark"] .admin-table{background:var(--glass-2)!important;border-color:var(--glass-brd)!important;color:var(--text)!important;border-radius:14px;overflow:hidden}
[data-theme="dark"] th,[data-theme="dark"] td{border-color:var(--hair)!important;color:var(--text)!important}
[data-theme="dark"] .answer-table th,[data-theme="dark"] .answer-table td,[data-theme="dark"] .table th,[data-theme="dark"] .table td,[data-theme="dark"] .data-table th,[data-theme="dark"] .data-table td,[data-theme="dark"] .admin-table th,[data-theme="dark"] .admin-table td{background:transparent!important;color:var(--text)!important;border-color:var(--hair)!important}
[data-theme="dark"] thead th{background:rgba(255,255,255,.04)!important;color:var(--accent-2)!important}
[data-theme="dark"] tbody tr:nth-child(even) td{background:rgba(255,255,255,.02)!important}



.lh-theme-toggle::before{content:'';position:absolute;inset:0;border-radius:inherit;padding:1.6px;background:conic-gradient(from var(--ang),transparent 0 16%,var(--accent) 32%,var(--accent-2) 48%,var(--brand) 64%,transparent 82% 100%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:0;transition:opacity .4s;pointer-events:none;z-index:4}
.lh-theme-toggle:hover::before{opacity:1;animation:lhSpin 3.2s linear infinite}

/*
===================================
Lebenshilfe Bremervörde / Zeven gGmbH
Projekt: LHBZ Intranet 
Entwickler: Florian Munzert
Mitwirkende: Adam Kilani, Janosch Buschmann
Datei: lh_base.css
Datei-Link: https://intern.lhbz.it/lh_base.css
===================================
*/
