/*
Theme Name: Martes de Vacantes
Theme URI: https://martesdevacantes.co/
Author: Antigravity AI
Author URI: https://deepmind.google/
Description: Tema premium de última generación para Martes de Vacantes en Colombia, siguiendo las especificaciones del Apple Design System.
Version: 3.0.0
License: GNU General Public License v2 or later
Text Domain: martesdevacantes
*/

/* ----------------------------------------------------
   1. VARIABLES & DESIGN SYSTEM (APPLE MODE)
   ---------------------------------------------------- */
:root {
    /* Brand & Accent Colors */
    --color-primary: #0b666a;               /* Emerald Teal */
    --color-primary-focus: #074e51;         /* Deep Teal Focus */
    --color-primary-on-dark: #14b1ab;       /* Sky Link Teal */
    
    /* Surface Colors */
    --color-canvas: #ffffff;                /* Pure White */
    --color-canvas-parchment: #f5f5f7;      /* Parchment Off-White */
    --color-surface-pearl: #fafafc;         /* Pearl Button */
    --color-surface-tile-1: #272729;        /* Near-Black Tile 1 */
    --color-surface-tile-2: #2a2a2c;        /* Near-Black Tile 2 */
    --color-surface-tile-3: #252527;        /* Near-Black Tile 3 */
    --color-surface-black: #000000;         /* Pure Black */
    --color-surface-chip-translucent: rgba(210, 210, 215, 0.64);
    
    /* Border & Divider Colors */
    --color-divider-soft: #f0f0f0;          /* Soft border */
    --color-hairline: #e0e0e0;              /* Hairline */
    
    /* Text Colors */
    --color-ink: #1d1d1f;                   /* Near-Black Ink */
    --color-text-primary: #1d1d1f;
    --color-text-secondary: #7a7a7a;        /* Ink Muted 48 */
    --color-text-muted: #7a7a7a;
    --color-ink-muted-80: #333333;          /* Ink Muted 80 */
    --color-ink-muted-48: #7a7a7a;
    --color-body-muted: #cccccc;            
    --color-on-primary: #ffffff;
    --color-on-dark: #ffffff;

    /* Border Radius Scale */
    --rounded-none: 0px;
    --rounded-xs: 5px;
    --rounded-sm: 8px;
    --rounded-md: 11px;
    --rounded-lg: 18px;
    --rounded-pill: 9999px;
    --rounded-full: 9999px;

    /* Spacing Scale */
    --spacing-xxs: 4px;
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 17px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
    --spacing-section: 80px;

    /* Fonts */
    --font-heading: 'SF Pro Display', 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'SF Pro Text', 'Inter', system-ui, -apple-system, sans-serif;
}

/* ----------------------------------------------------
   2. BASE & RESET (PHOTOGRAPHY-FIRST)
   ---------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--color-canvas);
    color: var(--color-ink);
    font-family: var(--font-body);
    font-size: 17px; /* Apple Paragraph standard */
    font-weight: 400;
    line-height: 1.47;
    letter-spacing: -0.374px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600; /* Weight 600 is Apple headline standard */
    color: var(--color-ink);
    line-height: 1.1;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-primary-focus);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--color-hairline);
    border-radius: 99px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ----------------------------------------------------
   3. APPLE NAVIGATION CHROMES
   ---------------------------------------------------- */
/* global-nav: Persistent 44px Black Top Bar */
.global-nav {
    background: var(--color-surface-black);
    height: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 150;
}

