/* MalCare Signup Page - Two Column Layout (50-50 split) */


.mc-signup-container {
  display: flex;
  min-height: 100vh;
  background-color: white;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Left Side: Form (50%) */
.mc-signup-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 50px 80px;
  overflow-y: auto;
  position: relative;
  z-index: 10;
}

.mc-logo-container {
  margin-bottom: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mc-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.mc-logo-shield {
  height: 40px;
  width: auto;
}

.mc-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 29px;
  font-weight: 600;
  color: rgba(31, 31, 31, 0.85);
  line-height: normal;
}

.mc-main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.mc-form-header {
  margin-bottom: 35px;
}

.mc-form-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: normal;
  color: #1E40AF;
  margin: 0;
}

.mc-form-tagline-highlight {
  font-family: 'Happy Monkey', cursive;
  color: #F87171;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
}

/* Form */
.mc-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mc-form-row {
  display: flex;
  gap: 32px;
}

.mc-form-row .mc-form-group {
  flex: 1;
}

.mc-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mc-form-label {
  font-weight: 600;
  font-size: 14px;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 2px;
}

.mc-required {
  color: #dc2626;
}

.mc-signup-container .mc-input-wrapper {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}

.mc-signup-container .mc-input-icon {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
  z-index: 1 !important;
  stroke-width: 1px !important;
  stroke: var(--base-sidebar-foreground, #3F3F46) !important;
}

.mc-signup-container .mc-input {
  width: 100% !important;
  height: 52px !important;
  padding: 14px 14px 14px 44px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #1e293b !important;
  background-color: white !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

.mc-signup-container .mc-input::placeholder {
  color: #3F3F46 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 200 !important;
  line-height: normal !important;
}

.mc-signup-container .mc-input:focus {
  outline: none !important;
  border-color: #1E3A8A !important;
  box-shadow: 0 0 0 1px #1E3A8A !important;
}

/* Password inputs have no prefix icon; right padding for eye toggle button */
.mc-signup-container .mc-password-input {
  padding: 14px 44px 14px 14px !important;
}

/* Password show/hide toggle button */
.mc-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.mc-password-toggle:hover {
  opacity: 0.7;
}

.mc-password-toggle:focus {
  outline: none;
}

.mc-eye-icon {
  color: #3f3f46;
  width: 16px;
  height: 16px;
}

/* Per-field validation error */
.mc-field-error {
  color: #dc2626;
  font-size: 12px;
  margin-top: 2px;
}

/* Submit Button */
.mc-submit-btn {
  width: 100%;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  background-color: #1E3A8A;
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s, opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 20px;
}

.mc-submit-btn:hover:not(:disabled) {
  background-color: #1e40af;
}

.mc-submit-btn:active:not(:disabled) {
  background-color: #1e3a8a;
}

.mc-submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.mc-submit-btn svg {
  width: 18px;
  height: 18px;
}

/* Show arrow by default, hide loader */
.mc-submit-arrow {
  display: block;
}

.mc-submit-loader {
  display: none;
  animation: spin 1s linear infinite;
}

/* When loading, show loader and hide arrow */
.mc-submit-btn.mc-loading .mc-submit-arrow {
  display: none;
}

.mc-submit-btn.mc-loading .mc-submit-loader {
  display: block;
}

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

/* Terms */
.mc-terms {
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  color: #71717a;
  line-height: 1.5;
  margin-top: 8px;
}

.mc-terms a {
  color: #1E3A8A;
  text-decoration: underline !important;
  font-size: 12px;
  font-weight: 500;
}

.mc-terms a:hover {
  color: #1e40af;
}

/* Google sign-in button */
.mc-google-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	height: 48px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: white;
	color: #1e293b;
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s;
}

.mc-google-btn:hover {
	background-color: #f8fafc;
	border-color: #cbd5e1;
}

.mc-google-icon {
	flex-shrink: 0;
}

.mc-or-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	font-size: 14px;
	color: #71717a;
	margin: 8px 0;
}

.mc-or-divider::before,
.mc-or-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #e2e8f0;
}

