/* === Authentication Screen === */

#screen-auth.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  min-height: 100vh;
}

.auth-container {
  max-width: 400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.auth-header {
  text-align: center;
  margin-bottom: 8px;
}

.auth-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--color-text), var(--color-text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-subtitle {
  font-size: 14px;
  color: var(--color-text-muted);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.auth-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  font-size: 15px;
  color: var(--color-text);
  transition: all var(--transition-fast);
  outline: none;
}

.auth-input:focus {
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.auth-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.btn-auth-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  margin-top: 8px;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 13px;
  margin: 8px 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--color-border);
}

.auth-divider::before {
  margin-right: 12px;
}

.auth-divider::after {
  margin-left: 12px;
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 14px;
  border-radius: var(--radius-lg);
  color: var(--color-text);
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-google:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.google-icon {
  width: 20px;
  height: 20px;
}

.auth-footer {
  text-align: center;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 8px;
}

.auth-link {
  color: var(--color-accent);
  font-weight: 600;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.auth-link:hover {
  color: #7a85ff;
  text-decoration: underline;
}

.auth-error-msg {
  color: var(--color-danger);
  font-size: 13px;
  text-align: center;
  min-height: 18px;
  font-weight: 500;
}
