/* =======================================================
   BOTTELX AUTH FORMS (Signup / Login)
   ======================================================= */

:root {
  --bg-dark: #0b0b0b;
  --bg-box: #151515;
  --accent: #e50914;
  --accent-hover: #ff2b38;
  --text: #f2f2f2;
  --border: #222;
  --radius: 10px;
  --transition: .3s ease-in-out;
}

body {
  font-family: Vazir, Tahoma, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  margin: 0;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.auth-container {
  width: 100%;
  max-width: 480px;
  background: var(--bg-box);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: 0 0 25px rgba(229,9,20,0.15);
  border: 1px solid var(--border);
  text-align: center;
}

.auth-container h2 {
  color: var(--accent);
  margin-bottom: 25px;
  text-shadow: 0 0 10px rgba(229,9,20,.6);
}

input {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border-radius: var(--radius);
  border: 1px solid #333;
  background: #0e0e0e;
  color: var(--text);
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}

input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(229,9,20,.3);
}

button {
  width: 100%;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius);
  padding: 12px;
  margin-top: 10px;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
  box-shadow: 0 0 15px rgba(229,9,20,.35);
}

button:hover {
  background: var(--accent-hover);
}

.success, .error {
  padding: 15px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  text-align: left;
}

.success {
  background: #0f2610;
  color: #6cff89;
  border: 1px solid #204e23;
}

.error {
  background: #2a0d0d;
  color: #ff6b6b;
  border: 1px solid #5a1e1e;
}

.api-key {
  background: #0d0d0d;
  border: 1px dashed #333;
  color: #f5f5f5;
  padding: 12px;
  border-radius: var(--radius);
  margin: 10px 0;
  font-family: monospace;
  word-break: break-all;
}

.note {
  background: #111;
  color: #bbb;
  border: 1px solid #1f1f1f;
  border-radius: var(--radius);
  margin-top: 25px;
  padding: 10px;
  font-size: .9rem;
}

.back-home {
  display: inline-block;
  margin-top: 30px;
  text-decoration: none;
  color: var(--accent);
  font-weight: bold;
  transition: var(--transition);
}

.back-home:hover {
  color: var(--accent-hover);
  text-shadow: 0 0 10px rgba(229,9,20,.5);
}
