/* ============================================
   REGISTER – Red/Black Premium
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

body {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #0b0b0b 0%, #1a1010 100%);
  font-family: 'Inter', system-ui, sans-serif;
}

.register-container {
  width: 90%;
  max-width: 420px;
  background: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

h2 {
  text-align: center;
  margin-bottom: 28px;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, #ff4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

form label {
  display: block;
  margin-bottom: 6px;
  color: #999;
  font-weight: 600;
  font-size: 0.85rem;
}

form input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  color: #f0f0f0;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
}
form input:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.35);
}

form button {
  width: 100%;
  padding: 12px;
  background: #dc2626;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(220,38,38,0.35);
}

form button:hover {
  background: #b91c1c;
  box-shadow: 0 6px 24px rgba(220,38,38,0.45);
}

p {
  text-align: center;
  margin-top: 20px;
  color: #999;
}

p a {
  color: #ef4444;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

p a:hover { color: #fff; }

/* Toast container */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  max-width: 360px;
  font-family: 'Inter', sans-serif;
}
.toast-success { background: linear-gradient(135deg, #059669, #22c55e); }
.toast-error   { background: linear-gradient(135deg, #dc2626, #ef4444); }
.toast-info    { background: linear-gradient(135deg, #374151, #6b7280); }
@keyframes toastIn  { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; transform: translateX(40px); } }