/* Submit section: primary btn, then "or", then Google btn (WP Remote alignment) */
.mc-submit-section {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.mc-submit-section .mc-or-divider {
	margin: 0;
	text-align: center;
	color: #71717a;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 400;
}

.mc-submit-section .mc-or-divider::before,
.mc-submit-section .mc-or-divider::after {
	display: none;
}

/* Match WP Remote: submit + Google btn same height (40px), radius (6px), font (14px) */
.mc-submit-section .mc-submit-btn {
	height: 40px;
	min-height: 40px;
	max-height: 40px;
	border-radius: 6px;
	font-size: 14px;
}

.mc-submit-section .mc-submit-btn .mc-submit-arrow {
	display: none;
}

.mc-submit-section .mc-google-btn {
	height: 40px;
	min-height: 40px;
	max-height: 40px;
	border-radius: 6px;
	font-size: 14px;
	gap: 8px;
}

.mc-submit-section .mc-google-icon {
	width: 16px;
	height: 16px;
}

/* OTP input: extra right padding to clear the resend button */
.mc-signup-container .mc-otp-input {
	padding-right: 100px !important;
}

.mc-resend-otp-btn {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #1E3A8A;
	text-decoration: underline;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
}

.mc-resend-otp-btn:hover:not(:disabled) {
	color: #1e40af;
}

.mc-resend-otp-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.mc-auth-links {
	margin-top: 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px 8px;
}

.mc-auth-link-row {
	margin-top: 24px;
	text-align: center;
	font-size: 14px;
	color: #52525b;
}

.mc-auth-link-row a {
	color: #1E3A8A;
	text-decoration: underline !important;
	font-weight: 500;
}

.mc-auth-link-row a:hover {
	color: #1e40af;
}

.mc-forgot-link {
	margin-top: 8px;
	text-align: left;
}

.mc-forgot-link a {
	font-size: 12px;
	color: #1E3A8A;
	text-decoration: underline !important;
}

.mc-link-sep {
	color: #a1a1aa;
	font-size: 12px;
}

/* Footer links */
.mc-footer-links {
  margin-top: 130px;
  font-size: 14px;
  font-weight: 400;
  color: #71717a;
  text-align: center;
}

.mc-footer-links a {
  color: #1E3A8A;
  text-decoration: underline !important;
  font-size: 12px;
  font-weight: 500;
}

.mc-footer-links a:hover {
  color: #1e40af;
}

/* Footer inside form (auth pages) - reduced top margin */
.mc-form .mc-footer-links {
  margin-top: 24px;
}

/* Flash messages */
.mc-signup-left .alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
  border: none;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.mc-signup-left .alert::before {
  content: 'i';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  font-style: normal;
  line-height: 1;
  padding-top: 1px;
}

.mc-signup-left .alert-info {
  background-color: #f0f9ff !important;
  color: #0284c7 !important;
}

.mc-signup-left .alert-info::before {
  background-color: white;
  border: 2px solid #0284c7;
  color: #0284c7;
}

.mc-signup-left .alert-danger {
  background-color: #fef2f2 !important;
  color: #dc2626 !important;
}

.mc-signup-left .alert-danger::before {
  background-color: white;
  border: 2px solid #dc2626;
  color: #dc2626;
}

/* ================================
   Right Side: Stats & Social Proof (50%)
   ================================ */
.mc-signup-right {
  flex: 1;
  display: none;
  background: linear-gradient(44deg, rgba(30, 64, 175, 0.15) 0%, rgba(37, 99, 235, 0.15) 25.01%, rgba(139, 92, 246, 0.15) 49.8%, rgba(251, 113, 133, 0.15) 74.49%, rgba(248, 113, 113, 0.15) 99.3%);
  padding: 40px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
}

/* Large MalCare logo in bottom-right corner, cropped from right and bottom */
.mc-logo-bg-large {
  position: absolute;
  right: -9%;
  bottom: -7%;
  width: 280px;
  height: auto;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
  z-index: 0;
  opacity: 0.2;
}

.mc-right-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 600px;
  width: 100%;
  height: 100%;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Stats heading */
.mc-stats-heading {
  text-align: center;
}

.mc-stats-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #1E40AF;
  margin: 0 0 8px 0;
  line-height: normal;
}

.mc-stats-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 600;
  color: #1E40AF;
  margin: 0;
  line-height: normal;
}

/* Stats cards with glassmorphism effect */
.mc-stats-cards {
  display: flex;
  gap: 20px;
  width: 100%;
  justify-content: center;
}