.global-nav-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 16px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.global-nav-link {
    color: var(--color-on-dark);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.12px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.global-nav-link:hover {
    opacity: 1;
    color: var(--color-on-dark);
}

/* sub-nav-frosted: 52px Sticky Frosted Bar */
.sub-nav-frosted {
    background: rgba(245, 245, 247, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    height: 52px;
    border-bottom: 1px solid var(--color-divider-soft);
    position: sticky;
    top: 0;
    z-index: 100;
}

.sub-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.sub-nav-title {
    font-family: var(--font-heading);
    font-size: 21px; /* Tagline typography */
    font-weight: 600;
    line-height: 1.19;
    letter-spacing: 0.231px;
    color: var(--color-ink);
}

.sub-nav-title span {
    color: var(--color-primary);
}

.sub-nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sub-nav-link {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: -0.12px;
    color: var(--color-ink-muted-80);
}

.sub-nav-link:hover {
    color: var(--color-primary);
}

/* ----------------------------------------------------
   4. CTAS & BUTTONS (APPLE SYSTEM GRAMMAR)
   ---------------------------------------------------- */
/* button-primary: Blue Pill CTA */
.button-primary {
    background-color: var(--color-primary);
    color: var(--color-on-primary) !important;
    font-family: var(--font-body);
    font-size: 14px; /* Button utility standard */
    font-weight: 400;
    letter-spacing: -0.224px;
    padding: 8px 16px;
    border-radius: var(--rounded-pill);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.button-primary:hover {
    background-color: var(--color-primary-focus);
}

.button-primary:active {
    transform: scale(0.95); /* Micro-interaction scale down */
}

/* button-secondary-pill: Ghost Pill */
.button-secondary-pill {
    background-color: transparent;
    color: var(--color-primary) !important;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.224px;
    padding: 8px 16px;
    border-radius: var(--rounded-pill);
    border: 1px solid var(--color-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.button-secondary-pill:hover {
    border-color: var(--color-primary-focus);
    color: var(--color-primary-focus) !important;
}

.button-secondary-pill:active {
    transform: scale(0.95);
}

/* button-pearl-capsule: Secondary card actions */
.button-pearl-capsule {
    background-color: var(--color-surface-pearl);
    color: var(--color-ink-muted-80) !important;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.224px;
    padding: 8px 14px;
    border-radius: var(--rounded-md);
    border: 3px solid var(--color-divider-soft);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: transform 0.15s ease;
}

.button-pearl-capsule:active {
    transform: scale(0.95);
}

/* text-link */
.text-link {
    color: var(--color-primary);
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.374px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.text-link:hover {
    text-decoration: underline;
}

.text-link-on-dark {
    color: var(--color-primary-on-dark);
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.374px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.text-link-on-dark:hover {
    text-decoration: underline;
}

/* ----------------------------------------------------
   5. TILES & SECTIONS (EDGE-TO-EDGE)
   ---------------------------------------------------- */
/* Section container snap to 0 borders, alternating light/dark */
section {
    padding: var(--spacing-section) 0;
    border: none;
}

/* Product Tile: Light Full Bleed */
.product-tile-light {
    background-color: var(--color-canvas);
    color: var(--color-ink);
}

/* Product Tile: Parchment Full Bleed */
.product-tile-parchment {
    background-color: var(--color-canvas-parchment);
    color: var(--color-ink);
    border-top: 1px solid var(--color-divider-soft);
    border-bottom: 1px solid var(--color-divider-soft);
}

/* Product Tile: Dark Full Bleed */
.product-tile-dark {
    background-color: var(--color-surface-tile-1);
    color: var(--color-on-dark);
}

.product-tile-dark h1, .product-tile-dark h2, .product-tile-dark h3, .product-tile-dark h4 {
    color: var(--color-on-dark);
}

.product-tile-dark .section-desc {
    color: var(--color-body-muted);
}

/* Typography styles applied globally on sections */
.hero-title-main {
    font-family: var(--font-heading);
    font-size: 56px; /* hero-display */
    font-weight: 600;
    line-height: 1.07;
    letter-spacing: -0.28px; /* Negative letter spacing */
    margin-bottom: 12px;
}

.hero-subtitle-main {
    font-family: var(--font-body);
    font-size: 24px; /* lead-airy */
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0;
    color: var(--color-text-secondary);
    max-width: 650px;
    margin: 0 auto 30px auto;
}

.tile-headline {
    font-family: var(--font-heading);
    font-size: 40px; /* display-lg */
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0;
    margin-bottom: 12px;
}

/* ----------------------------------------------------
   6. ADVANCED SEARCH SYSTEM (APPLE GLASS)
   ---------------------------------------------------- */
.search-wrapper {
    max-width: 820px;
    margin: 0 auto var(--spacing-lg) auto;
    background: var(--color-canvas);
    border: 1px solid var(--color-hairline);
    padding: 6px;
    border-radius: var(--rounded-pill); /* Pilled search box */
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-field {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-right: 1px solid var(--color-divider-soft);
    gap: 8px;
    background: transparent;
}

.search-field:last-of-type {
    border-right: none;
}

.search-field svg {
    color: var(--color-ink-muted-48);
}

.search-field input, .search-field select {
    background: transparent;
    border: none;
    color: var(--color-ink);
    width: 100%;
    outline: none;
    font-family: var(--font-body);
    font-size: 17px; /* 17px body */
    letter-spacing: -0.374px;
}

.search-field select {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.search-field select option {
    background-color: var(--color-canvas);
    color: var(--color-ink);
}

/* Trending Pills */
.search-tags-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: var(--spacing-md);
    flex-wrap: wrap;
}

.search-tags-label {
    font-family: var(--font-body);
    font-size: 14px; /* caption */
    color: var(--color-ink-muted-48);
}

.search-tag-pill {
    background: var(--color-canvas-parchment);
    border: 1px solid var(--color-divider-soft);
    color: var(--color-ink-muted-80);
    padding: 6px 14px;
    border-radius: var(--rounded-pill);
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: var(--transition-fast);
}

.search-tag-pill:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background-color: var(--color-canvas);
}

.search-tag-pill.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-on-primary);
}

/* ----------------------------------------------------
   7. SPLIT-SCREEN DASHBOARD (DASHBOARD-MODE)
   ---------------------------------------------------- */
.split-layout-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-canvas);
}

.split-layout-container {
    display: grid;
    grid-template-columns: 430px 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

/* Left Column: Job listings list */
.jobs-list-panel {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    max-height: 750px;
    overflow-y: auto;
    padding-right: 6px;
}

/* store-utility-card: Job card design */
.job-card {
    background: var(--color-canvas);
    border: 1px solid var(--color-hairline);
    border-radius: var(--rounded-md); /* 11px rounded */
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.2s;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.job-card:hover {
    border-color: rgba(11, 102, 106, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(11, 102, 106, 0.08);
}

.job-card.active {
    border-color: var(--color-primary);
    border-width: 1.5px;
    background-color: rgba(11, 102, 106, 0.03); /* Soft brand esmeralda highlight */
    box-shadow: 0 4px 16px rgba(11, 102, 106, 0.08);
}

.job-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.job-card-logo, .job-details-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px; /* 10px rounded */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 20px;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: none;
    flex-shrink: 0;
}

.job-card-title-area {
    flex: 1;
}

.job-card-title {
    font-family: var(--font-heading);
    font-size: 17px; /* body-strong */
    font-weight: 600;
    color: var(--color-ink);
    margin-bottom: 2px;
    line-height: 1.25;
}

.job-card-company {
    font-family: var(--font-body);
    font-size: 14px; /* caption */
    color: var(--color-ink-muted-80);
}

.job-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.job-card-tag {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 99px; /* Apple capsule style */
    background: #f5f5f7;
    color: var(--color-ink-muted-80);
    border: 1px solid #e5e5ea;
    letter-spacing: -0.1px;
}

.job-card-tag.modality {
    background: rgba(11, 102, 106, 0.08);
    color: var(--color-primary);
    border-color: rgba(11, 102, 106, 0.15);
}

.job-card-tag.salary {
    background: rgba(197, 155, 39, 0.08);
    color: var(--color-accent);
    border-color: rgba(197, 155, 39, 0.15);
}

.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--color-ink-muted-48);
    border-top: 1px solid var(--color-divider-soft);
    padding-top: 8px;
}

/* Right Column: Job Details Panel (Sleek store card) */
.job-details-panel {
    background: var(--color-canvas);
    border: 1px solid var(--color-hairline);
    border-radius: var(--rounded-lg); /* 18px rounded */
    padding: var(--spacing-xl); /* 32px padding */
    position: sticky;
    top: 76px;
    max-height: 800px;
    overflow-y: auto;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
}

.job-details-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    color: var(--color-ink-muted-80);
    text-align: center;
}

.job-details-placeholder svg {
    color: var(--color-ink-muted-48);
    margin-bottom: 16px;
}

.job-details-header {
    border-bottom: 1px solid var(--color-divider-soft);
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.job-details-company-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.job-details-logo {
    width: 56px;
    height: 56px;
    font-size: 24px;
    border-radius: 12px;
}

.job-details-company-name {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-ink);
}

.job-details-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-ink);
    margin-bottom: 16px;
    line-height: 1.15;
    letter-spacing: -0.3px;
}

