/* ============================================================
   HOMEO FLAIR — PATIENT AUTHENTICATION STYLESHEET
   Clean Two-Column Portal Login (Distraction-Free UI)
   ============================================================ */

/* 1. Clean Layout Body & Container */
.patient-clean-body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: radial-gradient(
    circle at 15% 15%,
    rgba(21, 154, 175, 0.06) 0%,
    #f4f8fb 55%,
    #eaf2f6 100%
  );
  font-family: var(--vs-body-font, "Fira Sans", sans-serif);
  color: #2b3952;
  overflow-x: hidden;
}

.patient-clean-main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 2. Minimal Clean Top Bar */
.patient-auth-topbar {
  padding: 1.25rem 0;
  position: relative;
  z-index: 10;
}

.patient-auth-logo {
  max-height: 44px;
  width: auto;
  transition: transform 0.2s ease;
}

.patient-auth-logo:hover {
  transform: scale(1.02);
}

.patient-auth-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  color: #0e1d4c;
  border: 1px solid #dce5ec;
  border-radius: 50px;
  padding: 0.45rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--vs-title-font, "Quicksand", sans-serif);
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(14, 29, 76, 0.04);
  transition: all 0.25s ease;
}

.patient-auth-back-btn:hover {
  background: #159aaf;
  color: #ffffff;
  border-color: #159aaf;
  box-shadow: 0 4px 14px rgba(21, 154, 175, 0.25);
  transform: translateY(-1px);
}

/* 3. Section & Main Login Container Card */
.patient-clean-section {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  padding: 1rem 0 2rem 0;
}

.patient-login-wrapper {
  background: #ffffff;
  border-radius: 24px;
  box-shadow:
    0 20px 48px -10px rgba(14, 29, 76, 0.1),
    0 2px 8px rgba(14, 29, 76, 0.04);
  border: 1px solid rgba(14, 29, 76, 0.06);
  overflow: hidden;
  margin: 0 auto;
  max-width: 1060px;
  width: 100%;
  transition: box-shadow 0.3s ease;
}

/* 4. Left Visual & Animation Panel */
.patient-login-visual {
  background: linear-gradient(150deg, #edf6f7 0%, #e2f1f4 45%, #d1e9ee 100%);
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(21, 154, 175, 0.12);
  min-height: 480px;
}

/* Soft background ambient shapes */
.patient-login-visual::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(21, 154, 175, 0.18) 0%,
    rgba(21, 154, 175, 0) 70%
  );
  pointer-events: none;
}

.patient-login-visual::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(14, 29, 76, 0.12) 0%,
    rgba(14, 29, 76, 0) 70%
  );
  pointer-events: none;
}

.patient-login-animation {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-height: 0;
}

