:root {
  color-scheme: dark;
  font-family: "Manrope", "Segoe UI", sans-serif;
  --login-bg: var(--veyro-navy);
  --login-ink: var(--veyro-text-on-dark);
  --login-muted: var(--veyro-muted-on-dark);
  --login-accent: var(--veyro-teal);
  --login-panel: var(--veyro-surface);
  --login-panel-ink: var(--veyro-ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
svg { display: block; }
::selection { color: #0c1627; background: #2de2cf; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-filled { fill: currentColor; stroke: none; }

.login-page {
  min-height: 100vh;
  min-height: 100svh;
  color: var(--login-ink);
  background:
    radial-gradient(ellipse at 26% 62%, rgba(49, 189, 253, .12), transparent 42%),
    var(--login-bg);
  -webkit-font-smoothing: antialiased;
}

.login-frame { max-width: 1320px; min-height: 100svh; margin: 0 auto; padding: 0 60px; display: flex; flex-direction: column; }
.login-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 0; border-bottom: 1px solid #ffffff12; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark { width: 42px; height: 42px; display: block; object-fit: contain; border-radius: 11px; }
.brand-name { font-size: 22px; font-weight: 800; letter-spacing: -.8px; }
.brand-divider { width: 1px; height: 23px; margin: 0 6px; background: #ffffff26; }
.brand-caption { color: #a5b7c9; font-size: 12px; font-weight: 500; }
.header-access { display: inline-flex; align-items: center; gap: 9px; color: #a5b7c9; font-size: 11px; }
.header-access .icon { width: 14px; height: 14px; }

.login-layout { flex: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 74px; padding: 50px 0; }
.login-intro { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; color: #c8ddea; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.eyebrow-line { width: 23px; height: 2px; background: var(--login-accent); }
.login-intro h1 { margin: 0; font-size: clamp(36px, 4.25vw, 59px); font-weight: 500; line-height: 1.15; letter-spacing: -2.8px; }
.login-intro h1 span { color: var(--login-accent); }
.intro-description { margin: 24px 0 0; color: var(--login-muted); font-size: 14px; line-height: 1.9; }

.security-visual { position: relative; width: min(100%, 510px); height: 306px; margin-top: 19px; isolation: isolate; background: radial-gradient(ellipse at 49% 46%, #3bcddd10, transparent 65%); }
.security-visual::before { content: ""; position: absolute; inset: 20px 18px 40px; background-image: linear-gradient(#ffffff07 1px, transparent 1px), linear-gradient(90deg, #ffffff07 1px, transparent 1px); background-size: 24px 24px; mask-image: radial-gradient(ellipse, black, transparent 70%); }
.orbit { position: absolute; top: 46%; left: 49%; border: 1px solid #64d5df1b; border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-outer { width: 280px; height: 280px; border-style: dashed; }
.orbit-inner { width: 206px; height: 206px; border-color: #64d5df25; }
.orbit-axis { position: absolute; top: 46%; left: 10%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, #64d5df26, transparent); transform: rotate(-23deg); }
.orbit-dot { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #65d5d4; box-shadow: 0 0 14px #64d5df50; }
.orbit-dot-one { top: 38px; left: 28%; }
.orbit-dot-two { top: 208px; right: 29%; width: 5px; height: 5px; background: #456d76; }
.shield-core { position: absolute; top: 46%; left: 49%; width: 116px; height: 116px; display: grid; place-items: center; color: var(--login-accent); transform: translate(-50%, -50%) rotate(-8deg); border-radius: 30px; border: 1px solid #2de2cf40; background: linear-gradient(145deg, #173d47, #102530); box-shadow: 8px 9px 0 #0c100da0, 0 20px 50px #00000040, inset 0 1px 0 #b3fbef2b; }
.veyro-core-logo { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.visual-tag { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 13px 11px 11px; color: #d4e6e9; font-size: 11px; font-weight: 500; border: 1px solid #8ebac720; border-radius: 12px; background: #14232e; box-shadow: 0 12px 24px #00000025; }
.tag-icon { display: grid; place-items: center; width: 27px; height: 27px; background: #2de2cf10; border: 1px solid #2de2cf12; border-radius: 7px; color: #2de2cf; }
.tag-icon .icon { width: 16px; height: 16px; }
.tag-dot { width: 4px; height: 4px; border-radius: 50%; margin-left: 10px; background: #65d5d4; }
.tag-moderation { top: 37px; left: 6%; transform: rotate(-5deg); }
.tag-tickets { top: 94px; right: 0; transform: rotate(5deg); }
.tag-monitoring { top: 214px; left: 12%; transform: rotate(-3deg); }
.visual-caption { position: absolute; bottom: 3px; left: 49%; transform: translateX(-50%); white-space: nowrap; color: #8fa9be; font-size: 10px; letter-spacing: .4px; }

.access-panel { width: 100%; max-width: 468px; justify-self: end; padding: 35px; color: var(--login-panel-ink); background: var(--login-panel); border: 1px solid #ffffff90; border-radius: 25px; box-shadow: 0 28px 80px #00000030; color-scheme: light; animation: panel-enter .55s ease-out both; }
.panel-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 27px; }
.panel-label { font-size: 10px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; }
.panel-step { color: #526a7d; font-size: 9px; font-weight: 600; letter-spacing: 1px; }
.access-panel h2 { margin: 0; font-size: 44px; line-height: 1.09; letter-spacing: -1.9px; font-weight: 600; }
.panel-description { margin: 17px 0 25px; color: #526a7d; font-size: 13px; line-height: 1.8; }
.access-options { display: grid; gap: 11px; }
.access-choice { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr) 20px; align-items: center; gap: 13px; padding: 19px 17px; border: 1px solid #d2dfdb; border-radius: 13px; text-decoration: none; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.access-choice-primary { background: var(--login-accent); border-color: #2bcaba; }
.choice-icon { width: 38px; height: 40px; display: grid; place-items: center; border: 1px solid #18302c17; border-radius: 10px; color: #265b55; background: #ffffff36; }
.choice-icon .icon { width: 21px; height: 21px; }
.choice-content { display: grid; min-width: 0; gap: 5px; }
.choice-content h3 { margin: 0; font-size: 14px; font-weight: 800; line-height: 1.4; }
.choice-role { color: #234f59; font-size: 11px; line-height: 1.5; }
.choice-action { display: flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 11px; font-weight: 800; }
.choice-action .icon { width: 12px; height: 12px; }
.choice-arrow { width: 18px; height: 18px; color: #3e635e; transition: transform .18s ease; }
.access-choice:hover { transform: translateY(-2px); border-color: #83b5ad; background: #e5f0ed; box-shadow: 0 5px 14px #18302c0b; }
.access-choice-primary:hover { background: #22d5c2; border-color: #169e94; }
.access-choice:hover .choice-arrow { transform: translateX(3px); }
.access-choice:active { transform: translateY(0); }
.access-choice:focus-visible { outline: 3px solid #245e59; outline-offset: 4px; }
.login-error { margin-bottom: 18px; padding: 13px 15px; border: 1px solid #dfb5ac; border-radius: 10px; color: #8e3428; background: #faeae5; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.access-unavailable { padding: 20px; border: 1px dashed #aec8d9; border-radius: 13px; background: #e9f4f8; }
.access-unavailable .icon { margin-bottom: 13px; color: #526a7d; }
.access-unavailable h3 { margin: 0 0 8px; font-size: 14px; }
.access-unavailable p { margin: 0; color: #526a7d; font-size: 12px; line-height: 1.8; }
.auth-provider { display: flex; align-items: center; gap: 12px; margin: 24px 0 18px; }
.auth-provider > span:nth-child(2) { display: flex; align-items: center; gap: 7px; color: #526a7d; white-space: nowrap; font-size: 11px; }
.auth-provider .icon { width: 15px; height: 15px; }
.provider-line { height: 1px; background: #d8e3df; flex: 1; }
.access-note { display: flex; align-items: flex-start; justify-content: center; gap: 8px; margin: 0; color: #526a7d; font-size: 11px; line-height: 1.8; text-align: center; }
.access-note .icon { width: 13px; height: 13px; margin-top: 3px; }

.login-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 0 26px; color: #8fa9be; border-top: 1px solid #ffffff12; font-size: 10px; letter-spacing: .2px; }
.footer-dot { padding: 0 8px; color: #7294ad; }
.skip-link { position: absolute; z-index: 5; top: 12px; left: 12px; padding: 12px 18px; border-radius: 8px; color: #0c1627; background: var(--login-accent); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.access-panel:focus-visible { outline: 2px solid var(--login-accent); outline-offset: 5px; }

@keyframes panel-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1500px) {
  .login-intro h1 { font-size: 61px; }
  .login-layout { gap: 95px; }
}

@media (max-width: 1100px) {
  .login-frame { padding: 0 36px; }
  .login-layout { gap: 36px; }
  .login-intro h1 { font-size: 45px; letter-spacing: -2px; }
  .access-panel { padding: 29px; }
  .security-visual { height: 282px; }
  .orbit-outer { width: 250px; height: 250px; }
  .orbit-inner { width: 182px; height: 182px; }
  .visual-tag { gap: 7px; padding: 9px; font-size: 10px; }
  .tag-dot { margin-left: 3px; }
  .tag-moderation { left: 0; }
  .tag-monitoring { top: 199px; left: 2%; }
}

@media (max-height: 800px) and (min-width: 851px) {
  .login-header { padding: 20px 0; }
  .login-layout { padding: 18px 0; }
  .access-panel { padding: 26px; }
  .panel-topline { margin-bottom: 20px; }
  .access-panel h2 { font-size: 38px; }
  .panel-description { margin: 14px 0 20px; font-size: 12px; }
  .access-choice { padding: 15px 14px; }
  .auth-provider { margin: 20px 0 14px; }
  .security-visual { height: 230px; margin-top: 12px; }
  .orbit-outer { width: 224px; height: 224px; }
  .orbit-inner { width: 170px; height: 170px; }
  .shield-core { width: 102px; height: 102px; }
  .tag-moderation { top: 18px; }
  .tag-tickets { top: 68px; }
  .tag-monitoring { top: 160px; }
  .orbit-dot-one { top: 16px; }
  .orbit-dot-two { top: 162px; }
  .login-footer { padding: 16px 0 18px; }
}

@media (max-width: 850px) {
  .login-frame { max-width: 640px; padding: 0 32px; }
  .login-header { padding: 26px 0; }
  .header-access { display: none; }
  .login-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; padding: 38px 0; }
  .eyebrow { margin-bottom: 17px; }
  .login-intro h1 { font-size: 44px; }
  .intro-description { margin-top: 17px; font-size: 13px; }
  .security-visual { display: none; }
  .access-panel { max-width: none; justify-self: stretch; padding: 32px; }
  .access-panel h2 br { display: none; }
  .access-panel h2 { font-size: 36px; }
  .panel-topline { margin-bottom: 22px; }
}

@media (max-width: 480px) {
  .login-frame { padding: 0 22px; }
  .login-header { padding: 22px 0; }
  .brand { gap: 10px; }
  .brand-mark { width: 37px; height: 37px; border-radius: 9px; }
  .brand-name { font-size: 20px; }
  .brand-caption { font-size: 10px; }
  .brand-divider { margin: 0 1px; height: 19px; }
  .login-layout { gap: 28px; padding: 34px 0; }
  .eyebrow { font-size: 9px; letter-spacing: 1.4px; }
  .login-intro h1 { font-size: clamp(28px, 8.2vw, 39px); line-height: 1.2; letter-spacing: -1.6px; }
  .intro-description { font-size: 12px; line-height: 1.8; }
  .desktop-break { display: none; }
  .access-panel { padding: 26px 22px; border-radius: 20px; }
  .access-panel h2 { font-size: 31px; letter-spacing: -1.3px; }
  .panel-description { margin: 14px 0 21px; }
  .panel-label { font-size: 9px; letter-spacing: 1.4px; }
  .panel-step { font-size: 8px; }
  .access-choice { padding: 17px 13px; gap: 10px; grid-template-columns: 34px minmax(0, 1fr) 16px; }
  .choice-icon { width: 34px; height: 37px; }
  .choice-content h3 { font-size: 13px; }
  .choice-role { font-size: 10px; }
  .choice-arrow { width: 16px; height: 16px; }
  .auth-provider { gap: 8px; }
  .auth-provider > span:nth-child(2) { font-size: 10px; }
  .login-footer { align-items: flex-start; font-size: 9px; line-height: 1.7; gap: 15px; padding: 20px 0; }
  .login-footer > span:last-child { max-width: 115px; text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (forced-colors: active) {
  .access-choice, .brand-mark, .access-panel { border: 1px solid CanvasText; }
  .access-choice:focus-visible { outline-color: Highlight; }
  .provider-line, .eyebrow-line { background: CanvasText; }
}
