/* Page-level CSS that is awkward or impossible to express as Tailwind utilities.
   Loaded alongside tailwind.css. Keep this file thin — prefer @layer in input.css. */

#mobile-menu.active {
  transform: translateX(0);
}

.hero_padding {
  padding: 5rem 0 5rem 0 !important;
  /* margin-bottom: -10rem !important; */
}
.hero_padding h1 {
  font-family: "Lora", serif !important;
  font-size: 3.25rem !important; /* ~52px */
  line-height: 1.1 !important;
  font-weight: 700 !important;
  letter-spacing: -0.5px !important;
  color: #1a1a1a !important;
  margin-bottom: 1.25rem !important;
}
.hero_padding p,
.hero_padding p.text-lg {
  font-size: 1.0625rem !important; /* ~17px */
  line-height: 1.6 !important;
  color: #4b5563 !important;
  max-width: 30rem;
}

@media (min-width: 1280px) {
  .hero_padding h1 {
    font-size: 3.75rem !important;
  } /* ~60px */
}
@media (min-width: 2560px) {
  .hero_padding h1 {
    font-size: 6rem !important;
  } /* 4k */
  .hero_padding p,
  .hero_padding p.text-lg {
    font-size: 1.75rem !important;
    max-width: 48rem;
  }
}

@media (max-width: 1023px) {
  .hero_padding h1 {
    font-size: 2.5rem !important;
  } /* ~40px tablet */
}
@media (max-width: 768px) {
  .hero_padding {
    padding: 0 0 8rem 0 !important;
  }
  .hero_padding h1 {
    font-size: 2rem !important; /* ~32px mobile */
    margin-bottom: 0.75rem !important;
  }
  .hero_padding p,
  .hero_padding p.text-lg {
    font-size: 0.9375rem !important;
  } /* ~15px mobile */
  .hero_padding .py-12 {
    padding: 1rem 0 0 0 !important;
  }
}

/* Hero backdrop — pastel PNG (lilac → pink → peach) sits behind the hero
   grid and the floating search bar. The PNG URL is set inline on the
   element so it can include $GLOBALS.site_url at render time. */
.ra-hero {
  background: transparent;
}
.ra-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

/* Decorative orange outlined frame offset behind the hero photo. */
.ra-hero__media {
  isolation: isolate;
}
.ra-hero__frame {
  position: absolute;
  inset: -14px -18px 22px 22px;
  z-index: 1;
  border: 2px solid #f15a29;
  border-radius: 18px;
  pointer-events: none;
}
@media (max-width: 768px) {
  .ra-hero__frame {
    inset: -8px -10px 14px 14px;
    border-radius: 14px;
  }
}

/* "NEW" pill on job cards — soft peach background with brand text. */
.ra-badge-new {
  background: #ffede8;
  border-radius: 999px;
  padding: 2px 10px;
  line-height: 1.4;
}

/* "URGENTLY HIRING" pill — solid peach with stronger brand tint, used on
   featured job cards (same shape as .ra-badge-new for layout consistency). */
.ra-badge-urgent {
  background: #ffe4d8;
  border-radius: 999px;
  padding: 2px 10px;
  line-height: 1.4;
  box-shadow: inset 0 0 0 1px rgba(241, 90, 41, 0.18);
}

/* Search results hero band — pastel PNG backdrop, centered title above the
   floating search bar. The bar overlaps the next section via negative
   margin on the content grid (see template). */
.ra-results-hero {
  background: transparent;
  padding: 5rem 0 5rem 0 !important;
}
.ra-results-hero__title {
  font-family: "Lora", serif;
  font-weight: 700;
  color: #1a1a1a;
  font-size: 2.5rem; /* ~40px default */
  line-height: 1.15;
  letter-spacing: -0.5px;
}
@media (min-width: 1024px) {
  .ra-results-hero__title {
    font-size: 3rem;
  } /* ~48px */
}
@media (min-width: 1280px) {
  .ra-results-hero__title {
    font-size: 3.5rem;
  } /* ~56px */
}
@media (min-width: 2560px) {
  .ra-results-hero__title {
    font-size: 5.5rem;
  } /* 4k */
}
@media (max-width: 640px) {
  .ra-results-hero__title {
    font-size: 1.875rem;
  } /* ~30px mobile */
}

/* ============================================================
   Pricing / Select-Product step (listing_product_choice.tpl)
   ============================================================ */

/* Pastel hero — self-contained, no Tailwind utility deps. The PNG URL is
   set inline on the element via background-image so it can include
   $GLOBALS.site_url at render time. */
.ra-pricing-hero {
  display: block;
  width: 100%;
  background-color: #f6e0ee;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 4rem 1rem;
  text-align: center;
}
.ra-pricing-hero__inner {
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
}
.ra-pricing-hero__title {
  font-family: "Lora", serif;
  font-weight: 700;
  font-size: 2.25rem; /* ~36px default */
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #1a1a1a;
  margin: 0 0 1rem 0;
}
.ra-pricing-hero__accent {
  font-style: italic;
  color: #f15a29;
  font-weight: 700;
}
.ra-pricing-hero__sub {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #4b5563;
  max-width: 36rem;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .ra-pricing-hero {
    padding: 5rem 1.5rem;
  }
  .ra-pricing-hero__title {
    font-size: 3rem;
  } /* ~48px */
}
@media (min-width: 1280px) {
  .ra-pricing-hero {
    padding: 6rem 2rem;
  }
  .ra-pricing-hero__title {
    font-size: 3.5rem;
  } /* ~56px */
}
@media (min-width: 2560px) {
  .ra-pricing-hero {
    padding: 9rem 2rem;
  }
  .ra-pricing-hero__title {
    font-size: 5.5rem;
  }
  .ra-pricing-hero__sub {
    font-size: 1.75rem;
    max-width: 56rem;
  }
}
@media (max-width: 640px) {
  .ra-pricing-hero {
    padding: 3rem 1rem;
  }
  .ra-pricing-hero__title {
    font-size: 1.875rem;
  }
  .ra-pricing-hero__sub {
    font-size: 0.9375rem;
  }
}

/* Section wrapper around the cards — owns the vertical breathing room
   between the pastel hero and the membership CTA strip. Widened to
   accommodate a 4-up card row on desktop. */