.mc-stat-card {
  display: flex;
  padding: 16px 20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  flex: 1 0 0;
  border-radius: 12px;
  border: 1px solid rgba(30, 64, 175, 0.20);
  background: rgba(250, 250, 250, 0.20);
  max-width: 180px;
}

.mc-stat-card .mc-stat-label {
  margin-top: -4px;
}

.mc-stat-icon {
  width: 24px;
  height: 24px;
  aspect-ratio: 1/1;
  color: #1E40AF;
  flex-shrink: 0;
}

.mc-stat-title {
  color: var(--base-card-foreground, #09090B);
  font-family: var(--typography-font-family-font-sans, Inter), sans-serif;
  font-size: var(--typography-base-sizes-extra-small-font-size, 12px);
  font-style: normal;
  font-weight: var(--font-weight-normal, 400);
  line-height: var(--typography-base-sizes-extra-small-line-height, 16px);
  margin: 0;
}

.mc-stat-value {
  color: var(--tailwind-colors-blue-800, #1E40AF);
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin: 0;
}

.mc-stat-label {
  color: var(--base-muted-foreground, #71717A);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}

/* Map section */
.mc-map-wrapper {
  width: 100%;
  text-align: center;
  padding: 0 20px;
}

.mc-map-img {
  width: 504px;
  height: 239.803px;
  margin: 0 auto;
  background: url(/assets/horizon/world-map.gif) -9.929px -45.459px / 105.744% 137.977% no-repeat;
  border-radius: 8px;
  opacity: 0.7;
}

/* Social proof */
.mc-social-proof {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mc-social-proof-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #52525B;
  margin: 0;
  line-height: normal;
  text-align: center;
}

.mc-social-proof-text strong {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #1E40AF;
  font-size: 20px;
}

.mc-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.mc-logo-partner {
  height: 19px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
  opacity: 0.7;
}

/* ================================
   Responsive
   ================================ */
@media (min-width: 1280px) {
  .mc-signup-right {
    display: flex;
  }
}

@media (min-width: 1280px) and (max-width: 1440px) {
  .mc-signup-left {
    padding: 40px 60px;
  }

  .mc-signup-right {
    padding: 40px 30px;
  }

  .mc-stats-title {
    font-size: 36px;
  }

  .mc-stat-value {
    font-size: 28px;
  }

  .mc-stat-card {
    padding: 24px 16px;
  }
  
  .mc-stat-icon {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 1279px) {
  .mc-signup-left {
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 60px;
  }
}

@media (max-width: 1024px) {
  .mc-signup-left {
    padding: 40px 48px;
  }
}

@media (max-width: 768px) {
  .mc-signup-left {
    padding: 32px 32px;
  }

  .mc-form-row {
    flex-direction: column;
    gap: 24px;
  }
  
  .mc-main-content {
    gap: 5px;
  }
}

@media (max-width: 480px) {
  .mc-signup-left {
    padding: 24px 20px;
  }

  .mc-logo-container {
    margin-bottom: 40px;
  }
  
  .mc-main-content {
    gap: 5px;
  }
}

/* Modal overlay (signup - create account with Google email) */
.mc-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(140, 140, 140, 0.5);
  backdrop-filter: blur(10px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.mc-modal-box {
  background: white;
  border-radius: 12px;
  padding: 32px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.mc-modal-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #1E40AF;
  margin: 0 0 16px 0;
  text-align: center;
}

.mc-modal-text {
  font-size: 16px;
  color: #52525b;
  line-height: 1.5;
  text-align: center;
  margin: 0 0 24px 0;
}

.mc-modal-text strong {
  color: #1e293b;
}

.mc-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}

.mc-modal-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: inline-block;
}

.mc-modal-btn-primary {
  background-color: #1E3A8A;
  color: white;
}

.mc-modal-btn-primary:hover {
  background-color: #1e40af;
}

.mc-modal-btn-secondary {
  background: white;
  color: #1e293b;
  border: 1px solid #d4d4d8;
}

.mc-modal-btn-secondary:hover {
  background-color: #f4f4f5;
}

.mc-modal-terms {
  font-size: 14px;
  color: #71717a;
  text-align: center;
  margin: 0;
  line-height: 1.5;
}

.mc-modal-terms a {
  color: #1E3A8A;
  text-decoration: underline !important;
}
