/* ═══════════════════════════════════════════════════════════════
   TALENTIBEX CAREERS PLUGIN — MASTER STYLESHEET
   Design System: Kinetic Architect — Amber / White / Obsidian
   ═══════════════════════════════════════════════════════════════ */

/* ── Degular — Self-hosted Font Faces ────────────────────────── */
@font-face {
    font-family: 'Degular';
    src: url('../fonts/Degular-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Degular';
    src: url('../fonts/Degular-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Degular';
    src: url('../fonts/Degular-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Degular';
    src: url('../fonts/Degular-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Degular';
    src: url('../fonts/Degular-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Degular';
    src: url('../fonts/Degular-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Degular';
    src: url('../fonts/Degular-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ── CSS Variables ────────────────────────────────────────────── */
/* CSS Variables — scoped to #tibex-root AND Elementor wrapper variants */
#tibex-root,
.elementor-widget-container #tibex-root,
.elementor-section #tibex-root,
.e-container #tibex-root,
.e-con #tibex-root,
.e-con-inner #tibex-root {
    --tibex-primary:     #FFA305;
    --tibex-primary-dk:  #e08c00;
    --tibex-black:       #000000;
    --tibex-white:       #ffffff;
    --tibex-bg:          #ffffff;
    --tibex-surface:     #f9f9f9;
    --tibex-surface-md:  #f5f5f5;
    --tibex-on-surface:  #171717;
    --tibex-muted:       #525252;
    --tibex-border:      #e5e5e5;
    --tibex-border-lt:   #f5f5f5;
    --tibex-font-head:   'Degular', sans-serif;
    --tibex-font-body:   'Degular', sans-serif;
    --tibex-radius:      4px;
    --tibex-radius-sm:   2px;
    --tibex-shadow:      0 2px 12px rgba(0,0,0,0.07);
    --tibex-shadow-lg:   0 20px 40px rgba(0,0,0,0.10);
    --tibex-transition:  all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
}

/* ── Reset within plugin ──────────────────────────────────────── */
#tibex-root *,
#tibex-root *::before,
#tibex-root *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
#tibex-root {
    font-family: var(--tibex-font-body);
    color: var(--tibex-on-surface);
    background: var(--tibex-bg);
    line-height: 1.6;
    overflow-x: hidden;
}
#tibex-root a {
    text-decoration: none;
    color: inherit;
}
#tibex-root ul { list-style: none; }
#tibex-root img { display: block; max-width: 100%; }
#tibex-root button { cursor: pointer; border: none; background: none; font-family: inherit; }
#tibex-root input, #tibex-root select, #tibex-root textarea {
    font-family: var(--tibex-font-body);
    font-size: 14px;
}

  #tibex-root .material-symbols-outlined{
    font-variation-settings: 'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 24;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
	    font-size: 18px;
}

/* ── Container ────────────────────────────────────────────────── */
  #tibex-root .tibex-container{
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ════════════════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════════════════ */
  #tibex-root .tibex-btn{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--tibex-radius-sm);
    transition: var(--tibex-transition);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}
  #tibex-root .tibex-btn--primary{
    background: var(--tibex-primary);
    color: var(--tibex-black);
    padding: 14px 28px;
}
  #tibex-root .tibex-btn--primary:hover{
    background: var(--tibex-black);
    color: var(--tibex-white);
    transform: translateY(-1px);
}
  #tibex-root .tibex-btn--primary:active{ transform: scale(0.97); }
  #tibex-root .tibex-btn--outline{
    background: transparent;
    color: var(--tibex-primary);
    border: 2px solid var(--tibex-primary);
    padding: 12px 28px;
}
  #tibex-root .tibex-btn--outline:hover{
    background: var(--tibex-primary);
    color: var(--tibex-black);
}
  #tibex-root .tibex-btn--ghost{
    background: transparent;
    color: var(--tibex-muted);
    border: 1px solid var(--tibex-border);
    padding: 14px 24px;
}
  #tibex-root .tibex-btn--ghost:hover{ border-color: var(--tibex-on-surface); color: var(--tibex-on-surface); }
  #tibex-root .tibex-btn--sm{ padding: 8px 20px; font-size: 13px; }
  #tibex-root .tibex-btn--lg{ padding: 18px 40px; font-size: 15px; }
  #tibex-root .tibex-btn--full{ width: 100%; justify-content: center; }
  #tibex-root .tibex-btn--submit{ position: relative; }

/* ── Chips ────────────────────────────────────────────────────── */
  #tibex-root .tibex-chip{
    display: inline-block;
    padding: 3px 10px;
    border: 1px solid var(--tibex-border);
    color: var(--tibex-muted);
    font-size: 10px;
    font-family: var(--tibex-font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: var(--tibex-surface);
    border-radius: var(--tibex-radius-sm);
}
  #tibex-root .tibex-chip--dept{
    border-color: rgba(255,163,5,0.4);
    background: rgba(255,163,5,0.08);
    color: #9A3412;
}
  #tibex-root .tibex-chip--type{ border-color: #bfdbfe; background: #eff6ff; color: #1e40af; }

/* ── Accent helpers ───────────────────────────────────────────── */
  #tibex-root .tibex-accent{ color: var(--tibex-primary); }
  #tibex-root .tibex-bold{ font-weight: 700; }
  #tibex-root .tibex-link{ color: var(--tibex-primary); text-decoration: underline; }

/* ════════════════════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════════════════════ */
  #tibex-root .tibex-nav{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(229,229,229,0.5);
}
  #tibex-root .tibex-nav__inner{
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
  #tibex-root .tibex-nav__logo{
    font-family: var(--tibex-font-head);
    font-weight: 900;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    color: var(--tibex-primary);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    line-height: 1;
}
  #tibex-root .tibex-nav__links{
    display: flex;
    align-items: center;
    gap: 40px;
}
  #tibex-root .tibex-nav__link{
    font-family: var(--tibex-font-head);
    font-weight: 600;
    font-size: 18px;
    color: var(--tibex-muted);
    letter-spacing: -0.01em;
    transition: color 0.2s;
    position: relative;
    padding-bottom: 4px;
}
  #tibex-root .tibex-nav__link:hover{ color: var(--tibex-primary); }
  #tibex-root .tibex-nav__link--active{
    color: #d97706;
}
  #tibex-root .tibex-nav__link--active::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--tibex-primary);
    border-radius: 1px;
}

/* Mobile hamburger */
  #tibex-root .tibex-hamburger{
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    background: none;
    border: none;
    cursor: pointer;
}
  #tibex-root .tibex-hamburger span{
    display: block;
    width: 22px;
    height: 2px;
    background: var(--tibex-on-surface);
    border-radius: 2px;
    transition: var(--tibex-transition);
}
  #tibex-root .tibex-mobile-drawer{
    display: none;
    flex-direction: column;
    padding: 12px 32px 20px;
    border-top: 1px solid var(--tibex-border);
    gap: 16px;
}
  #tibex-root .tibex-mobile-drawer a{
    font-family: var(--tibex-font-head);
    font-weight: 600;
    font-size: 16px;
    color: var(--tibex-on-surface);
}
  #tibex-root .tibex-mobile-drawer.open{ display: flex; }
  #tibex-root .tibex-mobile-drawer .tibex-btn {
    align-self: flex-start;
    margin-top: 4px;
}

/* Hamburger open → X animation */
  #tibex-root .tibex-hamburger.open span:nth-child(1){
    transform: translateY(7px) rotate(45deg);
}
  #tibex-root .tibex-hamburger.open span:nth-child(2){
    opacity: 0;
}
  #tibex-root .tibex-hamburger.open span:nth-child(3){
    transform: translateY(-7px) rotate(-45deg);
}

/* ════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════ */
  #tibex-root .tibex-hero{
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
  #tibex-root .tibex-hero__bg{
    position: absolute;
    inset: 0;
    z-index: 0;
}
  #tibex-root .tibex-hero__bg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) grayscale(0.1);
}
  #tibex-root .tibex-hero__overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(14 14 14 / 92%) 0%, rgb(193 193 193 / 50%) 55%, #46464600 100%);
}
  #tibex-root .tibex-hero__content{
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
    padding-top: 68px;
}
  #tibex-root .tibex-hero__accent{
    width: 48px;
    height: 4px;
    background: var(--tibex-primary);
    margin-bottom: 32px;
}
  #tibex-root .tibex-hero__headline{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: clamp(48px, 7vw, 88px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: white;
    margin-bottom: 28px;
    max-width: 720px;
}
  #tibex-root .tibex-hero__sub{
    font-size: clamp(16px, 2vw, 22px);
    color: white;
    font-weight: 400;
    margin-bottom: 44px;
    max-width: 480px;
    line-height: 1.55;
	  padding-bottom: 15px;
}