.patient-login-anim-asset {
  width: 100%;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

/* Lottie animation player container */
.patient-login-lottie {
  width: 100%;
  flex: 1 1 auto;
  transform: scale(1.08);
  transform-origin: center bottom;
}

.patient-login-lottie svg {
  width: 100% !important;
  height: auto !important;
}

/* Built-in Botanical Healthcare SVG Art */
.patient-login-svg-art {
  width: 240px;
  height: 240px;
  max-width: 100%;
}

.patient-login-svg-art .pulse-circle {
  animation: svgPulse 3s ease-in-out infinite;
  transform-origin: center;
}

.patient-login-svg-art .leaf-float {
  animation: svgFloat 4s ease-in-out infinite;
  transform-origin: center;
}

.patient-login-svg-art .cross-glow {
  animation: svgGlow 2.5s ease-in-out infinite alternate;
}

@keyframes svgPulse {
  0% {
    transform: scale(0.96);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
  100% {
    transform: scale(0.96);
    opacity: 0.85;
  }
}

@keyframes svgFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(2deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes svgGlow {
  0% {
    filter: drop-shadow(0 0 4px rgba(21, 154, 175, 0.3));
  }
  100% {
    filter: drop-shadow(0 0 12px rgba(21, 154, 175, 0.7));
  }
}

/* Visual Content Section */
.patient-login-visual-content {
  position: relative;
  z-index: 2;
}

.patient-login-visual-title {
  font-family: var(--vs-title-font, "Quicksand", sans-serif);
  color: var(--vs-title-color, #0e1d4c);
  font-size: 1.35rem;
  line-height: 1.3;
}

.patient-login-visual-desc {
  font-family: var(--vs-body-font, "Fira Sans", sans-serif);
  color: #556980;
  line-height: 1.5;
}

/* 5. Right Form Panel */
.patient-login-form-area {
  position: relative;
  background: #ffffff;
}

.patient-login-header .vs-title__sub {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--vs-theme-color1, #159aaf);
}

.patient-login-header h2 {
  font-family: var(--vs-title-font, "Quicksand", sans-serif);
  color: var(--vs-title-color, #0e1d4c);
  font-weight: 700;
}

/* Input group styling */
.patient-login-form-area .input-group-text {
  background-color: #f8fafc;
  border-color: #e2e8f0;
  color: #64748b;
  padding-left: 1.1rem;
  padding-right: 1.1rem;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.patient-login-form-area .form-control {
  border-color: #e2e8f0;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.patient-login-form-area .form-control:focus {
  border-color: var(--vs-theme-color1, #159aaf);
  box-shadow: 0 0 0 3px rgba(21, 154, 175, 0.15);
}

.patient-login-form-area .input-group .btn-outline-secondary {
  border-color: #e2e8f0;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  padding-left: 1rem;
  padding-right: 1rem;
}

.patient-login-form-area .input-group .btn-outline-secondary:hover {
  background-color: #f1f5f9;
  color: var(--vs-title-color, #0e1d4c);
}

/* Primary Button Styling */
.patient-login-form-area .vsBtn {
  font-family: var(--vs-title-font, "Quicksand", sans-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(21, 154, 175, 0.25);
  transition: all 0.3s ease;
}

.patient-login-form-area .vsBtn:hover {
  box-shadow: 0 8px 24px rgba(21, 154, 175, 0.35);
  transform: translateY(-1px);
}

/* 6. Minimal Clean Footer */
.patient-auth-footer {
  padding: 1.5rem 0 2rem 0;
  font-size: 0.84rem;
  color: #7a8b9e;
  position: relative;
  z-index: 10;
}

.patient-auth-footer a {
  transition: color 0.2s ease;
}

.patient-auth-footer a:hover {
  color: #159aaf !important;
  text-decoration: underline !important;
}

/* 7. Responsive Queries */
@media (max-width: 991.98px) {
  .patient-login-wrapper {
    border-radius: 20px;
    margin: 0 8px;
  }

  .patient-login-visual {
    border-right: none;
    border-bottom: 1px solid rgba(21, 154, 175, 0.12);
    min-height: auto;
    padding: 2.5rem 1.5rem !important;
  }

  .patient-login-anim-asset {
    width: 80%;
    max-width: 240px;
  }

  .patient-login-svg-art {
    max-height: 180px;
    width: 180px;
    height: 180px;
  }

  .patient-login-form-area {
    padding: 2rem 1.5rem !important;
  }
}

@media (max-width: 575.98px) {
  .patient-auth-topbar {
    padding: 0.85rem 0;
  }

  .patient-auth-logo {
    max-height: 36px;
  }

  .patient-auth-back-btn {
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
  }

  .patient-clean-section {
    padding: 0.5rem 0 1.5rem 0;
  }

  .patient-login-wrapper {
    margin: 0;
    border-radius: 16px;
    border: none;
    box-shadow: 0 8px 24px rgba(14, 29, 76, 0.06);
  }

  .patient-login-visual {
    padding: 1.75rem 1.25rem !important;
  }

  .patient-login-anim-asset {
    width: 75%;
    max-width: 180px;
  }

  .patient-login-svg-art {
    max-height: 140px;
    width: 140px;
    height: 140px;
  }

  .patient-login-visual-title {
    font-size: 1.15rem;
  }

  .patient-login-form-area {
    padding: 1.5rem 1.25rem !important;
  }

  .patient-auth-footer {
    padding: 1rem 0 1.5rem 0;
  }
}

/* ============================================================
   8. Left Column Security Icon Artwork Animations
   ============================================================ */
.patient-security-badge-anim {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  animation: authIconFloat 4s ease-in-out infinite;
}

.patient-security-badge-anim .glow-backdrop {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 154, 175, 0.3) 0%, rgba(21, 154, 175, 0) 70%);
  animation: authGlowPulse 3.5s ease-in-out infinite;
  pointer-events: none;
}

.patient-security-badge-anim .pulse-ring {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  border: 2px dashed rgba(21, 154, 175, 0.35);
  animation: authRingSpin 24s linear infinite;
  pointer-events: none;
}

.patient-security-badge-anim .outer-ring {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(21, 154, 175, 0.18) 0%, rgba(21, 154, 175, 0.06) 100%);
  border: 1.5px solid rgba(21, 154, 175, 0.3);
  box-shadow: 0 12px 28px -6px rgba(21, 154, 175, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
}

.patient-security-badge-anim .inner-circle {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(14, 29, 76, 0.08);
  transition: transform 0.3s ease;
}

.patient-security-badge-anim:hover .inner-circle {
  transform: scale(1.06);
}

@keyframes authIconFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes authRingSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes authGlowPulse {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

