/*
 * Author: Rinst
 * Company: AZEITS
 * Date: 2026
 * Description: Premium modern styles for HealthCheck Auth Flow — Landing Page Layout
 */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --auth-primary: #059344;
  --auth-primary-dark: #047837;
  --auth-primary-hover: #047837;
  --auth-primary-light: #e6f4ea;
  --auth-bg: #f4f6f8;
  --auth-text-dark: #1a1f24;
  --auth-text-gray: #64748b;
  --auth-text-green: #059344;
  --auth-border: #e2e8f0;
  --auth-white: #ffffff;
  --auth-radius-lg: 20px;
  --auth-radius-md: 12px;
  --auth-radius-sm: 8px;
  --auth-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --auth-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family:
    "Inter",
    -apple-system,
    sans-serif;
  background-color: var(--auth-bg);
  color: var(--auth-text-dark);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.lp-navbar {
  background: var(--auth-white);
  border-bottom: 1px solid var(--auth-border);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
}

.lp-navbar-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.lp-nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.lp-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--auth-text-dark);
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}
.lp-mobile-toggle i {
  font-size: 1.75rem;
}

.lp-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lp-nav-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.lp-nav-brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--auth-primary);
}

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.lp-nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--auth-text-dark);
  transition: color 0.2s;
}
.lp-nav-link:hover {
  color: var(--auth-primary);
}

.lp-btn-visit {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--auth-primary);
  color: var(--auth-white);
  padding: 0.55rem 1.25rem;
  border-radius: var(--auth-radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition:
    background 0.2s,
    transform 0.2s;
  flex-shrink: 0;
}
.lp-btn-visit i {
  font-size: 1rem;
}
.lp-btn-visit:hover {
  background: var(--auth-primary-dark);
  transform: translateY(-1px);
}

.lp-hero {
  padding: 3.5rem 2rem 4rem;
  background: var(--auth-bg);
}

