/* ==========================================================================
   ESY HOUSE RECRUITMENT PORTAL - LUXURY REAL ESTATE DESIGN SYSTEM
   ========================================================================== */

:root {
    --esy-primary: #bc0000;
    --esy-primary-dark: #880000;
    --esy-primary-hover: #9b0000;
    --esy-primary-light: #fdf2f2;
    --esy-primary-glow: rgba(188, 0, 0, 0.28);
    --esy-acb-blue: #0020a5;
    --esy-acb-blue-hover: #001880;
    --esy-secondary: #0f172a;
    --esy-secondary-light: #1e293b;
    --esy-gold: #ffd166;
    --esy-gold-dark: #d97706;
    --esy-gold-light: #fef3c7;
    --esy-emerald: #059669;
    --esy-emerald-light: #ecfdf5;
    --esy-dark: #090d16;
    --esy-gray-900: #0f172a;
    --esy-gray-800: #1e293b;
    --esy-gray-700: #334155;
    --esy-gray-500: #64748b;
    --esy-gray-300: #cbd5e1;
    --esy-gray-200: #e2e8f0;
    --esy-gray-100: #f1f5f9;
    --esy-gray-50: #f8fafc;
    --esy-white: #ffffff;
    --esy-danger: #ef4444;
    --esy-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.07);
    --esy-shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
    --esy-shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.1), 0 4px 8px -2px rgba(0, 0, 0, 0.05);
    --esy-shadow-xl: 0 20px 30px -6px rgba(15, 23, 42, 0.12), 0 8px 12px -4px rgba(15, 23, 42, 0.06);
    --esy-shadow-glow: 0 10px 25px -5px rgba(188, 0, 0, 0.35);
    --esy-radius-sm: 6px;
    --esy-radius-md: 12px;
    --esy-radius-lg: 20px;
    --esy-radius-full: 9999px;
    --esy-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* =========================================
   CLEAN LUXURY HEADER (INDEPENDENT OF DIVI THEME)
   ========================================= */
html, body {
    margin: 0 !important;
    padding: 0 !important;
}

#page-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

#top-header {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

#main-header.esy-clean-header,
header#main-header.esy-clean-header,
.esy-clean-header {
    background: linear-gradient(135deg, #7c0000 0%, #bc0000 100%) !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 76px !important;
    min-height: 76px !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 99999 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
}

.esy-clean-header-container {
    width: 100% !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    gap: 16px !important;
}

/* 1. Left: Logo & Mobile CTA */
.esy-clean-logo-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    height: 100% !important;
    flex-shrink: 0 !important;
}

.esy-clean-logo-link {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

.esy-clean-logo-img {
    max-height: 44px !important;
    width: auto !important;
    display: block !important;
    filter: brightness(0) invert(1) !important;
    object-fit: contain !important;
    transition: transform 0.2s ease !important;
}

.esy-clean-logo-img:hover {
    transform: scale(1.02) !important;
}

/* 2. Center/Right: Desktop Menu */
.esy-clean-nav {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    margin-left: auto !important;
}

.esy-clean-menu {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    height: 100% !important;
}

.esy-clean-menu-item {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.esy-clean-menu-link {
    display: inline-flex !important;
    align-items: center !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    padding: 8px 14px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    border-radius: 6px !important;
    transition: all 0.22s ease !important;
}

.esy-clean-menu-link:hover,
.esy-clean-menu-item.current-menu-item .esy-clean-menu-link {
    color: var(--esy-gold) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    transform: translateY(-1px) !important;
}

/* 3. Right: Action items */
.esy-clean-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: 100% !important;
    flex-shrink: 0 !important;
}

/* Search Icon Button */
.esy-clean-search-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    font-size: 14.5px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    margin: 0 !important;
}

.esy-clean-search-btn:hover {
    background: #ffffff !important;
    color: var(--esy-primary) !important;
    transform: scale(1.06) !important;
    border-color: #ffffff !important;
}

/* Hotline Button */
.esy-clean-hotline {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #ffffff !important;
    color: var(--esy-primary) !important;
    padding: 9px 18px !important;
    border-radius: var(--esy-radius-full) !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.25s ease !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.esy-clean-hotline:hover {
    background: var(--esy-gold) !important;
    color: var(--esy-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
}

.esy-clean-hotline i {
    color: var(--esy-primary) !important;
    font-size: 13px !important;
    transition: color 0.2s ease !important;
}

.esy-clean-hotline:hover i {
    color: var(--esy-dark) !important;
}

/* Hamburger Toggle (Hidden on Desktop) */
.esy-clean-hamburger {
    display: none !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;
    width: 38px !important;
    height: 38px !important;
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
}

.esy-clean-hamburger span {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    background-color: #ffffff !important;
    border-radius: 2px !important;
    transition: all 0.25s ease !important;
}

.esy-clean-hamburger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg) !important;
}
.esy-clean-hamburger.is-active span:nth-child(2) {
    opacity: 0 !important;
}
.esy-clean-hamburger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) !important;
}

/* 4. Search Dropdown Overlay */
.esy-clean-search-overlay {
    display: none;
    position: absolute !important;
    top: 76px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: rgba(124, 0, 0, 0.98) !important;
    backdrop-filter: blur(12px) !important;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4) !important;
    padding: 18px 24px !important;
    z-index: 99998 !important;
    box-sizing: border-box !important;
}

