.auth-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e9ecf1 100%);
}

:root[data-theme="dark"] .auth-screen {
  background: linear-gradient(135deg, #0f1419 0%, #1a232d 100%);
}

.auth-container {
  width: 100%;
  max-width: 420px;
}

.auth-card {
  border-radius: 20px;
  padding: 40px 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  animation: slideUp 0.4s ease-out;
}

:root[data-theme="dark"] .auth-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(20, 30, 48, 0.95) 0%, rgba(15, 20, 28, 0.95) 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-logo-img {
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.auth-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--text-1);
  letter-spacing: -0.5px;
}

.auth-subtitle {
  font-size: 14px;
  color: var(--text-2);
  margin: 0;
  font-weight: 500;
}

.auth-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #dc2626;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  margin-bottom: 20px;
}

:root[data-theme="dark"] .auth-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ff6b6b;
}

.auth-form {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-form input[type="text"],
.auth-form input[type="password"] {
  width: 100%;
  min-height: 44px;
  padding: 11px 14px 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-1);
  font-size: 14px;
  transition: all 0.2s ease;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
  padding-right: 44px;
}

:root[data-theme="dark"] .auth-form input[type="text"],
:root[data-theme="dark"] .auth-form input[type="password"] {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.auth-form input[type="text"]:focus,
.auth-form input[type="password"]:focus {
  outline: none;
  border-color: #e98a15;
  box-shadow: 0 0 0 3px rgba(233, 138, 21, 0.1);
}

.password-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: color 0.2s ease;
}

.password-toggle:hover {
  color: var(--text-1);
}

.eye-icon,
.eye-off-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.btn-block {
  width: 100%;
  margin-top: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, #e98a15 0%, #d97706 100%);
  color: white;
  border: none;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(233, 138, 21, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.auth-footer {
  font-size: 12px;
  color: var(--text-2);
  text-align: center;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .auth-screen {
    padding: 16px;
  }

  .auth-card {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .auth-header {
    margin-bottom: 24px;
  }

  .auth-logo-img {
    width: 50px;
    height: 50px;
  }

  .auth-header h1 {
    font-size: 24px;
  }

  .auth-form {
    gap: 14px;
  }

  .auth-form input[type="text"],
  .auth-form input[type="password"] {
    font-size: 16px;
  }
}
