﻿.auth-screen {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0E1116;
  overflow: hidden;
}
.auth-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.auth-prism {
  width: 100%;
  height: 100%;
  opacity: 0.4;
}
.prism-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
  filter: blur(0px) brightness(1.1);
}
.auth-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.auth-box {
  background: rgba(18, 23, 34, 0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(36, 43, 58, 0.6);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7),
              0 0 80px rgba(0, 229, 255, 0.15);
}
.auth-header {
  text-align: center;
  margin-bottom: 32px;
}
.auth-logo {
  display: inline-flex;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 16px rgba(0, 229, 255, 0.3));
}
.auth-title {
  font-size: 32px;
  font-weight: 600;
  color: #E8ECF4;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.auth-subtitle {
  font-size: 14px;
  color: #A9B2C2;
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #161C2A;
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 24px;
}
.auth-tab {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #A9B2C2;
  transition: all 150ms;
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: inherit;
}
.auth-tab:hover {
  color: #E8ECF4;
}
.auth-tab.active {
  background: #0E1116;
  color: #E8ECF4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.auth-form {
  display: none;
}
.auth-form.active {
  display: block;
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #E8ECF4;
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: #161C2A;
  border: 1px solid #242B3A;
  border-radius: 12px;
  font-size: 15px;
  color: #E8ECF4;
  transition: all 150ms;
  font-family: inherit;
}
.form-input::placeholder {
  color: #6B7280;
}
.form-input:focus {
  outline: none;
  border-color: #00E5FF;
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}
.form-help {
  display: block;
  font-size: 12px;
  color: #6B7280;
  margin-top: 6px;
}
.auth-button {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  transition: all 150ms;
  margin-top: 24px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.auth-button.primary {
  background: linear-gradient(135deg, #00E5FF 0%, #3B82F6 100%);
  color: white;
  box-shadow: 0 2px 12px rgba(0, 229, 255, 0.3);
}
.auth-button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 229, 255, 0.4);
}
.auth-hint {
  text-align: center;
  font-size: 14px;
  color: #A9B2C2;
  margin-top: 20px;
}
.auth-link {
  color: #00E5FF;
  font-weight: 500;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
}
.auth-link:hover {
  color: #3B82F6;
  text-decoration: underline;
}
.auth-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  display: none;
}
.auth-message.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #EF4444;
}
.auth-footer {
  text-align: center;
}
.auth-footer p {
  font-size: 12px;
  color: #6B7280;
}