.esy-clean-search-box {
    max-width: 800px !important;
    margin: 0 auto !important;
    position: relative !important;
}

.esy-clean-search-form {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

.esy-clean-search-form .esy-search-input-icon {
    position: absolute !important;
    left: 18px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 17px !important;
    pointer-events: none !important;
}

.esy-clean-search-form input[type="search"] {
    width: 100% !important;
    height: 50px !important;
    padding: 10px 48px 10px 48px !important;
    background: rgba(0, 0, 0, 0.35) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: var(--esy-radius-full) !important;
    color: #ffffff !important;
    font-size: 15.5px !important;
    font-weight: 500 !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.esy-clean-search-form input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.65) !important;
}

.esy-clean-search-form input[type="search"]:focus {
    border-color: var(--esy-gold) !important;
    background: rgba(0, 0, 0, 0.5) !important;
    box-shadow: 0 0 0 4px rgba(255, 209, 102, 0.25) !important;
}

.esy-clean-search-close {
    position: absolute !important;
    right: 14px !important;
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 18px !important;
    cursor: pointer !important;
    padding: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
}

.esy-clean-search-close:hover {
    color: var(--esy-gold) !important;
}

/* 5. Mobile Drawer Menu */
.esy-clean-mobile-drawer {
    display: none;
    position: absolute !important;
    top: 76px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #140002 !important;
    border-top: 3px solid var(--esy-primary) !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6) !important;
    padding: 10px 0 !important;
    z-index: 99997 !important;
    box-sizing: border-box !important;
}

.esy-clean-mobile-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.esy-clean-mobile-menu li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.esy-clean-mobile-menu li:last-child {
    border-bottom: none !important;
}

.esy-clean-mobile-menu li a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 15px 24px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.esy-clean-mobile-menu li a .esy-mobile-item-left {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.esy-clean-mobile-menu li a .esy-mobile-item-left i {
    font-size: 15px !important;
    color: var(--esy-gold) !important;
    width: 20px !important;
    text-align: center !important;
}

.esy-clean-mobile-menu li a .esy-arrow {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.4) !important;
    transition: transform 0.2s ease !important;
}

.esy-clean-mobile-menu li a:hover {
    background: rgba(188, 0, 0, 0.4) !important;
    color: var(--esy-gold) !important;
    padding-left: 28px !important;
}

.esy-clean-mobile-menu li a:hover .esy-arrow {
    transform: translateX(4px) !important;
    color: var(--esy-gold) !important;
}

.esy-clean-mobile-footer {
    padding: 16px 24px 8px 24px !important;
    border-top: 1px dashed rgba(255, 255, 255, 0.15) !important;
    margin-top: 6px !important;
}

.esy-mobile-drawer-hotline {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, #ffd166 0%, #f59e0b 100%) !important;
    color: #0f172a !important;
    padding: 12px 20px !important;
    border-radius: var(--esy-radius-md) !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

/* =========================================
   RESPONSIVE BREAKPOINTS (DESKTOP / MOBILE)
   ========================================= */
@media (min-width: 981px) {
    .esy-mobile-jobs-btn {
        display: none !important;
    }
    .esy-clean-hamburger {
        display: none !important;
    }
    .esy-clean-mobile-drawer {
        display: none !important;
    }
}

@media (max-width: 980px) {
    #main-header.esy-clean-header,
    header#main-header.esy-clean-header,
    .esy-clean-header {
        height: 64px !important;
        min-height: 64px !important;
    }

    .esy-clean-header-container {
        padding: 0 12px !important;
        gap: 8px !important;
    }

    .esy-clean-logo-img {
        max-height: 32px !important;
    }

    .esy-clean-nav {
        display: none !important;
    }

    .esy-clean-hamburger {
        display: flex !important;
    }

    .esy-clean-search-overlay {
        top: 64px !important;
        padding: 12px 16px !important;
    }

    .esy-clean-mobile-drawer {
        top: 64px !important;
    }

    .esy-clean-hotline {
        padding: 6px 10px !important;
        font-size: 11px !important;
        height: 34px !important;
        gap: 5px !important;
    }

    .esy-clean-hotline span {
        display: none !important;
    }

    @media (min-width: 580px) {
        .esy-clean-hotline span {
            display: inline !important;
        }
    }

    .esy-mobile-jobs-btn {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        background: linear-gradient(135deg, #ffd166 0%, #f59e0b 100%) !important;
        color: #0f172a !important;
        padding: 5px 8px !important;
        border-radius: var(--esy-radius-full) !important;
        font-size: 10px !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.2px !important;
        text-decoration: none !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
        white-space: nowrap !important;
        line-height: 1 !important;
        flex-shrink: 0 !important;
    }
}
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
    }

    #mobile_menu li a:hover,
    #mobile_menu li.current-menu-item a,
    .et_mobile_menu li a:hover,
    .et_mobile_menu li.current-menu-item a {
        background: rgba(188, 0, 0, 0.35) !important;
        color: var(--esy-gold) !important;
        padding-left: 26px !important;
    }
}

/* =========================================
   DIVI THEME OVERRIDES (REMOVE DEFAULT FOOTER & SIDEBAR)
   ========================================= */
#main-content {
    background: transparent !important;
}

