/* ==== PAGE BACKGROUND ==== */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f4f6fb;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
   min-height: auto !important;
  display: block !important;
}

/* ==== WRAPPER ==== */
.auth-wrapper {
  display: flex;
  width: 850px;
  max-width: 95%;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
 margin: 100px auto 50px auto;  /* top margin from 80px → 100px */
}

/* ==== LEFT PANEL (SLIDER) ==== */
.auth-left {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2d4eff, #7b9fff);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ==== SLIDE ==== */
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateX(100%);
  transition: all 1.8s ease-in-out;
}
.slide.active {
  opacity: 1;
  transform: translateX(0);
}
.slide.prev {
  opacity: 0;
  transform: translateX(-100%);
}

/* ==== IMAGE ==== */
.slide img {
  width: 65%;
  max-width: 260px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ==== TEXT ==== */
.slide-content {
  color: #fff;
  text-align: center;
  margin-top: 20px;
}
.slide-content h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}
.slide-content p {
  font-size: 14px;
  opacity: 0.9;
}

/* ==== DOTS ==== */
.slider-dots {
  display: none; /* 👈 Hidden dots */
}
.slider-dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 5px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}
.slider-dots span.active {
  background: #fff;
  width: 10px;
  height: 10px;
}

/* ==== RIGHT PANEL ==== */
.auth-right {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-height: 600px;
}
.auth-right h3 {
  text-align: center;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 25px;
  color: #1e1e1e;
}

/* ==== SOCIAL BUTTONS ==== */
.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dcdcdc;
  border-radius: 12px;
  padding: 10px;
  background: #fff;
  color: #333;
  font-weight: 500;
  margin-bottom: 12px;
  transition: 0.3s;
  cursor: pointer;
  text-decoration: none;
}
.btn-social img,
.btn-social i {
  width: 20px;
  margin-right: 10px;
  font-size: 18px;
}
.btn-social:hover {
  background: #f7f7f7;
  text-decoration: none;
}

/* ==== DIVIDER ==== */
.or-divider {
  text-align: center;
  color: #888;
  margin: 15px 0;
  position: relative;
}
.or-divider::before,
.or-divider::after {
  content: "";
  height: 1px;
  width: 30%;
  background: #ccc;
  position: absolute;
  top: 50%;
}
.or-divider::before { left: 0; }
.or-divider::after { right: 0; }

/* ==== FLOATING INPUTS ==== */
.input-box {
  position: relative;
  margin-bottom: 20px;
}
.input-box i {
  position: absolute;
  left: 14px;
  top: 15px;
  color: #888;
  font-size: 18px;
}
.input-box input {
  width: 100%;
  padding: 12px 15px 12px 42px;
  border: 1.8px solid #ccc;
  border-radius: 10px;
  background: transparent;
  font-size: 15px;
  outline: none;
  transition: 0.3s;
}
.input-box input:focus {
  border-color: #2d4eff;
  box-shadow: 0 0 6px rgba(45,78,255,0.2);
}
.input-box label {
  position: absolute;
  top: 12px;
  left: 42px;
  color: #888;
  font-size: 15px;
  pointer-events: none;
  transition: 0.2s;
  background: #fff;
  padding: 0 5px;
}
.input-box input:focus + label,
.input-box input:not(:placeholder-shown) + label {
  top: -8px;
  left: 38px;
  font-size: 12px;
  color: #2d4eff;
}

/* ==== BUTTON ==== */
.btn-primary {
  background-color: #2d4eff;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  padding: 12px;
  width: 100%;
  cursor: pointer;
  transition: 0.3s;
}
.btn-primary:hover {
  background-color: #1b34b8;
}

/* ==== FOOTER ==== */
.text-small {
  text-align: center;
  font-size: 14px;
  margin-top: 15px;
}
.text-small a {
  color: #2d4eff;
  text-decoration: none;
}
.text-small a:hover {
  text-decoration: underline;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  .auth-wrapper {
    flex-direction: column;
    width: 90%;
    margin: 90px auto;
  }
  .auth-left {
    height: 250px;
  }
}

/* =================================================================== */
/* ===================== REGISTER PAGE STYLES ======================== */
/* =================================================================== */

.register-section {
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.07);
  overflow: hidden;
  max-width: 950px;
  width: 85%;
  min-height: 520px;
  margin: 40px 20px;
}

/* ========= Left Side ========= */
.register-left {
  flex: 1;
  background: linear-gradient(135deg, #e8f0fe, #f1f5f9);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  text-align: center;
  overflow: hidden;
}
.register-left h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  z-index: 2;
  position: relative;
}
.register-left p {
  color: #444;
  font-size: 0.95rem;
  margin-top: 8px;
  z-index: 2;
  position: relative;
}
.register-left a {
  color: #5e72e4;
  text-decoration: none;
  font-weight: 600;
  z-index: 2;
  position: relative;
}