.ra-pricing-section {
  width: 100%;
  padding: 4rem 1rem;
  background: #ffffff;
}
.ra-pricing-section__inner {
  width: 100%;
  max-width: 80rem; /* ~1280px — 4 cards at ~290px + 3 gaps */
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .ra-pricing-section {
    padding: 5rem 1.5rem;
  }
}
@media (min-width: 1280px) {
  .ra-pricing-section {
    padding: 5rem 2rem;
  }
  .ra-pricing-section__inner {
    max-width: 84rem;
  }
}
@media (min-width: 2560px) {
  .ra-pricing-section {
    padding: 8rem 2rem;
  }
  .ra-pricing-section__inner {
    max-width: 120rem;
  }
}

/* PRODUCT_IS_ONLY_ONCE_AVAILABLE error banner */
.ra-pricing-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
  font-size: 0.875rem;
}
.ra-pricing-alert svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* No-products fallback */
.ra-pricing-empty {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
}
.ra-pricing-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  background: #fef3c7;
  color: #92400e;
  margin-bottom: 1rem;
}
.ra-pricing-empty__msg {
  color: #333333;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

/* Each card's submit form occupies the remaining card height so the
   button anchors to the bottom edge. */
.ra-pricing-card__form {
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

/* Optional billing-cycle suffix for recurring products ("/ month"). */
.ra-pricing-card__price-period {
  margin-left: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #707070;
  align-self: center;
}

/* Disabled state when the buyer's user group doesn't match the product. */
.ra-pricing-card__cta.is-disabled,
.ra-pricing-card__cta:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

/* Pricing grid — cascades 1 → 2 → 4 columns. Cards stretch to equal height
   so the CTA button always sits flush at the bottom regardless of the
   feature-list length on each tier. */
.ra-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
  margin: 0 auto;
  align-items: stretch;
}
@media (min-width: 640px) {
  .ra-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}
@media (min-width: 1280px) {
  .ra-pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
@media (min-width: 2560px) {
  .ra-pricing-grid {
    gap: 2rem;
  }
}

/* Product cards — equal heights via flex column + height:100%; the CTA
   uses margin-top:auto to sit flush at the bottom regardless of body length.
   Padding and typography scale down at the 4-up breakpoint so content
   stays balanced inside narrower cards. */
.ra-pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.5rem;
  height: 100%;
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
.ra-pricing-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}
.ra-pricing-card.is-featured {
  background: #fff6f1;
  border: 1.5px solid #f2a98c;
  box-shadow: 0 12px 36px rgba(241, 90, 41, 0.08);
}
.ra-pricing-card.is-featured:hover {
  box-shadow: 0 16px 44px rgba(241, 90, 41, 0.14);
}

@media (min-width: 640px) {
  .ra-pricing-card {
    padding: 1.75rem;
  }
}
@media (min-width: 1280px) {
  .ra-pricing-card {
    padding: 1.5rem;
    border-radius: 12px;
  }
}
@media (min-width: 1536px) {
  .ra-pricing-card {
    padding: 1.75rem;
  }
}
@media (min-width: 2560px) {
  .ra-pricing-card {
    padding: 3rem;
    border-radius: 22px;
  }
}

/* Icon tile */
.ra-pricing-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  margin-bottom: 1.25rem;
}
.ra-pricing-card__icon svg {
  width: 20px;
  height: 20px;
}
.ra-pricing-card.is-free .ra-pricing-card__icon {
  background: #e8f1ff;
  color: #3b82f6;
}
.ra-pricing-card.is-featured .ra-pricing-card__icon {
  background: #ffe4d8;
  color: #f15a29;
}
@media (min-width: 2560px) {
  .ra-pricing-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }
  .ra-pricing-card__icon svg {
    width: 32px;
    height: 32px;
  }
}

/* Title + description */
.ra-pricing-card__title {
  font-family: "Lora", serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.25;
  color: #1a1a1a;
  margin: 0 0 0.375rem 0;
}
.ra-pricing-card__desc {
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}
@media (min-width: 2560px) {
  .ra-pricing-card__title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
  .ra-pricing-card__desc {
    font-size: 1.25rem;
  }
}
.ra-pricing-card__desc p {
  margin: 0 0 0.5rem 0;
}
.ra-pricing-card__desc ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.ra-pricing-card__desc li {
  position: relative;
  padding-left: 1.625rem;
  color: #333333;
  font-size: 0.875rem;
  line-height: 1.45;
}
.ra-pricing-card__desc li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1875rem;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: #e8f1ff center / 60% no-repeat
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B82F6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 8'/></svg>");
}
.ra-pricing-card.is-featured .ra-pricing-card__desc li::before {
  background-color: #ffe4d8;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EF5C2A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 8'/></svg>");
}
@media (min-width: 2560px) {
  .ra-pricing-card__title {
    font-size: 2.5rem;
  }
  .ra-pricing-card__desc,
  .ra-pricing-card__desc li {
    font-size: 1.375rem;
  }
  .ra-pricing-card__desc li {
    padding-left: 2.75rem;
  }
  .ra-pricing-card__desc li::before {
    width: 1.875rem;
    height: 1.875rem;
    top: 0.25rem;
  }
}

/* Divider before the price */
.ra-pricing-card__divider {
  height: 1px;
  background: #e5e7eb;
  margin: 1.25rem 0 1rem 0;
}
.ra-pricing-card.is-featured .ra-pricing-card__divider {
  background: #f4cdb8;
}

/* Price — both the integer and the .00 share the same near-black color so
   the only difference is type size (matches the reference). */
.ra-pricing-card__price {
  display: flex;
  align-items: flex-start;
  gap: 0;
  color: #0a0a0a;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.25rem;
}
.ra-pricing-card__currency {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0a0a0a;
  margin-right: 0.25rem;
}
.ra-pricing-card__price-int {
  font-size: 2rem;
  line-height: 1;
  color: #0a0a0a;
}
.ra-pricing-card__price-dec {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0a0a0a;
  line-height: 1;
  margin-top: 0.125rem;
}
@media (min-width: 2560px) {
  .ra-pricing-card__price-int {
    font-size: 3.75rem;
  }
  .ra-pricing-card__price-dec {
    font-size: 1.75rem;
    margin-top: 0.25rem;
  }
}