#main-footer,
#footer-bottom,
#sidebar-footer,
.et-footer-nav,
body.home #sidebar,
body.page-template-default #sidebar,
.esy-homepage-fullwidth #sidebar,
.esy-single-job-page #sidebar {
    display: none !important;
}

body.home #left-area,
.esy-homepage-fullwidth #left-area {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding: 0 !important;
}

body.home .container,
.esy-homepage-fullwidth .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

body.home .main_title,
.esy-homepage-fullwidth .main_title {
    display: none !important;
}

body.home #content-area,
.esy-homepage-fullwidth #content-area {
    padding: 0 !important;
}

.esy-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* =========================================
   1. HERO SECTION (LUXURY REAL ESTATE RECRUITMENT)
   ========================================= */
.esy-hero-recruitment {
    position: relative;
    background: radial-gradient(circle at 80% 20%, #7a0000 0%, #a00000 35%, #590000 80%, #1a0002 100%);
    color: var(--esy-white);
    padding: 95px 24px 110px 24px;
    text-align: center;
    overflow: hidden;
}

.esy-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://esyhouse.com/wp-content/uploads/2025/02/GP5.0_Type-C_WIP02_231121-1-1.jpg') center/cover no-repeat;
    opacity: 0.12;
    mix-blend-mode: luminosity;
    pointer-events: none;
}

.esy-hero-bg-shapes .esy-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
}

.esy-shape-1 {
    width: 500px;
    height: 500px;
    background: rgba(239, 68, 68, 0.25);
    top: -150px;
    left: -100px;
}

.esy-shape-2 {
    width: 450px;
    height: 450px;
    background: rgba(217, 119, 6, 0.18);
    bottom: -100px;
    right: -100px;
}

.esy-hero-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
}

.esy-hero-top-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 22px;
    border-radius: var(--esy-radius-full);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;
    margin-bottom: 24px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.esy-badge-pulse {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: esy-pulse 2s infinite;
}

@keyframes esy-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.esy-hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    color: var(--esy-white);
    letter-spacing: -0.5px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.esy-hero-title span {
    background: linear-gradient(90deg, #ffd166, #ffedd5, #ffd166);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.esy-hero-subtitle {
    font-size: 17.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    max-width: 860px;
    margin: 0 auto 40px auto;
    font-weight: 400;
}

/* =========================================
   SEARCH BAR - ACB JOBS LUXURY REDESIGN
   ========================================= */
.esy-search-box-wrap {
    background: #ffffff;
    padding: 24px;
    border-radius: var(--esy-radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.esy-search-form {
    display: grid;
    grid-template-columns: 2.2fr 1.3fr 1.3fr 1.1fr;
    gap: 14px;
    align-items: center;
}

.esy-form-field {
    position: relative;
    display: flex;
    align-items: center;
}

.esy-form-field i {
    position: absolute;
    left: 15px;
    color: var(--esy-gray-500);
    font-size: 15px;
    pointer-events: none;
    z-index: 2;
}

.esy-form-field input,
.esy-form-field select {
    width: 100%;
    height: 54px;
    padding: 12px 14px 12px 42px;
    border: 1.5px solid var(--esy-gray-200);
    border-radius: var(--esy-radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--esy-gray-900);
    background-color: var(--esy-gray-50);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.esy-form-field input:focus,
.esy-form-field select:focus {
    outline: none;
    border-color: var(--esy-primary);
    background-color: var(--esy-white);
    box-shadow: 0 0 0 4px rgba(188, 0, 0, 0.14);
}

.esy-btn-search {
    width: 100%;
    height: 54px;
    background: linear-gradient(135deg, #bc0000 0%, #e51c28 100%);
    color: var(--esy-white);
    border: none;
    border-radius: var(--esy-radius-md);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(188, 0, 0, 0.35);
}

.esy-btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(188, 0, 0, 0.45);
    background: linear-gradient(135deg, #a30000 0%, #d41420 100%);
}

/* Quick Filter Badges */
.esy-quick-tags {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--esy-gray-200);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.esy-quick-tag-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--esy-gray-800);
    margin-right: 4px;
}

.esy-tag-btn {
    background: var(--esy-gray-100);
    border: 1px solid var(--esy-gray-200);
    color: var(--esy-gray-700);
    padding: 7px 16px;
    border-radius: var(--esy-radius-full);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.esy-tag-btn:hover,
.esy-tag-btn.active {
    background: var(--esy-primary);
    border-color: var(--esy-primary);
    color: var(--esy-white);
    box-shadow: 0 3px 8px rgba(188, 0, 0, 0.25);
}

.esy-tag-btn.esy-tag-hot {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

.esy-tag-btn.esy-tag-hot:hover {
    background: #dc2626;
    color: #fff;
}

.esy-tag-btn.esy-tag-gold {
    background: #fffbeb;
    border-color: #fde68a;
    color: #b45309;
}

.esy-tag-btn.esy-tag-gold:hover {
    background: #d97706;
    color: #fff;
}

/* Floating Stats Bar */
.esy-hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 36px;
}

.esy-hero-stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--esy-radius-md);
    padding: 16px 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.esy-hero-stat-item:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
}

.esy-stat-number {
    font-size: 26px;
    font-weight: 800;
    color: #ffd166;
    margin-bottom: 2px;
    line-height: 1.2;
}

.esy-stat-label {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* ==========================================================================
   2. ACB JOBS EXACT 2-COLUMN ROW-BASED LISTING LAYOUT
   ========================================================================== */
.esy-job-listing-section {
    padding: 85px 0;
    background-color: #ffffff;
}

.esy-acb-layout-wrapper {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 40px;
    align-items: flex-start;
    margin-top: 20px;
}

/* Cột Trái: Filter Sidebar */
.esy-sidebar-filter-col {
    background: #ffffff;
}

.esy-filter-action-box {
    margin-bottom: 20px;
}

.esy-btn-apply-filter {
    width: 100%;
    height: 48px;
    background-color: var(--esy-acb-blue);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 32, 165, 0.25);
}

.esy-btn-apply-filter:hover {
    background-color: var(--esy-acb-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 32, 165, 0.35);
}

/* Thanh chỉ dẫn màu xanh đứng bên phải filter (Exact ACB Jobs style) */
.esy-filter-vertical-line-wrap {
    position: relative;
    border-right: 4px solid var(--esy-acb-blue);
    padding-right: 20px;
}

.esy-filter-group-title {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--esy-gray-900);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.esy-filter-group-title i {
    color: var(--esy-acb-blue);
    margin-right: 4px;
}

.esy-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.esy-checkbox-item {
    display: flex;
    align-items: center;
}

.esy-checkbox-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--esy-gray-700);
    cursor: pointer;
    font-weight: 500;
    user-select: none;
    line-height: 1.4;
    transition: color 0.15s ease;
}

