body.tt-auth-page{
  --cu-bg:#f7f8fa;
  --cu-surface:rgba(255,255,255,0.92);
  --cu-surface-2:rgba(255,255,255,0.66);
  --cu-border:rgb(var(--cu-accent-rgb) / 0.25);
  --cu-text:#172033;
  --cu-dim:#647084;
  --cu-input-bg:rgba(255,255,255,0.9);
  --cu-input-border:rgb(var(--cu-accent-rgb) / 0.3);
  --cu-input-border-2:rgb(var(--cu-accent-rgb) / 0.3);
  background:linear-gradient(135deg, var(--cu-accent-softer) 0%, #f8fafc 54%, #eef2f6 100%);
  min-height:100vh;
}
body.tt-auth-page.cu-dark{
  --cu-bg:#10100f;
  --cu-surface:rgb(24 23 22 / 0.92);
  --cu-surface-2:rgb(34 31 28 / 0.72);
  --cu-border:rgb(var(--cu-accent-rgb) / 0.35);
  --cu-text:#f5efe8;
  --cu-dim:#b9aa9b;
  --cu-input-bg:rgb(32 29 26 / 0.92);
  --cu-input-border:rgb(var(--cu-accent-rgb) / 0.45);
  --cu-input-border-2:rgb(var(--cu-accent-rgb) / 0.45);
  background:linear-gradient(135deg, #10100f 0%, #181716 100%);
}
.tt-auth-page .navbar,
.tt-auth-page #global-timer-box,
.tt-auth-page footer{
  display:none!important;
}
.tt-auth-page .container{
  max-width:100%;
  padding:0;
}
.tt-auth-page .auth-shell{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:56px 16px;
}
.auth-card{
  width:100%;
  max-width:430px;
  background:var(--cu-surface);
  border-radius:24px;
  border:1px solid var(--cu-border);
  box-shadow:0 30px 80px rgba(15,23,42,0.18);
  padding:36px 32px;
  backdrop-filter:blur(10px);
}
body.tt-auth-page.cu-dark .auth-card{
  box-shadow:0 30px 80px rgba(8,12,24,0.45);
}
.auth-card-header .auth-logo{
  width:64px;
  height:64px;
  border-radius:18px;
  margin:0 auto 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgb(var(--cu-accent-rgb) / 0.12);
}
body.tt-auth-page.cu-dark .auth-card-header .auth-logo{
  background:rgb(var(--cu-accent-rgb) / 0.18);
}
.auth-card-header .auth-logo img{
  width:34px;
  height:auto;
}
.auth-title{
  font-size:1.6rem;
  font-weight:700;
  color:var(--cu-text);
  margin-bottom:0.25rem;
}
.auth-subtitle{
  color:var(--cu-dim);
  font-size:0.95rem;
}
.auth-card-body{
  margin-top:24px;
}
.auth-tabs{
  background:var(--cu-surface-2);
  border-radius:14px;
  padding:6px;
  gap:8px;
  justify-content:center;
}
.auth-tabs .nav-link{
  border:none;
  border-radius:10px;
  color:var(--cu-dim);
  font-weight:600;
  padding:0.55rem 1rem;
  transition:all 0.2s ease-in-out;
}
.auth-tabs .nav-link:hover{
  color:var(--cu-text);
}
.auth-tabs .nav-link.active{
  background:var(--cu-accent);
  color:var(--cu-on-accent);
  box-shadow:0 12px 24px rgb(var(--cu-accent-rgb) / 0.26);
}
.auth-card .form-floating>.form-control{
  border-radius:14px;
  border:1px solid var(--cu-input-border);
  background:var(--cu-input-bg);
  color:var(--cu-input-text);
}
.auth-card .form-floating>label{
  color:var(--cu-dim);
}
.auth-card .form-floating>.form-control:focus{
  border-color:var(--cu-accent);
  box-shadow:0 0 0 0.25rem rgb(var(--cu-accent-rgb) / 0.18);
}
.auth-card .form-floating>.form-control:focus~label{
  color:var(--cu-accent);
}
.auth-alert{
  border-radius:14px;
  border:none;
}
.auth-helper{
  color:var(--cu-dim);
}
.auth-quick-actions{
  display:grid;
  gap:12px;
  margin-top:22px;
  padding-top:14px;
}
.auth-quick-action{
  position:relative;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:14px;
  align-items:center;
  padding:15px 16px;
  border-radius:18px;
  border:1px solid rgb(var(--cu-accent-rgb) / 0.18);
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.72), transparent 46%),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgb(var(--cu-accent-rgb) / 0.10));
  color:var(--cu-text);
  text-decoration:none;
  box-shadow:0 16px 28px rgba(15,23,42,0.08);
  overflow:hidden;
  transition:transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.auth-quick-action:hover{
  transform:translateY(-2px);
  border-color:rgb(var(--cu-accent-rgb) / 0.34);
  box-shadow:0 22px 38px rgba(15,23,42,0.12);
  color:var(--cu-text);
}
.auth-quick-action:focus-visible{
  outline:none;
  border-color:var(--cu-accent);
  box-shadow:0 0 0 0.25rem rgb(var(--cu-accent-rgb) / 0.16), 0 22px 38px rgba(15,23,42,0.12);
}
.auth-quick-action__icon{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  border-radius:16px;
  color:#fff;
  font-size:1.15rem;
  box-shadow:0 14px 24px rgba(15,23,42,0.16);
}
.auth-quick-action--public .auth-quick-action__icon{
  background:linear-gradient(135deg, var(--cu-accent-strong) 0%, var(--cu-accent) 100%);
}
.auth-quick-action__content{
  min-width:0;
}
.auth-quick-action__title{
  display:block;
  font-size:1rem;
  font-weight:700;
  line-height:1.2;
}
.auth-quick-action__arrow{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:999px;
  background:rgba(255,255,255,0.9);
  color:var(--cu-text);
  font-size:0.95rem;
  box-shadow:inset 0 0 0 1px rgb(var(--cu-accent-rgb) / 0.12);
}
body.tt-auth-page.cu-dark .auth-quick-action{
  border-color:rgb(var(--cu-accent-rgb) / 0.22);
  background:
    radial-gradient(circle at top right, rgb(var(--cu-accent-rgb) / 0.16), transparent 46%),
    linear-gradient(135deg, rgb(24 23 22 / 0.96), rgb(34 31 28 / 0.92));
  box-shadow:0 18px 34px rgba(2,6,23,0.32);
}
body.tt-auth-page.cu-dark .auth-quick-action:hover{
  border-color:rgb(var(--cu-accent-rgb) / 0.4);
  box-shadow:0 24px 42px rgba(2,6,23,0.42);
}
body.tt-auth-page.cu-dark .auth-quick-action__arrow{
  background:rgba(15,23,42,0.88);
  box-shadow:inset 0 0 0 1px rgb(var(--cu-accent-rgb) / 0.18);
}
.auth-footnote{
  color:var(--cu-dim);
  line-height:1.45;
}
.auth-submit{
  border-radius:14px;
  font-weight:600;
  padding:0.75rem 1rem;
  box-shadow:0 12px 24px rgb(var(--cu-accent-rgb) / 0.15);
}
.btn-outline-primary.auth-submit{
  box-shadow:none;
  border-color:rgb(var(--cu-accent-rgb) / 0.45);
  color:var(--cu-accent);
}
.btn-outline-primary.auth-submit:hover{
  background:var(--cu-accent);
  color:var(--cu-on-accent);
}
.tab-content>.tab-pane{
  animation:authFade 0.25s ease;
}
@keyframes authFade{
  from{
    opacity:0;
    transform:translateY(6px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}
@media (max-width:575.98px){
  .tt-auth-page .auth-shell{
    padding:36px 12px;
  }
  .auth-card{
    padding:28px 22px;
    border-radius:20px;
  }
  .auth-tabs{
    gap:6px;
  }
  .auth-quick-action{
    grid-template-columns:auto 1fr;
  }
  .auth-quick-action__arrow{
    display:none;
  }
}