.ra-pricing-card__price-foot {
  font-size: 0.75rem;
  color: #707070;
  margin: 0 0 1.25rem 0;
  min-height: 1.25em;
  line-height: 1.4;
}
@media (min-width: 2560px) {
  .ra-pricing-card__price-foot {
    font-size: 1rem;
  }
}

/* CTA button — outline (free) vs solid (featured). Includes a full reset
   so default browser button styling (system font, gray bg, inner border)
   does not leak through and override our tinted colors. */
.ra-pricing-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 9px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.2px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    transform 0.05s ease;
}
.ra-pricing-card__cta:focus-visible {
  outline: 2px solid #f15a29;
  outline-offset: 2px;
}
.ra-pricing-card__cta.is-outline,
.ra-pricing-card__cta.is-outline:visited {
  background-color: #ffede8 !important;
  border: 1px solid transparent;
  color: #f15a29 !important;
}
.ra-pricing-card__cta.is-outline:hover {
  background-color: #ffd9cb !important;
  color: #f15a29 !important;
}
.ra-pricing-card__cta.is-solid,
.ra-pricing-card__cta.is-solid:visited {
  background-color: #f15a29 !important;
  border: 1px solid #f15a29;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(241, 90, 41, 0.24);
}
.ra-pricing-card__cta.is-solid:hover {
  background-color: #d54f22 !important;
  border-color: #d54f22;
  color: #ffffff !important;
}
.ra-pricing-card__cta:active {
  transform: scale(0.99);
}
@media (min-width: 2560px) {
  .ra-pricing-card__cta {
    padding: 1.5rem;
    font-size: 1.5rem;
    border-radius: 16px;
  }
}

.webinar_cta_section {
  background: white linear-gradient(106deg, #ffb9a210 0%, #304adb10 100%) 0 0
    no-repeat padding-box;
  margin-top: 4rem !important;
  margin-bottom: -5rem;
  z-index: 9;
  position: relative;
}

.ra_icon_only {
  background: #ffffff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  border-radius: 10px;
}

/* Footer padding driven by Tailwind utilities on the <footer> element
   (`pb-12 pt-24 lg:pt-36`) — same as restaurantassociation.com. */

/* Membership-CTA overlap — mirrors parent's app/layout.tsx wrapper:
     <div className="mb-8 lg:relative lg:z-50 lg:mb-0 lg:translate-y-1/2">
   Tailwind's JIT scanner has trouble with `lg:translate-y-1/2` inside this
   particular .tpl (the colon + slash + responsive prefix combo doesn't
   round-trip), so we hand-roll the breakpoint here. At ≥lg the CTA card
   shifts down by half its own height and gets z-50 so its bottom half
   floats over the dark footer band — same elevated-card look as the
   parent property. */
@media (min-width: 1024px) {
  .ra-cta-overlap {
    position: relative;
    z-index: 50;
    margin-bottom: 0;
    transform: translateY(50%);
  }
}

.job_details_card img {
  transform: scale(1.1);
}

.jo_details_hero_apply {
  margin-top: -25px;
  z-index: 9;
  border: 1px solid #e0e0e0;
  border-radius: 0 0 10px 10px;
}

@keyframes indicator-blink {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(1.2);
  }
}
.is-blinking {
  animation: indicator-blink 1s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(242, 101, 34, 0.6);
}

@keyframes border-run {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.animate-border,
.animate-border-run {
  animation: border-run 3s linear infinite;
}

#video-container:fullscreen,
#video-container:-webkit-full-screen,
#video-container:-moz-full-screen {
  width: 100vw;
  height: 100vh;
  border-radius: 0;
}

@media (min-width: 2560px) {
  .nav-underline {
    height: 5px;
  }
  .nav-gradient-border,
  .search-gradient-border {
    border-width: 3px;
  }
}

/* WYSIWYG (TinyMCE 4) chrome skin — restyles the bundled editor to match the
   site's design language: light gray toolbar, rounded chrome, soft borders,
   modern flat buttons. Functional behavior and the toolbar action set are
   left untouched (controlled by SJB_TinymceWrapper in PHP). Selectors target
   TinyMCE 4's `.mce-*` runtime classes — these are injected by JS, so we
   can't reach them with Tailwind @apply and use design-token values in plain
   CSS instead. Inner iframe content is themed via content.css. */
.ra-wysiwyg {
  width: 100%;
}

/* Plain-textarea fallback (when WYSIWYG is disabled in admin settings) */
.ra-wysiwyg textarea.inputText {
  width: 100%;
  min-height: 200px;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  color: #333333;
  font-family: "Satoshi", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
  transition: border-color 0.15s ease;
}
.ra-wysiwyg textarea.inputText:focus {
  outline: none;
  border-color: #f15a29;
}

/* Outer container */
.ra-wysiwyg .mce-tinymce {
  width: 100% !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  background: #fff;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.ra-wysiwyg .mce-tinymce:focus-within {
  border-color: #f15a29 !important;
  box-shadow: 0 0 0 3px rgba(241, 90, 41, 0.12);
}
.ra-wysiwyg .mce-panel,
.ra-wysiwyg .mce-stack-layout,
.ra-wysiwyg .mce-flow-layout {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Toolbar bar — light gray, with bottom divider */
.ra-wysiwyg .mce-toolbar-grp {
  background: #f5f6f7 !important;
  border-bottom: 1px solid #e5e7eb !important;
  padding: 6px 8px !important;
}
.ra-wysiwyg .mce-toolbar {
  padding: 2px 0 !important;
}
.ra-wysiwyg .mce-flow-layout-item {
  margin: 2px 4px 2px 0 !important;
}

/* Button groups — remove harsh dividers, keep gentle separation */
.ra-wysiwyg .mce-btn-group {
  border: 0 !important;
  padding: 0 6px !important;
  position: relative;
}
.ra-wysiwyg .mce-btn-group + .mce-btn-group::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: #e5e7eb;
}
.ra-wysiwyg .mce-btn-group .mce-btn {
  margin: 0 1px !important;
}

