/*
 * login.css — ControlDeskPanel | CTAS Login
 * =====================================================================
 * Project  : ControlDeskPanel by CTPF Certthor Platforms Ltd.
 * Author   : MikeGeorg / Senior Full-Stack Developer
 * Version  : 1.0.0 2026-08-25 10:18:12 +0200 CEST CTAS login styles, whole px only — by MikeGeorg
 * Updated  : 1.0.1 2026-08-25 10:30:57 +0200 CEST Password eye toggle and forgot-password link — by MikeGeorg
 * Updated  : 1.0.2 2026-08-25 10:39:27 +0200 CEST Login locked to 100vh, no scroll, logo stays 200px — by MikeGeorg
 * Layout   : core/assets/css/login.css
 * Infos    : C-Muster asset. No rem. Colors: #131b25 #1c2434 #2d3340 #3bd671 #e6eaeb
 */

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 35%, rgba(59, 214, 113, 0.08), transparent 400px),
    linear-gradient(145deg, #131b25, #1c2434);
  color: #e6eaeb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.ctas {
  box-sizing: border-box;
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
}
.ctas-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 420px;
  max-height: 100%;
}
.ctas-intro {
  text-align: center;
  margin: 0 0 8px;
}
.ctas-logo {
  display: block;
  width: 200px;
  height: 200px;
  margin: 0 auto 8px;
  object-fit: contain;
  background: transparent;
  flex-shrink: 0;
}
.ctas-intro h1 {
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  color: #e6eaeb;
}
.ctas-card {
  box-sizing: border-box;
  background: #1c2434;
  border: 1px solid #2d3340;
  border-radius: 0;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  padding: 14px 20px;
}
.ctas-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
}
.ctas-head h2 {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
}
.ctas-lang {
  margin: 0;
  display: flex;
  gap: 8px;
}
.ctas-lang a {
  color: #e6eaeb;
  text-decoration: none;
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  padding: 4px 8px;
  border: 1px solid #2d3340;
  background: #131b25;
}
.ctas-lang a[aria-current="true"] {
  color: #131b25;
  background: #3bd671;
  border-color: #3bd671;
}
.ctas-err {
  margin: 0 0 12px;
  padding: 10px 12px;
  background: #3a1c22;
  border: 1px solid #8a2b38;
  color: #ffd0d4;
  font-size: 14px;
  line-height: 20px;
}
.ctas-label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
}
.ctas-field {
  display: flex;
  align-items: center;
  margin: 0 0 8px;
  border: 1px solid #2d3340;
  background: #131b25;
}
.ctas-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #3bd671;
  flex-shrink: 0;
}
.ctas-field input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 0;
  background: transparent;
  color: #e6eaeb;
  font-size: 15px;
  line-height: 20px;
  padding: 0 12px 0 12px;
  outline: none;
}
.ctas-field input:-webkit-autofill,
.ctas-field input:-webkit-autofill:hover,
.ctas-field input:-webkit-autofill:focus,
.ctas-field input:-webkit-autofill:active {
  -webkit-text-fill-color: #e6eaeb;
  -webkit-box-shadow: 0 0 0 1000px #131b25 inset;
  box-shadow: 0 0 0 1000px #131b25 inset;
  caret-color: #e6eaeb;
  transition: background-color 9999s ease-in-out 0s;
}
.ctas-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #3bd671;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.ctas-toggle:hover,
.ctas-toggle[aria-pressed="true"] {
  color: #32c264;
}
.ctas-forgot {
  margin: -2px 0 8px;
  text-align: right;
}
.ctas-forgot a {
  color: #3bd671;
  font-size: 13px;
  line-height: 18px;
  text-decoration: none;
}
.ctas-forgot a:hover {
  text-decoration: underline;
}
.ctas-ok {
  margin: 0 0 12px;
  padding: 10px 12px;
  background: #16351f;
  border: 1px solid #2d6a3d;
  color: #c8f0d4;
  font-size: 14px;
  line-height: 20px;
}
.ctas-hint {
  margin: -4px 0 10px;
  font-size: 12px;
  line-height: 16px;
  color: #9aa3ad;
}
.ctas-submit {
  display: block;
  width: 100%;
  height: 40px;
  border: 0;
  background: #3bd671;
  color: #131b25;
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
  cursor: pointer;
}
.ctas-submit:hover {
  background: #32c264;
}
.ctas-legal {
  margin: 8px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 16px;
  color: #9aa3ad;
}
