:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

body {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.auth-container {
  max-width: 500px;
  margin: 2rem auto;
}

.auth-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.brand-header {
  background: var(--primary-gradient);
  padding: 2rem;
  text-align: center;
  color: white;
}

.brand-header h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.brand-header p {
  margin: 0.5rem 0 0 0;
  opacity: 0.9;
}

.nav-tabs {
  border-bottom: none;
  justify-content: center;
  margin-top: 1.5rem;
}

.nav-tabs .nav-link {
  border: none;
  color: #667eea;
  font-weight: 600;
  padding: 0.75rem 2rem;
  margin: 0 0.5rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
  background-color: rgba(102, 126, 234, 0.1);
}

.nav-tabs .nav-link.active {
  background: var(--primary-gradient);
  color: white;
}

.form-control,
.form-select {
  border-radius: 10px;
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.input-group-text {
  background-color: #f8f9fa;
  border: 2px solid #e0e0e0;
  border-radius: 10px 0 0 10px;
  border-right: none;
}

.input-group .form-control {
  border-left: none;
  border-radius: 0 10px 10px 0;
}

.btn-primary {
  background: var(--primary-gradient);
  border: none;
  border-radius: 10px;
  padding: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.captcha-box {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  margin-bottom: 1rem;
  border: 2px solid #e0e0e0;
}

.captcha-text {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 8px;
  color: #333;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  font-family: 'Courier New', monospace;
  user-select: none;
  background: linear-gradient(45deg, #667eea, #764ba2, #f093fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.refresh-captcha {
  cursor: pointer;
  color: #667eea;
  transition: all 0.3s ease;
}

.refresh-captcha:hover {
  transform: rotate(180deg);
}

.form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.tab-content {
  padding: 2rem;
}

.password-toggle {
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 43px;
  color: #667eea;
  font-size: 20px;
}

.position-relative {
  position: relative;
}