/* ════════════════════════════════════════════════════════════════
   VIDEO SECTION
   ════════════════════════════════════════════════════════════════ */
  #tibex-root .tibex-video-section{
    padding: 100px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}
  #tibex-root .tibex-video-frame{
    border: 1px solid var(--tibex-border);
    background: var(--tibex-surface);
    padding: 8px;
    max-width: 1000px;
    margin: 0 auto;
}
  #tibex-root .tibex-video-thumb{
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    background: var(--tibex-surface-md);
}
  #tibex-root .tibex-video-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) grayscale(0.3);
    transition: transform 0.8s ease;
}
  #tibex-root .tibex-video-thumb:hover img{ transform: scale(1.03); }
  #tibex-root .tibex-play-btn{
    position: absolute;
    inset: 0;
    margin: auto;
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tibex-primary);
    color: var(--tibex-black);
    border-radius: var(--tibex-radius-sm);
    box-shadow: 0 8px 32px rgba(255,163,5,0.4);
    transition: var(--tibex-transition);
    z-index: 1;
}
  #tibex-root .tibex-play-btn .material-symbols-outlined{ font-size: 48px; }
  #tibex-root .tibex-play-btn:hover{ transform: scale(1.08); background: var(--tibex-black); color: var(--tibex-white); }
  #tibex-root .tibex-grid-dots{
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.08;
    background-image: radial-gradient(#000 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ════════════════════════════════════════════════════════════════
   JOBS SECTION
   ════════════════════════════════════════════════════════════════ */
  #tibex-root .tibex-jobs-section{
    padding: 100px 0;
    background: var(--tibex-surface);
}
  #tibex-root .tibex-section-header{
    display: flex;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 72px;
}



  #tibex-root .tibex-section-title{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: clamp(32px, 4.5vw, 60px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--tibex-on-surface);
    flex-shrink: 0;
}
  #tibex-root .tibex-divider-line{
    flex-grow: 1;
    height: 2px;
    background: var(--tibex-border);
    display: none;
    margin-bottom: 12px;
}




  #tibex-root .tibex-jobs-layout{
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 56px;
    align-items: start;
}

/* Filter Sidebar */
  #tibex-root .tibex-filter-sidebar{
    position: sticky;
    top: 90px;
}
  #tibex-root .tibex-filter-panel{
    background: #fff;
    border: 1px solid var(--tibex-border);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--tibex-shadow);
}
  #tibex-root .tibex-input-wrap{
    position: relative;
}
  #tibex-root .tibex-input-icon{
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #a3a3a3;
    font-size: 20px;
    pointer-events: none;
    z-index: 1;
}
  #tibex-root .tibex-input{
    width: 100%;
    padding: 14px 14px 14px 44px;
    background: var(--tibex-surface);
    border: 1px solid var(--tibex-border);
    border-radius: var(--tibex-radius-sm);
    color: var(--tibex-on-surface);
    font-size: 13px;
    font-family: var(--tibex-font-head);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: border-color 0.2s;
    outline: none;
    appearance: none;
}
  #tibex-root .tibex-input:focus{ border-color: var(--tibex-primary); }
  #tibex-root .tibex-input::placeholder{ color: #a3a3a3; font-weight: 600; }
  #tibex-root .tibex-select{ cursor: pointer; }

  #tibex-root .tibex-stats-panel{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-top: 8px;
    background: var(--tibex-border);
    border: 1px solid var(--tibex-border);
}
  #tibex-root .tibex-stat{
    background: #fff;
    padding: 20px 16px;
    text-align: center;
}
  #tibex-root .tibex-stat__num{
    font-family: var(--tibex-font-head);
    font-size: 54px;
    font-weight: 700;
    color: var(--tibex-primary);
    line-height: 1;
}
  #tibex-root .tibex-stat__label{
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tibex-muted);
    margin-top: 6px;
}

/* Job Cards Grid */
  #tibex-root .tibex-jobs-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
  #tibex-root .tibex-job-card{
    background: #fff;
    border: 1px solid var(--tibex-border);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 160px;
    cursor: pointer;
    transition: var(--tibex-transition);
    position: relative;
    box-shadow: var(--tibex-shadow);
}
  #tibex-root .tibex-job-card::after{
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    width: 5px;
    height: 5px;
    background: var(--tibex-primary);
    opacity: 0;
    transition: opacity 0.2s;
}
  #tibex-root .tibex-job-card:hover{
    border-color: var(--tibex-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,163,5,0.12);
}
  #tibex-root .tibex-job-card:hover::after{ opacity: 1; }
  #tibex-root .tibex-job-card__title{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--tibex-on-surface);
    margin-bottom: 8px;
    transition: color 0.2s;
    line-height: 1.3;
}
  #tibex-root .tibex-job-card:hover .tibex-job-card__title{ color: var(--tibex-primary); }
  #tibex-root .tibex-job-card__location{
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--tibex-muted);
    font-size: 16px;
}
  #tibex-root .tibex-job-card__location .material-symbols-outlined{ font-size: 15px; }
  #tibex-root .tibex-job-card__bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
}
  #tibex-root .tibex-job-card__meta{
    display: flex;
    align-items: center;
    gap: 8px;
}
  #tibex-root .tibex-job-card__arrow{
    color: var(--tibex-primary);
    opacity: 0;
    transition: opacity 0.2s;
    font-size: 20px;
}
  #tibex-root .tibex-job-card:hover .tibex-job-card__arrow{ opacity: 1; }
  #tibex-root .tibex-no-results{
    grid-column: 1/-1;
    text-align: center;
    padding: 80px 32px;
    color: var(--tibex-muted);
}
  #tibex-root .tibex-no-results .material-symbols-outlined{ font-size: 48px; opacity: 0.3; display: block; margin-bottom: 12px; }
  #tibex-root .tibex-load-more-wrap{ grid-column: 1/-1; }

/* ════════════════════════════════════════════════════════════════
   PROGRAMS SECTION
   ════════════════════════════════════════════════════════════════ */
  #tibex-root .tibex-programs-section{
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
    border-top: 1px solid var(--tibex-border-lt);
    position: relative;
}
  #tibex-root .tibex-marquee-bg{
    font-family: var(--tibex-font-head);
    font-size: 100px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    color: var(--tibex-black);
    opacity: 0.03;
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    line-height: 1;
}
  #tibex-root .tibex-programs-layout{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}
  #tibex-root .tibex-label-row{
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
  #tibex-root .tibex-label-line{
    width: 48px;
    height: 2px;
    background: var(--tibex-primary);
    flex-shrink: 0;
}
  #tibex-root .tibex-label-text{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tibex-primary);
}
  #tibex-root .tibex-programs-title{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: clamp(40px, 5vw, 64px);
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--tibex-on-surface);
    line-height: 1.1;
    margin-bottom: 28px;
}
  #tibex-root .tibex-programs-sub{
    font-size: 22px;
    font-weight: 300;
    color: #525252;
    line-height: 1.55;
    margin-bottom: 48px;
}
  #tibex-root .tibex-program-list{
    border-top: 1px solid var(--tibex-border-lt);
}
  #tibex-root .tibex-program-item{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
    border-bottom: 1px solid var(--tibex-border-lt);
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--tibex-on-surface);
    transition: var(--tibex-transition);
}
  #tibex-root .tibex-program-item .material-symbols-outlined{
    opacity: 0;
    color: var(--tibex-primary);
    font-size: 24px;
    transform: translateX(-8px);
    transition: var(--tibex-transition);
}
  #tibex-root .tibex-program-item:hover{
    color: var(--tibex-primary);
    padding-left: 12px;
}
  #tibex-root .tibex-program-item:hover .material-symbols-outlined{
    opacity: 1;
    transform: translateX(0);
}
  #tibex-root .tibex-programs-image{
    position: relative;
    height: 640px;
    border: 1px solid var(--tibex-border);
    padding: 10px;
    background: var(--tibex-surface);
    overflow: hidden;
}
  #tibex-root .tibex-programs-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.2);
    transition: transform 1s ease;
}
  #tibex-root .tibex-programs-image:hover img{ transform: scale(1.05); }
  #tibex-root .tibex-programs-image__wa{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 3;
    pointer-events: none;
}
  #tibex-root .tibex-programs-image:hover .tibex-programs-image__wa{ opacity: 1; pointer-events: auto; }
  #tibex-root .tibex-programs-image__wa a{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
  #tibex-root .tibex-programs-image__wa svg{
    width: 64px;
    height: 64px;
    background: #25d366;
    border-radius: 50%;
    padding: 14px;
    box-shadow: 0 4px 24px rgba(37,211,102,0.5);
    transition: transform 0.3s ease;
}
  #tibex-root .tibex-programs-image__wa a:hover svg{ transform: scale(1.12); }
  #tibex-root .tibex-programs-badge{
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: #fff;
    border: 1px solid var(--tibex-primary);
    padding: 20px 24px;
    box-shadow: var(--tibex-shadow-lg);
    transform: translateY(8px);
    transition: transform 0.5s ease;
}
  #tibex-root .tibex-programs-image:hover .tibex-programs-badge{ transform: translateY(0); }
  #tibex-root .tibex-programs-badge__label{
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--tibex-primary);
    margin-bottom: 6px;
}
  #tibex-root .tibex-programs-badge__title{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--tibex-on-surface);
}