/* Buttons — flat, rounded, hover/active states */
.ra-wysiwyg .mce-btn {
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  transition:
    background-color 0.12s ease,
    border-color 0.12s ease,
    color 0.12s ease;
}
.ra-wysiwyg .mce-btn button {
  padding: 4px 6px !important;
  color: #374151 !important;
  font-family: "Satoshi", sans-serif !important;
  font-size: 13px !important;
}
.ra-wysiwyg .mce-btn:hover,
.ra-wysiwyg .mce-btn:focus {
  background: #ffffff !important;
  border-color: #e5e7eb !important;
}
.ra-wysiwyg .mce-btn.mce-active,
.ra-wysiwyg .mce-btn:active {
  background: #fef0ea !important;
  border-color: #f7c4b1 !important;
}
.ra-wysiwyg .mce-btn.mce-active i,
.ra-wysiwyg .mce-btn.mce-active button {
  color: #f15a29 !important;
}
.ra-wysiwyg .mce-btn.mce-disabled {
  opacity: 0.45;
}

/* Icons */
.ra-wysiwyg .mce-ico {
  color: #4b5563 !important;
  font-size: 16px !important;
  line-height: 16px !important;
}
.ra-wysiwyg .mce-btn:hover .mce-ico {
  color: #111827 !important;
}

/* Listbox / dropdown selectors (formatselect, alignment, etc.) */
.ra-wysiwyg .mce-btn.mce-listbox {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  min-height: 30px;
}
.ra-wysiwyg .mce-btn.mce-listbox:hover {
  border-color: #d1d5db !important;
  background: #ffffff !important;
}
.ra-wysiwyg .mce-btn.mce-listbox button {
  padding: 4px 10px !important;
  color: #1f2937 !important;
  font-weight: 500;
}
.ra-wysiwyg .mce-btn.mce-listbox .mce-caret {
  border-top-color: #6b7280 !important;
  margin-left: 6px;
}

/* Edit area (iframe wrapper) */
.ra-wysiwyg .mce-edit-area {
  background: #fff !important;
  border: 0 !important;
  padding: 6px 4px;
}
.ra-wysiwyg .mce-edit-area iframe {
  background: #fff !important;
}

/* Status bar — subtle */
.ra-wysiwyg .mce-statusbar {
  background: #fafafa !important;
  border-top: 1px solid #f1f5f9 !important;
}
.ra-wysiwyg .mce-path,
.ra-wysiwyg .mce-path .mce-path-item {
  color: #9ca3af !important;
  font-size: 11px !important;
}
.ra-wysiwyg .mce-statusbar .mce-flow-layout-item {
  margin: 4px 8px !important;
}

/* Responsive: tighten padding on narrow viewports so the toolbar wraps cleanly */
@media (max-width: 640px) {
  .ra-wysiwyg .mce-toolbar-grp {
    padding: 4px 6px !important;
  }
  .ra-wysiwyg .mce-btn-group {
    padding: 0 4px !important;
  }
  .ra-wysiwyg .mce-btn button {
    padding: 3px 4px !important;
  }
}

/* ============================================================
   Post a Job — input_form.tpl + input_form_default.tpl
   ============================================================ */

.ra-postjob {
  width: 100%;
  background: #ffffff;
  padding: 3rem 1rem;
}
.ra-postjob__container {
  width: 100%;
  max-width: 84rem;
  margin: 0 auto;
}
.ra-postjob__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .ra-postjob {
    padding: 4rem 2rem;
  }
  .ra-postjob__layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 2.25rem;
  }
}
@media (min-width: 2560px) {
  .ra-postjob {
    padding: 8rem 3rem;
  }
  .ra-postjob__container {
    max-width: 120rem;
  }
  .ra-postjob__layout {
    grid-template-columns: minmax(0, 1fr) 520px;
    gap: 4rem;
  }
}

/* Header — NEW LISTING pill, h1, subtitle */
.ra-postjob__header {
  margin-bottom: 2rem;
}
.ra-postjob__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: #ffede8;
  color: #f15a29;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.ra-postjob__title {
  font-family: "Lora", serif;
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #1a1a1a;
  margin: 0 0 0.75rem 0;
}
.ra-postjob__sub {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #4b5563;
  max-width: 36rem;
  margin: 0;
}
@media (min-width: 1024px) {
  .ra-postjob__title {
    font-size: 2.5rem;
  }
}
@media (min-width: 2560px) {
  .ra-postjob__title {
    font-size: 4rem;
    margin-bottom: 1.25rem;
  }
  .ra-postjob__sub {
    font-size: 1.5rem;
    max-width: 60rem;
  }
  .ra-postjob__tag {
    font-size: 1rem;
    padding: 0.5rem 1.25rem;
  }
}

/* Step indicator */
.ra-postjob__steps {
  margin-bottom: 2rem;
}
.ra-postjob__steps-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.ra-postjob__step {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #a0a0a0;
  font-size: 0.875rem;
  font-weight: 600;
}
.ra-postjob__step.is-current {
  color: #1a1a1a;
  font-weight: 700;
}
.ra-postjob__step.is-done {
  color: #4b5563;
}
.ra-postjob__step-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f5f5f5;
  color: #a0a0a0;
  font-size: 0.8125rem;
  font-weight: 700;
}
.ra-postjob__step.is-current .ra-postjob__step-circle,
.ra-postjob__step.is-done .ra-postjob__step-circle {
  background: #f15a29;
  color: #ffffff;
}
.ra-postjob__step-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
}

/* Form card */
.ra-postjob__card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
@media (min-width: 640px) {
  .ra-postjob__card {
    padding: 2rem;
  }
}
@media (min-width: 1024px) {
  .ra-postjob__card {
    padding: 2rem;
  }
}
@media (min-width: 2560px) {
  .ra-postjob__card {
    padding: 3.5rem;
    border-radius: 28px;
  }
}

