/* DNN Skin CSS – Tailwind-like responsive feel, reduced motion */
:root{
  --bg-top:#f8fafc; --bg-mid:#ffffff; --bg-bot:#eef2ff;
  --text:#0f172a; --muted:#475569; --muted-2:#64748b;
  --border:#e2e8f0; --border-2:#cbd5e1;
  --indigo-50:  #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-200: #c7d2fe;
  --indigo-300: #a5b4fc;
  --indigo-400: #818cf8;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;
  --indigo-800: #3730a3;
  --indigo-900: #312e81;
  --indigo-950: #1e1b4b;
  --radius-xl:1rem; --radius-2xl:1.25rem; --radius-3xl:1.75rem;
  --shadow-sm:0 1px 2px rgba(0,0,0,.06);
  --shadow-md:0 8px 24px rgba(2,6,23,.08);
  --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --text-5xl: 3rem;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-extrabold: 800;
    /* line heights (common Tailwind pairings) */
  --leading-none: 1;
  --leading-tight: 1.25;      /* leading-tight */
  --leading-snug: 1.375;      /* leading-snug */
  --leading-normal: 1.5;      /* leading-normal */
  --leading-relaxed: 1.625;   /* leading-relaxed */
  --leading-loose: 2;         /* leading-loose */

  /* explicit rem line-heights used in headings */
  --leading-7: 1.75rem;  /* 28px */
  --leading-8: 2rem;     /* 32px */
  --leading-9: 2.25rem;  /* 36px */
  --leading-10: 2.5rem;  /* 40px */

  /* letter-spacing examples */
  --tracking-wide: 0.05em;


--input-radius: 0.5rem;           /* rounded-lg */
  --input-border: 1px solid #d1d5dc;/* border-gray-200 */
  --input-bg: #ffffff;
  --input-bg-muted: #f9fafb;        /* gray-50 */
  --input-text: #111827;            /* gray-900 */
  --input-placeholder: #9ca3af;     /* gray-400 */

  --input-border-hover: #d1d5db;    /* gray-300 */
  --input-border-focus: #6366f1;    /* indigo-500 */
  --input-ring: rgba(129, 140, 248, 0.35); /* indigo-400/35 */
  --input-border-error: #ef4444;    /* red-500 */
  --input-border-success: #10b981;  /* emerald-500 */

  --input-disabled-bg: #f3f4f6;     /* gray-100 */
  --input-disabled-text: #9ca3af;   /* gray-400 */


}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; 
  font-family: "Segoe UI", "Segoe UI Variable", SegoeUI,
               -apple-system, system-ui, Roboto, "Helvetica Neue", Arial,
               "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 16px;
  color:var(--text);
  background: #FCFCFD;
}

body > form {
  min-height: 100dvh;        /* fill viewport, mobile-safe */
  display: flex;
  flex-direction: column;    /* header, main, footer stacked */
}

/* Ensure the middle fills, footer pushes to bottom */
.app-header { flex: 0 0 auto; }
main        { flex: 1 0 auto; }
.app-footer { flex: 0 0 auto; margin-top: 0; }  /* no auto margin needed now */

.ui-widget {
  font-family: "Segoe UI", "Segoe UI Variable", SegoeUI,
               -apple-system, system-ui, Roboto, "Helvetica Neue", Arial,
               "Apple Color Emoji", "Segoe UI Emoji";
}

/* Background for the main content area */
#main {
  /* use your actual image path here */
  background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url("/Portals/0/Skins/CT-2025-purple/images/ct-bg-blur.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;     /* stretch nicely */
  background-attachment: scroll; /* or fixed if you want a parallax feel */
}

/* Optional: make sure main is tall enough to show the gradient */
#main {
  min-height: 100vh;          /* at least full viewport height */
}



/* ---------- Headings mapped to the scale ---------- */
h1 {
  font-size: var(--text-5xl);     /* 3rem */
  line-height: var(--leading-none);
  font-weight: 800;               /* bold */
}

h2 {
  font-size: var(--text-4xl);     /* 2.25rem */
  line-height: var(--leading-10); /* 2.5rem */
  font-weight: 700;               /* semibold */
}

h3 {
  font-size: var(--text-3xl);     /* 1.875rem */
  line-height: var(--leading-9);  /* 2.25rem */
  font-weight: 700;               /* medium */
}