.esy-checkbox-item label:hover {
    color: var(--esy-acb-blue);
}

.esy-checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--esy-acb-blue);
    cursor: pointer;
    border-radius: 3px;
}

.esy-select-all-item {
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--esy-gray-200);
}

.esy-select-all-item label {
    font-weight: 700;
    color: var(--esy-gray-900);
}

/* Cột Phải: Danh sách công việc dạng Hàng (Rows) */
.esy-listing-rows-col {
    position: relative;
}

.esy-jobs-row-list {
    display: flex;
    flex-direction: column;
}

/* Mỗi Hàng Công Việc (Row Item) */
.esy-job-row-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 10px;
    border-bottom: 1px dashed #d1d5db;
    transition: all 0.2s ease;
}

.esy-job-row-item:first-child {
    padding-top: 5px;
}

.esy-job-row-item:hover {
    background-color: #f8fafc;
    padding-left: 14px;
    padding-right: 14px;
    border-radius: 6px;
}

.esy-job-row-item.esy-row-hot {
    background-color: #fffbfb;
    border-left: 3px solid var(--esy-primary);
    padding-left: 14px;
}

.esy-job-row-left {
    flex: 1;
    padding-right: 24px;
}

/* Dòng 1: Tiêu đề công việc */
.esy-row-title {
    font-size: 17.5px;
    font-weight: 700;
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.esy-row-title a {
    color: var(--esy-acb-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.esy-row-title a:hover {
    color: var(--esy-primary);
    text-decoration: underline;
}

.esy-badge-hot-tag {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fca5a5;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    margin-left: 8px;
    display: inline-block;
    vertical-align: middle;
}

.esy-badge-urgent-tag {
    background: #dc2626;
    color: #ffffff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    margin-left: 6px;
    display: inline-block;
    vertical-align: middle;
}

/* Dòng 2: Khối phòng ban • Địa điểm • Kinh nghiệm */
.esy-row-meta-line1 {
    font-size: 13.5px;
    color: var(--esy-gray-700);
    margin-bottom: 4px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.esy-row-dep-text {
    font-weight: 600;
    color: var(--esy-gray-800);
}

.esy-row-loc-text {
    color: #1e293b;
    font-weight: 500;
}

.esy-row-prj-text {
    color: var(--esy-primary);
    font-weight: 600;
}

/* Dòng 3: Toàn thời gian • Lương • Thưởng */
.esy-row-meta-line2 {
    font-size: 13.5px;
    color: var(--esy-gray-500);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.esy-row-salary-text {
    font-weight: 700;
    color: #059669;
}

.esy-row-bonus-text {
    font-weight: 600;
    color: #b45309;
}

.esy-dot {
    margin: 0 7px;
    color: #94a3b8;
    font-weight: 700;
    font-size: 12px;
}

/* Cột Phải: Nút Ứng Tuyển chuẩn ACB */
.esy-job-row-right {
    flex-shrink: 0;
}

.esy-btn-row-apply {
    background: #ffffff;
    border: 1.5px solid var(--esy-acb-blue);
    color: var(--esy-acb-blue);
    padding: 9px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    outline: none;
}

.esy-btn-row-apply:hover {
    background: var(--esy-acb-blue);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 32, 165, 0.25);
    transform: translateY(-1px);
}

/* Pagination */
.esy-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.esy-page-btn {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid var(--esy-gray-200);
    background: var(--esy-white);
    color: var(--esy-gray-700);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.esy-page-btn:hover,
.esy-page-btn.active {
    background: var(--esy-acb-blue);
    border-color: var(--esy-acb-blue);
    color: var(--esy-white);
}

/* No jobs found */
.esy-no-jobs {
    text-align: center;
    background: var(--esy-gray-50);
    padding: 60px 20px;
    border-radius: var(--esy-radius-md);
    border: 1px dashed var(--esy-gray-300);
    max-width: 600px;
    margin: 20px auto;
}

.esy-no-jobs-icon {
    font-size: 48px;
    color: var(--esy-gray-500);
    margin-bottom: 15px;
}

.esy-no-jobs h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--esy-gray-900);
    margin-bottom: 8px;
}

.esy-no-jobs p {
    color: var(--esy-gray-500);
    margin-bottom: 24px;
    font-size: 14px;
}

/* Loading Spinner */
.esy-loading-overlay {
    display: none;
    position: relative;
    padding: 40px;
    text-align: center;
}

.esy-spinner {
    width: 38px;
    height: 38px;
    border: 3.5px solid var(--esy-gray-200);
    border-top-color: var(--esy-acb-blue);
    border-radius: 50%;
    animation: esy-spin 0.8s linear infinite;
    margin: 0 auto;
}

@keyframes esy-spin {
    to { transform: rotate(360deg); }
}

/* =========================================
   3. STRATEGIC PROJECTS SECTION
   ========================================= */
.esy-projects-section {
    padding: 90px 0;
    background: var(--esy-gray-50);
}

.esy-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 26px;
}

.esy-project-card {
    background: var(--esy-white);
    border-radius: var(--esy-radius-lg);
    overflow: hidden;
    border: 1px solid var(--esy-gray-200);
    box-shadow: var(--esy-shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.esy-project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--esy-shadow-xl);
    border-color: #fca5a5;
}

.esy-project-img-box {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.esy-project-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.esy-project-card:hover .esy-project-img-box img {
    transform: scale(1.06);
}

.esy-project-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(188, 0, 0, 0.9);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--esy-radius-full);
    backdrop-filter: blur(6px);
}

.esy-project-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.esy-project-content h4 {
    font-size: 19px;
    font-weight: 800;
    color: var(--esy-gray-900);
    margin: 0 0 10px 0;
}

.esy-prj-info {
    font-size: 14px;
    color: var(--esy-gray-700);
    margin: 4px 0;
}

.esy-prj-info i {
    width: 16px;
    color: var(--esy-primary);
}

.esy-prj-footer {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--esy-gray-200);
}

