/**
 * Karmazura — global responsive layer (load AFTER theme CSS)
 * Breakpoints: 576 / 768 / 992 / 1200 (Bootstrap 5–aligned)
 */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

img,
video,
iframe,
svg,
canvas {
  max-width: 100%;
  height: auto;
}

/* Customer dashboard (user/customerDashboard) — visa/ticket modals + primary action */
.km-customer-dashboard .km-btn-upload-visa,
.km-customer-dashboard .km-btn-upload-ticket{
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.2;
  color: #fff;
  background: linear-gradient(135deg, #6b1f4d 0%, #8b3d6f 100%);
  box-shadow: 0 12px 28px rgba(107,31,77,.22);
}
.km-customer-dashboard .km-btn-upload-visa:hover,
.km-customer-dashboard .km-btn-upload-ticket:hover{
  filter: brightness(1.04);
}
.km-customer-dashboard .km-visa-modal .modal-dialog,
.km-customer-dashboard .km-ticket-modal .modal-dialog{
  max-width: 560px;
}
.km-customer-dashboard .km-modal-content{
  border-radius: 18px;
  border: 1px solid rgba(107,31,77,.14);
  box-shadow: 0 22px 60px rgba(45, 19, 34, .22);
}
.km-customer-dashboard .km-visa-modal .modal-dialog,
.km-customer-dashboard .km-ticket-modal .modal-dialog{
  margin: 22px auto;
}
.km-customer-dashboard .km-visa-modal .modal-content,
.km-customer-dashboard .km-ticket-modal .modal-content{
  overflow: hidden;
}
.km-customer-dashboard .km-visa-modal .modal-header,
.km-customer-dashboard .km-ticket-modal .modal-header{
  border-bottom: 1px solid rgba(107,31,77,.10);
  background: linear-gradient(165deg, rgba(255,255,255,.96) 0%, rgba(248,244,250,.92) 100%);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  padding: 18px 20px;
}
.km-customer-dashboard .km-visa-modal .modal-title,
.km-customer-dashboard .km-ticket-modal .modal-title{
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(74,18,56,.95);
}
.km-customer-dashboard .km-modal-close{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(107,31,77,.12);
  background: rgba(255,255,255,.9);
  color: rgba(74,18,56,.85);
  line-height: 1;
  opacity: 1;
  margin-top: -4px;
}
.km-customer-dashboard .km-modal-close:hover{
  background: rgba(107,31,77,.08);
}
.km-customer-dashboard .km-visa-modal .modal-body,
.km-customer-dashboard .km-ticket-modal .modal-body{
  padding: 18px 20px 10px;
}
.km-customer-dashboard .km-visa-modal .modal-body form,
.km-customer-dashboard .km-ticket-modal .modal-body form{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.km-customer-dashboard .km-visa-modal .col-form-label,
.km-customer-dashboard .km-ticket-modal .col-form-label{
  display: block;
  margin: 0;
  font-weight: 850;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(74,18,56,.60);
}
.km-customer-dashboard .km-visa-modal .form-control,
.km-customer-dashboard .km-ticket-modal .form-control{
  border-radius: 12px;
  border: 1px solid rgba(107,31,77,.16);
  min-height: 44px;
  box-shadow: none;
}
.km-customer-dashboard .km-visa-modal .form-control:focus,
.km-customer-dashboard .km-ticket-modal .form-control:focus{
  border-color: rgba(107,31,77,.42);
  box-shadow: 0 0 0 4px rgba(107,31,77,.10);
}
.km-customer-dashboard .km-visa-modal input[type="file"].form-control,
.km-customer-dashboard .km-ticket-modal input[type="file"].form-control{
  padding: 10px 12px;
}
.km-customer-dashboard .km-modal-actions{
  padding-top: 8px;
}
.km-customer-dashboard .km-modal-footer{
  border-top: 1px solid rgba(107,31,77,.10);
  background: rgba(255,255,255,.92);
  padding: 12px 16px;
}

/* Backdrop polish */
.km-customer-dashboard .modal-backdrop{
  opacity: .45 !important;
}
.km-customer-dashboard .modal-backdrop.show{
  opacity: .45 !important;
}
.km-customer-dashboard .km-modal-actions{
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}
.km-customer-dashboard .km-modal-secondary{
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
}
.km-customer-dashboard .km-modal-primary{
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #6b1f4d 0%, #8b3d6f 100%);
  box-shadow: 0 12px 28px rgba(107,31,77,.22);
}
.km-customer-dashboard .km-modal-primary:hover{
  filter: brightness(1.04);
}
.km-customer-dashboard .km-link-visa-details{
  font-weight: 800;
  color: rgba(107,31,77,.95);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Prevent horizontal scroll from full-bleed children */
@media (max-width: 1199.98px) {
  body {
    overflow-x: hidden;
  }
}

/* Safe areas (notched phones) */
body {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* Bootstrap containers — comfortable gutters on phones */
@media (max-width: 575.98px) {
  .container,
  .container-fluid {
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
  }
}

/* Tables: wrap wide tables in markup with .table-responsive or .km-table-scroll */
.km-table-scroll,
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

/* Forms: readable touch targets */
@media (max-width: 575.98px) {
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="tel"],
  input[type="search"],
  select,
  textarea {
    min-height: 44px;
  }

  .btn {
    min-height: 44px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ---------- New design: public / login pages ---------- */
.login-page .row {
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 767.98px) {
  .login-page .login_page_content,
  .login-page .login_page_right_content {
    padding-left: 0;
    padding-right: 0;
  }

  .login-page .form-box {
    padding-left: 8px;
    padding-right: 8px;
  }

  .login-page .tabs {
    flex-wrap: wrap;
    gap: 6px;
  }

  .login-page .tab {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 12px 8px !important;
    font-size: 13px !important;
  }

  .login-page h2 {
    font-size: 1.5rem;
  }
}

/* ---------- Employee / customer dashboard shell (themesflat layout) ---------- */
@media (max-width: 991.98px) {
  /* Main area: remove fixed left padding reserved for sidebar */
  .layout-wrap .section-content-right .main-content {
    padding-left: 0 !important;
    padding-top: 72px !important;
  }

  .layout-wrap .section-content-right .main-content .main-content-inner {
    padding: 16px 12px !important;
  }

  .layout-wrap .section-content-right .header-dashboard {
    padding-left: 16px !important;
    padding-right: 12px !important;
  }

  .layout-wrap .section-content-right .header-dashboard .wrap {
    flex-wrap: wrap;
    gap: 10px;
  }

  .layout-wrap .section-content-right .header-dashboard .header-left {
    flex: 1 1 100%;
    min-width: 0;
  }

  .layout-wrap .section-content-right .header-dashboard .form-search {
    min-width: 0;
    flex: 1 1 auto;
  }

  .layout-wrap .section-content-right .header-dashboard .form-search input {
    min-width: 0;
  }

  .layout-wrap .section-content-right .header-grid {
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 100%;
  }

  .tf-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Sidebar: ensure it can overlay above content */
  .section-menu-left,
  .section-menu-left > .box-logo {
    z-index: 100 !important;
  }
}

/* Recruitment search (searchGlobalNewDesign): guest uses public header, not .header-dashboard */
@media (max-width: 991.98px) {
  body.km-recruit-guest .layout-wrap .section-content-right .main-content {
    padding-top: 0 !important;
  }
}

@media (max-width: 575.98px) {
  .layout-wrap .section-content-right .header-dashboard h6 {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
  }
}

/* Grids used on profile / recruiting */
@media (max-width: 991.98px) {
  .edit_employe_new .form-grid,
  .form-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ---------- Home / marketing — hiring requirements (premium, conversion-focused) ---------- */
.km-hiring-feed-section {
  padding: 36px 0 52px;
  font-family: "Inter 18pt", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(ellipse 880px 300px at 50% -10%, rgba(107, 31, 77, 0.09), transparent 58%),
    linear-gradient(180deg, rgba(250, 247, 252, 0.9) 0%, rgba(255, 255, 255, 0.4) 48%, rgba(255, 255, 255, 0) 100%);
}
/* Tight stack: intro + buttons, then carousel directly below (gap replaces loose margins) */
.km-hiring-feed-section .km-hiring-feed-container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  row-gap: 10px;
}
.km-hiring-feed-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  flex-shrink: 0;
}
.km-hiring-feed-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(74, 18, 56, 0.78);
  margin-bottom: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(107, 31, 77, 0.07);
  border: 1px solid rgba(107, 31, 77, 0.1);
}
.km-hiring-feed-title {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #2d1324;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  line-height: 1.18;
}
.km-hiring-feed-lead {
  margin: 10px 0 0;
  color: rgba(32, 28, 38, 0.72);
  font-weight: 500;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  line-height: 1.55;
}
.km-hiring-feed-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 0;
}
.km-hiring-feed-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.km-hiring-feed-btn--primary {
  color: #fff !important;
  background: linear-gradient(135deg, #5c1a42 0%, #7d2a5e 45%, #a8327a 100%);
  /* Aligned with in-card primary CTAs — same family of shadow, not heavier than cards */
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 8px 22px rgba(92, 26, 66, 0.26);
  border: none;
}
.km-hiring-feed-btn--primary:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 12px 30px rgba(92, 26, 66, 0.34);
}
.km-hiring-feed-btn--primary:active {
  transform: translateY(0);
}
.km-hiring-feed-btn--outline {
  color: #3d1530 !important;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(107, 31, 77, 0.22);
  box-shadow: 0 2px 12px rgba(45, 19, 34, 0.05);
}
.km-hiring-feed-btn--outline:hover {
  border-color: rgba(107, 31, 77, 0.38);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 19, 34, 0.08);
}
.km-hiring-feed-btn--outline:active {
  transform: translateY(0);
}

/* Carousel shell — flush under feed actions; row-gap on .km-hiring-feed-container controls spacing */
.km-hiring-req-slider-wrap {
  position: relative;
  margin: 0 auto;
  padding: 0 clamp(8px, 3.5vw, 36px) 0;
  max-width: 1320px;
  width: 100%;
  flex-shrink: 0;
}
/* Slight optical balance under hero CTAs — keep small so 3-up grid stays even */
@media (min-width: 768px) {
  .km-hiring-req-slider-wrap {
    left: clamp(-12px, -1.2vw, -24px);
  }
}
@media (max-width: 767.98px) {
  .km-hiring-req-slider-wrap {
    left: 0;
  }
}
.km-hiring-req-slider.owl-carousel {
  position: relative;
  overflow: visible;
  padding-bottom: 8px;
}
/* Fade slide area at left/right (mask on stage only — nav & dots stay fully visible) */
.km-hiring-req-slider:not(.km-hiring-req-slider--single) .owl-stage-outer {
  overflow: visible;
  /* Room for nav arrows without clipping the third card */
  padding: 20px clamp(44px, 5.5vw, 68px) 14px;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 12%,
    #000 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 12%,
    #000 88%,
    transparent 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.km-hiring-req-slider.km-hiring-req-slider--single .owl-stage-outer {
  overflow: visible;
  padding: 18px clamp(6px, 1.5vw, 18px) 12px;
  -webkit-mask-image: none;
  mask-image: none;
}
.km-hiring-req-slider .owl-stage {
  display: flex;
  /* stretch = equal-height cards in a row (center made short/tall cards misaligned) */
  align-items: stretch;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.km-hiring-req-slider .owl-item {
  display: flex;
  justify-content: center;
  align-items: stretch;
  box-sizing: border-box;
  /* Matched L/R padding = even gutter between cards (Owl margin is between items) */
  padding-left: clamp(6px, 1.4vw, 16px);
  padding-right: clamp(6px, 1.4vw, 16px);
  transition:
    opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.km-hiring-req-slider.km-hiring-req-slider--single .owl-item {
  padding-left: 0;
  padding-right: 0;
}
@media (min-width: 992px) {
  .km-hiring-req-slider:not(.km-hiring-req-slider--single) .owl-item {
    padding-left: 16px;
    padding-right: 16px;
  }
}
/* Depth: lighter treatment so all three cards feel like one set (no “shrunken” side width) */
.km-hiring-req-slider:not(.km-hiring-req-slider--single):has(.owl-item.center) .owl-item:not(.center) .km-hiring-req-card {
  transform: scale(0.992);
  opacity: 0.9;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 6px 20px rgba(45, 19, 34, 0.06);
  filter: saturate(0.96) brightness(0.99);
}
.km-hiring-req-slider:not(.km-hiring-req-slider--single):has(.owl-item.center) .owl-item.center .km-hiring-req-card {
  transform: scale(1);
  opacity: 1;
  z-index: 2;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 4px 14px rgba(45, 19, 34, 0.06),
    0 18px 42px rgba(45, 19, 34, 0.11),
    0 0 0 1px rgba(107, 31, 77, 0.11);
  filter: none;
}
.km-hiring-req-slider.km-hiring-req-slider--single .owl-item .km-hiring-req-card,
.km-hiring-req-slider.km-hiring-req-slider--single .owl-item.center .km-hiring-req-card {
  transform: none;
  opacity: 1;
  filter: none;
}
@media (max-width: 767.98px) {
  .km-hiring-req-slider .owl-item:not(.center) .km-hiring-req-card,
  .km-hiring-req-slider .owl-item.center .km-hiring-req-card {
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
}

.km-hiring-req-card {
  position: relative;
  width: 100%;
  /* Caps width on 1–2-up layouts; with 3-up the slide is narrower so the card is slide-limited. */
  max-width: 560px;
  margin: 0 auto;
  background: linear-gradient(165deg, #ffffff 0%, #fcfafd 52%, #f7f2f8 100%);
  border: 1px solid rgba(107, 31, 77, 0.1);
  border-radius: 22px;
  padding: 20px 22px 18px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 1px 2px rgba(45, 19, 34, 0.04),
    0 12px 32px rgba(45, 19, 34, 0.07);
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.km-hiring-req-slider.km-hiring-req-slider--single .km-hiring-req-card {
  height: auto;
  min-height: 0;
}
.km-hiring-req-slider:has(.owl-item.center) .owl-item.center .km-hiring-req-card:hover {
  transform: scale(1) translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 8px 20px rgba(45, 19, 34, 0.07),
    0 22px 48px rgba(45, 19, 34, 0.13);
}
.km-hiring-req-slider:not(.km-hiring-req-slider--single):has(.owl-item.center) .owl-item:not(.center) .km-hiring-req-card:hover {
  transform: scale(0.996) translateY(-1px);
  opacity: 0.94;
}

.km-hiring-req-card__head {
  margin: 0 0 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(98, 25, 78, 0.09);
}
.km-hiring-req-card__title {
  margin: 0;
  padding: 0;
  font-size: clamp(1.15rem, 2.55vw, 1.38rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #1f1419;
}
.km-hiring-req-card__meta {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 6px 0 0;
  padding: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(32, 28, 38, 0.62);
}
.km-hiring-req-card__meta-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: rgba(107, 31, 77, 0.75);
  font-size: 13px;
}
.km-hiring-req-card__loc {
  display: block;
  text-align: left;
}

/* Badge row — min height keeps rows visually even when one card has more criteria */
.km-hiring-req-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
  align-items: flex-start;
  align-content: flex-start;
  min-height: 76px;
}
.km-hiring-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 5px 10px 5px 8px;
  border-radius: 999px;
  background: rgba(107, 31, 77, 0.06);
  border: 1px solid rgba(107, 31, 77, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.km-hiring-req-card:hover .km-hiring-badge {
  background: rgba(107, 31, 77, 0.08);
  border-color: rgba(107, 31, 77, 0.14);
}
.km-hiring-badge__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #6b1f4d;
  font-size: 11px;
  flex-shrink: 0;
}
.km-hiring-badge__text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-width: 0;
  text-align: left;
}
.km-hiring-badge__lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(74, 18, 56, 0.55);
  line-height: 1.2;
}
.km-hiring-badge__val {
  font-size: 12px;
  font-weight: 600;
  color: #201c26;
  line-height: 1.25;
  word-break: break-word;
}
.km-hiring-req-card__empty-badges {
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 500;
  font-style: normal;
  color: rgba(32, 28, 38, 0.58);
  line-height: 1.45;
  border-radius: 12px;
  background: rgba(98, 25, 78, 0.05);
  border: 1px dashed rgba(107, 31, 77, 0.14);
}

.km-hiring-req-card__text {
  flex: 1 1 auto;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  color: rgba(32, 28, 38, 0.88);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.km-hiring-req-card__text--muted {
  font-size: 13px;
  line-height: 1.58;
  color: rgba(32, 28, 38, 0.62);
  font-style: normal;
  -webkit-line-clamp: 5;
}
.km-hiring-req-card__text--muted a {
  color: #6b1f4d;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(107, 31, 77, 0.35);
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}
.km-hiring-req-card__text--muted a:hover {
  color: #4a1238;
  text-decoration-color: rgba(74, 18, 56, 0.55);
}

/* Card CTAs — pinned to bottom on equal-height slides */
.km-hiring-req-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(107, 31, 77, 0.09);
}
.km-hiring-cta {
  flex: 1 1 calc(50% - 5px);
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none !important;
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.km-hiring-cta--primary {
  color: #fff !important;
  background: linear-gradient(180deg, #6f2452 0%, #5a1d44 100%);
  border: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 8px 20px rgba(92, 26, 66, 0.28);
}
.km-hiring-cta--primary:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 12px 28px rgba(92, 26, 66, 0.36);
}
.km-hiring-cta--primary:active {
  transform: translateY(0) scale(0.98);
}
.km-hiring-cta--ghost {
  color: #3d1530 !important;
  background: #fff;
  border: 1.5px solid rgba(107, 31, 77, 0.22);
  box-shadow: 0 1px 2px rgba(45, 19, 34, 0.04);
}
.km-hiring-cta--ghost:hover {
  background: rgba(107, 31, 77, 0.05);
  border-color: rgba(107, 31, 77, 0.38);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(45, 19, 34, 0.08);
}
.km-hiring-cta--ghost:active {
  transform: translateY(0) scale(0.98);
}
@media (max-width: 400px) {
  .km-hiring-cta {
    flex: 1 1 100%;
  }
}

.km-hiring-req-card__foot {
  margin-top: 0;
  padding-top: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(32, 28, 38, 0.45);
}
.km-hiring-req-card__foot time {
  font-size: inherit;
  font-weight: 700;
  color: rgba(32, 28, 38, 0.5);
}

/* Owl nav — minimal chrome, smooth interaction */
.km-hiring-req-slider .owl-nav {
  position: absolute;
  left: clamp(2px, 0.8vw, 10px);
  right: clamp(2px, 0.8vw, 10px);
  top: calc(50% - 20px);
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  margin: 0;
  padding: 0;
  z-index: 12;
  box-sizing: border-box;
}
.km-hiring-req-slider .owl-nav button {
  pointer-events: auto;
  flex-shrink: 0;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(98, 25, 78, 0.14) !important;
  border-style: solid !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 6px 20px rgba(45, 19, 34, 0.1) !important;
  color: #2d1324 !important;
  font-size: 15px !important;
  line-height: 1 !important;
  cursor: pointer;
  appearance: none !important;
  -webkit-appearance: none !important;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition:
    background 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.km-hiring-req-slider .owl-nav button:focus {
  outline: none !important;
}
.km-hiring-req-slider .owl-nav button:focus-visible {
  outline: 2px solid rgba(107, 31, 77, 0.45) !important;
  outline-offset: 3px;
  border-color: rgba(107, 31, 77, 0.35) !important;
}
.km-hiring-req-slider .owl-nav button:hover:not(.disabled) {
  background: #2d1324 !important;
  color: #fff !important;
  border-color: #2d1324 !important;
  transform: scale(1.06);
  box-shadow: 0 10px 28px rgba(45, 19, 34, 0.2) !important;
}
.km-hiring-req-slider .owl-nav button.disabled,
.km-hiring-req-slider .owl-nav button.disabled:hover {
  opacity: 0.35 !important;
  cursor: not-allowed !important;
  transform: none !important;
  background: rgba(255, 255, 255, 0.85) !important;
  color: rgba(74, 18, 56, 0.4) !important;
  border-style: solid !important;
  border-color: rgba(98, 25, 78, 0.1) !important;
  box-shadow: none !important;
}
.km-hiring-req-slider .owl-nav button.owl-prev,
.km-hiring-req-slider .owl-nav button.owl-next {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
@media (max-width: 767.98px) {
  .km-hiring-req-slider:not(.km-hiring-req-slider--single) .owl-stage-outer {
    padding: 16px clamp(44px, 12vw, 56px) 12px;
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      #000 16%,
      #000 84%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      #000 16%,
      #000 84%,
      transparent 100%
    );
  }
  .km-hiring-req-slider .owl-nav {
    left: clamp(4px, 1.5vw, 10px);
    right: clamp(4px, 1.5vw, 10px);
  }
  .km-hiring-req-slider .owl-nav button {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    font-size: 14px !important;
  }
  .km-hiring-req-slider-wrap {
    padding-left: clamp(12px, 4vw, 24px);
    padding-right: clamp(12px, 4vw, 24px);
  }
}

/* Pagination — pill track + active bar */
.km-hiring-req-slider .owl-dots {
  margin-top: 4px !important;
  padding: 14px 12px 4px;
  text-align: center;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.km-hiring-req-slider .owl-dots .owl-dot {
  padding: 0 !important;
  margin: 0 !important;
}
.km-hiring-req-slider .owl-dots .owl-dot span {
  width: 7px !important;
  height: 7px !important;
  margin: 0 !important;
  background: rgba(98, 25, 78, 0.2) !important;
  border-radius: 999px !important;
  transition:
    width 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.km-hiring-req-slider .owl-dots .owl-dot.active span {
  width: 32px !important;
  background: linear-gradient(90deg, #4a1238 0%, #a8327a 100%) !important;
  border-radius: 999px !important;
  box-shadow: 0 2px 8px rgba(107, 31, 77, 0.25);
}
.km-hiring-req-slider .owl-dots .owl-dot:not(.active):hover span {
  background: rgba(98, 25, 78, 0.35) !important;
  transform: scale(1.1);
}

@media (prefers-reduced-motion: reduce) {
  .km-hiring-req-card,
  .km-hiring-req-slider .owl-item,
  .km-hiring-feed-btn,
  .km-hiring-cta,
  .km-hiring-badge,
  .km-hiring-req-slider .owl-nav button,
  .km-hiring-req-slider .owl-dots .owl-dot span {
    transition: none !important;
  }
  .km-hiring-req-slider:not(.km-hiring-req-slider--single):has(.owl-item.center) .owl-item:not(.center) .km-hiring-req-card,
  .km-hiring-req-slider:not(.km-hiring-req-slider--single):has(.owl-item.center) .owl-item.center .km-hiring-req-card {
    transform: none !important;
    filter: none !important;
  }
}

/* Home hero search — country + category only (no currency / salary row) */
.km-home-search-flex .field {
  flex: 1 1 0;
  min-width: 0;
}
.km-home-search-flex .btn-field {
  flex: 0 0 auto;
  border-right: none;
}
@media (max-width: 767.98px) {
  .km-home-search-flex .field {
    flex: 1 1 100%;
  }
}

/* Recruiter panel sidebar — “Hiring requirements” (subtle brand accent on hover) */
.section-menu-left .menu-item.km-menu-hiring-req .menu-item-button {
  position: relative;
  overflow: visible;
}
.section-menu-left .menu-item.km-menu-hiring-req .menu-item-button:not(.active):hover {
  box-shadow: 0 10px 26px rgba(107, 31, 77, 0.12);
}
.section-menu-left .menu-item.km-menu-hiring-req .menu-item-button:not(.active)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 3px;
  border-radius: 0 6px 6px 0;
  background: linear-gradient(180deg, #6b1f4d 0%, #b83280 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.section-menu-left .menu-item.km-menu-hiring-req .menu-item-button:not(.active):hover::before {
  opacity: 0.45;
}
.section-menu-left .menu-item.km-menu-hiring-req .menu-item-button.active img {
  filter: saturate(1.15);
}
@media (max-width: 767.98px) {
  .hero h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .navbar .navbar-nav {
    text-align: left;
  }
}