h4 {
  font-size: var(--text-2xl);     /* 1.5rem */
  line-height: var(--leading-8);  /* 2rem */
  font-weight: 500;
}

h5 {
  font-size: var(--text-xl);      /* 1.25rem */
  line-height: var(--leading-7);  /* 1.75rem */
  font-weight: 500;
}

h6 {
  font-size: var(--text-lg);      /* 1.125rem */
  line-height: var(--leading-7);  /* 1.75rem */
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  font-weight: 600;
}

.content-header-center {
  text-align: center;
  max-width: 800px;
margin: 0 auto;       /* centers the div itself in its parent */
  display: block;       /* usually default, but explicit is safe */
}

.content-header-center #hero-title {
  color: #222;
  margin-bottom: 25px;
}



a{color:var(--indigo-700); text-decoration:none}
a:hover{text-decoration:underline}

.Normal {font-size: 16px;}

/* Containers (Tailwind-like) */
.container{width:100%;margin-inline:auto;padding-inline:1rem;color:var(--text);}
@media(min-width:640px){.container{max-width:640px;padding-inline:1.5rem}}
@media(min-width:768px){.container{max-width:768px}}
@media(min-width:1024px){.container{max-width:1024px;padding-inline:2rem}}
@media(min-width:1280px){.container{max-width:1280px}}
@media(min-width:1536px){.container{max-width:1536px}}

.center{display:flex;align-items:center;justify-content:center}

/* Sections */