/* ════════════════════════════════════════════════════════════════
   COMMUNITY SECTION
   ════════════════════════════════════════════════════════════════ */
  #tibex-root .tibex-community-section{
    padding: 0px 0;
    background: var(--tibex-surface);
    overflow: hidden;
}
  #tibex-root .tibex-community-header{ margin-bottom: 56px; }
  #tibex-root .tibex-community-title{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: clamp(40px, 6vw, 72px);
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--tibex-on-surface);
    margin-bottom: 16px;
}
  #tibex-root .tibex-community-subrow{
    display: flex;
    align-items: center;
    gap: 24px;
}
  #tibex-root .tibex-accent-bar{
    width: 96px;
    height: 2px;
    background: var(--tibex-primary);
}
  #tibex-root .tibex-community-sub{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #d97706;
}
  #tibex-root .tibex-community-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
  #tibex-root .tibex-community-card{
    position: relative;
    height: 520px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--tibex-border);
    border-radius: var(--tibex-radius-sm);
}
  #tibex-root .tibex-community-card img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.3);
    transition: transform 0.7s ease, filter 0.5s ease;
}
  #tibex-root .tibex-community-card:hover img{
    transform: scale(1.06);
    filter: grayscale(0);
}
  #tibex-root .tibex-community-card__overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.90) 0%, rgba(0,0,0,0.25) 50%, transparent 100%);
}
  #tibex-root .tibex-community-card--dark .tibex-community-card__overlay{
    background: linear-gradient(to top, rgba(0,0,0,0.90) 0%, rgba(0,0,0,0.25) 50%, transparent 100%);
}
  #tibex-root .tibex-community-card__content{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 36px;
    transform: translateY(32px);
    transition: transform 0.5s ease;
}
  #tibex-root .tibex-community-card:hover .tibex-community-card__content{ transform: translateY(0); }
  #tibex-root .tibex-community-card__content h4{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 36px;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: white;
    margin-bottom: 20px;
}
  #tibex-root .tibex-community-card__arrow{
    display: none;
}

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */
  #tibex-root .tibex-footer{
    background: var(--tibex-surface);
    border-top: 1px solid var(--tibex-border);
}
  #tibex-root .tibex-footer__inner{
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 32px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 48px;
}
  #tibex-root .tibex-footer__logo{
    font-family: var(--tibex-font-head);
    font-weight: 900;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    color: var(--tibex-on-surface);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    line-height: 1;
}
  #tibex-root .tibex-footer__brand p{
    font-size: 16px;
    color: var(--tibex-muted);
    max-width: 280px;
    line-height: 1.7;
    margin-bottom: 15px !important;
}
  #tibex-root .tibex-footer__social{ display: flex; gap: 10px; }
  #tibex-root .tibex-social-icon{
    width: 40px;
    height: 40px;
    border: 1px solid var(--tibex-border);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--tibex-muted);
    transition: var(--tibex-transition);
}
  #tibex-root .tibex-social-icon:hover{ border-color: var(--tibex-primary); color: var(--tibex-primary); }
  #tibex-root .tibex-footer__col h5{
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tibex-on-surface);
    margin-bottom: 20px;
}
  #tibex-root .tibex-footer__col ul{ display: flex; flex-direction: column; gap: 12px; }
  #tibex-root .tibex-footer__col li a{
    font-size: 16px;
    color: var(--tibex-muted);
    transition: color 0.2s;
}
  #tibex-root .tibex-footer__col li a:hover{ color: #d97706; }
  #tibex-root .tibex-newsletter{
    display: flex;
    border: 1px solid var(--tibex-border);
    background: #fff;
    overflow: hidden;
    margin-bottom: 16px;
}
  #tibex-root .tibex-newsletter__input{
    flex: 1;
    padding: 12px 16px;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
    color: var(--tibex-on-surface);
}
  #tibex-root .tibex-newsletter__btn{
    background: var(--tibex-primary);
    color: var(--tibex-black);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}
  #tibex-root .tibex-newsletter__btn:hover{ background: var(--tibex-black); color: #fff; }
  #tibex-root .tibex-footer__copy{ font-size: 11px; color: #a3a3a3; }
  #tibex-root .tibex-footer__copyright-bar{
    border-top: 1px solid var(--tibex-border);
    text-align: center;
    padding: 20px 32px;
    font-size: 16px;
    color: var(--tibex-muted);
    background: var(--tibex-surface);
  }
  #tibex-root .tibex-footer__copyright-bar p{ margin: 0; }
  #tibex-root .tibex-stat--full{ width: 100%; text-align: center; }

/* WhatsApp FAB */
  #tibex-root .tibex-fab{
    position: fixed;
    bottom: 36px;
    right: 36px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37,211,102,0.55);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    z-index: 9999;
    text-decoration: none;
    padding: 0;
}
  #tibex-root .tibex-fab svg{
    flex-shrink: 0;
    opacity: 1;
    fill: #fff;
    width: 28px;
    height: 28px;
}
  #tibex-root .tibex-fab:hover{
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37,211,102,0.65);
    background: #25d366;
    width: 56px;
    gap: 0;
    padding: 0;
}
  #tibex-root .tibex-fab:hover svg{
    opacity: 1;
}
  #tibex-root .tibex-fab__label{
    display: none;
}
  #tibex-root .tibex-fab:hover .tibex-fab__label{ opacity: 0; }

/* ════════════════════════════════════════════════════════════════
   JOB DETAIL PAGE  (image-matched layout)
   ════════════════════════════════════════════════════════════════ */

/* Page wrapper */
  #tibex-root .tibex-jd-page{
    padding-top: 88px; /* nav height offset */
    background: #fff;
    min-height: 100vh;
}

/* Top bar: title + apply */
  #tibex-root .tibex-jd-topbar{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 0 20px;
    border-bottom: 1px solid var(--tibex-border);
}
  #tibex-root .tibex-jd-title{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: clamp(22px, 3vw, 45px);
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--tibex-on-surface);
    flex: 1;
    text-transform: none;
}

/* 2-column layout */
  #tibex-root .tibex-jd-layout{
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 0;
    align-items: start;
    border-left: none;
}

/* LEFT: main content column */
  #tibex-root .tibex-jd-main{
    border-right: 1px solid var(--tibex-border);
    padding: 0 32px 60px 0;
    min-width: 0;
}

/* Section headings inside main */
  #tibex-root .tibex-jd-h2{
    font-family: var(--tibex-font-head);
    font-size: 22px;
    font-weight: 700;
    color: var(--tibex-on-surface);
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    padding-top: 10px !important;
}
  #tibex-root .tibex-jd-section{
    border-bottom: 1px solid var(--tibex-border);
    padding-bottom: 20px;
    margin-bottom: 4px;
}

/* Prose paragraphs */
  #tibex-root .tibex-jd-prose p{
    font-size: 16px;
    color: var(--tibex-muted);
    line-height: 1.75;
    margin: 0;
}

/* Full post content typography */
  #tibex-root .tibex-jd-content{
    border-bottom: 1px solid var(--tibex-border);
}
  #tibex-root .tibex-jd-content h2,
  #tibex-root .tibex-jd-content h3{
    font-family: var(--tibex-font-head);
    font-size: 22px;
    font-weight: 700;
    color: var(--tibex-on-surface);
    letter-spacing: -0.01em;
    margin: 0;
    padding-top: 10px !important;
}
  #tibex-root .tibex-jd-content h2{ border-top: 1px solid var(--tibex-border); }
  #tibex-root .tibex-jd-content h2:first-child{ border-top: none; }
  #tibex-root .tibex-jd-content p{
    font-size: 16px;
    color: var(--tibex-muted);
    line-height: 1.75;
    margin: 0 0 10px;
}
  #tibex-root .tibex-jd-content ul{
    margin: 8px 0 16px 18px;
    list-style: disc;
}
  #tibex-root .tibex-jd-content li{
    font-size: 16px;
    color: var(--tibex-muted);
    line-height: 1.75;
    margin-bottom: 4px;
}
  #tibex-root .tibex-jd-content strong{
    color: var(--tibex-on-surface);
    font-weight: 600;
}

/* Bottom CTA */
  #tibex-root .tibex-jd-cta{
    padding-top: 32px;
}

/* RIGHT: sticky sidebar */
  #tibex-root .tibex-jd-sidebar{
    padding-left: 0;
}
  #tibex-root .tibex-jd-sidebar-inner{
    position: sticky;
    top: 88px;
}

/* Each meta block in sidebar */
  #tibex-root .tibex-jd-meta-block{
    padding: 14px 0 14px 20px;
    border-bottom: 1px solid var(--tibex-border);
}
  #tibex-root .tibex-jd-meta-block:first-child{
    border-top: 1px solid var(--tibex-border);
    margin-top: 28px;
}

/* Share row */
  #tibex-root .tibex-jd-meta-block--share{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-right: 4px;
}
  #tibex-root .tibex-jd-meta-label{
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--tibex-muted);
    white-space: nowrap;
}
  #tibex-root .tibex-jd-share-row{
    display: flex;
    gap: 5px;
    align-items: center;
}
  #tibex-root .tibex-jd-sicon{
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: opacity 0.2s, transform 0.2s;
    flex-shrink: 0;
}
  #tibex-root .tibex-jd-sicon:hover{ opacity: 0.8; transform: scale(1.1); }
  #tibex-root .tibex-jd-sicon--fb{ background: #FFA305; }
  #tibex-root .tibex-jd-sicon--li{ background: #FFA305; }
  #tibex-root .tibex-jd-sicon--x { background: #FFA305; }
  #tibex-root .tibex-jd-sicon--wa{ background: #FFA305; }
  #tibex-root .tibex-jd-sicon svg{ fill: #fff; }

/* Vacancies stat */
  #tibex-root .tibex-jd-stat{
    display: flex;
    align-items: center;
    gap: 10px;
}
  #tibex-root .tibex-jd-stat__num{
    font-family: var(--tibex-font-head);
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    color: var(--tibex-on-surface);
}
  #tibex-root .tibex-jd-stat__label{
    font-size: 16px;
    color: var(--tibex-muted);
    line-height: 1.4;
}

/* Icon + text meta rows */
  #tibex-root .tibex-jd-meta-row-item{
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
  #tibex-root .tibex-jd-icon{
    font-size: 20px;
    color: var(--tibex-primary);
    flex-shrink: 0;
    margin-top: 1px;
}
  #tibex-root .tibex-jd-meta-text{
    display: flex;
    flex-direction: column;
    gap: 2px;
}
  #tibex-root .tibex-jd-meta-key{
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--tibex-muted);
}
  #tibex-root .tibex-jd-meta-val{
    font-size: 16px;
    font-weight: 600;
    color: var(--tibex-on-surface);
}

