@import url("/weingerl-theme/base-0.6.3.css");
/* Weingerl Directory – LLDAP 0.6.3 */
:root{color-scheme:dark;--bs-body-bg:#0b1320;--bs-body-color:#edf3fc;--bs-primary:#71b7ff;--bs-secondary:#b8c9db;--bs-border-color:#405b76}
body{background:#0b1320!important;color:#edf3fc!important;font-family:system-ui,-apple-system,"Segoe UI",sans-serif!important;padding-bottom:110px}
header.p-2{background:linear-gradient(135deg,#425463,#1b2b3e 55%,#101c2b)!important;border-color:#60778e!important;box-shadow:0 3px 15px #0005}
header a[href="/"] h2{font-size:0;width:205px;height:45px;margin:0;background:url("/weingerl-theme/wordmark.png") left center/contain no-repeat}
header .nav-link,header a{color:#dceafb!important}header .nav-link:hover,header .nav-link:focus{background:#294660;border-radius:6px;color:#fff!important}
header .form-switch:has(#darkModeToggle){display:none}
a{color:#a7d4ff}a:hover,a:focus{color:#fff}
main,body>.container,.bg-kug{background:transparent!important;color:#edf3fc}
form.form.center-block{background:#142338;border:1px solid #526c87;border-radius:14px;padding:28px;box-shadow:0 18px 45px #0005;margin:35px auto;max-width:420px;width:100%}
form.form.center-block::before{content:"Weingerl Directory";display:block;font-size:1.4rem;font-weight:650;margin-bottom:22px;color:#f3f7fc}
.form-control,.form-select,textarea,input:not([type=checkbox]):not([type=radio]):not([type=submit]){background-color:#0b1726!important;color:#f1f6fc!important;border-color:#607993!important;caret-color:#a7d4ff}
.form-control::placeholder{color:#b4c6da!important;opacity:1}.form-control:disabled,.form-control[readonly]{background:#1b2a3d!important;color:#bdccdd!important}
input:-webkit-autofill{-webkit-text-fill-color:#f1f6fc!important;box-shadow:inset 0 0 0 1000px #0b1726!important}
.input-group-text{background:#263d54!important;color:#d4e9ff!important;border-color:#607993!important}
.form-check-input{background-color:#0b1726;border-color:#8299af}.form-check-input:checked{background-color:#407dbf;border-color:#8ebce8}
.btn-primary{background:#356fa8!important;color:#fff!important;border-color:#8cb3d6!important}.btn-primary:hover{background:#4488c5!important}
.btn-secondary,.btn-outline-secondary{background:#23394e!important;color:#edf3fc!important;border-color:#718ba4!important}.btn-secondary:hover,.btn-outline-secondary:hover{background:#365772!important}
.btn-danger,.btn-outline-danger{background:#612d3a!important;color:#ffe4e8!important;border-color:#d77a8c!important}.btn-danger:hover,.btn-outline-danger:hover{background:#833e4e!important}
.table{color:#edf3fc!important;--bs-table-bg:#142338;--bs-table-color:#edf3fc;--bs-table-striped-bg:#1a2c41;--bs-table-striped-color:#edf3fc;--bs-table-hover-bg:#294660;--bs-table-hover-color:#fff;border-color:#405b76}
.table>:not(caption)>*>*{color:inherit;background-color:var(--bs-table-bg);border-color:#405b76}.table thead{background:#263c52;color:#f1f6fc}.table thead th{background:#263c52!important}
.table-striped>tbody>tr:nth-of-type(odd)>*{background-color:#1a2c41;color:#edf3fc}.table-hover>tbody>tr:hover>*{background-color:#294660;color:#fff}
.dropdown-menu,.modal-content,.card,.list-group-item{background:#142338!important;color:#edf3fc!important;border-color:#607993!important}.dropdown-item{color:#edf3fc!important}.dropdown-item:hover,.dropdown-item:focus{background:#294660!important;color:#fff!important}
.text-muted,.text-secondary,.link-secondary,.text-reset{color:#bdcddd!important}.text-dark,.text-body{color:#edf3fc!important}.bg-light{background:#17283b!important}
.alert-danger{background:#492936;color:#ffe4e8;border-color:#bd6f82}.alert-warning{background:#493a21;color:#ffe8af;border-color:#a78b51}.alert-success{background:#193f36;color:#caf4df;border-color:#589c81}.alert-info{background:#193b51;color:#d5efff;border-color:#648ca8}
footer.fixed-bottom{background:#101d2e!important;color:#bdcddd!important;border-top:1px solid #405b76}
:focus-visible{outline:2px solid #9dd1ff!important;outline-offset:3px}
@media(max-width:600px){header .nav{gap:3px}header a[href="/"] h2{width:190px}header .container{padding:0 8px}.table{font-size:.85rem}body{overflow-x:auto}form.form.center-block{margin:16px auto;padding:22px}}
@media(forced-colors:active){header a[href="/"] h2{font-size:1.5rem;background:none}*{forced-color-adjust:auto}}

/* Native dark-mode selector precedence */
html.dark body footer.fixed-bottom.bg-light{background:#101d2e!important;color:#bdcddd!important}
html.dark body :is(.text-muted,.text-secondary,.text-reset,.link-secondary){color:#bdcddd!important}
html.dark body .alert-danger{background:#492936!important;color:#ffe4e8!important;border-color:#bd6f82!important}
html.dark body .alert-warning{background:#493a21!important;color:#ffe8af!important;border-color:#a78b51!important}
html.dark body .alert-success{background:#193f36!important;color:#caf4df!important;border-color:#589c81!important}
html.dark body .alert-info{background:#193b51!important;color:#d5efff!important;border-color:#648ca8!important}
html.dark body :is(.dropdown-menu,.modal-content,.card,.list-group-item){background:#142338!important;color:#edf3fc!important;border-color:#607993!important}
html.dark body .dropdown-item{color:#edf3fc!important}html.dark body .dropdown-item:hover{background:#294660!important;color:#fff!important}
