/* =========================================
   REGISTER PAGE STYLES
========================================= */

:root {
  --navy: #0d2b5e;
  --blue: #1e4d8c;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  font-family: 'DM Sans', sans-serif;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 50%, var(--navy) 100%);
  position: relative;
  overflow-x: hidden;
}

/* --- Animated Background Blobs --- */
body::before {
  content: '';
  position: fixed;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(46,204,113,0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

body::after {
  content: '';
  position: fixed;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -80px;
  left: -80px;
  animation: float 10s ease-in-out infinite reverse;
}

.blob {
  position: fixed;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(30,77,140,0.4) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 20%;
  animation: float 12s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes float {
  0%   { transform: translateY(0px) translateX(0px); }
  50%  { transform: translateY(-30px) translateX(20px); }
  100% { transform: translateY(0px) translateX(0px); }
}

/* --- Form Layout & Controls --- */
.register-wrapper {
  width: 100%;
  max-width: 900px; 
  position: relative;
  z-index: 1;
}

.form-control,
.form-select {
  background: rgba(13, 43, 94, 0.02);
  border: 1.5px solid rgba(13, 43, 94, 0.1);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: all 0.2s;
  color: #1c1c1c;
}

.form-control:focus,
.form-select:focus {
  border-color: #2ecc71;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.15);
}

.form-control::placeholder { 
  color: #9ca3af; 
}

/* --- Custom Button --- */
.btn-register {
  background: linear-gradient(135deg, #2ecc71, #1e8449);
  color: #fff;
  border: none;
  padding: 0.9rem;
  border-radius: 10px;
  font-weight: 700;
  width: 100%;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-register:hover { 
  background: linear-gradient(135deg, #28b765, #196f3d);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(46, 204, 113, 0.25) !important;
}

/* =========================================
   MOBILE RESPONSIVENESS 
========================================= */
@media (max-width: 991px) {
  .register-wrapper {
    max-width: 600px;
  }
}

@media (max-width: 767px) {
  body {
    
    display: block; 
    padding: 3rem 1rem;
  }

  body::before {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -50px;
  }

  body::after {
    width: 250px;
    height: 250px;
    bottom: -40px;
    left: -40px;
  }

  .blob {
    width: 200px;
    height: 200px;
    left: 5%;
  }

  .form-control,
  .form-select {
    padding: 0.7rem 0.85rem;
    font-size: 0.9rem;
  }

  .btn-register {
    padding: 0.85rem;
    font-size: 1rem;
  }
}