.esy-prj-status {
    font-size: 13px;
    font-weight: 700;
    color: var(--esy-primary);
}

/* =========================================
   4. WHY JOIN US & PARTNERS
   ========================================= */
.esy-why-section {
    padding: 90px 0;
    background: #ffffff;
}

.esy-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.esy-why-card {
    background: var(--esy-gray-50);
    border: 1px solid var(--esy-gray-200);
    border-radius: var(--esy-radius-lg);
    padding: 34px 28px;
    transition: all 0.3s ease;
    box-shadow: var(--esy-shadow-sm);
}

.esy-why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--esy-shadow-lg);
    border-color: #fca5a5;
    background: #ffffff;
}

.esy-why-icon {
    width: 64px;
    height: 64px;
    background: var(--esy-primary-light);
    color: var(--esy-primary);
    border-radius: var(--esy-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
}

.esy-why-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--esy-gray-900);
    margin-bottom: 12px;
}

.esy-why-card p {
    font-size: 14.5px;
    color: var(--esy-gray-500);
    line-height: 1.65;
    margin: 0;
}

/* Developer Partners Section */
.esy-partner-section {
    padding: 60px 0;
    background: var(--esy-gray-50);
    border-top: 1px solid var(--esy-gray-200);
    border-bottom: 1px solid var(--esy-gray-200);
}

.esy-partner-header {
    margin-bottom: 35px;
}

.esy-partner-sub {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--esy-primary);
    text-transform: uppercase;
}

.esy-partner-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--esy-gray-900);
    margin: 6px 0 0 0;
}

.esy-partner-logos-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 35px;
}

.esy-partner-item img {
    height: 48px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.65;
    transition: all 0.3s ease;
}

.esy-partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}

/* =========================================
   5. HIRING PROCESS & CTA BANNER
   ========================================= */
.esy-process-section {
    padding: 90px 0;
    background: #ffffff;
}

.esy-process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.esy-step-item {
    background: var(--esy-gray-50);
    border: 1px solid var(--esy-gray-200);
    border-radius: var(--esy-radius-lg);
    padding: 36px 22px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.esy-step-item:hover {
    transform: translateY(-5px);
    border-color: var(--esy-primary);
    box-shadow: var(--esy-shadow-md);
    background: #ffffff;
}

.esy-step-number {
    position: absolute;
    top: 15px;
    right: 18px;
    font-size: 32px;
    font-weight: 900;
    color: rgba(188, 0, 0, 0.1);
}

.esy-step-icon {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, #bc0000 0%, #e51c28 100%);
    color: var(--esy-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 22px auto;
    box-shadow: 0 8px 18px rgba(188, 0, 0, 0.28);
}

.esy-step-item h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--esy-gray-900);
    margin-bottom: 10px;
}

.esy-step-item p {
    font-size: 14px;
    color: var(--esy-gray-500);
    line-height: 1.6;
    margin: 0;
}

/* Call to action Banner */
.esy-cta-banner-box {
    background: linear-gradient(135deg, #1e1e24 0%, #0f172a 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--esy-radius-lg);
    padding: 40px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--esy-shadow-xl);
    position: relative;
    overflow: hidden;
}

.esy-cta-banner-box::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 6px;
    background: var(--esy-primary);
}

