* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: #0a0e12; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0a0e12;
  color: #e7e9ea;
}
a { color: #ff9b00; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Auth page — стиль как на оригинале (MUI, зелёная тема) */
body.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #0a0e12;
}
.auth-card {
  width: 100%;
  max-width: 400px;
  background: #151b22;
  border-radius: 12px;
  padding: 32px;
  box-shadow: none;
  border: 1px solid #2f3336;
}
.auth-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}
.auth-logo-wrap { width: 40px; height: 40px; flex-shrink: 0; }
.auth-logo-text { font-size: 1rem; font-weight: 600; color: #fff; }
.auth-subtitle { font-size: 0.75rem; color: #8b98a5; display: block; margin-top: 2px; }
.auth-title { font-size: 1.5rem; font-weight: 600; color: #fff; margin-bottom: 4px; }
.auth-hint { font-size: 0.875rem; color: #8b98a5; margin-bottom: 24px; }

.auth-form .field { margin-bottom: 20px; }
.auth-form .field label {
  display: block;
  font-size: 0.875rem;
  color: #8b98a5;
  margin-bottom: 8px;
  position: relative;
}
.auth-form input {
  width: 100%;
  padding: 14px 14px;
  font-size: 0.875rem;
  border: 1px solid #2f3336;
  border-radius: 8px;
  background: #0f1419;
  color: #e7e9ea;
  outline: none;
  transition: border-color 0.2s;
}
.auth-form input::placeholder { color: #6e7a85; }
.auth-form input:focus { border-color: #ff9b00; outline: none; }
.auth-form .btn-primary {
  width: 100%;
  padding: 10px 22px;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  background: #ff9b00;
  color: #fff;
  cursor: pointer;
  margin-top: 8px;
}
.auth-form .btn-primary:hover { background: #e58a00; }
.auth-support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
  padding: 10px 22px;
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1px solid #ff9b00;
  border-radius: 8px;
  background: transparent;
  color: #ff9b00;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.auth-support:hover { background: rgb(255 155 0 / 10%); text-decoration: none; color: #ff9b00; }
.error-msg { color: #f4212e; font-size: 14px; margin-bottom: 16px; }

/* Общие стили для кнопок/ссылок в кабинете */
.btn-outline {
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.btn-outline:hover {
  border-color: #ff9b00;
  color: #ff9b00;
  background: rgb(255 155 0 / 8%);
  transform: translateY(-1px);
}