.white-bg {background:#fff;border-top:1px solid var(--border);padding:2.75rem 0}
.clear-bg {border-top:1px solid var(--border);padding:2.75rem 0}


.muted{color:var(--muted)}

/* Header */
.app-header{position:sticky;top:0;z-index:40;border-bottom:1px solid var(--border);background:rgba(255,255,255,.7);backdrop-filter:saturate(180%) blur(8px)}
.app-header__bar{height:4rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.brand{display:flex;align-items:center;gap:.6rem}
.brand__logo{width:15rem;height:3.25rem;display:grid;place-items:center;border-radius:.75rem;}
.brand__name{font-weight:800;letter-spacing:.2px}
.nav{display:none;gap:1.25rem}
.nav a{color:#334155;font-size:.95rem}
.nav a:hover{color:#0f172a}
.header-cta{display:flex;gap:.5rem}
@media(min-width:768px){.nav{display:flex}}

/* Header bar layout */
.app-header__bar{
  display:flex; align-items:center; gap:1rem; min-height:4rem;
}

/* Left side holds brand + nav; it expands */
.header-left{
  display:flex; align-items:center; gap:1rem; flex:1 1 auto; min-width:0;
}

/* Right side is just the user area; it hugs the right edge */
.header-right{
  display:flex; align-items:center; gap:.5rem; flex:0 0 auto;
}

/* Brand spacing so the nav tucks right after it on large screens */
.brand{display:flex; align-items:center; gap:.6rem; white-space:nowrap}

/* Keep the desktop nav from crowding the brand */
@media (min-width:768px){
  .site-navjq{ margin-left:.75rem; }
}

/* Mobile: the hamburger stays next to the brand; the panel logic you already have continues to work */
@media (max-width:767.98px){
  .site-navjq{ display:flex; align-items:center; gap:.5rem; }
}

/* =========================
   NAV: Tailwind-y jQuery Menu
   ========================= */

/* Vars + layering */
:root { --header-h: 64px; }                 /* JS will update to your .app-header height */
.site-navjq { position: relative; z-index: 90; }

/* Hamburger toggle — hidden by default (desktop), shown on mobile */
.nav-mobile-toggle { display: none; }
@media (max-width: 767.98px) {
  .nav-mobile-toggle {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 2.25rem; height: 2.25rem;
    border-radius: .75rem;
    border: 1px solid var(--border, #e2e8f0);
    background: #fff;
  }
}

/* Toggle icons: burger ↔ X, driven by aria-expanded on the button */
.nav-mobile-toggle .icon-burger,
.nav-mobile-toggle .icon-close { width: 1.25rem; height: 1.25rem; }
.nav-mobile-toggle .icon-close { display: none; }
.nav-mobile-toggle[aria-expanded="true"] .icon-burger { display: none; }
.nav-mobile-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Menubar base */
.menujq {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: row; gap: 1rem; /* desktop */
}

/* MOBILE: slide-down panel UNDER the sticky header */
@media (max-width: 767.98px) {
  .menujq { display: none; }                 /* hidden until opened */
  .menujq.is-open {
    display: flex;
    flex-direction: column;
    gap: .25rem;

    position: fixed;
    top: var(--header-h, 64px);
    left: 0; right: 0;

    background: #fff;
    border-top: 1px solid var(--border, #e2e8f0);
    box-shadow: 0 16px 40px rgba(2,6,23,.18);
    padding: .75rem 1rem 1rem;

    /* grows to content; only scroll if content would overflow */
    max-height: calc(100dvh - var(--header-h, 64px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;

    z-index: 80;
  }
}

/* Top-level items + chevron */
.menu-itemjq { position: relative; }
.nav-linkjq {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .95rem;
  color: #334155; text-decoration: none !important;
  padding: .5rem .75rem; border-radius: .75rem;
  border: 1px solid transparent; background: transparent;
}
.nav-linkjq:hover { color: #0f172a; background: #f8fafc; border-color: #e2e8f0; }
.nav-linkjq:focus-visible { outline: 2px solid #6366f1; outline-offset: 2px; }
.chevjq { width: 1rem; height: 1rem; transition: transform .18s ease; }
.has-subjq[aria-expanded="true"] .chevjq { transform: rotate(180deg); }

/* Desktop dropdown (popover) */
.dropdownjq {
  position: absolute; left: 0; top: calc(100% + .5rem);
  min-width: 14rem; padding: .5rem; margin: 0; list-style: none;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(2,6,23,.08);
  display: none; z-index: 60;
}
.dropdownjq.is-open { display: block; }

/* Dropdown links */
.dropdown-linkjq {
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem .625rem; border-radius: .5rem;
  font-size: .925rem; color: #4338ca; text-decoration: none !important;
  font-weight: 500;
}
.dropdown-linkjq:hover, .dropdown-linkjq:focus {
  background: #f1f5f9; color: #0f172a; outline: none;
}

/* MOBILE: dropdowns behave like accordions inside the panel */
@media (max-width: 767.98px) {
  .dropdownjq {
    position: static !important;
    display: none;
    margin-top: .25rem;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: .75rem;
    background: #fff;
    box-shadow: none;
  }
  .dropdownjq.is-open { display: block; }

  /* Make parent buttons full-width touch targets on mobile */
  .nav-linkjq {
    width: 100%;
    justify-content: space-between;
    background: #fff;
    border: 1px solid transparent;
  }
  .nav-linkjq:hover {
    background: #f8fafc;
    border-color: var(--border, #e2e8f0);
  }
}


/* Panes */
.dnnPane{margin:1rem 0}

/* Lucide icons */
.icon { width: 1.125rem; height: 1.125rem; vertical-align: middle; display:inline-block }
.icon > svg,
.lucide {
  display: block;          /* removes inline whitespace baseline quirks */
  width: 1em;              /* scales with font size */
  height: 1em;
  stroke: currentColor;
  stroke-width: 2;
}
.btn .icon > svg.lucide {
  height: 20px;
}


/* Buttons */
.btn1{text-decoration: none !important;display:inline-flex;align-items:center;gap:.5rem;font-weight:700;border-radius:1.25rem;padding:.65rem 1rem;border:1px solid transparent;background:#fff;color:#0f172a;box-shadow:var(--shadow-sm);cursor:pointer;transition:box-shadow .2s ease, background .2s ease}
.btn1:hover{box-shadow:var(--shadow-md)}
.btn1--primary, .btn1--primary:visited {background:var(--indigo-600);color:#fff}
.btn1--primary:hover{background:var(--indigo-700);color:#fff}
.btn1--outline{border-color:var(--border-2)}
.btn1--block{display:block;width:100%}


/* ==========================
   jQuery UI → Your .btn style
   ========================== */

/* Base button: map to .btn */
.ui-button,
.ui-widget button.ui-button,
.ui-dialog .ui-dialog-buttonpane .ui-button,
.ui-datepicker .ui-state-default {
  text-decoration: none !important;
  font-weight: 700;
  border-radius: 1.25rem;
  padding: .65rem 1rem;
  border: 1px solid transparent;
  background: var(--indigo-600);
  color: #FFF !important;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition:
    box-shadow .2s ease,
    background .2s ease;
    font-size: 16px;
}

.ui-widget input.ui-button, .ui-widget button.ui-button {
  font-size: 16px;
}

/* Remove jQuery UI’s gradient / border leftovers */
.ui-button,
.ui-state-default {
  background-image: none !important;
  border-width: 1px !important;
}

/* Hover: map to .btn:hover */
.ui-button:hover,
.ui-widget button.ui-button:hover,
.ui-state-hover.ui-button,
.ui-button.ui-state-focus {
  box-shadow: var(--shadow-md);
  background:var(--indigo-700);
  font-weight: 700;
  border: 1px solid transparent;
}

/* ==========================
   Primary buttons
   (jQuery UI uses .ui-priority-primary)
   ========================== */

.ui-button.ui-priority-primary,
.ui-dialog .ui-dialog-buttonpane .ui-button.ui-priority-primary {
  background: var(--indigo-600) !important;  /* .btn--primary */
  color: #fff !important;
  border-color: transparent !important;
}

.ui-button.ui-priority-primary:hover,
.ui-dialog .ui-dialog-buttonpane .ui-button.ui-priority-primary:hover,
.ui-button.ui-priority-primary.ui-state-hover,
.ui-button.ui-priority-primary.ui-state-focus {
  background: var(--indigo-700) !important;  /* .btn--primary:hover */
  color: #fff !important;
}

/* ==========================
   Disabled state
   ========================== */

.ui-button.ui-state-disabled,
.ui-button:disabled,
.ui-state-disabled.ui-button {
  opacity: .6;
  cursor: default;
  box-shadow: none;
  
}

/* Optional: make dialog buttons full-width if desired */
.ui-dialog .ui-dialog-buttonpane .ui-button.btn--block {
  display: block;
  width: 100%;
}

/* jquery-ui overrides */

.ui-button.ui-corner-right, .ui-widget.ui-corner-right, button.ui-widget.ui-corner-right {
  border-radius: 0px;
      border-top-right-radius: 4px;
          border-bottom-right-radius: 4px;

}

.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
      font-family: "Segoe UI", "Segoe UI Variable", SegoeUI,
               -apple-system, system-ui, Roboto, "Helvetica Neue", Arial,
               "Apple Color Emoji", "Segoe UI Emoji";
    font-size: 1em;
}


/* ==== A1 / Tailwind-style jQuery UI Tabs ==== */

/* Tabs container */
.ui-tabs, .ui-tabs.ui-widget-content {
  border: none;
  padding: 0;
  
  font-size: 0.875rem; /* text-sm */
}

/* Nav bar (the strip holding the tabs) */
.ui-tabs .ui-tabs-nav {
  margin: 0 0 0.75rem;
  padding: 0;
  border: none;
  background: transparent;
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid #e5e7eb; /* slate-200 */
}

/* Each tab list item */
.ui-tabs .ui-tabs-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  position: relative;
  top: 0;
}

/* The clickable tab link */
.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.9rem;
  border-radius: 0.75rem 0.75rem 0 0; /* round top corners only */
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  color: #4b5563; /* slate-600 */
  background-color: transparent;
  transition:
    background-color 150ms ease,
    color 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

/* Hover / focus state for inactive tabs */
.ui-tabs .ui-tabs-nav .ui-tabs-anchor:hover,
.ui-tabs .ui-tabs-nav .ui-tabs-anchor:focus {
  background-color: var(--indigo-50);
  border-color: #e5e7eb; /* subtle outline */
  color: #111827;        /* slate-900 */
  outline: none;
}

/* Active tab (jQuery UI adds .ui-tabs-active + .ui-state-active) */
.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,
.ui-tabs .ui-tabs-nav li.ui-state-active .ui-tabs-anchor {
  background-color: #ffffff;
  color: #111827;
  border-color: transparent;
  border-bottom-color: #ffffff; /* visually merges with panel */
  
}

/* Optional:show an indigo underline for active tab */
.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor::after,
.ui-tabs .ui-tabs-nav li.ui-state-active .ui-tabs-anchor::after {
  content: "";
  position: absolute;
  left: 0rem;
  right: 0rem;
  bottom: -1px;
  height: 3px;
  border-radius: 999px;
  background: var(--indigo-500);
}

/* Disabled tabs */
.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Tab panels */
.ui-tabs .ui-tabs-panel {
  margin: 0;
  padding: 1rem 1.25rem;
  border-radius: 0 0.75rem 0.75rem 0.75rem;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  color: #111827;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

/* Remove old jQuery UI focus/outline junk */
.ui-tabs .ui-tabs-nav .ui-tabs-anchor:focus-visible {
  outline: 2px solid var(--indigo-500);
  outline-offset: 2px;
}

/* === Responsive tweaks === */





/* text formatting */
.text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
}
.font-semibold {
  font-weight: var(--font-weight-semibold);
 }

/* Cards */
.card{background:rgba(255,255,255,.95);border:1px solid var(--border);border-radius:var(--radius-3xl);padding:1.25rem;box-shadow:var(--shadow-sm);}

/* Grids */
.grid{display:grid;gap:1rem}
.grid--3{grid-template-columns:1fr}
@media(min-width:768px){.grid--3{grid-template-columns:repeat(3,1fr)}}
.grid--2{grid-template-columns:1fr}
@media(min-width:768px){.grid--2{grid-template-columns:repeat(2,1fr)}}
.grid--content{grid-template-columns:1fr}
@media(min-width:1024px){.grid--content{grid-template-columns:3fr 1fr}}




/* Hero */
.hero{position:relative;overflow:hidden;padding-block:3rem}
.hero__bg{position:absolute;inset:0;pointer-events:none}
.hero__grid{display:grid;gap:2rem;align-items:center}
@media(min-width:768px){.hero__grid{grid-template-columns:1fr 1fr;padding-block:2rem}}
.hero h1{font-size:2.2rem;line-height:1.15;margin:1rem 0; font-weight: 800;}
@media(min-width:640px){.hero h1{font-size:3rem}}
.hero .accent{color:var(--indigo-600)}
.lead{font-size:1.1rem;color:var(--muted);max-width:36rem}
.pill{display:inline-flex;gap:.5rem;align-items:center;border:1px solid var(--indigo-200);background:var(--indigo-50);color:#3730a3;padding:.35rem .6rem;border-radius:999px;font-weight:600;font-size:.8rem}
.hero__actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:.75rem}
.trust-points{display:flex;gap:1rem;flex-wrap:wrap;margin:1rem 0 0;padding:0;list-style:none;color:var(--muted)}
.trust-points .icon{font-size:1rem}

/* Upload card */
.card__header{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}
.card__icon{width:2.2rem;height:2.2rem;border-radius:.75rem;display:grid;place-items:center;background:color-mix(in oklab, var(--indigo-600) 90%, white);color:#fff}
.card__title{font-weight:700}
.card__subtitle{font-size:.82rem;color:var(--muted)}
.upload .label{font-size:.78rem;color:#64748b;font-weight:600}
.upload__grid{margin-top:.35rem;display:grid;gap:.5rem;grid-template-columns:1fr}
@media(min-width:520px){.upload__grid{grid-template-columns:1fr 1fr}}
.upload__item{border:1px dashed var(--border-2);border-radius:1rem;padding:1rem;text-align:center}
.file{font-weight:600}

/* Partners */
.partners{padding:2.5rem 0}
.eyebrow{font-size:.7rem;text-transform:uppercase;letter-spacing:.18em;color:#64748b;margin-bottom:.75rem}
.partners__grid{display:grid;gap:.75rem;grid-template-columns:1fr 1fr}
@media(min-width:640px){.partners__grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1024px){.partners__grid{grid-template-columns:repeat(6,1fr)}}
.partners__item{border:1px solid var(--border);background:#fff;border-radius:1rem;padding:.65rem;text-align:center;font-size:.8rem;color:#64748b;font-weight:700}

/* Section head */
.section-head{text-align:center;max-width:40rem;margin:0 auto 1.25rem}
.section-head h2{font-size:2rem;margin:0}
.section-head p{color:var(--muted);margin:.5rem 0 0}

/* How it works */
.how{background:#fff;border-top:1px solid var(--border);padding:2.75rem 0}
.step{height:100%}
.step__icon{width:3rem;height:3rem;border-radius:1rem;background:#eef2ff;display:grid;place-items:center;color:#4f46e5;font-weight:800;margin-bottom:.25rem}
.step__eyebrow{text-transform:uppercase;font-size:.7rem;letter-spacing:.12em;color:#64748b;margin:.25rem 0}

/* Stories */
.stories{padding:2.75rem 0}
.quote .avatar{width:2.5rem;height:2.5rem;border-radius:50%;background:#e0e7ff;display:grid;place-items:center;color:#4f46e5;margin-bottom:.5rem}
.quote__text{color:#1e293b}
.name{font-weight:600}

/* FAQ */
.faq{background:#fff;border-top:1px solid var(--border);padding:2.75rem 0}
.faq__item{display:flex;gap:.75rem}
.faq__icon{width:1.8rem;height:1.8rem;border-radius:.5rem;background:#eef2ff;display:grid;place-items:center;color:#4f46e5;font-weight:800}

/* CTA */
.cta{padding:2.5rem 0}
.cta__bar{display:flex;flex-direction:column;gap:1rem;align-items:center;justify-content:space-between;background:linear-gradient(to bottom right,#eef2ff,#fff)}
@media(min-width:768px){.cta__bar{flex-direction:row}}
.cta__bar h3{margin:.2rem 0 0}
.cta__actions{display:flex;gap:.6rem}

/* Footer */
.app-footer{background:#fff;border-top:1px solid var(--border);padding:2.5rem 0}
.footer__grid{display:grid;gap:1.25rem}
@media(min-width:768px){.footer__grid{grid-template-columns:repeat(4,1fr)}}
.footer__title{font-weight:700;margin-bottom:.35rem}
.brand--footer .brand__logo{width:15rem;height:3.25rem}
.copyright{text-align:center;font-size:.78rem;color:#64748b;margin-top:1.5rem}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important}
}



/* input */


.input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="url"],
textarea,
select {
  width: 100%;
  border-radius: var(--input-radius);
  border: var(--input-border);
  background-color: var(--input-bg);
  color: var(--input-text);

  font-size: 1rem;   
  line-height: 1.25rem;
  padding: .75rem 1rem; 

  outline: none;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04); /* subtle shadow */
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    background-color 150ms ease,
    color 150ms ease;
}

.input::placeholder,
input::placeholder,
textarea::placeholder {
  color: var(--input-placeholder);
}


/* Hover */
.input:hover,
input:hover,
textarea:hover,
select:hover {
  border-color: var(--input-border-hover);
}

/* Focus (Tailwind-like ring) */
.input:focus,
input:focus,
textarea:focus,
select:focus,
input[type="text"]:focus, input[type="url"]:focus, input[type="tel"]:focus, input[type="password"]:focus, input[type="number"]:focus, input[type="email"]:focus, .radiogroup input[type="radio"]:focus, .radiogroup input[type="radio"]:focus + label, textarea:focus, select:focus
 {
  border-color: var(--input-border-focus);
  box-shadow:
    0 0 0 1px var(--input-ring),
    0 0 0 2px var(--input-ring);
}

/* Disabled */
.input:disabled,
input:disabled,
textarea:disabled,
select:disabled {
  background-color: var(--input-disabled-bg);
  color: var(--input-disabled-text);
  border-color: #e5e7eb;
  cursor: not-allowed;
  box-shadow: none;
}

/* Error */
.input-error,
.input-error:focus,
input.input-error,
textarea.input-error,
select.input-error {
  border-color: var(--input-border-error);
  box-shadow:
    0 0 0 1px var(--input-border-error),
    0 0 0 4px rgba(239, 68, 68, 0.2); /* red-500/20 */
}

/* Success */
.input-success,
.input-success:focus,
input.input-success,
textarea.input-success,
select.input-success {
  border-color: var(--input-border-success);
  box-shadow:
    0 0 0 1px var(--input-border-success),
    0 0 0 4px rgba(16, 185, 129, 0.2); /* emerald-500/20 */
}


label,
.form-label {
  /*display: block;               put label on its own line above input */
  margin-bottom: 0.25rem;      /* small gap between label and input */
  font-size: 1rem;         
  line-height: 1.5rem;
  font-weight: 500;            
  color: #374151;             
}

.field-hint {
  margin-top: 0.25rem;
  font-size: 0.75rem;       /* text-xs */
  color: #6b7280;           /* gray-500 */
}

.field-error {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--input-border-error);
}


/* Overall aside spacing so it doesn't hug the edges */
.aside-quick {
  margin-top: 0rem;
}

/* Card container */
.aside-quick__card {
  border-radius: 1rem;
  background: #ffffff; /* solid white for predictable contrast */
  border: 1px solid rgba(148, 163, 184, 0.35); /* subtle border */
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06); /* soft shadow */
  padding: 1.25rem 1.5rem;
}

/* Title & intro text – high contrast against white */
.aside-quick__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155; /* dark slate, strong contrast on white */
  margin: 0;
}

.aside-quick__intro {
  margin: 0.4rem 0 0.9rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #64748b; /* muted but still passes contrast on white */
}

/* List styling */
.aside-quick__list {
  list-style: none;   /* no bullets */
  padding: 0;
  margin: 0;
}

.aside-quick__list li + li {
  margin-top: 0.35rem;
}

/* Links: use your skin’s default anchor color */
.aside-quick__list a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  text-decoration: none;      /* remove if you want default underline */
  
}

/* No custom dot */
.aside-quick__list a::before {
  content: none;
}

/* Simple hover state: keep color, just add underline */
.aside-quick__list a:hover,
.aside-quick__list a:focus {
  text-decoration: underline;
}



/* Layout wrapper */
.passport-aside {
  width: 100%;
  
}

/* Card container */
.passport-card {
      background: rgba(255, 255, 255, .95);
    border: 1px solid var(--border);
    border-radius: var(--radius-3xl);
    
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(6px);
}

/* Header */
.passport-card__header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--slate-100);
}

.passport-card__title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-900);
}

.passport-card__subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* List */
.passport-list {
  padding: 0.75rem 0.75rem 0.75rem 0.75rem;
}

/* Each item */
.passport-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0.5rem;
  border-radius: 0.85rem;
  text-decoration: none;
  color: inherit;
  transition:
    background-color 150ms ease,
    box-shadow 150ms ease,
    transform 120ms ease;
}

.passport-item + .passport-item {
  margin-top: 0.25rem;
}

/* Icon container */
.passport-item__icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 0.75rem;
  background: var(--indigo-50);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Lucide icon itself */
.passport-item__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--indigo-600);
}

/* Text */
.passport-item__body {
  min-width: 0;
}

.passport-item__title {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--slate-900);
}

.passport-item__step {
  margin-right: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--slate-500);
}

.passport-item__desc {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: var(--slate-500);
}

/* Hover & focus state */
.passport-item:hover,
.passport-item:focus {
  background-color: var(--indigo-50);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
  outline: none;
}

.passport-item:focus-visible {
  outline: 2px solid var(--indigo-500);
  outline-offset: 2px;
}

/* Mobile: full width under main card if stacked */
@media (max-width: 1024px) {
  .passport-aside {
    max-width: 100%;
    margin-top: 1.5rem;
  }
}





/* overrides of current platform */

a, a:visited {
    color:var(--indigo-700);
    text-decoration: underline;
    outline: 0;
}

a:visited.btn--primary {color: #fff;}

select:not([size]):not([multiple]) {height: auto}

.tp-results__links {
  list-style: none;
}



.a1-distance-selector-control select, .a1-distance-selector-control input {
  width: 5em;
}

/* === A1 Tailwind-style Data Grid === */

.a1-data-grid {
  display: grid;
}

/* Outer container: card look, rounded, scrollable on overflow */
.a1-data-grid__container, .programSearchGrid {
  overflow: auto;
  background: #ffffff;
  border-radius: 0.75rem;          /* rounded-xl */
  border: 1px solid #e5e7eb;       /* slate-200 */
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06); /* soft shadow */
}

.programSearchGrid thead .textLeft {
  border-top-left-radius: 0.75rem;
 
}

.programSearchGrid thead .textRight {
  
  border-top-right-radius: 0.75rem;
}

/* Base table */
.DataGrid {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;               /* no gaps between cells */
  font-size: 0.875rem;             /* text-sm */
}

/* Header */
.DataGrid thead tr th,
.resultSmallHeader,
.resultHeader {
  background-color: var(--indigo-100);
  color: #111827;                  /* slate-900 */
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  
}

/* Cells */
.DataGrid td,
.DataGrid tfoot td,
.ui-jqgrid .jqgrid-value {
  padding: 0.75rem 1rem;
  vertical-align: top;
  color: #111827;                  /* slate-900 */
  border-bottom: 1px solid #f1f5f9;/* slate-100-ish divider */
}

/* Remove the old big row striping and use subtle hover instead */
.DataGrid tr:nth-of-type(even) {
  background-color: transparent;
}

.DataGrid tbody tr:hover {
  background-color: #f9fafb;       /* slate-50 */
}

/* Caption (summary above the table) */
.DataGrid.captionable caption,
.a1-data-grid__caption,
.a1-data-grid__summary {
  text-align: left;
  line-height: 1.5;
  font-size: 0.875rem;
  color: #4b5563;                  /* slate-600 */
  margin-bottom: 0.5rem;
}

/* Pagination / header actions wrapper */
.a1-data-grid__pagination__header {
  margin-bottom: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Actions container (summary + controls) */
.a1-data-grid__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media screen and (min-width: 1280px) {
  .a1-data-grid__actions {
    align-items: center;
    flex-direction: row;
    gap: 1rem;
  }
}

/* "Results per page" group */
.a1-data-grid__records-per-page {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: #4b5563;
}

@media screen and (min-width: 800px) {
  .a1-data-grid__records-per-page {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }
}

/* "Go to page" group */
.a1-data-grid__go-to-page {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: #4b5563;
  margin-top: 0.25rem;
}

@media screen and (min-width: 800px) {
  .a1-data-grid__go-to-page {
    flex-direction: row;
    align-items: center;
    margin-top: 0;
  }
}

/* Footer pagination row */
.a1-data-grid__pagination__footer, .pager-rainbow {
  margin-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #4b5563;
}

/* Keep row headers aligned */
th[scope="row"] {
  text-align: left;
  font-weight: 500;
  border-bottom: 1px solid #f1f5f9;
}


/* Nested grids: lighter shadow inside a row */
.nestedDataGridContainer {
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: #f9fafb;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

.nestedDataGridContainer .DataGrid {
  border: 0;
}

/* Utility bits you already had, kept as-is but modernized slightly */
.gridResultTotal {
  float: left;
  font-size: 0.875rem;
  color: #4b5563;
}

/* Make the data-grid container control horizontal scrolling */
.a1-data-grid__container {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;   /* horizontal scroll inside the container */
  overflow-y: visible;
  -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
}

/* Table should not force page width bigger than its container */
.DataGrid {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto;  /* or fixed, if you prefer equal columns */
}


/* --- Mobile / small-screen tweaks --- */
@media screen and (max-width: 1225px) {
  .a1-data-grid__container {
    max-width: 1225px;
  }
}


@media screen and (max-width: 768px) {
  .a1-data-grid__container {
    margin-left: 0;
    margin-right: 0;
    border-radius: 0.75rem;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
  }
}

  /* Make the table a bit denser */
  .DataGrid {
    font-size: 0.8rem;             /* smaller text */
  }

  .DataGrid th,
  .DataGrid td {
    padding: 0.5rem 0.75rem;       /* tighter padding */
    
  }

  /* Horizontal scrolling already allowed, but make it smoother */
  .a1-data-grid__container {
    -webkit-overflow-scrolling: touch;
  }

  /* Sticky header so column names stay visible while you scroll */
  .DataGrid thead th {
    position: sticky;
    top: 0;
    z-index: 1;
  }

  /* Pagination / header controls: stack nicely */
  .a1-data-grid__pagination__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .a1-data-grid__records-per-page,
  .a1-data-grid__go-to-page {
    margin-left: 0;
    width: 100%;
    
  }

  .a1-data-grid__pagination__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}





/* Slightly larger “touch targets” on very small phones */
@media screen and (max-width: 480px) {
  .DataGrid th,
  .DataGrid td {
    padding: 0.45rem 0.6rem;
  }
}


.a1-data-grid__container::-webkit-scrollbar {
  height: 8px;
}

.a1-data-grid__container::-webkit-scrollbar-track {
  background: #f3f4f6; /* slate-100 */
}

.a1-data-grid__container::-webkit-scrollbar-thumb {
  background: var(--indigo-400); /* soft indigo */
  border-radius: 999px;
}

.a1-data-grid__container::-webkit-scrollbar-thumb:hover {
  background: var(--indigo-500); /* soft indigo */

}












@media(max-width: 650px) {

  .brand__logo{width:10rem;height:3.25rem;display:grid;place-items:center;border-radius:.75rem;}
}