/* Action bar inside the form card */
.ra-postjob__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f0f0f0;
}
@media (min-width: 640px) {
  .ra-postjob__actions {
    flex-direction: row;
    justify-content: flex-end;
    gap: 1rem;
  }
}
.ra-postjob__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.ra-postjob__btn:focus-visible {
  outline: 2px solid #f15a29;
  outline-offset: 2px;
}
.ra-postjob__btn--outline {
  background-color: #ffffff !important;
  border: 1px solid #d1d1d1;
  color: #1a1a1a !important;
  min-width: 9rem;
}
.ra-postjob__btn--outline:hover {
  background-color: #fafafa !important;
  border-color: #f15a29;
  color: #f15a29 !important;
}
.ra-postjob__btn--primary {
  background-color: #f15a29 !important;
  border: 1px solid #f15a29;
  color: #ffffff !important;
  min-width: 10rem;
  box-shadow: 0 8px 20px rgba(241, 90, 41, 0.24);
}
.ra-postjob__btn--primary:hover {
  background-color: #d54f22 !important;
  border-color: #d54f22;
  color: #ffffff !important;
}
@media (min-width: 2560px) {
  .ra-postjob__btn {
    padding: 1.25rem 2rem;
    font-size: 1.5rem;
    border-radius: 16px;
  }
}

/* ============== SIDEBAR ============== */
.ra-postjob__sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: static;
}
@media (min-width: 1024px) {
  .ra-postjob__sidebar {
    position: sticky;
    top: 1.5rem;
  }
}

/* Plan summary card — dark navy with orange accents */
.ra-postjob__plan-card {
  position: relative;
  background: #10192e;
  color: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  overflow: hidden;
}
.ra-postjob__plan-card::after {
  content: "";
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  width: 10rem;
  height: 10rem;
  border-radius: 999px;
  background: rgba(241, 90, 41, 0.07);
  pointer-events: none;
}
.ra-postjob__plan-label {
  display: inline-block;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1rem;
}
.ra-postjob__plan-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(241, 90, 41, 0.18);
  color: #f15a29;
  margin-bottom: 1rem;
}
.ra-postjob__plan-name {
  font-family: "Lora", serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 0 0 0.25rem 0;
  color: #ffffff;
}
.ra-postjob__plan-meta {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  margin: 0 0 1.25rem 0;
}
.ra-postjob__plan-sep {
  margin: 0 0.375rem;
  color: rgba(255, 255, 255, 0.35);
}

.ra-postjob__plan-features {
  list-style: none;
  margin: 0 0 1.5rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  line-height: 1.45;
}
.ra-postjob__plan-features li,
.ra-postjob__plan-features--rich ul li {
  position: relative;
  padding-left: 1.625rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}
.ra-postjob__plan-features li::before,
.ra-postjob__plan-features--rich ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1875rem;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1) center / 60% no-repeat
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 8'/></svg>");
}

/* Rich-text variant — used when $productInfo.detailed_description is set
   and rendered as HTML. Admin-authored markup is normalised: stray <ul>,
   <ol>, <p>, and <strong> tags get matching dark-card styling so the
   checkmark list looks identical to the manual fallback above. */
.ra-postjob__plan-features--rich {
  gap: 0;
}
.ra-postjob__plan-features--rich ul,
.ra-postjob__plan-features--rich ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.ra-postjob__plan-features--rich p {
  margin: 0 0 0.5rem 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8125rem;
  line-height: 1.5;
}
.ra-postjob__plan-features--rich p:last-child {
  margin-bottom: 0;
}
.ra-postjob__plan-features--rich strong {
  color: #ffffff;
  font-weight: 700;
}
.ra-postjob__plan-features--rich ul + p,
.ra-postjob__plan-features--rich p + ul {
  margin-top: 0.75rem;
}

.ra-postjob__plan-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1rem;
  background: #ffede8;
  color: #f15a29;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.ra-postjob__plan-cta:hover {
  background: #ffd9cb;
  color: #f15a29;
}

/* Tip card — peach background, lightbulb + italic copy */
.ra-postjob__tip-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #fff6f1;
  border: 1px solid #ffe4d8;
  border-radius: 14px;
}
.ra-postjob__tip-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #ffe4d8;
  color: #f15a29;
}
.ra-postjob__tip-text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #4b5563;
}
.ra-postjob__tip-text strong {
  color: #f15a29;
  font-weight: 700;
}

@media (min-width: 2560px) {
  .ra-postjob__plan-card {
    padding: 2.5rem;
    border-radius: 28px;
  }
  .ra-postjob__plan-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }
  .ra-postjob__plan-name {
    font-size: 2rem;
  }
  .ra-postjob__plan-meta {
    font-size: 1.25rem;
  }
  .ra-postjob__plan-features li {
    font-size: 1.25rem;
    padding-left: 2.5rem;
  }
  .ra-postjob__plan-features li::before {
    width: 1.5rem;
    height: 1.5rem;
    top: 0.25rem;
  }
  .ra-postjob__plan-cta {
    font-size: 1.5rem;
    padding: 1.25rem;
    border-radius: 16px;
  }
  .ra-postjob__tip-card {
    padding: 1.75rem;
    border-radius: 22px;
  }
  .ra-postjob__tip-icon {
    width: 56px;
    height: 56px;
  }
  .ra-postjob__tip-text {
    font-size: 1.25rem;
  }
}

/* ============== INJECTED SECTION HEADERS ============== */
/* Small "ROLE DETAILS" / "APPLICATION SETTINGS" labels rendered by
   input_form_default.tpl ahead of the corresponding field blocks. */
.ra-form-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  margin: 0 0 0.25rem 0;
}
.ra-form-section + * {
  margin-top: 0;
}
.ra-form-section__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #f5f5f5;
  color: #707070;
}
.ra-form-section__label {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
  color: #707070;
}
.ra-form-section + *,
.ra-form-section + label {
  margin-top: 0.5rem;
}

/* When the second section header appears mid-form, give it more breathing
   room from the field above. */
.ra-postjob__fields .ra-form-section ~ .ra-form-section,
.ra-postjob__fields > .ra-form-section:not(:first-child) {
  margin-top: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f0f0f0;
}

@media (min-width: 2560px) {
  .ra-form-section__icon {
    width: 36px;
    height: 36px;
  }
  .ra-form-section__label {
    font-size: 1rem;
  }
}

/* Variant for second/subsequent injected section header — adds a soft
   separator + extra top spacing so adjacent sections feel distinct. */
.ra-form-section--gap {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f0f0f0;
}

/* ============================================================
   Edit Company Profile — users/edit_profile.tpl
   ============================================================ */