.job-details-quick-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.job-details-meta-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-ink-muted-80);
    background: #f5f5f7;
    border: 1px solid #e5e5ea;
    padding: 6px 14px;
    border-radius: 99px;
}

.job-details-meta-pill svg {
    color: var(--color-primary);
}

.job-details-meta-pill.salary {
    border-color: rgba(197, 155, 39, 0.2);
    background: rgba(197, 155, 39, 0.05);
    color: var(--color-accent);
}

.job-details-body {
    margin-bottom: 32px;
}

.job-details-heading {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    color: var(--color-ink);
    margin-bottom: 16px;
    border-left: 4px solid var(--color-primary);
    padding-left: 10px;
}

.job-details-text {
    color: var(--color-ink-muted-80);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: -0.1px;
    white-space: pre-wrap;
}

.job-details-apply-block {
    background: rgba(11, 102, 106, 0.03);
    border: 1px dashed rgba(11, 102, 106, 0.25);
    border-radius: var(--rounded-md);
    padding: 24px;
    text-align: center;
}

/* ----------------------------------------------------
   8. STEPPER WIZARD (FORM POST)
   ---------------------------------------------------- */
.stepper-header {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: var(--spacing-xl);
    padding: 0 var(--spacing-xs);
}

.stepper-header::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-hairline);
    z-index: 1;
}