/* Legacy back-link (kept for safety) */
  #tibex-root .tibex-back-link{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--tibex-muted);
    margin-bottom: 20px;
    transition: color 0.2s;
}
  #tibex-root .tibex-back-link:hover{ color: var(--tibex-primary); }
  #tibex-root .tibex-back-link .material-symbols-outlined{ font-size: 18px; }

/* Hero — top bar: title + apply button */
  #tibex-root .tibex-job-hero{
    padding: 100px 0 0;
    background: #fff;
    border-bottom: 1px solid var(--tibex-border);
}
  #tibex-root .tibex-job-hero__topbar{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--tibex-border);
    margin-bottom: 0;
}
  #tibex-root .tibex-job-title{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: clamp(22px, 3vw, 34px);
    letter-spacing: -0.02em;
    color: var(--tibex-on-surface);
    line-height: 1.2;
    flex: 1;
    text-transform: none;
}

/* Hero grid: left content + right meta panel */
  #tibex-root .tibex-job-hero__grid{
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 0;
    align-items: start;
}
  #tibex-root .tibex-job-hero__content{
    padding: 28px 32px 40px 0;
    border-right: 1px solid var(--tibex-border);
}
  #tibex-root .tibex-job-overview-label{
    font-family: var(--tibex-font-head);
    font-size: 15px;
    font-weight: 700;
    color: var(--tibex-on-surface);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
  #tibex-root .tibex-job-description--intro p{
    font-size: 14px;
    color: var(--tibex-muted);
    line-height: 1.75;
    margin: 0;
}

/* Right meta panel */
  #tibex-root .tibex-job-hero__meta-panel{
    padding: 28px 0 40px 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Share row */
  #tibex-root .tibex-meta-row--share{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--tibex-border);
    margin-bottom: 16px;
}
  #tibex-root .tibex-meta-row__label{
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tibex-muted);
}

/* Share buttons — colored */
  #tibex-root .tibex-share-btns{ display: flex; gap: 6px; flex-wrap: wrap; }
  #tibex-root .tibex-share-btn{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    font-size: 14px;
    background: #FFA305;
}
  #tibex-root .tibex-share-btn svg{ fill: #fff; }
  #tibex-root .tibex-share-btn:hover{ opacity: 0.85; transform: scale(1.1); }
  #tibex-root .tibex-share-btn--linkedin{ background: #FFA305; }
  #tibex-root .tibex-share-btn--x{ background: #FFA305; }
  #tibex-root .tibex-share-btn--wa{ background: #FFA305; }
  #tibex-root .tibex-share-btn:not([class*="--"]){ background: #FFA305; color: #fff; }

/* Applicant stat */
  #tibex-root .tibex-meta-stat-row{
    padding-bottom: 16px;
    border-bottom: 1px solid var(--tibex-border);
    margin-bottom: 16px;
}
  #tibex-root .tibex-meta-stat{
    display: flex;
    align-items: center;
    gap: 12px;
}
  #tibex-root .tibex-meta-stat__num{
    font-family: var(--tibex-font-head);
    font-size: 36px;
    font-weight: 700;
    color: var(--tibex-on-surface);
    line-height: 1;
}
  #tibex-root .tibex-meta-stat__label{
    font-size: 12px;
    color: var(--tibex-muted);
    line-height: 1.4;
}

/* Each meta item row */
  #tibex-root .tibex-meta-item{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--tibex-border-lt);
}
  #tibex-root .tibex-meta-item:last-child{ border-bottom: none; }
  #tibex-root .tibex-meta-item__icon{
    width: 36px;
    height: 36px;
    background: var(--tibex-surface-md);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
  #tibex-root .tibex-meta-item__icon .material-symbols-outlined{
    font-size: 18px;
    color: var(--tibex-primary);
}
  #tibex-root .tibex-meta-item__body{
    display: flex;
    flex-direction: column;
    gap: 2px;
}
  #tibex-root .tibex-meta-item__label{
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--tibex-muted);
}
  #tibex-root .tibex-meta-item__val{
    font-size: 14px;
    font-weight: 600;
    color: var(--tibex-on-surface);
}

/* Body section: full width content, no sidebar */
  #tibex-root .tibex-job-body{
    padding: 48px 0 100px;
    background: var(--tibex-surface);
}
  #tibex-root .tibex-job-body__grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}
  #tibex-root .tibex-job-description{
    background: #fff;
    border: 1px solid var(--tibex-border);
    padding: 48px;
}
  #tibex-root .tibex-job-description h3{
    font-family: var(--tibex-font-head);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 32px 0 16px;
    color: var(--tibex-on-surface);
}
  #tibex-root .tibex-job-description h3:first-child{ margin-top: 0; }
  #tibex-root .tibex-job-description p{ color: var(--tibex-muted); line-height: 1.8; margin-bottom: 16px; font-size: 15px; }
  #tibex-root .tibex-job-description ul{ margin: 16px 0 24px 20px; list-style: disc; }
  #tibex-root .tibex-job-description li{ color: var(--tibex-muted); line-height: 1.8; font-size: 15px; margin-bottom: 6px; }
  #tibex-root .tibex-job-requirements{
    background: rgba(255,163,5,0.05);
    border: 1px solid rgba(255,163,5,0.2);
    padding: 32px 48px;
    margin-top: 2px;
}
  #tibex-root .tibex-job-requirements h3{
    font-family: var(--tibex-font-head);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #9a3412;
}
  #tibex-root .tibex-job-requirements p{ color: var(--tibex-muted); font-size: 14px; line-height: 1.7; }
  #tibex-root .tibex-job-apply-cta{
    background: var(--tibex-on-surface);
    padding: 48px;
    margin-top: 2px;
    text-align: center;
}
  #tibex-root .tibex-job-apply-cta h3{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 26px;
    color: #fff;
    margin-bottom: 12px;
}
  #tibex-root .tibex-job-apply-cta p{
    color: #a3a3a3;
    margin-bottom: 32px;
    font-size: 15px;
}

/* Keep old info card & cta card styles for any legacy use */
  #tibex-root .tibex-job-info-card{
    background: #fff;
    border: 1px solid var(--tibex-border);
    padding: 28px;
    position: sticky;
    top: 88px;
}
  #tibex-root .tibex-job-info-card h4{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tibex-muted);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--tibex-border);
}
  #tibex-root .tibex-info-list{ display: flex; flex-direction: column; gap: 16px; }
  #tibex-root .tibex-info-list li{
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
  #tibex-root .tibex-info-list li > .material-symbols-outlined{ color: var(--tibex-primary); font-size: 20px; flex-shrink: 0; margin-top: 2px; }
  #tibex-root .tibex-info-list div{ display: flex; flex-direction: column; gap: 2px; }
  #tibex-root .tibex-info-list strong{ font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tibex-muted); }
  #tibex-root .tibex-info-list span{ font-size: 14px; color: var(--tibex-on-surface); }

  #tibex-root .tibex-cta-card{
    background: var(--tibex-surface);
    border: 1px solid var(--tibex-border);
    padding: 32px;
    position: sticky;
    top: 88px;
}
  #tibex-root .tibex-cta-card__title{
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}
  #tibex-root .tibex-cta-card__sub{
    font-size: 14px;
    color: var(--tibex-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}
  #tibex-root .tibex-cta-card__divider{
    height: 1px;
    background: var(--tibex-border);
    margin: 24px 0 16px;
}
  #tibex-root .tibex-cta-card__share{
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tibex-muted);
    margin-bottom: 12px;
}


/* ════════════════════════════════════════════════════════════════
   APPLY PAGE — v4 FULL RESPONSIVE REWRITE
   8px spacing system: 8 / 16 / 24 / 32 / 40 / 48 / 64
   ════════════════════════════════════════════════════════════════ */

/* ── Design Tokens (override/extend) ───────────────────────── */
#tibex-root {
    --tibex-space-1: 8px;
    --tibex-space-2: 16px;
    --tibex-space-3: 24px;
    --tibex-space-4: 32px;
    --tibex-space-5: 40px;
    --tibex-space-6: 48px;
    --tibex-space-8: 64px;
    --tibex-field-h:  64px;
    --tibex-field-px: 16px;
    --tibex-field-py: 14px;
    --tibex-col-gap:  20px;
    --tibex-row-gap:  20px;
    --tibex-radius-field: 6px;
    --tibex-radius-card:  8px;
    --tibex-shadow-field: 0 1px 3px rgba(0,0,0,0.06);
    --tibex-shadow-card:  0 2px 16px rgba(0,0,0,0.07);
    --tibex-transition-field: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

/* ── Apply Hero ─────────────────────────────────────────────── */
#tibex-root .tibex-apply-hero {
    padding: clamp(80px, 8vw, 120px) 0 clamp(40px, 5vw, 55px) !important;
    background: #fff;
    position: relative;
    overflow: hidden;
}
#tibex-root .tibex-apply-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: var(--tibex-border);
}
#tibex-root .tibex-apply-hero__content { max-width: 640px; }
#tibex-root .tibex-apply-hero__accent {
    width: 48px;
    height: 4px;
    background: var(--tibex-primary);
    margin-bottom: var(--tibex-space-3);
    border-radius: 2px;
}
#tibex-root .tibex-apply-hero__title {
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: clamp(32px, 4vw, 52px);
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--tibex-on-surface);
    line-height: 1.1;
    margin: var(--tibex-space-1) 0 0;
	padding-top: 12px !important;
}