.ra-profile {
  width: 100%;
  background: #ffffff;
  padding: 3rem 1rem;
}
.ra-profile__container {
  width: 100%;
  max-width: 84rem;
  margin: 0 auto;
}
.ra-profile__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .ra-profile { padding: 4rem 2rem; }
  .ra-profile__layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 2.25rem; }
}
@media (min-width: 2560px) {
  .ra-profile { padding: 8rem 3rem; }
  .ra-profile__container { max-width: 120rem; }
  .ra-profile__layout { grid-template-columns: minmax(0, 1fr) 480px; gap: 4rem; }
}

/* Heading with orange underline */
.ra-profile__header {
  margin-bottom: 1.75rem;
}
.ra-profile__title {
  font-family: "Lora", serif;
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.2;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.25px;
}
.ra-profile__title-rule {
  display: block;
  width: 56px;
  height: 3px;
  background: #f15a29;
  border-radius: 2px;
}
@media (min-width: 1024px) {
  .ra-profile__title { font-size: 2rem; }
}
@media (min-width: 2560px) {
  .ra-profile__title { font-size: 3rem; }
  .ra-profile__title-rule { width: 96px; height: 5px; }
}

/* Success banner */
.ra-profile__alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.45;
}
.ra-profile__alert--success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.ra-profile__alert svg { flex-shrink: 0; margin-top: 0.125rem; }

/* Form card */
.ra-profile__card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
@media (min-width: 640px) { .ra-profile__card { padding: 2rem; } }
@media (min-width: 1024px) { .ra-profile__card { padding: 2rem 2.25rem; } }
@media (min-width: 2560px) { .ra-profile__card { padding: 3.5rem; border-radius: 28px; } }

/* Field grid — explicit row/column gap so we don't depend on Tailwind's
   gap utilities being present in the compiled bundle. Section headers
   span the full row and tighten their own top spacing. */
.ra-profile__fields {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 1.5rem;
  row-gap: 1.25rem;
}
@media (min-width: 1024px) {
  .ra-profile__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
    row-gap: 1.5rem;
  }
}
@media (min-width: 2560px) {
  .ra-profile__fields { column-gap: 2.5rem; row-gap: 2rem; }
}

/* Belt-and-braces: even if the grid is overridden, give each direct
   field child a bottom margin so adjacent inputs never touch. The grid
   collapses adjacent margins, so this only kicks in when the gap is
   missing. */
.ra-profile__fields > label,
.ra-profile__fields > div {
  margin-bottom: 0;
}
.ra-profile__fields > label > .ra-input,
.ra-profile__fields > label input.ra-input,
.ra-profile__fields > label input.form-control,
.ra-profile__fields > div  input.ra-input,
.ra-profile__fields > div  input.form-control,
.ra-profile__fields > div  textarea.form-control,
.ra-profile__fields > div  select.form-control { width: 100%; }

/* Action row */
.ra-profile__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f0f0f0;
}
@media (min-width: 640px) {
  .ra-profile__actions { flex-direction: row; justify-content: space-between; gap: 1rem; }
}
.ra-profile__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ra-profile__btn:focus-visible { outline: 2px solid #f15a29; outline-offset: 2px; }
.ra-profile__btn--danger {
  background-color: #ffffff !important;
  border: 1px solid #fecaca;
  color: #dc2626 !important;
}
.ra-profile__btn--danger:hover {
  background-color: #fef2f2 !important;
  border-color: #dc2626;
  color: #dc2626 !important;
}
.ra-profile__btn--primary {
  background-color: #f15a29 !important;
  border: 1px solid #f15a29;
  color: #ffffff !important;
  min-width: 11rem;
  box-shadow: 0 8px 20px rgba(241, 90, 41, 0.24);
}
.ra-profile__btn--primary:hover {
  background-color: #d54f22 !important;
  border-color: #d54f22;
  color: #ffffff !important;
}
@media (min-width: 2560px) {
  .ra-profile__btn { padding: 1.25rem 2rem; font-size: 1.5rem; border-radius: 16px; }
}

/* ============== SIDEBAR ============== */
.ra-profile__sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .ra-profile__sidebar { position: sticky; top: 1.5rem; }
}

.ra-profile__panel {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.25rem 1.25rem 1.5rem;
}
.ra-profile__panel-label {
  display: inline-block;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
  color: #707070;
  margin-bottom: 1rem;
}
@media (min-width: 2560px) {
  .ra-profile__panel { padding: 2.25rem; border-radius: 24px; }
  .ra-profile__panel-label { font-size: 1rem; }
}

/* Identity row — avatar + name + email */
.ra-profile__identity {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}
.ra-profile__avatar {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #f15a29;
  color: #ffffff;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.5px;
  overflow: hidden;
}
.ra-profile__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.ra-profile__identity-text { min-width: 0; }
.ra-profile__identity-name {
  margin: 0 0 0.125rem 0;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #1a1a1a;
  line-height: 1.2;
  word-break: break-word;
}
.ra-profile__identity-email {
  margin: 0;
  font-size: 0.8125rem;
  color: #3b82f6;
  word-break: break-all;
  line-height: 1.3;
}
@media (min-width: 2560px) {
  .ra-profile__avatar { width: 72px; height: 72px; font-size: 1.5rem; }
  .ra-profile__identity-name  { font-size: 1.5rem; }
  .ra-profile__identity-email { font-size: 1.25rem; }
}

/* Key-value stats list */
.ra-profile__stats {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ra-profile__stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.625rem 0;
  border-top: 1px solid #f0f0f0;
}
.ra-profile__stat:first-child { border-top: 0; padding-top: 0; }
.ra-profile__stat dt {
  margin: 0;
  font-size: 0.8125rem;
  color: #707070;
}
.ra-profile__stat dd {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: right;
  word-break: break-word;
}
@media (min-width: 2560px) {
  .ra-profile__stat dt { font-size: 1.125rem; }
  .ra-profile__stat dd { font-size: 1.5rem; }
}