.stepper-progress-bar {
    position: absolute;
    top: 20px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--color-primary);
    z-index: 2;
    transition: var(--transition-smooth);
}

.stepper-step {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stepper-dot {
    width: 40px;
    height: 40px;
    border-radius: var(--rounded-full);
    background: var(--color-canvas-parchment);
    border: 1px solid var(--color-hairline);
    color: var(--color-ink-muted-80);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.stepper-step.active .stepper-dot {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-canvas);
}

.stepper-step.completed .stepper-dot {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-on-primary);
}

.stepper-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    color: var(--color-ink-muted-48);
}

.stepper-step.active .stepper-label {
    color: var(--color-ink);
}

.stepper-content-step {
    display: none;
    animation: slideUp 0.3s ease;
}

.stepper-content-step.active {
    display: block;
}

.stepper-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: var(--spacing-xl);
    border-top: 1px solid var(--color-divider-soft);
    padding-top: var(--spacing-md);
}

/* ----------------------------------------------------
   9. SERVICES SECTION (MUSEUM LAYOUT)
   ---------------------------------------------------- */
.services-section {
    border-top: 1px solid var(--color-divider-soft);
    border-bottom: 1px solid var(--color-divider-soft);
    padding: var(--spacing-section) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    background: var(--color-canvas);
    border: 1px solid var(--color-hairline);
    padding: var(--spacing-xxl) var(--spacing-xl);
    border-radius: var(--rounded-lg); /* 18px rounded */
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: none; /* No shadow */
}

.service-card:hover {
    border-color: var(--color-primary);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--rounded-sm); /* 8px rounded */
    background: var(--color-canvas-parchment);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: rgba(0, 0, 0, 0.22) 3px 5px 30px 0; /* Signature shadow */
}

.service-card.accent .service-icon {
    color: var(--color-accent);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 21px; /* tagline */
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-ink);
}

.service-desc {
    color: var(--color-ink-muted-80);
    font-family: var(--font-body);
    font-size: 14px; /* caption */
    margin-bottom: var(--spacing-lg);
}

.service-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-ink-muted-80);
    font-size: 14px;
    margin-bottom: 8px;
}