/* ── Apply Section Wrapper ──────────────────────────────────── */
#tibex-root .tibex-apply-section {
    padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 7vw, 96px);
    background: var(--tibex-surface);
    min-height: 60vh;
}

/* ── Two-column layout: form + sidebar ─────────────────────── */
#tibex-root .tibex-apply-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

/* ════════════════════════════════════════════════════════════
   STEP INDICATOR
   ════════════════════════════════════════════════════════════ */
#tibex-root .tibex-apply-steps {
    display: flex;
    align-items: center;
    margin-bottom: var(--tibex-space-4);
    gap: 0;
    width: 100%;
}
#tibex-root .tibex-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--tibex-space-1);
    flex-shrink: 0;
    opacity: 0.38;
    transition: opacity 0.3s ease;
}
#tibex-root .tibex-step--active,
#tibex-root .tibex-step--done { opacity: 1; }
#tibex-root .tibex-step__circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--tibex-border);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
#tibex-root .tibex-step--active .tibex-step__circle {
    background: var(--tibex-primary);
    border-color: var(--tibex-primary);
    transform: scale(1.08);
    box-shadow: 0 0 0 4px rgba(255,163,5,0.18);
}
#tibex-root .tibex-step--done .tibex-step__circle {
    background: #22c55e;
    border-color: #22c55e;
}
#tibex-root .tibex-step__num {
    font-family: var(--tibex-font-head);
    font-size: 12px;
    font-weight: 800;
    color: var(--tibex-muted);
    line-height: 1;
}
#tibex-root .tibex-step--active .tibex-step__num { color: var(--tibex-black); }
#tibex-root .tibex-step--done .tibex-step__check {
    font-size: 20px;
    color: #fff;
    line-height: 1;
}
#tibex-root .tibex-step__label {
    font-family: var(--tibex-font-head);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tibex-muted);
    white-space: nowrap;
    transition: color 0.3s;
}
#tibex-root .tibex-step--active .tibex-step__label { color: var(--tibex-on-surface); }
#tibex-root .tibex-step-line {
    flex: 1;
    height: 2px;
    background: var(--tibex-border);
    margin: -18px var(--tibex-space-2) 0;
    transition: background 0.4s ease;
    min-width: 16px;
}
#tibex-root .tibex-step-line.active { background: var(--tibex-primary); }

/* ════════════════════════════════════════════════════════════
   FORM CARD
   ════════════════════════════════════════════════════════════ */
#tibex-root .tibex-apply-form-wrap {
    background: #fff;
    border: 1px solid var(--tibex-border);
    border-radius: var(--tibex-radius-card);
    padding: clamp(24px, 4vw, 48px);
    box-shadow: var(--tibex-shadow-card);
}

/* ── Form step title ────────────────────────────────────────── */
#tibex-root .tibex-form-step__title {
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: clamp(18px, 2.5vw, 22px);
    letter-spacing: -0.02em;
    color: var(--tibex-on-surface);
    margin: 0 0 var(--tibex-space-3);
    padding-bottom: 20px !important;
    border-bottom: 2px solid var(--tibex-border-lt);
    display: flex;
    align-items: center;
    gap: var(--tibex-space-1);
    line-height: 1.2;
}
#tibex-root .tibex-form-step__title .material-symbols-outlined {
    font-size: 22px;
    color: var(--tibex-primary);
    flex-shrink: 0;
}
#tibex-root .tibex-form-step--hidden { display: none !important; }

/* ════════════════════════════════════════════════════════════
   GRID SYSTEM — 8px base
   ════════════════════════════════════════════════════════════ */

/* All form groups get consistent bottom spacing */
#tibex-root .tibex-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--tibex-row-gap);
    position: relative;
}
/* Last child in a step gets no bottom margin */
#tibex-root .tibex-form-step > .tibex-form-group:last-child,
#tibex-root .tibex-form-step > .tibex-form-row:last-child,
#tibex-root .tibex-form-row:last-child .tibex-form-group {
    margin-bottom: 0;
}
/* Two-column row */
#tibex-root .tibex-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--tibex-col-gap);
    margin-bottom: var(--tibex-row-gap);
}
#tibex-root .tibex-form-row:last-child { margin-bottom: 0; }
#tibex-root .tibex-form-row .tibex-form-group { margin-bottom: 0; }
/* Three-column row */
#tibex-root .tibex-form-row--3 {
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--tibex-col-gap);
    margin-bottom: var(--tibex-row-gap);
}
#tibex-root .tibex-form-row--3:last-child { margin-bottom: 0; }
#tibex-root .tibex-form-row--3 .tibex-form-group { margin-bottom: 0; }

/* ════════════════════════════════════════════════════════════
   FLOATING LABEL SYSTEM
   ════════════════════════════════════════════════════════════ */
#tibex-root .tibex-floating-field {
    position: relative;
    width: 100%;
}
/* All float fields share the same height and base style */
#tibex-root .tibex-field--float {
    width: 100%;
    height: var(--tibex-field-h);
    padding: 26px var(--tibex-field-px) 8px;
    border: 1.5px solid var(--tibex-border);
    border-radius: var(--tibex-radius-field);
    background: #fafafa;
    font-family: var(--tibex-font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--tibex-on-surface);
    outline: none;
    transition: var(--tibex-transition-field);
    appearance: none;
    -webkit-appearance: none;
    box-shadow: var(--tibex-shadow-field);
    box-sizing: border-box;
    display: block;
    line-height: 1;
	
}
#tibex-root .tibex-field--float:hover:not(:focus) {
    border-color: #d4d4d4;
    background: #f5f5f5;
}
#tibex-root .tibex-field--float:focus {
    border-color: var(--tibex-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255,163,5,0.14), var(--tibex-shadow-field);
}
#tibex-root .tibex-field--float.error {
    border-color: #ef4444;
    background: #fff5f5;	
    box-shadow: 0 0 0 3px rgba(239,68,68,0.10);
}
/* Floating label */
#tibex-root .tibex-float-label {
    position: absolute;
    left: var(--tibex-field-px);
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--tibex-font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--tibex-muted);
    pointer-events: none;
    transition: top 0.18s ease, font-size 0.18s ease, font-weight 0.18s ease,
                color 0.18s ease, letter-spacing 0.18s ease, transform 0.18s ease;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 32px);
    background: transparent;
}
/* Floated state */
#tibex-root .tibex-field--float:focus ~ .tibex-float-label,
#tibex-root .tibex-field--float:not(:placeholder-shown) ~ .tibex-float-label {
    top: 9px;
    transform: translateY(0);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tibex-primary);
    padding-bottom: 4px;
}
/* Always-floated (select, date, age) */
#tibex-root .tibex-float-label--always {
    top: 9px;
    transform: translateY(0);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tibex-muted);
    padding-bottom: 4px;
}
#tibex-root .tibex-field--float:focus ~ .tibex-float-label--always {
    color: var(--tibex-primary);
}
/* Required asterisk */
#tibex-root .tibex-required { color: var(--tibex-primary); margin-left: 1px; }

/* ── Icon prefix fields ─────────────────────────────────────── */
#tibex-root .tibex-floating-field--icon {
    position: relative;
}
/* Icon: resting state — vertically centered in the field */
#tibex-root .tibex-field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 17px;
    color: #a3a3a3;
    transition: top 0.18s ease, transform 0.18s ease, color 0.18s ease, font-size 0.18s ease;
    pointer-events: none;
    z-index: 2;
    line-height: 1;
}
/* Icon moves to top (alongside label) when field is active or has value */
#tibex-root .tibex-floating-field--icon:focus-within .tibex-field-icon,
#tibex-root .tibex-floating-field--icon:has(.tibex-field--with-icon:not(:placeholder-shown)) .tibex-field-icon {
    top: 9px;
    transform: translateY(0);
    font-size: 11px;
    color: var(--tibex-primary);
}
/* Input has left padding to clear the icon */
#tibex-root .tibex-field--with-icon {
    padding-left: 40px;
}
/* Label starts indented past icon in resting state */
#tibex-root .tibex-float-label--icon {
    left: 40px;
    max-width: calc(100% - 52px);
}
/* When floated, label stays at left edge indented past icon */
#tibex-root .tibex-field--with-icon:focus ~ .tibex-float-label--icon,
#tibex-root .tibex-field--with-icon:not(:placeholder-shown) ~ .tibex-float-label--icon {
    left: 30px;
    max-width: calc(100% - 52px);
}

/* ── Select field ────────────────────────────────────────────── */
#tibex-root .tibex-floating-field--select { position: relative; }
#tibex-root .tibex-field--select {
    padding-top: 22px;
    padding-right: 40px;
    cursor: pointer;
    color: var(--tibex-on-surface);
}
#tibex-root .tibex-field--select option { font-size: 14px; }
#tibex-root .tibex-select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--tibex-muted);
    pointer-events: none;
    transition: transform 0.2s ease, color 0.18s ease;
    z-index: 1;
}
#tibex-root .tibex-field--select:focus ~ .tibex-select-arrow {
    transform: translateY(-50%) rotate(180deg);
    color: var(--tibex-primary);
}

/* ── Date field ──────────────────────────────────────────────── */
#tibex-root .tibex-field--date {
    padding-top: 22px;
    color-scheme: light;
    cursor: pointer;
}
#tibex-root .tibex-field--date::-webkit-calendar-picker-indicator {
    opacity: 0.45;
    cursor: pointer;
    transition: opacity 0.18s;
    margin-top: 4px;
}
#tibex-root .tibex-field--date:hover::-webkit-calendar-picker-indicator { opacity: 0.75; }