.esy-cta-content h3 {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.esy-cta-content p {
    color: #94a3b8;
    margin: 0;
    font-size: 15px;
}

.esy-cta-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.esy-btn-white {
    background: var(--esy-primary);
    color: #ffffff;
    padding: 12px 24px;
    font-weight: 800;
    border-radius: var(--esy-radius-md);
    text-decoration: none;
}

.esy-btn-white:hover {
    background: var(--esy-primary-hover);
    transform: translateY(-2px);
}

.esy-btn-hotline-white {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 12px 20px;
    font-weight: 700;
    border-radius: var(--esy-radius-md);
    text-decoration: none;
}

.esy-btn-hotline-white:hover {
    background: rgba(255,255,255,0.2);
}

/* =========================================
   6. LUXURY CUSTOM FOOTER (ESY HOUSE)
   ========================================= */
.esy-luxury-footer {
    background: #090d16;
    color: #94a3b8;
    padding: 75px 0 0 0;
    border-top: 4px solid var(--esy-primary);
    font-size: 14px;
    line-height: 1.6;
}

.esy-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 36px;
    padding-bottom: 50px;
}

.esy-footer-logo-link {
    display: inline-block;
    margin-bottom: 18px;
}

.esy-footer-logo {
    max-height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
}

.esy-footer-desc {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.65;
    margin-bottom: 22px;
}

.esy-footer-desc strong {
    color: #f1f5f9;
    display: block;
    margin-bottom: 4px;
}

.esy-footer-social {
    display: flex;
    gap: 10px;
}

.esy-footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.esy-footer-social a:hover {
    background: var(--esy-primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(188, 0, 0, 0.4);
}

.esy-footer-heading {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin: 0 0 20px 0;
    position: relative;
    padding-bottom: 10px;
}

.esy-footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2.5px;
    background: var(--esy-primary);
    border-radius: 2px;
}

.esy-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.esy-footer-links li a {
    color: #94a3b8;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    transition: all 0.2s ease;
}

.esy-footer-links li a i {
    font-size: 11px;
    color: var(--esy-primary);
    transition: transform 0.2s ease;
}

.esy-footer-links li a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.esy-footer-links li a:hover i {
    color: var(--esy-gold);
}

.esy-footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 13.5px;
}

.esy-footer-contact-item i {
    color: var(--esy-primary);
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.esy-footer-contact-item strong {
    display: block;
    color: #f1f5f9;
    font-size: 13px;
    margin-bottom: 2px;
}

.esy-footer-contact-item a {
    color: var(--esy-gold);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.esy-footer-contact-item a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.esy-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: #64748b;
}

.esy-copyright-text a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 600;
}

.esy-copyright-text a:hover {
    color: var(--esy-gold);
}

/* =========================================
   7. SINGLE JOB DETAIL PAGE LAYOUT
   ========================================= */
.esy-single-job-page {
    background-color: var(--esy-gray-50);
    padding-bottom: 80px;
}

.esy-single-header-banner {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: var(--esy-white);
    padding: 40px 0 50px 0;
    border-bottom: 4px solid var(--esy-primary);
}

.esy-breadcrumb {
    font-size: 13px;
    color: var(--esy-gray-500);
    margin-bottom: 18px;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.esy-breadcrumb a {
    color: #9ca3af;
    text-decoration: none;
}

.esy-breadcrumb a:hover {
    color: var(--esy-white);
}

.esy-single-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.esy-single-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--esy-white);
    margin-bottom: 12px;
    line-height: 1.3;
}

.esy-single-project-tag {
    font-size: 15px;
    color: #fef08a;
}

.esy-single-body {
    margin-top: 35px;
}

.esy-single-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
}

.esy-overview-card {
    background: var(--esy-white);
    border: 1px solid var(--esy-gray-200);
    border-radius: var(--esy-radius-lg);
    padding: 20px 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    box-shadow: var(--esy-shadow-sm);
    margin-bottom: 24px;
}

.esy-overview-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.esy-ov-icon {
    width: 44px;
    height: 44px;
    background: var(--esy-primary-light);
    color: var(--esy-primary);
    border-radius: var(--esy-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.esy-ov-text label {
    display: block;
    font-size: 12px;
    color: var(--esy-gray-500);
    margin-bottom: 2px;
}

.esy-ov-text strong {
    font-size: 14px;
    color: var(--esy-gray-900);
}

.esy-bonus-highlight-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: var(--esy-radius-md);
    padding: 16px 20px;
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 24px;
}

.esy-bonus-highlight-box i {
    font-size: 24px;
    color: #d97706;
}

.esy-bonus-highlight-box strong {
    color: #92400e;
    font-size: 14px;
}

.esy-bonus-highlight-box p {
    margin: 4px 0 0 0;
    color: #78350f;
    font-size: 14px;
    font-weight: 600;
}

.esy-jd-content-box {
    background: var(--esy-white);
    border: 1px solid var(--esy-gray-200);
    border-radius: var(--esy-radius-lg);
    padding: 35px;
    box-shadow: var(--esy-shadow-sm);
    margin-bottom: 30px;
}

.esy-jd-content-box h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--esy-primary);
    margin: 25px 0 12px 0;
    border-bottom: 2px solid var(--esy-gray-100);
    padding-bottom: 6px;
}

.esy-jd-content-box h3:first-child {
    margin-top: 0;
}

.esy-jd-content-box ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.esy-jd-content-box li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--esy-gray-700);
    margin-bottom: 8px;
}

