/* Taxi Dispatch · ELEDOS Labs · Tema Django Admin, mantiene permisos y formularios nativos. */
:root, html[data-theme="light"] {
  --primary:#b96818;
  --secondary:#0e2228;
  --accent:#f0a35b;
  --primary-fg:#fff;
  --body-fg:#16252c;
  --body-bg:#fafaf3;
  --body-quiet-color:#65767e;
  --body-medium-color:#40545b;
  --link-fg:#a4530e;
  --link-hover-color:#8d4009;
  --link-selected-fg:#a4530e;
  --header-bg:#0e2228;
  --header-color:#fff;
  --header-link-color:#fff;
  --breadcrumbs-bg:#1b363d;
  --breadcrumbs-fg:#e2edef;
  --breadcrumbs-link-fg:#fff;
  --hairline-color:#d9e4e8;
  --border-color:#d9e4e8;
  --selected-bg:#fff1e4;
  --selected-row:#fff8f1;
  --button-bg:#de7a1f;
  --button-hover-bg:#c7650b;
  --default-button-bg:#de7a1f;
  --default-button-hover-bg:#c7650b;
  --close-button-bg:#51636a;
  --close-button-hover-bg:#33494f;
  --object-tools-fg:#fff;
  --object-tools-bg:#0e2228;
}
html[data-theme="dark"] {
  --primary:#f2b879;
  --secondary:#0e2228;
  --accent:#f2b879;
  --header-bg:#0e2228;
  --breadcrumbs-bg:#1b363d;
  --button-bg:#b96818;
  --button-hover-bg:#d37c26;
  --default-button-bg:#b96818;
  --default-button-hover-bg:#d37c26;
}
#header {min-height:77px;align-items:center;box-sizing:border-box;padding:13px 22px}
.eledos-admin-brand {display:flex;align-items:center;gap:12px;min-width:0}
.eledos-admin-mark {width:46px;height:46px;display:grid;place-items:center;flex:0 0 46px;border-radius:12px;background:#fff;overflow:hidden;padding:4px}
.eledos-admin-mark img {display:block;width:100%;height:100%;object-fit:contain}
.eledos-admin-name h1 {font-size:20px;line-height:1.16;margin:0;font-weight:800;letter-spacing:-.035em;white-space:normal}
.eledos-admin-name h1 a {color:#fff!important;text-decoration:none}
.eledos-admin-name span {display:block;color:#bdd0d5;font-size:11px;margin-top:4px;letter-spacing:.03em}
#content h1 {font-weight:800;letter-spacing:-.035em}
.module {border-radius:13px;overflow:hidden;border:1px solid var(--border-color);box-shadow:0 7px 24px rgba(15,32,38,.04)}
.module h2,.module caption,.inline-group h2 {padding:12px 16px;font-size:13px;font-weight:750}
#content-main .module th,#content-main .module td {padding:11px 14px}
.button,input[type=submit],input[type=button],.submit-row input,a.button {border-radius:9px;font-weight:700}
input[type=text],input[type=password],input[type=email],input[type=url],input[type=number],textarea,select {border-radius:9px;border-color:var(--border-color);max-width:100%}
input:focus,textarea:focus,select:focus {outline:2px solid #de7a1f;outline-offset:1px}
#changelist-filter {border-radius:12px;overflow:hidden}
#nav-sidebar {border-right:1px solid var(--border-color)}
#nav-sidebar .current-model {background:var(--selected-bg)}
#login-form {margin-top:12px}
.login #container {border-radius:16px;overflow:hidden;box-shadow:0 18px 48px rgba(15,32,38,.13)}
@media(max-width:767px){#header{min-height:74px;flex-wrap:wrap;gap:9px;padding:12px 15px}.eledos-admin-name h1{font-size:17px}.eledos-admin-name span{font-size:10px}.module{border-radius:10px}}