.service-features li svg {
    color: var(--color-accent);
}

/* ----------------------------------------------------
   10. FORMS & INPUTS
   ---------------------------------------------------- */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    color: var(--color-ink-muted-80);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-control {
    background: var(--color-canvas);
    border: 1px solid var(--color-hairline);
    color: var(--color-ink);
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--rounded-sm); /* 8px rounded */
    outline: none;
    font-family: inherit;
    font-size: 17px;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--color-primary-focus);
    outline: 2px solid var(--color-primary-focus);
}

.form-row {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1 1 200px;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.file-upload-wrapper {
    border: 1px dashed var(--color-hairline);
    border-radius: var(--rounded-sm); /* 8px */
    padding: 20px;
    text-align: center;
    background: var(--color-canvas-parchment);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.file-upload-wrapper:hover {
    border-color: var(--color-primary);
}

.file-upload-text {
    font-size: 14px;
    color: var(--color-ink-muted-80);
}

.file-upload-text span {
    color: var(--color-primary);
    font-weight: 600;
}

/* Modales */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(29, 29, 31, 0.6); /* Translucent dark ink overlay */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: var(--color-canvas);
    border: 1px solid var(--color-hairline);
    max-width: 600px;
    width: 90%;
    border-radius: var(--rounded-lg); /* 18px */
    padding: var(--spacing-xl);
    box-shadow: none; /* No shadow */
    transform: scale(0.95);
    transition: var(--transition-smooth);
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-divider-soft);
    padding-bottom: 12px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 21px; /* tagline */
}

.modal-close {
    background: var(--color-canvas-parchment);
    border: none;
    color: var(--color-ink-muted-80);
    width: 32px;
    height: 32px;
    border-radius: var(--rounded-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: var(--color-hairline);
    color: var(--color-ink);
}

/* Toast */
.toast-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--color-canvas);
    border: 1px solid var(--color-hairline);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--rounded-sm); /* 8px */
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1100;
    transform: translateY(80px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.toast-notification.active {
    transform: translateY(0);
    opacity: 1;
}

.toast-message {
    color: var(--color-ink);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
}

/* ----------------------------------------------------
   11. FOOTER (PARCHMENT DENSE)
   ---------------------------------------------------- */
.main-footer {
    background-color: var(--color-canvas-parchment);
    border-top: 1px solid var(--color-divider-soft);
    padding: 64px 0; /* 64px padding */
    color: var(--color-ink-muted-80);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-about {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .footer-about {
        grid-column: span 1;
    }
}

.footer-title {
    color: var(--color-ink);
    font-family: var(--font-body);
    font-size: 14px; /* caption-strong */
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--color-ink-muted-80);
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    line-height: 2.41; /* dense-link relaxed leading */
    letter-spacing: 0;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid var(--color-divider-soft);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 12px; /* fine-print */
    color: var(--color-ink-muted-48);
}

.footer-bottom a {
    color: var(--color-ink-muted-48);
}

.footer-bottom a:hover {
    color: var(--color-primary);
}

/* ----------------------------------------------------
   12. ANIMATIONS
   ---------------------------------------------------- */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fadeIn {
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----------------------------------------------------
   13. RESPONSIVE LAYOUT BEHAVIOR
   ---------------------------------------------------- */
@media (max-width: 992px) {
    .split-layout-container {
        grid-template-columns: 1fr;
    }
    .job-details-panel {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        z-index: 500;
        border-radius: 0;
        display: none;
    }
    .job-details-panel.active-mobile {
        display: block;
    }
    .job-details-close-mobile {
        display: flex !important;
        margin-bottom: 20px;
    }
}

.job-details-close-mobile {
    display: none;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: var(--color-ink-muted-80);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* ----------------------------------------------------
   14. COMPUTRABAJO SYSTEM STYLES (DASHBOARD & AUTH)
   ---------------------------------------------------- */
:root {
    --color-success: #34c759;
    --color-warning: #c59b27;
    --color-error: #ff3b30;
    --color-info: #54c5f8;
    --color-accent: #c59b27;
}

/* Authentication Header Styles */
.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-ink-muted-80);
}

/* Dashboard Navigation Tabs */
.dashboard-tabs {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid var(--color-divider-soft);
    margin-bottom: var(--spacing-lg);
    padding-bottom: 4px;
    margin-top: var(--spacing-md);
}

.dashboard-tab-btn {
    background: transparent;
    border: none;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text-secondary);
    cursor: pointer;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s ease;
}