/* Sidebar Sticky */
.esy-sticky-card {
    background: var(--esy-white);
    border: 1px solid var(--esy-gray-200);
    border-radius: var(--esy-radius-lg);
    overflow: hidden;
    box-shadow: var(--esy-shadow-md);
    position: sticky;
    top: 90px;
    margin-bottom: 20px;
}

.esy-sidebar-header {
    background: linear-gradient(135deg, #bc0000 0%, #e51c28 100%);
    color: var(--esy-white);
    padding: 16px 20px;
}

.esy-sidebar-header h3 {
    font-size: 16px;
    font-weight: 800;
    margin: 0;
    color: #fff;
    letter-spacing: 0.5px;
}

.esy-sidebar-body {
    padding: 20px;
}

.esy-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.esy-sidebar-list li {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    border-bottom: 1px dashed var(--esy-gray-200);
}

.esy-sidebar-list li span {
    font-size: 12.5px;
    color: var(--esy-gray-500);
    margin-bottom: 3px;
}

.esy-sidebar-list li span i {
    width: 16px;
    color: var(--esy-primary);
}

.esy-sidebar-list li strong {
    font-size: 14.5px;
    color: var(--esy-gray-900);
}

.esy-sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.esy-btn-apply-full {
    width: 100%;
    height: 48px;
    background: var(--esy-primary);
    color: var(--esy-white);
    border-radius: var(--esy-radius-md);
    font-size: 15px;
    font-weight: 800;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(188,0,0,0.25);
    transition: all 0.2s ease;
}

.esy-btn-apply-full:hover {
    background: var(--esy-primary-hover);
    transform: translateY(-2px);
}

.esy-btn-hotline {
    width: 100%;
    height: 44px;
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #86efac;
    border-radius: var(--esy-radius-md);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.esy-btn-hotline:hover {
    background: #dcfce7;
}

.esy-share-box {
    padding-top: 15px;
    border-top: 1px solid var(--esy-gray-200);
    text-align: center;
}

.esy-share-box span {
    font-size: 12.5px;
    color: var(--esy-gray-500);
    display: block;
    margin-bottom: 10px;
}

.esy-share-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.esy-share-links a {
    width: 36px;
    height: 36px;
    background: var(--esy-gray-100);
    color: var(--esy-gray-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.esy-share-links a:hover {
    background: var(--esy-primary);
    color: var(--esy-white);
}

.esy-company-info-card {
    background: var(--esy-white);
    border: 1px solid var(--esy-gray-200);
    border-radius: var(--esy-radius-lg);
    padding: 20px;
}

.esy-company-info-card h4 {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--esy-primary);
    margin: 0 0 12px 0;
}

.esy-company-info-card p {
    font-size: 13px;
    color: var(--esy-gray-700);
    line-height: 1.5;
    margin: 6px 0;
}

.esy-company-info-card p i {
    color: var(--esy-primary);
    width: 16px;
}

/* =========================================
   8. APPLICATION FORM (EMBEDDED & MODAL)
   ========================================= */
.esy-form-wrapper {
    background: var(--esy-white);
    border: 1px solid var(--esy-gray-200);
    border-radius: var(--esy-radius-lg);
    padding: 30px;
    box-shadow: var(--esy-shadow-md);
}

.esy-form-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--esy-primary);
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.esy-form-desc {
    font-size: 14px;
    color: var(--esy-gray-500);
    margin-bottom: 22px;
}

.esy-apply-form .esy-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

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

.esy-form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--esy-gray-900);
    margin-bottom: 6px;
}

.esy-form-group label .required {
    color: var(--esy-danger);
}

.esy-form-group input[type="text"],
.esy-form-group input[type="tel"],
.esy-form-group input[type="email"],
.esy-form-group select,
.esy-form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--esy-gray-200);
    border-radius: var(--esy-radius-md);
    font-size: 15px;
    font-family: inherit;
    background: var(--esy-gray-50);
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.esy-form-group input:focus,
.esy-form-group select:focus,
.esy-form-group textarea:focus {
    outline: none;
    border-color: var(--esy-primary);
    background: var(--esy-white);
    box-shadow: 0 0 0 3px rgba(188, 0, 0, 0.1);
}

.esy-file-upload-box {
    position: relative;
    border: 2px dashed #cbd5e1;
    border-radius: var(--esy-radius-md);
    padding: 20px;
    text-align: center;
    background: var(--esy-gray-50);
    cursor: pointer;
    transition: all 0.2s ease;
}

.esy-file-upload-box:hover {
    border-color: var(--esy-primary);
    background: var(--esy-primary-light);
}

.esy-file-upload-box input[type="file"] {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
}

.esy-file-upload-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--esy-gray-500);
    font-size: 13.5px;
}

.esy-file-upload-text i {
    font-size: 28px;
    color: var(--esy-primary);
}

.file-name-preview {
    font-weight: 700;
    color: #059669;
}

.esy-btn-submit {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #bc0000 0%, #e51c28 100%);
    color: var(--esy-white);
    font-size: 16px;
    font-weight: 800;
    border-radius: var(--esy-radius-md);
    box-shadow: 0 4px 12px rgba(188, 0, 0, 0.3);
}

.esy-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(188, 0, 0, 0.4);
}

.esy-form-msg {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 600;
}

