/* =====================================================
   CORE LAYOUT
===================================================== */

/* Several containers below are width:100% AND have padding and a border. Without
   border-box sizing (many themes don't set it) each one ends up wider than its
   parent, which pushed the cards past the right edge of a phone screen. */
.wws-wrapper,
.wws-tabs,
.wws-tab-content,
.wws-tab-panel,
.wws-scheduler,
.wws-card,
.wws-card-body {
  box-sizing: border-box;
}

.wws-wrapper {
  max-width: 1100px;     /* or 1200px if you want wider */
  margin: 0 auto;        /* center */
  padding: 0 5px;       /* safe side padding */
}

.wws-card {
  position: relative;
  border: 1px solid #ddd;
  padding: 16px;
  margin-bottom: 12px;
  border-radius: 8px;
  min-height: 92px;
  background: #fff;
}

.wws-card-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.wws-card-info {
  flex: 1;
}

/* =====================================================
   BASE BUTTON SYSTEM (USED EVERYWHERE)
===================================================== */

.wws-btn {
  appearance: none;
  padding: 8px 14px;
  border-radius: 6px;
  border: none;
  font-size: 14px;
  cursor: pointer;
  background: #eee;
  color: #000;
}

.wws-btn-primary {
  background: #000;
  color: #fff;
}

.wws-btn-disabled {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
}

.wws-btn-link {
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
  color: inherit;
}

/* =====================================================
   REGISTER / CONFIRM BLOCK (ISOLATED — NO LEAKAGE)
===================================================== */