.lp-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.lp-hero-inner-signup {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.lp-queue {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.lp-hero-left {
  flex: 1.1;
  min-width: 0;
}

.lp-hero-headline {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--auth-text-dark);
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
}
.lp-hero-headline-green {
  color: var(--auth-primary);
}

.lp-hero-desc {
  font-size: 1rem;
  color: var(--auth-text-gray);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}

.lp-hero-img-wrap {
  position: relative;
  border-radius: var(--auth-radius-lg);
  overflow: hidden;
  max-height: 360px;
  background: linear-gradient(135deg, #b2dfdb 0%, #e6f4ea 100%);
}

.lp-hero-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.lp-hero-img-fallback {
  width: 100%;
  height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--auth-primary);
}
.lp-hero-img-fallback i {
  font-size: 3rem;
}
.lp-hero-img-fallback span {
  font-size: 1rem;
  font-weight: 600;
}

.lp-hipaa-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 30px;
  padding: 0.45rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--auth-text-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.lp-hipaa-badge i {
  color: var(--auth-primary);
  font-size: 1rem;
}

.lp-hero-right {
  flex: 0 0 380px;
  max-width: 380px;
}

.lp-login-card {
  background: var(--auth-white);
  border-radius: var(--auth-radius-lg);
  box-shadow: var(--auth-shadow-lg);
  overflow: hidden;
}

.lp-login-card-header {
  background: var(--auth-primary);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.lp-login-card-icon {
  background: rgba(255, 255, 255, 0.2);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-signup-card {
  background: var(--auth-white);
  border-radius: var(--auth-radius-lg);
  box-shadow: var(--auth-shadow-lg);
  overflow: hidden;
}

.lp-signup-card-header {
  background: var(--auth-primary);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.lp-signup-card-icon {
  background: rgba(255, 255, 255, 0.2);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lp-card-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.lp-login-card-header-text {
  display: flex;
  flex-direction: column;
}

.lp-signup-card-header-text {
  display: flex;
  flex-direction: column;
}
.lp-card-title {
  color: var(--auth-white);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}
.lp-card-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  font-weight: 400;
}

.lp-card-header-circle {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

/* Card Body */
.lp-login-card-body {
  padding: 1.75rem 1.5rem 1.5rem;
}

.lp-signup-card-body {
  padding: 1.75rem 1.5rem 1.5rem;
}

.auth-welcome-title {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--auth-text-dark);
  margin-bottom: 0.25rem;
  letter-spacing: -0.5px;
}

.auth-welcome-subtitle {
  color: var(--auth-text-gray);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.form-group-custom {
  margin-bottom: 1.1rem;
}

.form-control-custom {
  height: 50px; /* match your input height */
  padding: 8px 12px;
  box-sizing: border-box;
}

/* override textarea specifically */
textarea.form-control-custom {
  height: 50px; /* same as inputs */
}

.form-label-custom {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--auth-text-dark);
  margin-bottom: 0.5rem;
}

.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrapper i:not(.toggle-password) {
  position: absolute;
  left: 1rem;
  color: var(--auth-text-gray);
  font-size: 1.15rem;
  pointer-events: none;
}

.form-control-custom {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 3rem;
  border: 1.5px solid var(--auth-border);
  border-radius: var(--auth-radius-md);
  font-size: 0.95rem;
  font-family: "Inter", sans-serif;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
  outline: none;
  color: var(--auth-text-dark);
  background: #fff;
}
.form-control-custom::placeholder {
  color: #94a3b8;
}
.form-control-custom:focus {
  border-color: var(--auth-primary);
  box-shadow: 0 0 0 4px rgba(5, 147, 68, 0.08);
}

.toggle-password {
  position: absolute;
  right: 1rem;
  cursor: pointer;
  color: var(--auth-text-gray);
  font-size: 1.15rem;
  transition: color 0.2s;
  user-select: none;
}
.toggle-password:hover {
  color: var(--auth-primary);
}

.btn-sign-in {
  width: 100%;
  background: var(--auth-primary);
  color: var(--auth-white);
  border: none;
  padding: 0.9rem;
  border-radius: var(--auth-radius-md);
  font-weight: 700;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
  transition:
    background 0.25s,
    transform 0.2s,
    box-shadow 0.25s;
  margin-top: 1.25rem;
}
.btn-sign-in i {
  font-size: 1.1rem;
}
.btn-sign-in:hover {
  background: var(--auth-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(5, 147, 68, 0.3);
}
.btn-sign-in:active {
  transform: translateY(0);
}

.lp-card-badges {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--auth-border);
}

.lp-card-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--auth-text-dark);
}
.lp-card-badge i {
  color: var(--auth-primary);
  font-size: 1rem;
}

.auth-extra-links {
  margin-top: 1rem;
  text-align: center;
}
.auth-extra-links p {
  font-size: 0.875rem;
  color: var(--auth-text-gray);
}

.signup-link {
  color: var(--auth-primary);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}
.signup-link:hover {
  color: var(--auth-primary-dark);
  text-decoration: underline;
}

.lp-features {
  padding: 4rem 2rem;
  background: var(--auth-white);
}

.lp-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.lp-section-inner-signup {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.lp-section-tag {
  display: inline-block;
  background: var(--auth-primary-light);
  color: var(--auth-primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 30px;
  margin-bottom: 1rem;
  letter-spacing: 0.3px;
}

.lp-section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--auth-text-dark);
  letter-spacing: -0.5px;
  margin-bottom: 2.5rem;
}

.lp-feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.lp-feature-card {
  background: var(--auth-bg);
  border-radius: var(--auth-radius-lg);
  padding: 2rem 1.75rem;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.lp-feature-card:hover {
  box-shadow: var(--auth-shadow);
  transform: translateY(-4px);
}

.lp-feature-icon {
  width: 48px;
  height: 48px;
  background: var(--auth-primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.lp-feature-icon i {
  color: var(--auth-primary);
  font-size: 1.4rem;
}

.lp-feature-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--auth-text-dark);
  margin-bottom: 0.6rem;
}

.lp-feature-card-desc {
  font-size: 0.9rem;
  color: var(--auth-text-gray);
  line-height: 1.7;
}

.lp-announcements {
  padding: 4rem 2rem;
  background: var(--auth-bg);
}

.lp-carousel-wrap {
  margin-top: 0.5rem;
}

.lp-carousel {
  position: relative;
}

.lp-slide {
  display: none;
  background: var(--auth-white);
  border-radius: var(--auth-radius-lg);
  overflow: hidden;
  grid-template-columns: 340px 1fr;
  box-shadow: var(--auth-shadow);
  animation: lp-fade-in 0.4s ease;
}
.lp-slide.active {
  display: grid;
}

@keyframes lp-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lp-slide-img-wrap {
  overflow: hidden;
  max-height: 320px;
}
.lp-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.lp-slide:hover .lp-slide-img {
  transform: scale(1.03);
}

.lp-slide-body {
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.lp-slide-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--auth-primary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lp-slide-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--auth-text-dark);
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.lp-slide-desc {
  font-size: 0.95rem;
  color: var(--auth-text-gray);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.lp-btn-learn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--auth-primary);
  color: var(--auth-white);
  padding: 0.7rem 1.5rem;
  border-radius: var(--auth-radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition:
    background 0.2s,
    transform 0.2s;
  align-self: flex-start;
}
.lp-btn-learn i {
  font-size: 1rem;
}
.lp-btn-learn:hover {
  background: var(--auth-primary-dark);
  transform: translateY(-1px);
}

.lp-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.lp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #cbd5e1;
  cursor: pointer;
  transition:
    background 0.25s,
    transform 0.2s;
  padding: 0;
}
.lp-dot.active {
  background: var(--auth-primary);
  transform: scale(1.2);
}
.lp-footer {
  background: var(--auth-white);
  border-top: 1px solid var(--auth-border);
  padding: 2rem;
}

.lp-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.lp-footer-brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--auth-text-dark);
  display: block;
  margin-bottom: 0.25rem;
}