.esy-form-msg.success {
    color: #047857;
    background: #ecfdf5;
    padding: 12px;
    border-radius: var(--esy-radius-md);
    border: 1px solid #a7f3d0;
}

.esy-form-msg.error {
    color: #b91c1c;
    background: #fef2f2;
    padding: 12px;
    border-radius: var(--esy-radius-md);
    border: 1px solid #fecaca;
}

/* =========================================
   9. MODAL APPLY POPUP
   ========================================= */
.esy-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.esy-modal.active {
    display: flex;
}

.esy-modal-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.esy-modal-dialog {
    position: relative;
    z-index: 2;
    background: var(--esy-white);
    border-radius: var(--esy-radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--esy-shadow-xl);
    animation: esy-modal-in 0.3s ease;
}

@keyframes esy-modal-in {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.esy-modal-close {
    position: absolute;
    top: 15px;
    right: 18px;
    background: none;
    border: none;
    font-size: 28px;
    color: #9ca3af;
    cursor: pointer;
    z-index: 10;
}

.esy-modal-close:hover {
    color: var(--esy-primary);
}

.esy-modal-header {
    background: var(--esy-gray-50);
    padding: 20px 24px;
    border-bottom: 1px solid var(--esy-gray-200);
}

.esy-modal-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--esy-primary);
    margin: 0 0 4px 0;
}

.esy-modal-job-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--esy-gray-700);
}

.esy-modal-body {
    padding: 20px 24px;
}

.esy-modal-body .esy-form-wrapper {
    padding: 0;
    border: none;
    box-shadow: none;
}

.esy-modal-body .esy-form-title,
.esy-modal-body .esy-form-desc {
    display: none;
}

/* =========================================
   10. TOÀN DIỆN RESPONSIVE CHO TABLET & MOBILE (< 991px & < 640px)
   ========================================= */
@media (max-width: 991px) {
    .esy-hero-recruitment { padding: 60px 16px 70px 16px; }
    .esy-hero-title { font-size: 30px; line-height: 1.3; }
    .esy-hero-subtitle { font-size: 15px; margin-bottom: 30px; }
    
    .esy-search-box-wrap { padding: 18px; }
    .esy-search-form { grid-template-columns: 1fr 1fr; gap: 10px; }
    .esy-form-field input, .esy-form-field select, .esy-btn-search { height: 48px; }
    .esy-hero-stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
    .esy-stat-number { font-size: 22px; }

    /* Layout 2 cột Listing trên Mobile */
    .esy-acb-layout-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .esy-filter-vertical-line-wrap {
        border-right: none;
        border-bottom: 3px solid var(--esy-acb-blue);
        padding-right: 0;
        padding-bottom: 18px;
        margin-bottom: 20px;
    }

    .esy-checkbox-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .esy-projects-grid { grid-template-columns: 1fr 1fr; }
    .esy-why-grid { grid-template-columns: 1fr 1fr; }
    .esy-process-steps { grid-template-columns: 1fr 1fr; }
    .esy-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

    .esy-single-grid { grid-template-columns: 1fr; }
    .esy-overview-card { grid-template-columns: 1fr 1fr; }
    .esy-cta-banner-box { flex-direction: column; text-align: center; gap: 20px; padding: 30px 20px; }
}

@media (max-width: 640px) {
    .esy-hero-recruitment { padding: 45px 12px 55px 12px; }
    .esy-hero-top-badge { font-size: 11.5px; padding: 6px 14px; }
    .esy-hero-title { font-size: 23px; }
    .esy-hero-subtitle { font-size: 14px; line-height: 1.55; }
    
    .esy-search-form { grid-template-columns: 1fr; }
    .esy-hero-stats-grid { grid-template-columns: 1fr 1fr; }
    .esy-stat-number { font-size: 20px; }
    .esy-stat-label { font-size: 11.5px; }

    /* Quick Badges scroll ngang */
    .esy-quick-tags {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }

    .esy-tag-btn {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 5px 12px;
        font-size: 12px;
    }

    /* Checkbox Filter 1 cột trên điện thoại */
    .esy-checkbox-list {
        grid-template-columns: 1fr;
    }

    /* Hàng Công Việc chuyển sang Card tinh gọn trên điện thoại */
    .esy-job-row-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 18px 12px;
        background: #ffffff;
        border: 1px solid var(--esy-gray-200);
        border-radius: var(--esy-radius-md);
        margin-bottom: 12px;
    }

    .esy-job-row-left {
        padding-right: 0;
        width: 100%;
    }

    .esy-row-title {
        font-size: 16px;
    }

    .esy-job-row-right {
        width: 100%;
    }

    .esy-btn-row-apply {
        width: 100%;
        text-align: center;
        padding: 10px;
    }

    .esy-projects-grid { grid-template-columns: 1fr; }
    .esy-why-grid { grid-template-columns: 1fr; }
    .esy-process-steps { grid-template-columns: 1fr; }
    .esy-footer-grid { grid-template-columns: 1fr; }

    .esy-single-title { font-size: 22px; }
    .esy-overview-card { grid-template-columns: 1fr; gap: 12px; }
    .esy-jd-content-box { padding: 20px 16px; }

    .esy-apply-form .esy-form-row { grid-template-columns: 1fr; }
    .esy-cta-buttons { flex-direction: column; width: 100%; }
    .esy-btn-white, .esy-btn-hotline-white { width: 100%; text-align: center; }
}