/* Strength meter */
.ra-profile__strength { display: flex; flex-direction: column; gap: 0.625rem; }
.ra-profile__strength-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.ra-profile__strength-label { font-size: 0.875rem; color: #4b5563; font-weight: 600; }
.ra-profile__strength-value { font-size: 1rem; font-weight: 700; color: #f15a29; }
.ra-profile__strength-track {
  width: 100%;
  height: 6px;
  background: #f0f0f0;
  border-radius: 999px;
  overflow: hidden;
}
.ra-profile__strength-fill {
  height: 100%;
  background: #f15a29;
  border-radius: inherit;
  transition: width 0.4s ease;
}
.ra-profile__strength-hint {
  margin: 0.25rem 0 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #4b5563;
}
.ra-profile__strength-hint strong { color: #f15a29; font-weight: 700; }
@media (min-width: 2560px) {
  .ra-profile__strength-label { font-size: 1.25rem; }
  .ra-profile__strength-value { font-size: 1.5rem; }
  .ra-profile__strength-track { height: 10px; }
  .ra-profile__strength-hint  { font-size: 1.125rem; }
}

/* Peach encryption notice */
.ra-profile__notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: #fff6f1;
  border: 1px solid #ffe4d8;
  border-radius: 14px;
}
.ra-profile__notice-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #ffe4d8;
  color: #f15a29;
}
.ra-profile__notice-text {
  margin: 0.25rem 0 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #4b5563;
}
@media (min-width: 2560px) {
  .ra-profile__notice { padding: 1.5rem; border-radius: 22px; }
  .ra-profile__notice-icon { width: 56px; height: 56px; }
  .ra-profile__notice-text { font-size: 1.125rem; }
}

/* ============================================================
   Password + Confirm Password pair
   (field_types/input/password_in_row.tpl)
   ============================================================ */

/* Self-contained 2-col layout inside the parent lg:col-span-2 wrapper.
   Inherits the parent grid's row gap so vertical spacing between this
   row and the surrounding fields matches the rest of the form. */
.ra-pw-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 0;
}
@media (min-width: 640px) {
  .ra-pw-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.ra-pw-pair__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ra-pw-pair__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #333333;
  line-height: 1.3;
}
@media (min-width: 2560px) {
  .ra-pw-pair__label { font-size: 1.125rem; }
}

/* Input + trailing eye toggle. The toggle sits inside the input frame,
   so we wrap both in a flex row and let the input fill the rest. */