/* ── Age field ───────────────────────────────────────────────── */
#tibex-root .tibex-age-group { position: relative; }
#tibex-root .tibex-field--age {
    background: var(--tibex-surface) !important;
    font-family: var(--tibex-font-head);
    font-weight: 800;
    font-size: clamp(18px, 2vw, 22px);
    text-align: center;
    letter-spacing: -0.01em;
    color: var(--tibex-on-surface);
    cursor: default;
    padding-top: 22px;
}
#tibex-root .tibex-field--age:focus {
    border-color: var(--tibex-border) !important;
    box-shadow: none !important;
}
#tibex-root .tibex-age-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--tibex-primary);
    color: var(--tibex-black);
    font-family: var(--tibex-font-head);
    font-weight: 800;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 2px 10px;
    border-radius: 20px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 2;
    box-shadow: 0 1px 4px rgba(255,163,5,0.3);
}

/* ════════════════════════════════════════════════════════════
   INLINE ERROR MESSAGES
   ════════════════════════════════════════════════════════════ */
#tibex-root .tibex-field-error {
    display: block;
    font-family: var(--tibex-font-body);
    font-size: 11.5px;
    font-weight: 600;
    color: #ef4444;
    margin-top: 5px;
    padding-left: 2px;
    line-height: 1.3;
    min-height: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.2s ease, opacity 0.2s ease, margin-top 0.2s ease;
}
#tibex-root .tibex-field-error.visible {
    max-height: 40px;
    opacity: 1;
    margin-top: 5px;
}
/* Error message never breaks grid — it lives inside form-group flow */

/* ════════════════════════════════════════════════════════════
   OLD-STYLE FIELDS (non-floating, used in other templates)
   ════════════════════════════════════════════════════════════ */
#tibex-root .tibex-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tibex-muted);
    margin-bottom: 6px;
    display: block;
}
#tibex-root .tibex-field {
    padding: var(--tibex-field-py) var(--tibex-field-px);
    height: var(--tibex-field-h);
    background: #fafafa;
    border: 1.5px solid var(--tibex-border);
    border-radius: var(--tibex-radius-field);
    color: var(--tibex-on-surface);
    font-family: var(--tibex-font-body);
    font-size: 14px;
    font-weight: 500;
    outline: none;
    transition: var(--tibex-transition-field);
    width: 100%;
    box-sizing: border-box;
    box-shadow: var(--tibex-shadow-field);
	padding-bottom: 0px !important
}
#tibex-root .tibex-field:focus {
    border-color: var(--tibex-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255,163,5,0.14);
}
#tibex-root .tibex-field.error { border-color: #ef4444; background: #fff5f5; }
#tibex-root .tibex-textarea {
    resize: vertical;
    min-height: 140px;
    height: auto;
    padding: var(--tibex-field-py) var(--tibex-field-px);
}

/* ════════════════════════════════════════════════════════════
   FORM ACTIONS
   ════════════════════════════════════════════════════════════ */
#tibex-root .tibex-form-actions {
    margin-top: var(--tibex-space-3);
    padding-top: var(--tibex-space-2);
    border-top: 1px solid var(--tibex-border-lt);
    display: flex;
    justify-content: flex-end;
}
#tibex-root .tibex-form-actions--split {
    justify-content: space-between;
    align-items: center;
    gap: var(--tibex-space-2);
}
#tibex-root .tibex-btn--full { width: 100%; justify-content: center; }

/* ════════════════════════════════════════════════════════════
   FILE UPLOAD DROP ZONE
   ════════════════════════════════════════════════════════════ */
#tibex-root .tibex-upload-zone {
    position: relative;
    border: 2px dashed var(--tibex-border);
    background: #fafafa;
    border-radius: var(--tibex-radius-card);
    padding: clamp(20px, 3vw, 32px) var(--tibex-space-4);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#tibex-root .tibex-upload-zone:hover,
#tibex-root .tibex-upload-zone.drag-over {
    border-color: var(--tibex-primary);
    background: rgba(255,163,5,0.03);
    box-shadow: 0 0 0 3px rgba(255,163,5,0.1);
}
#tibex-root .tibex-upload-zone.error {
    border-color: #ef4444;
    background: #fff5f5;
}
#tibex-root .tibex-upload-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 1;
}
#tibex-root .tibex-upload-zone__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--tibex-space-1);
    pointer-events: none;
    width: 100%;
}
#tibex-root .tibex-upload-icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(255,163,5,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--tibex-space-1);
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}
#tibex-root .tibex-upload-zone:hover .tibex-upload-icon-wrap {
    background: rgba(255,163,5,0.18);
    transform: scale(1.06);
}
#tibex-root .tibex-upload-icon {
    font-size: 28px;
    color: var(--tibex-primary);
    display: block;
    line-height: 1;
}
#tibex-root .tibex-upload-text {
    font-size: 14px;
    color: var(--tibex-muted);
    line-height: 1.5;
    margin: 0;
}
#tibex-root .tibex-upload-browse {
    color: var(--tibex-primary);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(255,163,5,0.4);
    text-underline-offset: 2px;
}
#tibex-root .tibex-upload-hint {
    font-size: 12px;
    color: black;
    margin: 0;
}
#tibex-root .tibex-upload-required-note {
    font-size: 14px;
    color: var(--tibex-primary);
    font-weight: 600;
    margin: var(--tibex-space-1) 0 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
/* Upload done state */
#tibex-root .tibex-upload-zone__done {
    display: flex;
    align-items: center;
    gap: var(--tibex-space-2);
    padding: var(--tibex-space-2) var(--tibex-space-3);
    width: 100%;
    pointer-events: none;
}
#tibex-root .tibex-upload-done-icon {
    font-size: 36px;
    color: #22c55e;
    line-height: 1;
    flex-shrink: 0;
}
#tibex-root .tibex-upload-done-info {
    flex: 1;
    min-width: 0;
    text-align: left;
}
#tibex-root .tibex-upload-done-name {
    font-weight: 700;
    font-size: 14px;
    word-break: break-word;
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#tibex-root .tibex-upload-done-size {
    font-size: 12px;
    color: var(--tibex-muted);
    margin: 0;
}
#tibex-root .tibex-upload-remove {
    pointer-events: all;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f5f5;
    border: 1px solid var(--tibex-border);
    color: var(--tibex-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    font-size: 18px;
    z-index: 2;
}
#tibex-root .tibex-upload-remove:hover {
    background: #fee2e2;
    border-color: #ef4444;
    color: #ef4444;
}

/* ── Upload Tips ─────────────────────────────────────────────── */
#tibex-root .tibex-upload-tips {
    margin-top: var(--tibex-space-2);
    padding: var(--tibex-space-2) var(--tibex-space-3);
    background: rgba(255,163,5,0.04);
    border-radius: var(--tibex-radius-field);
    border: 1px solid rgba(255,163,5,0.15);
}
#tibex-root .tibex-upload-tips__title {
    font-family: var(--tibex-font-head);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tibex-muted);
    margin-bottom: var(--tibex-space-1);
}
#tibex-root .tibex-upload-tips ul { margin: 0; padding: 0; list-style: none; }
#tibex-root .tibex-upload-tips li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--tibex-muted);
    padding: 3px 0;
    line-height: 1.4;
}
#tibex-root .tibex-upload-tips li .material-symbols-outlined {
    font-size: 16px;
    color: var(--tibex-primary);
    flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════
   REVIEW PANEL
   ════════════════════════════════════════════════════════════ */
#tibex-root .tibex-review-intro {
    font-size: 15px;
    color: var(--tibex-muted);
    margin: 0 0 var(--tibex-space-3);
    line-height: 1.5;
	padding-top: 10px;
	padding-bottom: 10px;
}
#tibex-root .tibex-review-section {
    background: #fafafa;
    border: 1px solid var(--tibex-border);
    border-radius: var(--tibex-radius-field);
    margin-bottom: var(--tibex-space-2);
    overflow: hidden;
}
#tibex-root .tibex-review-section:last-child { margin-bottom: 0; }
#tibex-root .tibex-review-section-title {
    font-family: var(--tibex-font-head);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--tibex-muted);
    padding: var(--tibex-space-1) var(--tibex-space-2);
    background: #fff;
    border-bottom: 1px solid var(--tibex-border);
}
#tibex-root .tibex-review-row {
    display: flex;
    align-items: flex-start;
    gap: var(--tibex-space-2);
    padding: 10px var(--tibex-space-2);
    border-bottom: 1px solid var(--tibex-border-lt);
}
#tibex-root .tibex-review-row:last-child { border-bottom: none; }
#tibex-root .tibex-review-label {
    font-family: var(--tibex-font-head);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--tibex-muted);
    min-width: 100px;
    flex-shrink: 0;
    padding-top: 1px;
    line-height: 1.4;
}
#tibex-root .tibex-review-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--tibex-on-surface);
    word-break: break-word;
    line-height: 1.5;
    flex: 1;
    min-width: 0;
}

/* ════════════════════════════════════════════════════════════
   CHECKBOX & TERMS
   ════════════════════════════════════════════════════════════ */
