/* Styling for Login and Register Pages */

body {
  font-family: 'Montserrat', 'Anek Tamil', sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  background-color: #f8d7ff; /* fallback */
  overflow-x: hidden;
  width: 100%;
}

#heroCarousel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
}

.hero-slider {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4); /* dark overlay for contrast */
}

.login-wrapper {
  background: #fff;
  padding: 30px 25px;
  border-radius: 20px; /* Elegant rounded corners mimicking iOS design */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Premium soft drop shadow */
  width: 100%;
  max-width: 400px;
  z-index: 2;
  opacity: 0; /* start hidden */
  transform: translateY(50px) scale(0.95);
  filter: blur(5px);
  animation: iosUnlock 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; /* Elastic iOS spring transition */
}

.love-title {
  text-align: center;
  position: relative;
  margin-bottom: 0;
  padding-bottom: 0;
}

.love-title h3 {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 0;
  padding-bottom: 0;
}

.underline-decor {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30px;
}

.underline-decor::before {
  content: "";
  width: 100%;
  height: 24px;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 300 24' xmlns='http://www.w3.org/2000/svg'><path d='M0 12 Q50 0, 100 12 Q150 24, 200 12 Q250 0, 300 12' fill='none' stroke='%23dc3545' stroke-width='2'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.heart-icon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  background-color: white;
  padding: 0 6px;
  line-height: 1;
}

.form-control,
.form-select {
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 1rem;
  transition: box-shadow 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 4px rgba(243, 109, 170, 0.25);
  border-color: #e91e63;
}

.btn-heart {
  position: relative;
  overflow: visible;
  transition: all 0.3s ease, background 0.4s ease;
  z-index: 1;
  background: linear-gradient(90deg, rgb(167 10 113) 0%, rgb(255 0 168) 70%, rgb(243 124 176) 100%);
  color: #ffffff;
  border-radius: 25px;
  padding: 8px 16px;
}

.btn-heart:hover {
  background: linear-gradient(120deg, #fff, #fce4fb);
  box-shadow: 0 4px 10px rgb(248 115 217 / 40%);
  color: #980a6f;
}

.logo {
  text-align: center;
  margin-bottom: 15px;
}

.logo img {
  max-height: 60px;
}

.login-title {
  text-align: center;
  font-size: 1.5rem;
  color: #a50062;
  font-weight: 700;
  margin-bottom: 10px;
}

.swal2-backdrop-blur {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#phone-status-icon {
  color: green;
}

.text-danger {
  font-size: 0.9rem;
}

@keyframes iosUnlock {
  0% {
    transform: translateY(60px) scale(0.94);
    opacity: 0;
    filter: blur(8px);
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
  }
}

/* Custom Matrimony Banners (Original Images) */
.hero-slide-1 {
  background-image: url('../images/1.webp');
}

.hero-slide-2 {
  background-image: url('../images/2.webp');
}

.hero-slide-3 {
  background-image: url('../images/3.webp');
}

.auth-footer {
  border-top: 1px solid #f1e4f3 !important;
}

.auth-switch-link {
  color: #a50062;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.auth-switch-link:hover {
  color: #ff00a8;
  text-shadow: 0 0 5px rgba(255, 0, 168, 0.2);
}

.btn-home-back {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}

.btn-home-back:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateX(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  color: #ffffff !important;
}

.btn-home-back i {
  transition: transform 0.2s ease;
}

.btn-home-back:hover i {
  transform: translateX(-3px);
}