/* ========= Bubbles ========= */
.bubbles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.bubbles span {
  position: absolute;
  bottom: -150px;
  border-radius: 50%;
  animation: rise 20s infinite ease-in;
  opacity: 0.6;
}
.bubbles span:nth-child(1) {
  left: 10%;
  width: 80px; height: 80px;
  background: radial-gradient(circle at top left, #eb9825ff, #dd8568ff);
  animation-duration: 22s;
}
.bubbles span:nth-child(2) {
  left: 30%;
  width: 110px; height: 110px;
  background: radial-gradient(circle at top right, #a1c4fd, #c2e9fb);
  animation-duration: 26s;
  animation-delay: 3s;
}
.bubbles span:nth-child(3) {
  left: 55%;
  width: 90px; height: 90px;
  background: radial-gradient(circle at bottom, #d4fc79, #96e6a1);
  animation-duration: 24s;
  animation-delay: 5s;
}
.bubbles span:nth-child(4) {
  left: 75%;
  width: 70px; height: 70px;
  background: radial-gradient(circle at top left, #fbc2eb, #a6c1ee);
  animation-duration: 20s;
  animation-delay: 7s;
}
.bubbles span:nth-child(5) {
  left: 85%;
  width: 50px; height: 50px;
  background: radial-gradient(circle at bottom, #fff1eb, #ace0f9);
  animation-duration: 18s;
  animation-delay: 9s;
}

@keyframes rise {
  0% { transform: translateY(0) scale(1); opacity: 0.8; }
  50% { opacity: 0.5; }
  100% { transform: translateY(-900px) scale(1.2); opacity: 0; }
}

/* ========= Right Side ========= */
.register-right {
  flex: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
}
.card {
  width: 100%;
  max-width: 340px;
  border: none;
  border-radius: 20px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  background: #fff;
  padding: 25px 30px;
}
.card h3 {
  font-weight: 700;
  color: #111;
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.4rem;
}

/* ========= Floating Input Style ========= */
.form-floating {
  position: relative;
  margin-bottom: 1rem;
}
.input-icon {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon i {
  position: absolute;
  left: 14px;
  color: #666;
  font-size: 1rem;
  z-index: 2;
  transition: color 0.3s ease;
}
.input-icon input {
  border-radius: 10px;
  border: 1px solid #ddd;
  padding: 12px 14px 12px 40px;
  background: #fafafa;
  transition: all 0.3s ease;
  width: 100%;
  font-size: 0.95rem;
}
.input-icon input:focus {
  border-color: #5e72e4;
  box-shadow: 0 0 6px rgba(94,114,228,0.2);
  background: #fff;
}
.input-icon input:focus + label,
.input-icon input:not(:placeholder-shown) + label {
  top: -8px;
  left: 40px;
  background: #fff;
  padding: 0 6px;
  font-size: 0.75rem;
  color: #5e72e4;
}
.input-icon input:focus ~ i {
  color: #5e72e4;
}
.input-icon label {
  position: absolute;
  top: 12px;
  left: 40px;
  color: #777;
  background: transparent;
  transition: 0.2s ease all;
  pointer-events: none;
  font-size: 0.9rem;
}

/* ========= Button ========= */
.btn-success {
  background: linear-gradient(90deg, #5e72e4, #825ee4);
  border: none;
  padding: 10px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  transition: 0.3s;
  color: #fff;
  width: 100%;
}
.btn-success:hover {
  opacity: 0.9;
  box-shadow: 0 0 10px rgba(94,114,228,0.3);
}
.card p {
  text-align: center;
  color: #555;
  margin-top: 15px;
  font-size: 0.9rem;
}

/* ========= Responsive ========= */
@media (max-width: 768px) {
  .register-section {
    flex-direction: column;
    margin: 20px;
    min-height: auto;
  }
  .register-left, .register-right {
    width: 100%;
    padding: 30px 20px;
  }
  .card {
    max-width: 100%;
  }
}
/* =================================================================== */
/* ===================== FORGOT PASSWORD STYLES ====================== */
/* =================================================================== */

.forgot-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 120px);
  padding: 40px 20px;
}

.forgot-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  padding: 40px 35px;
  text-align: center;
  transition: all 0.3s ease;
}

.forgot-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.forgot-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1e1e1e;
  margin-bottom: 10px;
}

.forgot-card p.subtitle {
  color: #777;
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.forgot-card .input-box {
  margin-bottom: 20px;
}

.forgot-card .btn-primary {
  width: 100%;
  background: linear-gradient(90deg, #2d4eff, #728bff);
  font-weight: 600;
  border: none;
  padding: 12px;
  border-radius: 10px;
  transition: 0.3s;
}

.forgot-card .btn-primary:hover {
  background: #1b34b8;
  transform: translateY(-2px);
}

.forgot-card .text-small {
  margin-top: 18px;
  font-size: 0.9rem;
  color: #555;
}

.forgot-card .text-small a {
  color: #2d4eff;
  font-weight: 600;
  text-decoration: none;
}

.forgot-card .text-small a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .forgot-card {
    padding: 30px 25px;
  }
}