.dashboard-tab-btn:hover {
    color: var(--color-ink);
}

.dashboard-tab-btn.active {
    color: var(--color-primary);
}

.dashboard-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
}

.dashboard-panel {
    display: none;
    animation: slideUp 0.3s ease;
}

.dashboard-panel.active {
    display: block;
}

/* Auth Modal Styles */
.auth-roles-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background-color: var(--color-canvas-parchment);
    padding: 4px;
    border-radius: var(--rounded-md);
    margin-bottom: 20px;
}

.auth-role-btn {
    background: transparent;
    border: none;
    padding: 10px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-ink-muted-80);
    border-radius: var(--rounded-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-role-btn.active {
    background: var(--color-canvas);
    color: var(--color-primary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Tables & Lists */
.mv-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--color-hairline);
    border-radius: var(--rounded-md);
    background: var(--color-canvas);
}

.mv-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.mv-table th, .mv-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-divider-soft);
}

.mv-table th {
    background-color: var(--color-canvas-parchment);
    color: var(--color-ink);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mv-table tr:last-child td {
    border-bottom: none;
}

.mv-table tr:hover td {
    background-color: var(--color-surface-pearl);
}

/* Badges for application status */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--rounded-pill);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-badge.recibido {
    background-color: #f2f2f7;
    color: #8e8e93;
}

.status-badge.en-proceso {
    background-color: #e8f4fd;
    color: #007aff;
}

.status-badge.finalista {
    background-color: #eaf9eb;
    color: #34c759;
}

.status-badge.descartado {
    background-color: #ffeef0;
    color: #ff3b30;
}

/* Employer Vacancy & Candidates accordion */
.employer-job-row {
    border: 1px solid var(--color-hairline);
    border-radius: var(--rounded-md);
    margin-bottom: var(--spacing-sm);
    background: var(--color-canvas);
    overflow: hidden;
}

.employer-job-header {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-canvas);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.employer-job-header:hover {
    background-color: var(--color-surface-pearl);
}

.employer-job-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-ink);
}

.employer-job-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.employer-applicants-section {
    border-top: 1px solid var(--color-divider-soft);
    background-color: var(--color-canvas-parchment);
    padding: 20px;
    display: none;
}

.employer-applicants-section.active {
    display: block;
}

.applicant-card {
    background: var(--color-canvas);
    border: 1px solid var(--color-hairline);
    border-radius: var(--rounded-sm);
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    transition: border-color 0.2s ease;
}

.applicant-card:hover {
    border-color: var(--color-ink-muted-48);
}

.applicant-info h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.applicant-info p {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 4px;
}

.applicant-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-select {
    padding: 8px 12px;
    border-radius: var(--rounded-sm);
    border: 1px solid var(--color-hairline);
    background: var(--color-canvas);
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-ink);
    cursor: pointer;
    outline: none;
}

.status-select:focus {
    border-color: var(--color-primary);
}

/* Profile Form styling */
.profile-cv-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #eef7ff;
    padding: 12px 16px;
    border-radius: var(--rounded-sm);
    margin-top: 12px;
    border: 1px solid #cce5ff;
}

.profile-cv-preview svg {
    color: var(--color-primary);
}

.profile-cv-text {
    font-size: 13px;
    color: #004085;
}

.profile-cv-text a {
    font-weight: 600;
    text-decoration: underline;
}

.profile-cv-text a:hover {
    color: var(--color-primary-focus);
}

/* ----------------------------------------------------
   15. REFINED RECRUITER FORM STYLES
   ---------------------------------------------------- */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-with-icon .form-control {
    padding-right: 44px;
}

.input-icon-btn {
    position: absolute;
    right: 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-ink-muted-48);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: color 0.15s ease;
}