#tibex-root .tibex-terms-group {
    background: #fafafa;
    padding: var(--tibex-space-2) var(--tibex-space-3);
    border-radius: var(--tibex-radius-field);
    border: 1px solid var(--tibex-border);
    margin-top: var(--tibex-space-4);
    margin-bottom: 0;
}
#tibex-root .tibex-checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: var(--tibex-space-1) + 4px;
    gap: 12px;
    font-size: 15px;
    color: var(--tibex-muted);
    cursor: pointer;
    line-height: 1.6;
}
#tibex-root .tibex-checkbox-wrap input[type="checkbox"] { display: none; }
#tibex-root .tibex-checkbox-custom {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--tibex-border);
    background: #fff;
    flex-shrink: 0;
    margin-top: 1px;
    position: relative;
    border-radius: 4px;
    transition: background 0.18s ease, border-color 0.18s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
#tibex-root .tibex-checkbox-wrap:hover .tibex-checkbox-custom {
    border-color: var(--tibex-primary);
}
#tibex-root .tibex-checkbox-wrap input:checked ~ .tibex-checkbox-custom {
    background: var(--tibex-primary);
    border-color: var(--tibex-primary);
}
#tibex-root .tibex-checkbox-wrap input:checked ~ .tibex-checkbox-custom::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 11px;
    border: 2.5px solid var(--tibex-black);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}
#tibex-root .tibex-checkbox-text { flex: 1; }
#tibex-root .tibex-checkbox-text a { color: var(--tibex-primary); font-weight: 600; text-decoration: underline; }

/* ════════════════════════════════════════════════════════════
   SPINNER
   ════════════════════════════════════════════════════════════ */
#tibex-root .tibex-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0,0,0,0.2);
    border-top-color: var(--tibex-black);
    border-radius: 50%;
    animation: tibex-spin 0.6s linear infinite;
    flex-shrink: 0;
}
@keyframes tibex-spin { to { transform: rotate(360deg); } }

/* ════════════════════════════════════════════════════════════
   SUCCESS STATE
   ════════════════════════════════════════════════════════════ */
#tibex-root .tibex-apply-success {
    text-align: center;
    padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 48px);
    animation: tibex-fade-in 0.5s ease both;
}
@keyframes tibex-fade-in {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
#tibex-root .tibex-success-anim {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--tibex-space-4);
}
#tibex-root .tibex-success-ring {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid var(--tibex-primary);
    opacity: 0;
    animation: tibex-ring-pulse 1.4s ease 0.3s forwards;
}
@keyframes tibex-ring-pulse {
    0%   { opacity: 0; transform: scale(0.5); }
    50%  { opacity: 0.5; transform: scale(1.25); }
    100% { opacity: 0; transform: scale(1.55); }
}
#tibex-root .tibex-success-icon {
    font-size: 72px;
    color: #22c55e;
    display: block;
    animation: tibex-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}
@keyframes tibex-pop {
    0%   { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
#tibex-root .tibex-success-title {
    font-family: var(--tibex-font-head);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--tibex-on-surface);
    margin-bottom: var(--tibex-space-2);
}
#tibex-root .tibex-success-msg {
    font-size: 15px;
    color: var(--tibex-muted);
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.7;
	padding-top: 12px;
}
#tibex-root .tibex-success-ref {
    display: inline-block;
    font-family: var(--tibex-font-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--tibex-muted);
    background: var(--tibex-surface);
    border: 1px solid var(--tibex-border);
    padding: var(--tibex-space-1) var(--tibex-space-3);
    border-radius: var(--tibex-radius-field);
    margin-top: var(--tibex-space-3);
}

/* ════════════════════════════════════════════════════════════
   SIDEBAR
   ════════════════════════════════════════════════════════════ */
#tibex-root .tibex-apply-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--tibex-space-3);
}
#tibex-root .tibex-apply-info-card {
    background: #fff;
    border: 1px solid var(--tibex-border);
    border-radius: var(--tibex-radius-card);
    padding: var(--tibex-space-3);
    position: sticky;
    top: 88px;
    box-shadow: var(--tibex-shadow-card);
}
#tibex-root .tibex-apply-info-card + .tibex-apply-info-card {
    position: static;
}
#tibex-root .tibex-apply-info-card__title {
    font-family: var(--tibex-font-head);
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tibex-muted);
    margin-bottom: var(--tibex-space-3);
    padding-bottom: var(--tibex-space-2);
    border-bottom: 1px solid var(--tibex-border-lt);
}
#tibex-root .tibex-process-list {
    display: flex;
    flex-direction: column;
    gap: var(--tibex-space-3);
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: none;
}
#tibex-root .tibex-process-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--tibex-space-2);
    line-height: 1;
}
#tibex-root .tibex-process-num {
    width: 40px;
    height: 40px;
    min-width: 32px;
    background: rgba(255, 163, 5, 0.1);
    color: var(--tibex-primary);
    font-family: var(--tibex-font-head);
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 6px;
}
#tibex-root .tibex-process-list strong {
    display: block;
    font-family: var(--tibex-font-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--tibex-on-surface);
    margin-bottom: 3px;
    line-height: 1.2;
}
#tibex-root .tibex-process-list p {
    font-size: 14px;
    color: var(--tibex-muted);
    line-height: 1.5;
    margin: 0;
}
/* Job summary card */
#tibex-root .tibex-job-summary-title {
    font-family: var(--tibex-font-head);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--tibex-on-surface);
    margin: var(--tibex-space-1) 0 4px;
    line-height: 1.3;
}
#tibex-root .tibex-job-summary-loc {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 14px;
    color: var(--tibex-muted);
    margin: 0;
    line-height: 1.4;
}
#tibex-root .tibex-job-summary-loc .material-symbols-outlined { font-size: 14px; flex-shrink: 0; }
/* Progress card */
#tibex-root .tibex-progress-bar-wrap {
    height: 6px;
    background: var(--tibex-border);
    border-radius: 99px;
    overflow: hidden;
    margin: var(--tibex-space-2) 0 var(--tibex-space-1);
}
#tibex-root .tibex-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--tibex-primary), #ffcd4a);
    border-radius: 99px;
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
#tibex-root .tibex-progress-label {
    font-size: 15px;
    color: var(--tibex-muted);
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

/* ════════════════════════════════════════════════════════════
   BACK LINK
   ════════════════════════════════════════════════════════════ */
#tibex-root .tibex-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--tibex-font-head);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tibex-muted);
    margin-bottom: var(--tibex-space-3);
    transition: color 0.18s ease;
    text-decoration: none;
}
#tibex-root .tibex-back-link:hover { color: var(--tibex-on-surface); }
#tibex-root .tibex-back-link .material-symbols-outlined { font-size: 18px; transition: transform 0.18s ease; }
#tibex-root .tibex-back-link:hover .material-symbols-outlined { transform: translateX(-3px); }

/* ════════════════════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════════════════════ */
@keyframes tibex-shake {
    0%, 100% { transform: translateX(0); }
    20%, 60%  { transform: translateX(-6px); }
    40%, 80%  { transform: translateX(6px); }
}
.tibex-shake { animation: tibex-shake 0.4s ease both; }

@keyframes tibex-age-pop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.tibex-age-pop { animation: tibex-age-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both; }

@keyframes tibex-step-enter {
    from { opacity: 0; transform: translateX(16px); }
    to   { opacity: 1; transform: translateX(0); }
}
.tibex-step-enter { animation: tibex-step-enter 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }


/* ════════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS — 8px system, mobile-first approach
   ════════════════════════════════════════════════════════════════ */

/* ── Desktop+ (1920px+) ─────────────────────────────────────── */
@media (min-width: 1440px) {
    #tibex-root .tibex-apply-layout {
        grid-template-columns: minmax(0, 1fr) 380px;
        gap: 56px;
    }
    #tibex-root .tibex-apply-form-wrap { padding: 56px; }
    #tibex-root .tibex-form-row { gap: 24px; }
    #tibex-root .tibex-form-row--3 { gap: 24px; }
    #tibex-root :root, #tibex-root {
        --tibex-row-gap: 24px;
        --tibex-col-gap: 24px;
    }
}

/* ── Laptop (1024px–1366px) — default breakpoint, no changes needed ── */

/* ── Tablet (768px–1024px) ──────────────────────────────────── */
@media (max-width: 1024px) {
    /* Jobs/other pages */
    #tibex-root .tibex-jobs-layout         { grid-template-columns: 1fr; }
    #tibex-root .tibex-filter-sidebar      { position: static; }
    #tibex-root .tibex-filter-panel        { flex-direction: row; flex-wrap: wrap; }
    #tibex-root .tibex-filter-panel .tibex-input-wrap { flex: 1 1 200px; }
    #tibex-root .tibex-filter-panel .tibex-btn { flex: 0 0 auto; }
    #tibex-root .tibex-programs-layout     { grid-template-columns: 1fr; }
    #tibex-root .tibex-programs-image      { height: 400px; }
    #tibex-root .tibex-jd-layout           { grid-template-columns: 1fr; }
    #tibex-root .tibex-jd-main             { border-right: none; padding-right: 0; }
    #tibex-root .tibex-jd-sidebar-inner    { position: static; }
    #tibex-root .tibex-jd-sidebar          { border-top: 1px solid var(--tibex-border); }
    #tibex-root .tibex-job-hero__grid      { grid-template-columns: 1fr; }
    #tibex-root .tibex-job-hero__content   { border-right: none; border-bottom: 1px solid var(--tibex-border); padding-right: 0; }
    #tibex-root .tibex-job-hero__meta-panel { padding-left: 0; flex-direction: row; flex-wrap: wrap; gap: 16px; }
    #tibex-root .tibex-meta-row--share     { width: 100%; }
    #tibex-root .tibex-job-body__grid      { grid-template-columns: 1fr; }
    #tibex-root .tibex-divider-line        { display: block; }

    /* Apply form tablet */
    #tibex-root .tibex-apply-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    #tibex-root .tibex-apply-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 16px;
    }
    #tibex-root .tibex-apply-info-card {
        position: static !important;
    }
    #tibex-root .tibex-apply-info-card + .tibex-apply-info-card { margin-top: 0; }
}