.lp-footer-copy {
  font-size: 0.82rem;
  color: var(--auth-text-gray);
}
.lp-footer-copy-green {
  color: var(--auth-primary);
  font-weight: 500;
}

.lp-footer-links {
  display: flex;
  gap: 1.5rem;
}

.lp-footer-link {
  font-size: 0.85rem;
  color: var(--auth-text-gray);
  transition: color 0.2s;
}
.lp-footer-link:hover {
  color: var(--auth-primary);
}

.text-center {
  text-align: center !important;
}
.mb-4 {
  margin-bottom: 1.5rem !important;
}
.mb-5 {
  margin-bottom: 3rem !important;
}
.mt-4 {
  margin-top: 1.5rem !important;
}
.mt-5 {
  margin-top: 3rem !important;
}
.text-muted {
  color: var(--auth-text-gray) !important;
}

.otp-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.otp-field {
  width: 52px;
  height: 64px;
  border-radius: var(--auth-radius-md);
  border: 1.5px solid var(--auth-border);
  background: var(--auth-white);
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--auth-text-dark);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.otp-field:focus {
  border-color: var(--auth-primary);
  box-shadow: 0 0 0 4px rgba(5, 147, 68, 0.1);
  outline: none;
  transform: translateY(-2px);
}

.spin-animation {
  animation: spin 1s linear infinite;
}

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

.opacity-75 {
  opacity: 0.75 !important;
}

.alertify-notifier .ajs-message {
  color: #fff !important;
}

@media (max-width: 1024px) {
  .lp-hero-right {
    flex: 0 0 340px;
    max-width: 340px;
  }
  .lp-hero-headline {
    font-size: 2.25rem;
  }
}

@media (max-width: 860px) {
  .lp-navbar-inner {
    padding: 0 1.5rem;
  }

  .lp-mobile-toggle {
    display: block;
  }

  .lp-nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--auth-white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--auth-border);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(-110%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 90;
    margin-left: 0;
    display: none;
  }

  .lp-nav-menu.active {
    transform: translateY(0);
    display: flex !important;
  }

  .lp-nav-links {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 1rem;
  }

  .lp-nav-link {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--auth-bg);
  }

  .lp-btn-visit {
    width: 100%;
    justify-content: center;
    padding: 0.8rem;
  }

  .lp-hero-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .lp-hero-right {
    flex: unset;
    max-width: 100%;
  }

  .lp-hero-right-signup {
    flex: unset;
    max-width: 100%;
  }

  .lp-hero-inner-signup {
    max-width: 100%;
  }

  .lp-signup-card {
    max-width: 100%;
  }

  .lp-login-card {
    max-width: 480px;
    margin: 0 auto;
  }

  .lp-feature-cards {
    grid-template-columns: 1fr 1fr;
  }
  .lp-slide.active {
    grid-template-columns: 1fr;
  }
  .lp-slide-img-wrap {
    max-height: 220px;
  }
}

@media (max-width: 600px) {
  .lp-hero {
    padding: 2rem 1rem 3rem;
  }
  .lp-hero-headline {
    font-size: 1.85rem;
  }
  .lp-feature-cards {
    grid-template-columns: 1fr;
  }
  .lp-features,
  .lp-announcements {
    padding: 3rem 1rem;
  }
  .lp-footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .lp-footer-links {
    justify-content: center;
  }
}
.auth-modal-scroll-area::-webkit-scrollbar {
  width: 6px;
}
.auth-modal-scroll-area::-webkit-scrollbar-track {
  background: transparent;
}
.auth-modal-scroll-area::-webkit-scrollbar-thumb {
  background: var(--auth-border);
  border-radius: 10px;
}
.auth-modal-scroll-area::-webkit-scrollbar-thumb:hover {
  background: var(--auth-text-gray);
}

.support-icon-box i {
  font-size: 1.25rem;
}

@media (max-width: 576px) {
  .lp-slide-body {
    padding: 1.5rem;
  }
}
.text-primary {
  color: var(--auth-primary) !important;
}
