:root {
  --bg-dark: #0B0A1E;
  --bg-card: rgba(23, 20, 52, 0.4);
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  --accent-indigo: #818CF8;
  --accent-pink: #F43F5E;
  --border-light: rgba(255, 255, 255, 0.08);
  --accent-danger: #EF4444;
  
  --font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-family);
  overflow: hidden;
  height: 100vh;
}

.auth-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* Background Blobs */
.auth-bg-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.blob {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
}
.blob-purple {
  top: 10%;
  left: 10%;
  background: var(--accent-indigo);
}
.blob-pink {
  bottom: 10%;
  right: 10%;
  background: var(--accent-pink);
}

/* Container */
.auth-container {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.auth-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.logo {
  margin-bottom: 8px;
}
.auth-header h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.auth-header p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Form Styles */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}
.form-group input, .form-group select {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 14px;
  transition: var(--transition);
}
.form-group select {
  cursor: pointer;
}
.form-group select option {
  background: var(--bg-dark);
  color: var(--text-primary);
}
.form-group input:focus, .form-group select:focus {
  border-color: var(--accent-indigo);
  outline: none;
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.error-msg {
  font-size: 12px;
  color: var(--accent-danger);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  padding: 10px 14px;
  border-radius: 8px;
}
.hidden {
  display: none !important;
}

.btn-submit {
  background: linear-gradient(135deg, var(--accent-indigo) 0%, var(--accent-pink) 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(129, 140, 248, 0.25);
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.auth-footer {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
}
.auth-footer a {
  color: var(--accent-indigo);
  text-decoration: none;
  font-weight: 600;
}
.auth-footer a:hover {
  text-decoration: underline;
}