.ra-pw-pair__input {
  position: relative;
  display: block;
}
.ra-pw-pair__input .ra-input,
.ra-pw-pair__input input[type="password"],
.ra-pw-pair__input input[type="text"] {
  width: 100%;
  padding: 0.75rem 2.75rem 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
  font-family: inherit;
  font-size: 0.9375rem;
  color: #1a1a1a;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ra-pw-pair__input .ra-input:focus,
.ra-pw-pair__input input[type="password"]:focus,
.ra-pw-pair__input input[type="text"]:focus {
  outline: none;
  border-color: #f15a29;
  box-shadow: 0 0 0 3px rgba(241, 90, 41, 0.12);
}
.ra-pw-pair__input .ra-input::placeholder,
.ra-pw-pair__input input::placeholder {
  color: #a0a0a0;
}

.ra-pw-pair__toggle {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f15a29;
  border-radius: 8px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.ra-pw-pair__toggle:hover { background: #fff6f1; }
.ra-pw-pair__toggle:focus-visible {
  outline: 2px solid #f15a29;
  outline-offset: 2px;
}
.ra-pw-pair__toggle .ra-pw-pair__eye-off { display: none; }
.ra-pw-pair__toggle.is-shown .ra-pw-pair__eye     { display: none; }
.ra-pw-pair__toggle.is-shown .ra-pw-pair__eye-off { display: inline-block; }

@media (min-width: 2560px) {
  .ra-pw-pair__input .ra-input,
  .ra-pw-pair__input input[type="password"],
  .ra-pw-pair__input input[type="text"] {
    padding: 1.125rem 3.25rem 1.125rem 1.5rem;
    font-size: 1.25rem;
    border-radius: 14px;
  }
  .ra-pw-pair__toggle { width: 52px; height: 52px; }
  .ra-pw-pair__toggle svg { width: 26px; height: 26px; }
}

/* ============================================================
   Applicants — applications/view.tpl
   ============================================================ */

.ra-applicants { width: 100%; background: #ffffff; padding: 3rem 1rem; }
.ra-applicants__container { width: 100%; max-width: 84rem; margin: 0 auto; }
.ra-applicants__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .ra-applicants { padding: 4rem 2rem; }
  .ra-applicants__layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 2.25rem; }
}
@media (min-width: 2560px) {
  .ra-applicants { padding: 8rem 3rem; }
  .ra-applicants__container { max-width: 120rem; }
  .ra-applicants__layout { grid-template-columns: minmax(0, 1fr) 480px; gap: 4rem; }
}

/* Heading + orange underline rule */
.ra-applicants__header { margin-bottom: 1.5rem; }
.ra-applicants__title {
  font-family: "Lora", serif;
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.2;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.25px;
}
.ra-applicants__title-rule {
  display: block;
  width: 56px;
  height: 3px;
  background: #f15a29;
  border-radius: 2px;
}
@media (min-width: 1024px) {
  .ra-applicants__title { font-size: 2rem; }
}
@media (min-width: 2560px) {
  .ra-applicants__title { font-size: 3rem; }
  .ra-applicants__title-rule { width: 96px; height: 5px; }
}

/* Alerts */
.ra-applicants__alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.45;
}
.ra-applicants__alert svg { flex-shrink: 0; margin-top: 0.125rem; }
.ra-applicants__alert--danger { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.ra-applicants__alert--warn   { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }

/* Filter dropdown above the list */
.ra-applicants__filter {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.25rem;
}
.ra-applicants__filter-field { position: relative; min-width: 240px; }
.ra-applicants__filter-select {
  width: 100%;
  padding: 0.625rem 2.5rem 0.625rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
  color: #1a1a1a;
  font-family: inherit;
  font-size: 0.9375rem;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.ra-applicants__filter-select:focus {
  outline: none;
  border-color: #f15a29;
  box-shadow: 0 0 0 3px rgba(241, 90, 41, 0.12);
}
.ra-applicants__filter-caret {
  position: absolute;
  right: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: #f15a29;
  pointer-events: none;
}

/* Card list */
.ra-applicants__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ============== APPLICANT CARD ============== */
.ra-applicant-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.ra-applicant-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  border-color: #d1d1d1;
}
@media (min-width: 640px) { .ra-applicant-card { padding: 1.5rem; } }
@media (min-width: 2560px) { .ra-applicant-card { padding: 2.5rem; border-radius: 22px; gap: 1.75rem; } }

/* Top row — identity + actions */
.ra-applicant-card__top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
@media (min-width: 640px) {
  .ra-applicant-card__top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.ra-applicant-card__identity { display: flex; align-items: center; gap: 0.875rem; min-width: 0; flex: 1 1 auto; }
.ra-applicant-card__avatar {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #f5f5f5;
  color: #707070;
  overflow: hidden;
}
.ra-applicant-card__avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.ra-applicant-card__avatar--initials { background: #ffede8; color: #f15a29; font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.5px; }
@media (min-width: 2560px) {
  .ra-applicant-card__avatar { width: 80px; height: 80px; font-size: 1.5rem; }
}

.ra-applicant-card__identity-text { min-width: 0; }
.ra-applicant-card__name {
  margin: 0 0 0.125rem 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.25;
  word-break: break-word;
}
.ra-applicant-card__name a { color: inherit; text-decoration: none; }
.ra-applicant-card__name a:hover { color: #f15a29; }
.ra-applicant-card__name-unavailable { color: #a0a0a0; font-style: italic; font-weight: 500; }
.ra-applicant-card__email {
  display: inline-block;
  font-size: 0.8125rem;
  color: #3b82f6;
  text-decoration: none;
  word-break: break-all;
  line-height: 1.3;
}
.ra-applicant-card__email:hover { text-decoration: underline; }
@media (min-width: 2560px) {
  .ra-applicant-card__name  { font-size: 1.75rem; }
  .ra-applicant-card__email { font-size: 1.25rem; }
}

/* Actions cluster (Resume / Cover Letter / Remove) */
.ra-applicant-card__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.ra-applicant-card__resume-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9px;
  background-color: #f15a29;
  border: 1px solid #f15a29;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(241, 90, 41, 0.22);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.ra-applicant-card__resume-btn:hover { background-color: #d54f22; border-color: #d54f22; color: #ffffff; }
.ra-applicant-card__resume-btn.is-disabled {
  background-color: #f5f5f5;
  border-color: #e5e7eb;
  color: #a0a0a0;
  box-shadow: none;
  cursor: not-allowed;
  font-weight: 600;
}
.ra-applicant-card__cover-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: #f15a29;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ra-applicant-card__cover-link:hover { color: #d54f22; }
.ra-applicant-card__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #dc2626;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.ra-applicant-card__remove:hover { background: #fef2f2; border-color: #fecaca; }
@media (min-width: 2560px) {
  .ra-applicant-card__resume-btn { padding: 1rem 1.75rem; font-size: 1.25rem; border-radius: 14px; }
  .ra-applicant-card__cover-link { font-size: 1.25rem; }
  .ra-applicant-card__remove    { width: 52px; height: 52px; }
  .ra-applicant-card__remove svg { width: 24px; height: 24px; }
}

/* Stats grid */
.ra-applicant-card__stats {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem 1.25rem;
  padding-top: 0.25rem;
}
@media (min-width: 640px)  { .ra-applicant-card__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ra-applicant-card__stats { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem 1.5rem; } }
.ra-applicant-card__stat { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.ra-applicant-card__stat dt {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #a0a0a0;
  text-transform: none;
  letter-spacing: 0.02em;
}
.ra-applicant-card__stat dd {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.35;
  word-break: break-word;
}
@media (min-width: 2560px) {
  .ra-applicant-card__stat dt { font-size: 1rem; }
  .ra-applicant-card__stat dd { font-size: 1.25rem; }
}

/* Key skills */
.ra-applicant-card__skills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid #f0f0f0;
}
.ra-applicant-card__skills-label {
  font-size: 0.8125rem;
  color: #707070;
  font-weight: 600;
  margin-right: 0.25rem;
}
.ra-applicant-card__skill-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; min-width: 0; }
.ra-applicant-card__skill-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: #e8f1ff;
  color: #1e40af;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  line-height: 1.4;
  white-space: nowrap;
}
.ra-applicant-card__skills-text {
  flex: 1 1 100%;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #404040;
  overflow-wrap: anywhere;
  word-break: break-word;
}
@media (min-width: 2560px) {
  .ra-applicant-card__skills-label { font-size: 1.125rem; }
  .ra-applicant-card__skill-tag    { font-size: 1rem; padding: 0.5rem 1.25rem; }
  .ra-applicant-card__skills-text  { font-size: 1.125rem; }
}

/* Cover-letter expandable panel */
.ra-applicant-card__cover {
  padding: 1rem 1.25rem;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
}
.ra-applicant-card__cover[hidden] { display: none; }
.ra-applicant-card__cover-label {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #707070;
  margin-bottom: 0.5rem;
}
.ra-applicant-card__cover-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #333333;
  white-space: pre-line;
}
@media (min-width: 2560px) {
  .ra-applicant-card__cover-label { font-size: 1rem; }
  .ra-applicant-card__cover-text  { font-size: 1.25rem; }
}

/* Pagination */
.ra-applicants__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.ra-applicants__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #d1d1d1;
  color: #333333;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.ra-applicants__page:hover { border-color: #f15a29; color: #f15a29; }
@media (min-width: 2560px) {
  .ra-applicants__page { width: 64px; height: 64px; border-radius: 14px; }
  .ra-applicants__page svg { width: 24px; height: 24px; }
}

/* Empty state */
.ra-applicants__empty {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
}
.ra-applicants__empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  background: #ffede8;
  color: #f15a29;
  margin-bottom: 1rem;
}
.ra-applicants__empty-text {
  margin: 0 0 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #333333;
}
.ra-applicants__empty-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  background-color: #f15a29;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
}
.ra-applicants__empty-cta:hover { background-color: #d54f22; color: #ffffff; }

/* Sidebar — reuses the Post a Job sidebar look (.ra-postjob__plan-card,
   .ra-postjob__tip-card) so we don't duplicate the same panel styling. */
.ra-applicants__sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .ra-applicants__sidebar { position: sticky; top: 1.5rem; }
}