.wws-register-block {
  position: relative;
  width: 240px;
  min-height: 44px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.wws-register-btn,
.wws-confirmation-block {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Default register */
.wws-register-btn {
  opacity: 1;
  transition: opacity 120ms ease;
}

/* Confirmation overlay (hidden by default) */
.wws-confirmation-block {
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease;
}

/* =====================================================
   CONFIRMING STATE
===================================================== */

.wws-card.wws-confirming .wws-register-btn {
  opacity: 0;
  pointer-events: none;
}

.wws-card.wws-confirming .wws-confirmation-block {
  opacity: 1;
  pointer-events: auto;
}

/* =====================================================
   CONFIRMED STATE (FINAL)
===================================================== */

.wws-card.wws-confirmed {
  background: #f4f8f5;
  border-color: #cfded3;
}

.wws-card.wws-confirmed::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  background: #2e7d32;
  border-radius: 4px;
}

.wws-card.wws-confirmed .wws-register-btn {
  opacity: 0.45;
  pointer-events: none;
  background: #e0e0e0;
  color: #666;
  border: 1px solid #d0d0d0;
}

.wws-card.wws-confirmed .wws-confirmation-block {
  opacity: 0;
  pointer-events: none;
}

/* Optional dimming of others */
.wws-scheduler:has(.wws-card.wws-confirmed)
  .wws-card:not(.wws-confirmed) {
  opacity: 0.75;
}

/* =====================================================
   MISC
===================================================== */

.wws-timezone-note {
  font-size: 12px;
  color: #666;
  margin-top: 8px;
}

.wws-closed {
  opacity: 0.6;
}

/* =====================================================
   TABS UI (DESKTOP + MODERN MOBILE)
===================================================== */

.wws-tabs {
  margin-bottom: 16px;
}

/* ================================
   DESKTOP (unchanged foundation)
================================ */

.wws-tab-header {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid #ddd;
}

/* Base tab */
.wws-tab-btn {
  appearance: none;
  background: #f2f2f4;   /* slightly darker than page */
  border: 1px solid transparent;
  border-bottom: none;
  padding: 12px 21px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: #777;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  margin-bottom: -1px;
  transition: all 160ms ease;
width: 100%;

}

/* Hover */
.wws-tab-btn:hover {
  background: #e9e9ec;
  color: #333;
}

/* Active */
.wws-tab-btn.active {
  background: #fff;
  color: #000;
  border: 1px solid #ddd;
  border-bottom: 1px solid #fff;
  position: relative;
  z-index: 2;
border-top: 4px solid #062C55; /* adjust color as needed */
}
/* Panels */
.wws-tab-panel {
  display: none;
  border: 1px solid #ddd;
  border-top: none;
  padding: 16px;
  background: #fff;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.wws-tab-panel.active {
  display: block;
}
/* Remove focus outline/frame on tab buttons */
.wws-tab-btn:focus,
.wws-tab-btn:focus-visible,
.wws-tab-btn:active {
  outline: none;
  box-shadow: none;
}
.wws-tab-btn:not(.active):hover {
  background-color: #062C55;  /* very soft gray */
  color: white;
 
}
.wws-tab-buttons{
display:flex;
}


/* =====================================================
   MOBILE – Soft Modern Segmented Style
===================================================== */

@media (max-width: 640px) {

  /* Make header full width */
  .wws-tab-header {
    width: 100%;
    border: none;
    background: #f5f5f7;
    padding: 6px;
    border-radius: 14px;
    gap: 6px;
    margin-bottom: 22px;
  }

  /* Tabs fill evenly */
  .wws-tab-btn {
    flex: 1;
    border: none;
   background: rgba(0,0,0,0.05);
  color: #777;
    border-radius: 5px;
    margin-bottom: 0;
    padding: 12px 15px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
width: 100%;
  }

  .wws-tab-btn.active {
    background: #ffffff;
  color: #000;
   }

}
/* =====================================================
   STATUS DIALOG (ADMIN-STYLE FEEDBACK)
===================================================== */

.wws-status-dialog {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.wws-status-dialog.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.wws-status-dialog.is-success {
  background: #e7f5ec;
  color: #1b5e20;
  border: 1px solid #b7dfc2;
}

.wws-status-dialog.is-error {
  background: #fdecea;
  color: #b71c1c;
  border: 1px solid #f5c6cb;
}

/* =====================================================
   PERSONAL CALL – CENTERED LAYOUT
===================================================== */

.wws-personal-call {
  max-width: 920px;          /* matches HubSpot embed nicely */
  margin: 0 auto;            /* centers the whole block */
  text-align: center;
}

.wws-personal-call h3 {
  margin-bottom: 6px;
}

.wws-personal-call p {
  margin-bottom: 20px;
  color: #555;
}

.wws-tabs,
.wws-scheduler,
.wws-tab-content,
.wws-tab-panel {
  max-width: 100%;
  width: 100%;
}
.wws-personal-call {
  text-align: center;
}

.wws-personal-call .meetings-iframe-container {
  margin: 24px auto 0;
  max-width: 800px; /* keeps HS form readable */
}
/* =====================================================
   LEAD MODAL VISIBILITY (REQUIRED)
===================================================== */

.wws-lead-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.wws-lead-modal[aria-hidden="false"] {
  display: block;
}

.wws-lead-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.wws-lead-modal-inner {
  position: relative;
  margin: 10vh auto;
  padding: 24px;
  background: #fff;
  border-radius: 8px;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.wws-lead-modal-inner input {
  width: 100%;
  margin-bottom: 12px;
  padding: 10px;
  font-size: 14px;
}
.wws-lead-status {
  margin-top: 12px;
  font-size: 14px;
}

.wws-lead-status.success {
  color: #1b5e20;
}

.wws-lead-status.error {
  color: #b71c1c;
}
.wws-thank-you {
  display: none;
  margin-top: 24px;
  padding: 20px;
  border-radius: 12px;
  background: #f6f8fa;
  text-align: center;
}

.wws-thank-you.is-visible {
  display: block;
}

.wws-calendar-options {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.wws-calendar-options img {
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.wws-personal-call iframe {
  margin: 24px auto 0;
  display: block;
  max-width: 100%;
}
/* Optional: reduce perceived left bias on large screens */
@media (min-width: 1024px) {
.wws-personal-call iframe {
  margin: 24px auto 0;
  display: block;
  max-width: 100%;
}
}
.wws-calendar-options img {
  transition: transform .15s ease, opacity .15s ease;
}

.wws-calendar-options img:hover {
  transform: scale(1.08);
  opacity: .9;
}
.wws-cal-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #444;
  font-size: 12px;
}

.wws-cal-label {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.2;
  opacity: 0.85;
}
/* =====================================================
   OVERRIDE CONFIRM MODAL
===================================================== */
.wws-override-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}
.wws-override-modal[aria-hidden="false"] { display: block; }

.wws-override-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.wws-override-inner {
  position: relative;
  max-width: 460px;
  margin: 18vh auto;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  text-align: center;
}

.wws-override-inner h3 { margin: 0 0 10px; }
.wws-override-text {
  margin: 0 0 18px;
  font-size: 14px;
  color: #555;
  white-space: pre-line;
}
.wws-override-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
}
.wws-personal-call iframe {
  min-height: 720px;
}

/* =====================================================
   CALENDAR TILE STYLE
===================================================== */

.wws-card-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.wws-date-tile {
  width: 70px;
  min-width: 70px;
  border-radius: 12px;
  background: #f4f6f8;
  border: 1px solid #e6e8eb;
  text-align: center;
  padding: 8px 6px;
}

.wws-date-month {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #667085;
}

.wws-date-day {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  color: #111;
}

.wws-date-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wws-date-weekday {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.wws-confirm-yes {
background: #2e7d32 !important;   /* strong but not neon */
  color: #fff !important;
  border: none !important;
}
/* =====================================================
   LEAD MODAL
===================================================== */

.wws-lead-modal-inner {
  max-width: 560px; /* 👈 Increased width */
  width: 92%;
  margin: 10vh auto;
  padding: 36px 40px;
  background: #ffffff;

  border-radius: 16px;
  border: 1px solid #eceef1;

  box-shadow:
    0 24px 60px rgba(0,0,0,0.08),
    0 3px 10px rgba(0,0,0,0.05);

  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Heading */
.wws-lead-modal-inner h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: #111;
}

/* Subtext */
.wws-lead-modal-inner p {
  margin: 0;
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

/* All inputs */
.wws-lead-modal-inner input {
  width: 100%;
  padding: 14px 16px;
  font-size: 14px;

  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fafafa;

  transition: all 160ms ease;
}

/* Focus state */
.wws-lead-modal-inner input:focus {
  outline: none;
  border-color: #111;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

/* Name fields spacing */
.wws-lead-extra {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Primary button */
#wws-lead-submit {
  padding: 15px;
  font-size: 15px;
  border-radius: 12px;
  font-weight: 500;

  transition: all 160ms ease;
}

#wws-lead-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

#wws-lead-submit:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Status */
.wws-lead-status {
  font-size: 13px;
  min-height: 18px;
  margin-top: 6px;
}

/* Backdrop */
.wws-lead-modal-backdrop {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
}
/* ======================================
   Webinar Modal – Soft Field Styling
====================================== */

.wws-lead-modal input[type="text"],
.wws-lead-modal input[type="email"],
.wws-lead-modal input[type="tel"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb; /* soft gray */
  background: #f9fafb;       /* very light gray */
  font-size: 15px;
  font-weight: 400;
  color: #1f2937;
  transition: all 0.25s ease;
  outline: none;
  box-shadow: none;
}

/* Placeholder softer */
.wws-lead-modal input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

/* Focus state */
.wws-lead-modal input:focus {
  background: #ffffff;
  border-color: #6366f1; /* subtle brand accent */
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

/* Optional subtle hover */
.wws-lead-modal input:hover {
  border-color: #d1d5db;
}

/* Spacing between fields */
.wws-lead-modal .wws-lead-extra input,
.wws-lead-modal #wws-lead-email {
  margin-bottom: 14px;
}
/* =====================================================
   BACKDROP
===================================================== */

.wws-lead-modal-backdrop {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
}
/* =========================================
   Personal Call Qualification Modal
========================================= */

.wws-personal-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.wws-personal-modal[aria-hidden="false"] {
  display: flex;
}

/* Backdrop */
.wws-personal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Modal Box */
.wws-personal-inner {
  position: relative;
  background: #ffffff;
  max-width: 520px;
  width: 92%;
  padding: 40px 36px;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
  font-family: 'Poppins', sans-serif;
  animation: wwsFadeUp 0.25s ease forwards;
}

/* Heading */
.wws-personal-inner h3 {
  font-weight: 500;
  font-size: 22px;
  margin-bottom: 16px;
  color: #111;
}

/* Body Text */
.wws-personal-inner p {
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 24px;
}

/* Actions */
.wws-personal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Primary Button */
.wws-personal-actions .wws-btn-primary {
  background: #111;
  color: #fff;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 400;
  transition: all 0.2s ease;
}

.wws-personal-actions .wws-btn-primary:hover {
  background: #222;
  transform: translateY(-1px);
}

/* Secondary Button */
.wws-personal-actions .wws-btn-link {
  background: transparent;
  border: none;
  color: #666;
  font-size: 14px;
  font-weight: 400;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.wws-personal-actions .wws-btn-link:hover {
  color: #111;
}
.wws-personal-highlight {
  font-weight: 500;
  color: #111;
}

/* Animation */
@keyframes wwsFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile refinement */
@media (max-width: 480px) {
  .wws-personal-inner {
    padding: 28px 22px;
  }

  .wws-personal-inner h3 {
    font-size: 19px;
  }
}

/* =====================================================
   MOBILE OPTIMIZATION
===================================================== */

@media (max-width: 640px) {

  .wws-lead-modal-inner {
    max-width: 94%;
    margin: 6vh auto;
    padding: 26px 22px;
    border-radius: 14px;
  }

  .wws-lead-modal-inner h3 {
    font-size: 18px;
  }
}
/* =====================================================
   MOBILE — FULL WIDTH OVERLAY (NO LAYOUT SHIFT)
===================================================== */
@media (max-width: 820px) {

  .wws-card-body {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
  }

  .wws-card-info {
    width: 100% !important;
    flex: 0 0 auto !important;
  }

  /* Keep overlay system */
  .wws-register-block {
    position: relative !important;
    width: 100% !important;
    min-height: 64px !important;   /* increased */
  margin: 20px 0 !important;    /* vertical breathing */
  }

  /* Button + confirm sit in same exact spot */
  .wws-register-btn,
  .wws-confirmation-block {
    position: absolute !important;
    inset: 0 !important;          /* fills container */
    transform: none !important;
    width: 100% !important;
  }

  .wws-register-btn {
    padding: 14px 16px !important;
    font-size: 16px !important;
    border-radius: 12px !important;
  }

  /* Confirm block full width center */
  .wws-confirmation-block {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4px 0;
  }

  .wws-confirm-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .wws-confirm-yes {
background: #2e7d32 !important;   /* strong but not neon */
  color: #fff !important;
  border: none !important;
    width: 100%;
    padding: 12px;
    min-height: 48px;
    border-radius: 12px;
  }
.wws-confirm-yes:hover {
  background: #256628 !important;   /* slightly darker */
}

.wws-confirm-yes:active {
  background: #1f5a22 !important;
}

  .wws-confirm-no {
    text-align: center;
    /* a thumb-sized target instead of a 16px line of text */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
  }
.wws-confirm-text{
padding:10px 0;
}
}

/* =====================================================
   PHONES — breathing room at the screen edge
===================================================== */
@media (max-width: 640px) {
  .wws-wrapper {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* =====================================================
   CLEAN HEADER + HEADING (Global Settings → General)
===================================================== */
.wws-pagehead {
  background: #0a1f44;       /* the site header's navy */
  padding: 14px 16px;
  text-align: center;
}

.wws-pagehead a {
  display: inline-block;
  line-height: 0;
  color: #fff;
}

.wws-pagehead img {
  height: 32px;
  width: auto;
  max-width: 70vw;
  filter: brightness(0) invert(1);   /* white logo on navy, as in the site header */
}

.wws-pagetitle {
  box-sizing: border-box;
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 10px 4px;
}

.wws-pagetitle h1 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 500;
  font-size: 34px;
  line-height: 1.15;
  color: #0a1f44;
}

.wws-pagetitle p {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: #555;
}

@media (max-width: 640px) {
  .wws-pagetitle { padding: 22px 10px 2px; }
  .wws-pagetitle h1 { font-size: 28px; }
}
