/* ==========================================================================
   Modern Premium Registration Page Styles
   Theme: Glassmorphism + White / Blue / Purple Gradient
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700&family=Hind+Siliguri:wght@400;500;600;700&display=swap');

:root {
  --font-primary: 'Inter', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Poppins', 'Hind Siliguri', sans-serif;

  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --purple: #8b5cf6;
  --purple-hover: #7c3aed;
  --blue: #2563eb;
  --success: #10b981;

  --gradient-main: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #2563eb 100%);
  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 100%);
  --shadow-glow: 0 10px 25px -5px rgba(79, 70, 229, 0.4);
}

body.register-page-body {
  font-family: var(--font-primary);
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0f172a;
  position: relative;
  overflow-x: hidden;
  padding: 40px 16px;
}

/* Animated Mesh Orbs Background */
.register-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.register-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.5;
  animation: registerOrbFloat 22s ease-in-out infinite alternate;
}

.register-orb-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.6) 0%, rgba(79, 70, 229, 0.2) 70%);
  top: -120px;
  left: -100px;
}

.register-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.55) 0%, rgba(6, 182, 212, 0.2) 70%);
  bottom: -120px;
  right: -100px;
  animation-delay: -7s;
}

@keyframes registerOrbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 40px) scale(1.08); }
  100% { transform: translate(-30px, 60px) scale(0.95); }
}

/* Registration Wrapper */
.register-card-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 480px;
  margin: auto;
}

.register-card {
  background: var(--gradient-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  padding: 40px 36px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35), 0 0 40px rgba(99, 102, 241, 0.15);
  animation: cardEntrance 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Header */
.register-header {
  text-align: center;
  margin-bottom: 28px;
}

.register-logo {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
  margin-bottom: 16px;
  transition: transform 0.4s ease;
}

.register-logo:hover {
  transform: scale(1.08) rotate(-4deg);
}

.register-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.register-subtitle {
  font-size: 0.95rem;
  color: #64748b;
}

/* Stats Bar */
.register-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.register-stat-card {
  background: rgba(79, 70, 229, 0.05);
  border: 1px solid rgba(79, 70, 229, 0.12);
  border-radius: 14px;
  padding: 10px 8px;
  text-align: center;
  transition: all 0.25s ease;
}

.register-stat-card:hover {
  background: rgba(79, 70, 229, 0.1);
  transform: translateY(-2px);
}

.register-stat-icon {
  font-size: 1rem;
  margin-bottom: 2px;
}

.register-stat-label {
  font-size: 0.75rem;
  color: #64748b;
  display: block;
}

.register-stat-val {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: #0f172a;
}

/* Form Group & Inputs */
.form-group-reg {
  margin-bottom: 18px;
  position: relative;
}

.input-label-reg {
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
  display: block;
}

.input-icon-wrapper-reg {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-reg {
  position: absolute;
  left: 16px;
  color: #94a3b8;
  font-size: 1rem;
  transition: color 0.3s ease;
  pointer-events: none;
}

.input-modern-reg {
  width: 100%;
  padding: 13px 44px 13px 44px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  font-size: 0.925rem;
  color: #0f172a;
  transition: all 0.3s ease;
}

.input-modern-reg:focus {
  background: #ffffff;
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.input-modern-reg:focus + .input-icon-reg,
.input-icon-wrapper-reg:focus-within .input-icon-reg {
  color: var(--primary);
}

.password-toggle-reg {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1rem;
  cursor: pointer;
  padding: 4px;
  transition: color 0.25s ease;
}

.password-toggle-reg:hover {
  color: #475569;
}

/* Password Strength Bar */
.strength-meter-wrap {
  margin-top: 6px;
}

.strength-bar-bg {
  height: 4px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
}

.strength-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.strength-label-text {
  font-size: 0.75rem;
  text-align: right;
  margin-top: 2px;
  font-weight: 600;
}

/* CAPTCHA Box */
.captcha-box-wrap {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  border-radius: 14px;
  padding: 12px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(30, 27, 75, 0.2);
}

.captcha-display-text {
  font-family: 'Courier New', monospace;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 8px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.btn-refresh-captcha {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  transition: color 0.2s ease;
}

.btn-refresh-captcha:hover {
  color: var(--purple-hover);
}

/* Submit Button */
.btn-reg-submit {
  width: 100%;
  padding: 14px;
  background: var(--gradient-main);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: var(--shadow-glow);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-reg-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(79, 70, 229, 0.5);
  color: #ffffff;
}

/* Support Card */
.support-card-custom {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  margin-top: 20px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.btn-whatsapp-support {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  border-radius: 12px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-support:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.45);
}

/* Footer Link */
.register-footer-text {
  text-align: center;
  margin-top: 20px;
  font-size: 0.875rem;
  color: #64748b;
}

.login-redirect-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.login-redirect-link:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .register-card {
    padding: 28px 20px;
    border-radius: 22px;
  }
}