/* ── Tablet narrow (768px) ──────────────────────────────────── */
@media (max-width: 768px) {
    #tibex-root .tibex-container       { padding: 0 clamp(16px, 4vw, 24px); }
    #tibex-root .tibex-nav__links      { display: none; }
    #tibex-root .tibex-hamburger       { display: flex; }
    #tibex-root .tibex-community-grid  { grid-template-columns: 1fr; }
    #tibex-root .tibex-community-card  { height: 320px; }
    #tibex-root .tibex-footer__inner   { grid-template-columns: 1fr 1fr; gap: 32px; }
    #tibex-root .tibex-footer__brand   { grid-column: 1/-1; }
    #tibex-root .tibex-jobs-grid       { grid-template-columns: 1fr; }
    #tibex-root .tibex-hero__headline  { font-size: 40px; }
    #tibex-root .tibex-video-thumb     { height: 280px; }
    #tibex-root .tibex-job-description { padding: 28px 20px; }
    #tibex-root .tibex-job-apply-cta   { padding: 32px 20px; }
	#tibex-root .tibex-section-title{font-size: clamp(25px, 4.5vw, 60px);}
	#tibex-root .tibex-hero { position: relative; height: 80vh;}
	#tibex-root .tibex-jobs-section {padding: 50px 0;}
	#tibex-root .tibex-section-header {    margin-bottom: 35px;}

    /* Apply form — switch 2-col to 1-col */
    #tibex-root .tibex-form-row {
        grid-template-columns: 1fr;
        gap: var(--tibex-row-gap);
    }
    #tibex-root .tibex-form-row--3 {
        grid-template-columns: 1fr 1fr;
    }
    #tibex-root .tibex-apply-form-wrap {
        padding: clamp(20px, 5vw, 32px);
        border-radius: var(--tibex-radius-field);
    }
    /* Sidebar: stack vertically */
    #tibex-root .tibex-apply-sidebar {
        grid-template-columns: 1fr;
    }
    /* Step labels hidden on small tablet */
    #tibex-root .tibex-step__label { display: none; }
    #tibex-root .tibex-apply-steps { gap: 0; }
    /* Progress card hidden on mobile (redundant with steps) */
    #tibex-root .tibex-progress-card { display: none; }
}

/* ── Mobile (≤ 480px) ───────────────────────────────────────── */
@media (max-width: 480px) {
    #tibex-root .tibex-container { padding: 0 16px; }
    #tibex-root .tibex-footer__inner { grid-template-columns: 1fr; }

    /* Apply form mobile */
    #tibex-root .tibex-apply-section { padding: 24px 0 48px; }
    #tibex-root .tibex-apply-hero    { padding: 72px 0 32px; }
    #tibex-root .tibex-apply-form-wrap {
        padding: 20px 16px;
        border-left: none;
        border-right: none;
        border-radius: 0;
        box-shadow: none;
    }
    /* All rows go single column on mobile */
    #tibex-root .tibex-form-row,
    #tibex-root .tibex-form-row--3 {
        grid-template-columns: 1fr;
        gap: var(--tibex-row-gap);
    }
    /* Full-width buttons */
    #tibex-root .tibex-form-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    #tibex-root .tibex-form-actions .tibex-btn { width: 100%; justify-content: center; }
    #tibex-root .tibex-form-actions--split {
        flex-direction: column-reverse;
        gap: 12px;
    }
    #tibex-root .tibex-form-actions--split .tibex-btn {
        width: 100%;
        justify-content: center;
    }
    /* Age field smaller on mobile */
    #tibex-root .tibex-field--age { font-size: 18px; }
    /* Step circles smaller */
    #tibex-root .tibex-step__circle {
        width: 34px;
        height: 34px;
        min-width: 34px;
    }
    #tibex-root .tibex-step__num { font-size: 11px; }
    /* Upload zone */
    #tibex-root .tibex-upload-zone { padding: 24px 16px; min-height: 130px; }
    /* Review labels */
    #tibex-root .tibex-review-label { min-width: 80px; }
    /* Success */
    #tibex-root .tibex-apply-success { padding: 32px 16px; }
    /* Typography scale */
    #tibex-root .tibex-form-step__title { font-size: 17px; }
    #tibex-root .tibex-apply-hero__title { font-size: clamp(28px, 8vw, 40px); }
    /* Sidebar cards on mobile */
    #tibex-root .tibex-apply-info-card { padding: 20px 16px; }
    /* Step line shorter on mobile */
    #tibex-root .tibex-step-line { margin: -14px 8px 0; min-width: 8px; }
}

/* ── Very small screens (≤ 360px) ──────────────────────────── */
@media (max-width: 360px) {
    #tibex-root .tibex-container { padding: 0 12px; }
    #tibex-root .tibex-apply-form-wrap { padding: 16px 12px; }
    #tibex-root .tibex-step-line { margin: -14px 4px 0; }
    #tibex-root .tibex-apply-info-card { padding: 16px 12px; }
    /* Stagger step circles */
    #tibex-root .tibex-step__circle { width: 30px; height: 30px; }
    #tibex-root .tibex-field--float { height: 48px; font-size: 13px; }
}

/* ════════════════════════════════════════════════════════════════
   SCROLL & OVERFLOW GUARDS
   ════════════════════════════════════════════════════════════════ */
#tibex-root, #tibex-root .tibex-apply-form-wrap {
    overflow-x: hidden;
    max-width: 100%;
}
#tibex-root * { box-sizing: border-box; }
/* No layout shift from error messages */
#tibex-root .tibex-form-group { contain: layout style; }

/* ════════════════════════════════════════════════════════════════
   ANIMATIONS — page entrance
   ════════════════════════════════════════════════════════════════ */
@keyframes tibex-fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
#tibex-root .tibex-hero__content  { animation: tibex-fade-up 0.7s ease both; }
#tibex-root .tibex-section-title  { animation: tibex-fade-up 0.5s ease both; }
#tibex-root .tibex-apply-form-wrap { animation: tibex-fade-up 0.5s ease 0.1s both; }


/* ═══════════════════════════════════════════════════════════════
   PHONE PREFIX FIELD
   ═══════════════════════════════════════════════════════════════ */
#tibex-root .tibex-floating-field--phone {
    position: relative;
}
#tibex-root .tibex-phone-wrap {
    display: flex;
    align-items: stretch;
    border: 1.5px solid var(--tibex-border);
    border-radius: var(--tibex-radius-field);
    background: #fafafa;
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    box-shadow: var(--tibex-shadow-field);
    height: var(--tibex-field-h);
}
#tibex-root .tibex-phone-wrap:focus-within {
    border-color: var(--tibex-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255,163,5,0.14), var(--tibex-shadow-field);
}
#tibex-root .tibex-phone-wrap:hover:not(:focus-within) {
    border-color: #d4d4d4;
    background: #f5f5f5;
}
#tibex-root .tibex-phone-wrap.error {
    border-color: #ef4444;
    background: #fff5f5;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.10);
}
#tibex-root .tibex-phone-prefix {
    display: flex;
    align-items: center;
    padding: 0 8px 0 14px;
    font-family: var(--tibex-font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--tibex-muted);
    background: transparent;
    border-right: none;
    white-space: nowrap;
    line-height: 1;
    flex-shrink: 0;
    letter-spacing: 0.01em;
    user-select: none;
    padding-top: 0px;
}
#tibex-root .tibex-field--with-prefix {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding-left: 2px !important;
    padding-right: var(--tibex-field-px) !important;
    padding-top: 18px !important;
    padding-bottom: 8px !important;
    flex: 1;
    min-width: 0;
    height: 100% !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    outline: none !important;
}
/* Phone label — floats above the whole wrap */
#tibex-root .tibex-float-label--phone {
    position: absolute;
    left: 56px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--tibex-font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--tibex-muted);
    pointer-events: none;
    transition: top 0.18s ease, font-size 0.18s ease, font-weight 0.18s ease,
                color 0.18s ease, letter-spacing 0.18s ease, transform 0.18s ease;
    line-height: 1;
    z-index: 3;
}
/* Floated: when wrap has focus OR input has content */
#tibex-root .tibex-floating-field--phone:focus-within .tibex-float-label--phone,
#tibex-root .tibex-field--with-prefix:not(:placeholder-shown) ~ .tibex-float-label--phone {
    top: 9px;
    transform: translateY(0);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tibex-primary);
    padding-bottom: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   RESTORE BANNER
   ═══════════════════════════════════════════════════════════════ */
#tibex-root .tibex-restore-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff8e6;
    border: 1px solid #ffd166;
    border-radius: var(--tibex-radius);
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #7c5a00;
    font-family: var(--tibex-font-body);
    font-weight: 500;
}
#tibex-root .tibex-restore-banner .material-symbols-outlined {
    font-size: 20px;
    color: var(--tibex-primary);
    flex-shrink: 0;
}
#tibex-root .tibex-restore-banner span:nth-child(2) { flex: 1; }
#tibex-root .tibex-restore-clear {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    color: #a0845a;
    opacity: 0.7;
    transition: opacity 0.2s;
    flex-shrink: 0;
}
#tibex-root .tibex-restore-clear:hover { opacity: 1; }
#tibex-root .tibex-restore-clear .material-symbols-outlined { font-size: 18px; }