.input-icon-btn:hover {
    color: var(--color-primary);
}

.form-row-split-country-nit {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.form-row-split-country-nit .country-select-wrapper {
    flex: 0 0 40%;
}

.form-row-split-country-nit .nit-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.form-row-split-country-nit .nit-input-wrapper .form-control {
    padding-right: 36px;
}

.info-icon-trigger {
    position: absolute;
    right: 12px;
    color: var(--color-ink-muted-48);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.info-icon-trigger:hover {
    color: var(--color-primary);
}

/* Tooltip container & hover logic */
.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip-content {
    position: absolute;
    bottom: 130%;
    right: -10px;
    background-color: var(--color-ink);
    color: var(--color-on-dark);
    padding: 10px 14px;
    border-radius: var(--rounded-sm);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    width: 260px;
    text-align: left;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 110;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    pointer-events: none;
}

.tooltip-content::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 18px;
    border-width: 6px;
    border-style: solid;
    border-color: var(--color-ink) transparent transparent transparent;
}

.info-icon-trigger:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237a7a7a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
}

/* Premium styling matching Computrabajo Mockup */
.recruiter-card .form-control {
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    height: 48px;
    padding: 10px 14px;
    font-size: 15px;
    background-color: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.recruiter-card .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(11, 102, 106, 0.15);
    outline: none;
}

.recruiter-card .form-group {
    margin-bottom: 16px;
}

.recruiter-card .form-row {
    margin-bottom: 0px; /* reset form row margin, use form-group or flex gap */
    gap: 16px;
}

.recruiter-card h2 {
    font-size: 26px;
    color: #1d1d1f;
}

.recruiter-card p {
    font-size: 15px;
}

.recruiter-card .submit-btn {
    border-radius: 6px;
    height: 48px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.1px;
    background-color: #ff5a00; /* Use Computrabajo orange for action button to make it pop and wow, or gold */
    border: none;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.recruiter-card .submit-btn:hover {
    background-color: #e65100;
}

.recruiter-card .submit-btn:active {
    transform: scale(0.98);
}

/* ----------------------------------------------------
   16. HERO BACKGROUND VIDEO BANNER & RESPONSIVE SEARCH
   ---------------------------------------------------- */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    padding: 100px 0 140px 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-section .container {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.video-background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 102, 106, 0.88) 0%, rgba(10, 10, 10, 0.78) 100%);
    z-index: 2;
}

.hero-section .hero-title-main {
    color: #ffffff;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-section .hero-subtitle-main {
    color: rgba(255, 255, 255, 0.95);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.5;
    max-width: 720px;
    margin: 0 auto 36px auto;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Glassmorphic Trending Pills in Hero */
.hero-section .search-tags-container {
    margin-top: 24px;
    gap: 10px;
}

.hero-section .search-tags-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-section .search-tag-pill {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #ffffff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-section .search-tag-pill:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    transform: translateY(-1px);
}

.hero-section .search-tag-pill.active {
    background: var(--color-primary-on-dark);
    border-color: var(--color-primary-on-dark);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(20, 177, 171, 0.3);
}

/* Bottom Curve SVG Transition */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 5;
    pointer-events: none;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Search Wrapper adjustments inside Hero */
.hero-section .search-wrapper {
    background: #ffffff;
    border: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
    z-index: 10;
    position: relative;
}

.hero-section .search-field input,
.hero-section .search-field select {
    color: var(--color-ink);
}

.hero-section .search-field svg {
    color: var(--color-ink-muted-48);
}

/* Mobile Responsiveness for Search Wrapper */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 100px 0;
        min-height: auto;
    }
    
    .hero-section .hero-title-main {
        font-size: 32px;
    }
    
    .hero-section .hero-subtitle-main {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .search-wrapper {
        flex-direction: column;
        border-radius: 16px;
        padding: 12px;
        gap: 8px;
    }
    
    .search-field {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--color-divider-soft);
        padding: 10px 4px;
    }
    
    .search-field:last-of-type {
        border-bottom: none;
    }
    
    .search-wrapper button {
        width: 100%;
        height: 48px;
        justify-content: center;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
    }
}



