/* Login only. The existing registry stylesheet and database component are untouched. */
body.tazy-auth-page {
  --auth-deep:#073e51;
  --auth-teal:#087d9c;
  --auth-text:#153549;
  --auth-muted:#587080;
  --auth-border:#cbdce4;
  --auth-gold:#f6c453;
  color:var(--auth-text);
}
body.tazy-auth-page .bg::before {opacity:.075}
body.tazy-auth-page .wrap {max-width:1160px;width:100%;padding:22px clamp(14px,2.5vw,30px) 20px;gap:20px}
body.tazy-auth-page main {display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:0;padding:28px 0}
body.tazy-auth-page main > .card {width:100%;max-width:960px;min-width:0;border:0;border-radius:22px;background:none;box-shadow:none;overflow:visible}
body.tazy-auth-page main > .card > .card-inner {padding:0;min-width:0}
.tazy-auth {display:grid;grid-template-columns:minmax(0, .94fr) minmax(0, 1.06fr);min-height:490px;border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 22px 65px rgba(9,57,78,.16),0 2px 10px rgba(9,57,78,.06);border:1px solid rgba(255,255,255,.9)}
.tazy-auth-intro {position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;gap:38px;min-width:0;padding:clamp(30px,4vw,50px);background:radial-gradient(ellipse at 0% 0%,#167d93 0%,transparent 63%),linear-gradient(140deg,#125b70 0%,#073e51 64%,#082f40 100%);color:#f4faff;overflow:hidden}
.tazy-auth-intro::before {content:"";position:absolute;inset:0;z-index:-1;background-image:var(--tazy-auth-pattern,none);background-repeat:repeat;background-size:540px auto;opacity:.16;mix-blend-mode:screen;pointer-events:none}
.tazy-auth-intro::after {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(160deg,rgba(5,49,66,.06),rgba(5,49,66,.72));pointer-events:none}
.tazy-auth-kicker {display:flex;align-items:center;gap:9px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;line-height:1.5;color:#f9dc92}
.tazy-auth-kicker>span {flex:0 0 7px;width:7px;height:7px;transform:rotate(45deg);background:var(--auth-gold);border-radius:1px}
.tazy-auth-hero {margin:32px 0 19px;color:white;font-family:Georgia,"Times New Roman",serif;font-size:clamp(47px,5vw,66px);font-weight:400;line-height:1.02;letter-spacing:-.045em}
.tazy-auth-hero i {color:var(--auth-gold);font-weight:400;font-size:.65em;letter-spacing:0}
.tazy-auth-rule {height:2px;width:48px;margin:23px 0 20px;background:var(--auth-gold);border-radius:1px}
.tazy-auth-intro-text {margin:0;font-size:15px;line-height:1.75;color:#d9edf4;max-width:300px}
.tazy-auth-intro-bottom {border-top:1px solid rgba(225,245,255,.20);padding-top:20px;display:grid;gap:14px}
.tazy-auth-feature {display:flex;align-items:center;gap:11px;font-size:12px;line-height:1.5;font-weight:500;color:#dcecf2}
.tazy-auth-feature svg {width:19px;height:19px;color:#f5d58d;flex:none}
.tazy-auth-panel {display:flex;flex-direction:column;justify-content:center;min-width:0;padding:clamp(30px,4.2vw,54px);background:#fff}
.tazy-auth-lock {width:47px;height:47px;border-radius:14px;display:grid;place-items:center;color:#087d9c;background:#edf7fa;border:1px solid #d6eaf0;margin-bottom:17px}
.tazy-auth-lock svg {width:24px;height:24px}
.tazy-auth-panel h1 {margin:0;color:var(--auth-text);font-size:clamp(27px,3vw,34px);font-weight:750;line-height:1.15;letter-spacing:-.035em}
.tazy-auth-panel-head p {margin:9px 0 0;font-size:14px;line-height:1.6;color:var(--auth-muted)}
body.tazy-auth-page .card-inner .tazy-auth-form {display:grid;gap:19px;margin:28px 0 0;padding:0;width:100%;min-width:0}
.tazy-auth-field {min-width:0;display:grid;gap:8px}
body.tazy-auth-page .card-inner .tazy-auth-field>label {margin:0;color:#254657;font-weight:650;font-size:13px;line-height:1.35}
.tazy-auth-control {min-height:54px;display:flex;align-items:center;gap:11px;min-width:0;border:1px solid var(--auth-border);border-radius:10px;background:#f9fcfd;padding:0 13px;transition:box-shadow .15s,border-color .15s,background .15s}
.tazy-auth-control:focus-within {border-color:#138da9;background:#fff;box-shadow:0 0 0 3px rgba(21,156,198,.15)}
.tazy-auth-field-icon {width:20px;height:20px;color:#7692a0;flex:none}
body.tazy-auth-page .card-inner .tazy-auth-control input {display:block;flex:1 1 0;width:0;min-width:0;max-width:100%;min-height:52px;line-height:1.4;height:auto;margin:0;padding:12px 0;border:0!important;border-radius:0;outline:none;background:transparent;box-shadow:none;color:#153549;font-family:inherit;font-size:16px;font-weight:500}
body.tazy-auth-page .card-inner .tazy-auth-control input::placeholder {font-size:14px;font-weight:400;color:#718998;opacity:1}
body.tazy-auth-page .card-inner .tazy-auth-control input:-webkit-autofill { -webkit-box-shadow:0 0 0 1000px #f9fcfd inset; -webkit-text-fill-color:#153549; caret-color:#153549 }
body.tazy-auth-page .card-inner .tazy-auth-control:focus-within input:-webkit-autofill { -webkit-box-shadow:0 0 0 1000px #fff inset }
body.tazy-auth-page .card-inner .tazy-auth-control:has(input.invalid) {border-color:#b33a37}
body.tazy-auth-page .card-inner .tazy-auth-toggle {flex:none;display:inline-flex;align-items:center;justify-content:center;min-height:36px;background:transparent;border:0;border-radius:6px;color:#08728c;font-size:12px;font-weight:700;font-family:inherit;line-height:1;padding:6px 5px;margin:0;cursor:pointer}
.tazy-auth-toggle:hover {background:#eaf5f8!important}
body.tazy-auth-page .card-inner label.tazy-auth-remember {display:flex;align-items:center;gap:10px;width:fit-content;margin:0;color:#466171;font-weight:500;font-size:13px;line-height:1.45;cursor:pointer;min-height:24px}
body.tazy-auth-page .card-inner .tazy-auth-remember input[type=checkbox] {appearance:auto;accent-color:#0a829f;display:block;width:17px!important;height:17px!important;flex:none;margin:0;padding:0;outline-offset:3px;cursor:pointer}
body.tazy-auth-page .card-inner .tazy-auth-submit {display:flex;align-items:center;justify-content:center;position:relative;width:100%;min-height:53px;padding:13px 40px;border:1px solid transparent;border-radius:10px;background:#087d9c;color:white;font-family:inherit;font-weight:700;font-size:15px;line-height:1.4;cursor:pointer;box-shadow:0 6px 16px rgba(8,125,156,.18);transition:background .15s,box-shadow .15s;margin:0}
.tazy-auth-submit svg {position:absolute;right:16px;width:20px;height:20px}
body.tazy-auth-page .card-inner .tazy-auth-submit:hover {background:#066b88;box-shadow:0 7px 17px rgba(8,125,156,.23)}
body.tazy-auth-page .card-inner .tazy-auth-submit:active {background:#075d76}
body.tazy-auth-page .card-inner .tazy-auth :focus-visible {outline:2px solid #138da9;outline-offset:3px}
body.tazy-auth-page .card-inner .tazy-auth-control input:focus-visible {outline:none}
.tazy-auth-access {margin:20px 0 0;color:#587080;font-size:12px;font-weight:400;line-height:1.65;text-align:center}
.tazy-auth-messages:empty {display:none}
.tazy-auth-messages #system-message-container:empty {display:none}
.tazy-auth-messages #system-message:empty {display:none}
.tazy-auth-messages .alert {position:relative;margin:0 0 14px;padding:14px 42px 14px 16px;border:1px solid #b8d5df;border-radius:10px;background:#f4fbfe;color:#204d64;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.tazy-auth-messages .alert-error,.tazy-auth-messages .alert-danger,.tazy-auth-messages .alert-warning {background:#fff6f0;border-color:#efc6b6;color:#873627}
.tazy-auth-messages .alert-success {background:#eff9f2;border-color:#b6d9c2;color:#225e39}
.tazy-auth-messages .alert h4 {margin:0 0 5px;font-size:14px}
.tazy-auth-messages .alert p {margin:0}
.tazy-auth-messages .alert .close {position:absolute;right:14px;top:8px;border:0;background:transparent;color:inherit;font-size:21px;text-decoration:none;cursor:pointer}
.tazy-auth-messages .alert .element-invisible {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:760px){
  body.tazy-auth-page .wrap{padding:12px 12px 16px;gap:14px}
  body.tazy-auth-page main{padding:12px 0 18px}
  body.tazy-auth-page main>.card{max-width:490px}
  .tazy-auth{grid-template-columns:minmax(0,1fr);min-height:0;border-radius:18px}
  .tazy-auth-intro{padding:25px 29px;gap:0}
  .tazy-auth-kicker{font-size:10px;letter-spacing:.09em}
  .tazy-auth-hero{font-size:40px;margin:13px 0 9px;letter-spacing:-.035em}
  .tazy-auth-hero br{display:none}
  .tazy-auth-rule{margin:12px 0 10px;width:36px}
  .tazy-auth-intro-text{font-size:13px;line-height:1.55;max-width:none}
  .tazy-auth-intro-text br{display:none}
  .tazy-auth-intro-bottom{display:none}
  .tazy-auth-panel{padding:29px}
  .tazy-auth-lock{width:39px;height:39px;margin-bottom:13px;border-radius:11px}
  .tazy-auth-lock svg{width:21px;height:21px}
  .tazy-auth-panel h1{font-size:28px}
  body.tazy-auth-page .card-inner .tazy-auth-form{gap:15px;margin-top:23px}
  .tazy-auth-access-break{display:none}
}
@media(max-width:350px){.tazy-auth-intro,.tazy-auth-panel{padding:23px 19px}.tazy-auth-control{gap:8px;padding:0 9px}.tazy-auth-hero{font-size:35px}.tazy-auth-toggle{font-size:11px!important}}
@media(prefers-reduced-motion:reduce){.tazy-auth *{transition:none!important}}

/* v2: the shell belongs to the site template, not to a particular Joomla view.
   Native com_users forms, including alternate layouts, retain their fields and actions. */
body.tazy-auth-page .tazy-auth-native {min-width:0;max-width:100%}
body.tazy-auth-page .card-inner .tazy-auth-native form:not(.tazy-auth-form) {width:100%;margin:26px 0 0;padding:0;border:0;background:transparent;box-shadow:none;min-width:0}
body.tazy-auth-page .tazy-auth-native fieldset {display:block;min-width:0;padding:0;margin:0;border:0}
body.tazy-auth-page .tazy-auth-native .login>.page-header {display:none}
body.tazy-auth-page .tazy-auth-native .login-description {font-size:13px;line-height:1.5;color:var(--auth-muted);margin:12px 0}
body.tazy-auth-page .tazy-auth-native .login-image {max-width:100%;height:auto}
body.tazy-auth-page .card-inner .tazy-auth-native form:not(.tazy-auth-form) .control-group,
body.tazy-auth-page .card-inner .tazy-auth-native form:not(.tazy-auth-form) .field,
body.tazy-auth-page .card-inner .tazy-auth-native form:not(.tazy-auth-form) .login-field {display:block;width:100%;min-width:0;margin:0 0 17px;padding:0}
body.tazy-auth-page .tazy-auth-native .control-label,
body.tazy-auth-page .tazy-auth-native .controls {width:100%;min-width:0;float:none;display:block;margin:0;padding:0;text-align:left}
body.tazy-auth-page .card-inner .tazy-auth-native form:not(.tazy-auth-form) label {display:block;font-size:13px;font-weight:650;line-height:1.4;color:#254657;margin:0 0 7px;text-align:left}
body.tazy-auth-page .card-inner .tazy-auth-native form:not(.tazy-auth-form) input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]) {display:block;width:100%;max-width:100%;min-width:0;height:53px;min-height:53px;box-sizing:border-box;padding:13px 14px;margin:0 0 6px;border:1px solid #cbdce4;border-radius:10px;background:#f9fcfd;color:#153549;font:500 16px/1.4 Inter,system-ui,sans-serif;box-shadow:none;outline:0}
body.tazy-auth-page .card-inner .tazy-auth-native form:not(.tazy-auth-form) input:not([type=hidden]):not([type=checkbox]):not([type=radio]):focus {border-color:#138da9;box-shadow:0 0 0 3px rgba(21,156,198,.15);background:#fff}
body.tazy-auth-page .card-inner .tazy-auth-native form:not(.tazy-auth-form) input:-webkit-autofill {-webkit-box-shadow:0 0 0 1000px #f9fcfd inset;-webkit-text-fill-color:#153549}
body.tazy-auth-page .card-inner .tazy-auth-native form:not(.tazy-auth-form) input::placeholder {font-size:14px;font-weight:400;color:#718998;opacity:1}
body.tazy-auth-page .card-inner .tazy-auth-native form:not(.tazy-auth-form) input[type=checkbox] {display:inline-block;width:17px!important;height:17px!important;min-height:0;flex:none;accent-color:#0a829f;margin:0 0 0 4px;vertical-align:middle;cursor:pointer}
body.tazy-auth-page .card-inner .tazy-auth-native .tazy-auth-native-remember,
body.tazy-auth-page .card-inner .tazy-auth-native .control-group:has(input[name=remember]) {display:flex!important;align-items:center;justify-content:flex-start;gap:9px;margin:5px 0 17px!important}
body.tazy-auth-page .card-inner .tazy-auth-native .tazy-auth-native-remember .control-label,
body.tazy-auth-page .card-inner .tazy-auth-native .control-group:has(input[name=remember]) .control-label {width:auto;order:2}
body.tazy-auth-page .card-inner .tazy-auth-native .tazy-auth-native-remember .controls,
body.tazy-auth-page .card-inner .tazy-auth-native .control-group:has(input[name=remember]) .controls {width:auto;order:1}
body.tazy-auth-page .card-inner .tazy-auth-native .control-group:has(input[name=remember]) label,
body.tazy-auth-page .card-inner .tazy-auth-native .tazy-auth-native-remember label {margin:0;font-weight:500;cursor:pointer}
body.tazy-auth-page .card-inner .tazy-auth-native form:not(.tazy-auth-form) button[type=submit],
body.tazy-auth-page .card-inner .tazy-auth-native form:not(.tazy-auth-form) input[type=submit] {display:block;width:100%;min-height:53px;border:1px solid transparent;border-radius:10px;background:#087d9c;color:#fff;font:700 15px/1.4 Inter,system-ui,sans-serif;box-shadow:0 6px 16px rgba(8,125,156,.18);padding:13px 16px;margin:0;cursor:pointer}
body.tazy-auth-page .card-inner .tazy-auth-native form:not(.tazy-auth-form) button[type=submit]:hover {background:#066b88;transform:none}
body.tazy-auth-page .card-inner .tazy-auth-native .tazy-auth-native-toggle {display:block;width:auto;margin:5px 0 0 auto;padding:5px 2px;border:0;background:none;color:#08728c;font:700 12px/1.4 Inter,system-ui,sans-serif;cursor:pointer}
body.tazy-auth-page .tazy-auth-native .nav {list-style:none;padding:0;margin:10px 0 0;display:flex;flex-wrap:wrap;gap:5px 14px}
body.tazy-auth-page .tazy-auth-native .nav a {color:#08728c;text-decoration:underline;text-underline-offset:3px;font-size:12px;line-height:1.5}
/* Older cached override may still supply its own full shell. Do not show it twice. */
.tazy-auth-shell:has(.tazy-auth-native .tazy-auth) {display:block;min-height:0;background:none;box-shadow:none;border:0;overflow:visible}
.tazy-auth-shell:has(.tazy-auth-native .tazy-auth) > .tazy-auth-intro,
.tazy-auth-shell:has(.tazy-auth-native .tazy-auth) > .tazy-auth-panel > .tazy-auth-panel-head,
.tazy-auth-shell:has(.tazy-auth-native .tazy-auth) > .tazy-auth-panel > .tazy-auth-access {display:none}
.tazy-auth-shell:has(.tazy-auth-native .tazy-auth) > .tazy-auth-panel {padding:0;background:none}
@media(max-width:760px){body.tazy-auth-page .card-inner .tazy-auth-native form:not(.tazy-auth-form){margin-top:22px}}
