/* 
  ===============================
  LOGIN and REGISTER PAGE STYLES
  ===============================
*/
.brand-logo .logo-img {
  height: 70px;
}

.form-floating>.form-control-plaintext:focus,
.form-floating>.form-control-plaintext:not(:placeholder-shown),
.form-floating>.form-control:focus,
.form-floating>.form-control:not(:placeholder-shown) {
  padding: 1rem .75rem;
}

/* Gradient Background */
.bg-brand-gradient {
  background: var(--gradient-color);
}

.text-brand {
  color: var(--second-color-6);
}

.text-brand-gradient {
  color: var(--second-color-3);
  background-image: var(--gradient-color-2);
  /* background: var(--gradient-color-2); */
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout */
.split-screen {
  display: flex;
  height: 100vh;
  width: 100%;
}

.left-pane {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow-y: auto;
  background: white;
  position: relative;
  z-index: 10;
}

.right-pane {
  width: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .left-pane {
    width: 100%;
  }

  .right-pane {
    display: none;
  }
}

/* Form Styles */
.auth-wrapper {
  width: 100%;
  max-width: 420px;
}

/* Form Floating */
.form-floating {
  position: relative;
}

.form-floating,
.phonenumber-wrapper {
  margin-bottom: 1.2rem;
}

.form-floating>.form-control,
.iti input.iti__tel-input[type=tel] {
  /* border: 2px solid #e9ecef; */
  border: 2px solid #e1e1e1;
  border-radius: 0.5rem;
  height: calc(3rem + 2px);
  min-height: calc(3rem + calc(var(--bs-border-width) * 2));
  line-height: 1.25;
}

.form-floating>.form-control {
  padding-left: 2.75rem !important;
}

.iti input.iti__tel-input[type=tel]::placeholder {
  padding-left: .15rem;
  color: #adb5bd;
  transition: all 0.2s ease-in-out;
}

.form-floating>.form-control:focus,
.iti input.iti__tel-input[type=tel]:focus {
  border-color: var(--second-color-6);
  box-shadow: none;
}

.form-floating>label,
.form-floating>.form-control,
.form-floating>.form-control-plaintext {
  padding: 0.85rem .75rem;
}

.form-floating>label {
  padding-left: 2.75rem;
  color: #adb5bd;
  transition: all 0.2s ease-in-out;
}

/* Label on border effect */
.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
  transform: scale(0.85) translateY(-0.85rem) translateX(1rem);
  background-color: white;
  padding: 0 0.35rem;
  height: auto;
  color: var(--second-color-6);
  opacity: 1;
  z-index: 5;
}

/* Icons */
.input-icon {
  position: absolute;
  /* top: 50%; */
  /* top: 18px; */
  top: 16px;
  left: 1rem;
  /* transform: translateY(-50%); */
  color: #ced4da;
  z-index: 10;
  font-size: 1.2rem;
  pointer-events: none;
  transition: color 0.2s;
}

.form-control:focus~.input-icon {
  color: var(--second-color-6);
}

.password-toggle {
  position: absolute;
  /* top: 50%; */
  /* top: 18px; */
  top: 14px;
  right: 1rem;
  /* transform: translateY(-50%); */
  cursor: pointer;
  color: #ced4da;
  z-index: 10;
  font-size: 23px;
}

.password-toggle:hover {
  color: var(--second-color-6);
}

/* Buttons */
.btn-brand {
  background: var(--gradient-color-2);
  border: none;
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.7rem;
  border-radius: 0.5rem;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-brand:hover {
  opacity: 0.95;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(123, 0, 180, 0.3);
}

.btn-google {
  background-color: white;
  border: 1px solid #dee2e6;
  color: #495057;
  font-weight: 500;
  padding: 0.65rem;
  /* border-radius: 0.5rem; */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-google:hover {
  /* background-color: #f8f9fa; */
  background-color: #fdf0ff;
  color: #212529;
}

.input-error {
  border: 2px solid #f00 !important;
}

.invalid-feedback {
  font-size: 0.78rem;
}

.iti {
  display: block !important;
}

.iti__country-container {
  height: auto;
}

.iti__search-input {
  padding: 5px 10px;
  border-bottom: 1px solid #f1f1f1 !important;
}

.iti__search-input:focus-visible {
  outline: 0;
}

.iti--inline-dropdown .iti__dropdown-content {
  z-index: 99 !important;
}

/* .iti input.iti__tel-input[type=tel] {
    height: calc(3.5rem + 2px);
    min-height: calc(3.5rem + calc(var(--bs-border-width) * 2));
} */

/* ===== MODERN RIGHT PANE STYLES ===== */

/* Glass Morphism Card */
.glass-card {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 3rem 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.8s ease-out;
  max-width: 500px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Icon Wrapper with Pulse Effect */
.icon-wrapper {
  position: relative;
  display: inline-block;
}

.icon-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0;
  }
}

/* Feature Pills */
/* .feature-pills {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.feature-pill {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  animation: slideInRight 0.6s ease-out backwards;
}

.feature-pill:nth-child(1) {
  animation-delay: 0.2s;
}

.feature-pill:nth-child(2) {
  animation-delay: 0.4s;
}

.feature-pill:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.feature-pill:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(5px);
} */

/* Floating Shapes Background */
.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -50px;
  animation-delay: 0s;
  animation-duration: 25s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: -50px;
  animation-delay: 5s;
  animation-duration: 20s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  left: 10%;
  animation-delay: 2s;
  animation-duration: 18s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  top: 20%;
  right: 20%;
  animation-delay: 7s;
  animation-duration: 22s;
}

.shape-5 {
  width: 120px;
  height: 120px;
  bottom: 30%;
  right: 10%;
  animation-delay: 4s;
  animation-duration: 19s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(30px, -30px) rotate(90deg);
  }

  50% {
    transform: translate(-20px, 20px) rotate(180deg);
  }

  75% {
    transform: translate(20px, 30px) rotate(270deg);
  }
}

/* Gradient Orbs */
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  z-index: 2;
  animation: morphing 15s infinite ease-in-out;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(181, 0, 209, 0.6), transparent);
  top: -150px;
  right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(64, 0, 148, 0.5), transparent);
  bottom: -100px;
  left: -100px;
  animation-delay: 5s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(123, 0, 180, 0.4), transparent);
  top: 40%;
  left: 50%;
  animation-delay: 10s;
}

@keyframes morphing {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(50px, -50px) scale(1.2);
  }

  66% {
    transform: translate(-50px, 50px) scale(0.9);
  }
}