/* ============================================================
   BOLSA DE TRABAJO — MOBILE-FIRST CSS (375px base)
   Breakpoints: 640px (tablet) · 1024px (desktop)
   ============================================================ */

/* === CSS VARIABLES === */
:root {
    --color-primario:        #0f766e;
    --color-secundario:      #14b8a6;
    --color-primario-light:  #f0fdfa;
    --color-texto:           #0f172a;
    --color-texto-muted:     #64748b;
    --color-fondo:           #f8fafc;
    --color-card:            #ffffff;
    --color-borde:           #e2e8f0;
    --color-success:         #10b981;
    --color-warning:         #f59e0b;
    --color-danger:          #ef4444;
    --color-info:            #0284c7;
    --radius-sm:             6px;
    --radius-md:             10px;
    --radius-lg:             14px;
    --shadow-sm:             0 1px 3px rgba(0,0,0,0.06);
    --shadow-md:             0 4px 14px rgba(0,0,0,0.08);
    --shadow-lg:             0 10px 30px rgba(0,0,0,0.1);
    --transition:            all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --bottom-nav-h:          58px;
}

/* === RESET === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === BASE === */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--color-texto);
    background: var(--color-fondo);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Extra bottom clearance when bottom nav is visible */
body.has-bottom-nav {
    padding-bottom: calc(var(--bottom-nav-h) + 10px);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* === HEADER & NAV === */
.app-header {
    background: #ffffff;
    border-bottom: 1px solid var(--color-borde);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 1;
    min-width: 0;
}

.tenant-logo {
    max-width: 36px;
    max-height: 36px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    flex-shrink: 0;
}

.tenant-logo-placeholder {
    width: 36px;
    height: 36px;
    background: var(--color-primario);
    color: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hide subtitle on mobile – shown on tablet+ */
.brand-subtitle {
    display: none;
    font-size: 0.72rem;
    color: var(--color-texto-muted);
}

/* Hamburger — shown on mobile only */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #0f172a;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    flex-shrink: 0;
}

.mobile-menu-toggle:hover {
    background: #f1f5f9;
}

/* Nav hidden on mobile by default */
.app-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding-top: 10px;
    border-top: 1px solid var(--color-borde);
    margin-top: 4px;
    gap: 2px;
    animation: slideDown 0.22s ease-out;
}

/* Mobile nav-open: slide down */
.app-nav.nav-open {
    display: flex;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: #475569;
    font-size: 0.88rem;
    transition: var(--transition);
    min-height: 44px;
}

.nav-link:hover {
    color: var(--color-primario);
    background: #f1f5f9;
}

.nav-link-login {
    color: var(--color-primario) !important;
    font-weight: 600;
}

.nav-btn-register {
    background: var(--color-primario);
    color: white !important;
    font-weight: 600;
}

.nav-btn-register:hover {
    opacity: 0.91;
    background: var(--color-primario);
}

.nav-btn-panel {
    background: #f1f5f9;
    color: #0f172a !important;
    font-weight: 600;
}

.nav-link-logout {
    color: #ef4444 !important;
}

/* === HERO BANNER === */
.hero-banner {
    background: linear-gradient(135deg, var(--color-primario) 0%, #064e3b 100%);
    color: white;
    padding: 28px 12px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.hero-title {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0;
    letter-spacing: -0.3px;
}

/* Hide description on mobile */
.hero-desc {
    display: none;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.85);
    margin-top: 6px;
}

/* === MAIN CONTAINER === */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 12px 60px;
}

/* === TENANT SWITCHER === */
.tenant-switcher-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tenant-switcher-bar::-webkit-scrollbar { display: none; }

.switcher-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-texto-muted);
    white-space: nowrap;
}

.switcher-chips {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
}

.chip-item {
    padding: 5px 12px;
    background: white;
    border: 1px solid var(--color-borde);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #475569;
    white-space: nowrap;
    transition: var(--transition);
    cursor: pointer;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
}

.chip-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.chip-item.chip-active {
    background: var(--color-primario);
    color: white;
    border-color: var(--color-primario);
    font-weight: 600;
}

/* === FILTER CARD === */
.filter-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-borde);
    margin-bottom: 16px;
}

/* Mobile: only search row visible by default */
.filter-search-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Collapsible filter extra fields on mobile */
.filter-extra {
    display: none;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--color-borde);
}

.filter-extra.filter-open {
    display: flex;
}

/* Toggle button for filters on mobile */
.btn-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 12px;
    height: 40px;
    border-radius: var(--radius-sm);
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--color-primario);
    border: 1px solid var(--color-primario);
    background: white;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    white-space: nowrap;
}

.btn-filter-toggle:hover {
    background: var(--color-primario-light);
}

.search-form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.search-field-main {
    flex: 2;
    min-width: 0;
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 10px;
    font-size: 0.95rem;
    color: #94a3b8;
    pointer-events: none;
}

.form-control-search {
    width: 100%;
    height: 40px;
    padding: 0 12px 0 34px;
    border: 1px solid var(--color-borde);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.form-control-search:focus {
    border-color: var(--color-primario);
    box-shadow: 0 0 0 3px rgba(15,118,110,0.12);
}

.search-field-select {
    flex: 1;
    min-width: 140px;
}

.form-control-select {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--color-borde);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-family: inherit;
    background: white;
    color: #334155;
    outline: none;
    cursor: pointer;
}

.btn-search-submit {
    height: 40px;
    padding: 0 16px;
}

.btn-clear-filter {
    height: 40px;
    padding: 0 10px;
    color: #ef4444;
    font-size: 0.82rem;
    font-weight: 600;
}

/* === RESULTS HEADER === */
.results-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.results-header-row h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.results-subtitle {
    font-size: 0.8rem;
    color: var(--color-texto-muted);
}

/* === JOBS GRID === */
.jobs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

/* === JOB CARDS === */
.job-card {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-borde);
    padding: 14px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.job-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-secundario);
}

.job-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.job-company-brand {
    display: flex;
    align-items: center;
    gap: 9px;
}

.company-logo-img {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: #f1f5f9;
    border: 1px solid var(--color-borde);
    flex-shrink: 0;
}

.company-logo-initials {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--color-primario);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.company-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.3;
}

.tenant-tag {
    display: block;
    font-size: 0.72rem;
    color: var(--color-texto-muted);
}

.badge-global-pill {
    padding: 2px 7px;
    background: #e0f2fe;
    color: #0369a1;
    border-radius: 12px;
    font-size: 0.68rem;
    font-weight: 600;
    white-space: nowrap;
}

.job-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f172a;
    line-height: 1.35;
}

.job-title a:hover {
    color: var(--color-primario);
}

.job-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px;
}

.job-tag {
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 0.72rem;
    font-weight: 500;
    background: #f1f5f9;
    color: #475569;
}

.tag-remoto     { background: #d1fae5; color: #065f46; }
.tag-hibrido    { background: #fef3c7; color: #92400e; }
.tag-presencial { background: #e0f2fe; color: #0369a1; }

/* Description: max 2 lines */
.job-description-excerpt {
    font-size: 0.83rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
    gap: 8px;
}

.job-salary-box .salary-label {
    display: block;
    font-size: 0.68rem;
    color: var(--color-texto-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.job-salary-box .salary-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

/* Arrow icon button on job card (icon-only) */
.btn-job-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-primario-light);
    color: var(--color-primario);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    text-decoration: none;
}

.btn-job-arrow:hover {
    background: var(--color-primario);
    color: white;
}

/* === JOB DETAIL VIEW === */
.detail-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 8px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-primario);
    min-height: 44px;
}

.share-actions {
    display: flex;
    gap: 6px;
}

.btn-share {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--color-borde);
    background: white;
    cursor: pointer;
    min-height: 36px;
    transition: var(--transition);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    border-color: #25d366;
}

.btn-whatsapp:hover { opacity: 0.9; }

.job-detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.detail-header-card,
.detail-section-card,
.detail-apply-card,
.sidebar-widget {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-borde);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 14px;
}

.detail-company-row {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}

.detail-company-logo {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 1px solid var(--color-borde);
    flex-shrink: 0;
}

.detail-company-initials {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--color-primario);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    flex-shrink: 0;
}

.detail-tenant-badge {
    font-size: 0.75rem;
    color: var(--color-texto-muted);
    font-weight: 600;
}

.detail-job-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
}

.detail-company-name {
    font-size: 0.9rem;
    color: #475569;
    font-weight: 500;
}

/* === MATCH SCORE BANNER === */
.match-score-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    border: 1px solid;
}

.match-high   { background: #f0fdf4; border-color: #86efac; color: #166534; }
.match-medium { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.match-normal { background: #f8fafc; border-color: #cbd5e1; color: #334155; }

.match-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.match-high   .match-circle { color: #16a34a; }
.match-medium .match-circle { color: #d97706; }
.match-normal .match-circle { color: #475569; }

.match-text strong {
    display: block;
    font-size: 0.88rem;
}

.match-text p {
    font-size: 0.76rem;
    opacity: 0.9;
    margin: 0;
}

/* === DETAIL QUICK SPECS === */
.detail-quick-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
    background: #f8fafc;
    padding: 12px;
    border-radius: var(--radius-md);
}

.spec-box .spec-label {
    display: block;
    font-size: 0.7rem;
    color: var(--color-texto-muted);
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.spec-box .spec-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
}

.section-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 7px;
}

.formatted-text {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #334155;
    white-space: pre-line;
}

/* === APPLY SECTION === */
.applied-banner {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 14px;
    border-radius: var(--radius-md);
}

.applied-icon { font-size: 1.8rem; }

.apply-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
}

.apply-desc {
    color: var(--color-texto-muted);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.radio-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 500;
}

.login-to-apply-box {
    text-align: center;
    padding: 16px;
}

.icon-lock {
    font-size: 2rem;
    margin-bottom: 6px;
}

.apply-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

/* === SIDEBAR WIDGETS === */
.widget-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 5px;
}

.company-sidebar-info .widget-meta-item {
    font-size: 0.82rem;
    color: #475569;
    margin: 3px 0;
}

.company-sidebar-info .widget-desc {
    font-size: 0.82rem;
    color: #64748b;
    margin: 7px 0;
    line-height: 1.5;
}

.widget-stat {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px dashed var(--color-borde);
    font-size: 0.82rem;
    display: flex;
    justify-content: space-between;
}

.similar-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.similar-job-item {
    padding: 9px;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.similar-job-item:hover {
    background: #f1f5f9;
    transform: translateX(2px);
}

.similar-title {
    font-weight: 600;
    font-size: 0.83rem;
    color: var(--color-primario);
}

.similar-company {
    font-size: 0.75rem;
    color: #64748b;
}

.similar-salary {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 3px;
}

/* === AUTH CARDS === */
.auth-wrapper {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 12px;
}

.auth-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-borde);
    box-shadow: var(--shadow-lg);
    padding: 24px 20px;
    width: 100%;
    max-width: 420px;
}

.auth-card-wide {
    max-width: 640px;
}

.auth-header {
    text-align: center;
    margin-bottom: 20px;
}

.auth-brand-logo {
    max-height: 44px;
    margin: 0 auto 10px;
}

.auth-brand-icon {
    width: 46px;
    height: 46px;
    background: var(--color-primario-light);
    color: var(--color-primario);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 10px;
}

.auth-header h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

.auth-subtitle {
    font-size: 0.83rem;
    color: var(--color-texto-muted);
    margin-top: 3px;
}

/* === ROLE SWITCHER === */
.role-switcher {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 18px;
}

.role-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 2px solid var(--color-borde);
    border-radius: var(--radius-md);
    background: white;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    min-height: 44px;
}

.role-tab:hover  { border-color: #94a3b8; }
.role-tab.active { border-color: var(--color-primario); background: var(--color-primario-light); }

.role-icon { font-size: 1.3rem; }

.role-info strong {
    display: block;
    font-size: 0.83rem;
    color: #0f172a;
}

.role-info small {
    display: block;
    font-size: 0.68rem;
    color: var(--color-texto-muted);
}

.role-section { display: none; }
.role-section.active-section { display: block; }

.form-section-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primario);
    margin: 14px 0 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #f1f5f9;
}

.password-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.btn-toggle-password {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
    color: #64748b;
}

.auth-separator {
    text-align: center;
    margin: 16px 0;
    position: relative;
}

.auth-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-borde);
}

.auth-separator span {
    position: relative;
    background: white;
    padding: 0 10px;
    font-size: 0.78rem;
    color: var(--color-texto-muted);
}

.auth-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.auth-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 0.83rem;
    color: var(--color-texto-muted);
}

.auth-footer a {
    color: var(--color-primario);
    font-weight: 600;
}

/* Demo chips */
.demo-accounts-box {
    margin-top: 18px;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    border: 1px solid var(--color-borde);
    font-size: 0.82rem;
}

.demo-accounts-box summary {
    cursor: pointer;
    font-weight: 600;
    color: #475569;
}

.demo-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 8px;
}

.demo-chip {
    padding: 5px 8px;
    background: white;
    border: 1px solid var(--color-borde);
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    min-height: 36px;
}

.demo-chip:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
}

/* === ALERTS === */
.alert {
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin-bottom: 14px;
    border-left: 4px solid;
    line-height: 1.5;
}

.alert-success { background: #d1fae5; color: #065f46; border-color: #10b981; }
.alert-error   { background: #fee2e2; color: #991b1b; border-color: #ef4444; }
.alert-warning { background: #fef3c7; color: #92400e; border-color: #f59e0b; }
.alert-info    { background: #e0f2fe; color: #0369a1; border-color: #0284c7; }

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 40px;
    padding: 0 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    font-family: inherit;
}

.btn-primary         { background: var(--color-primario); color: white; border-color: var(--color-primario); }
.btn-primary:hover   { opacity: 0.91; }
.btn-outline         { background: white; border-color: var(--color-borde); color: #334155; }
.btn-outline:hover   { background: #f8fafc; }
.btn-outline-primary { background: white; border-color: var(--color-primario); color: var(--color-primario); }
.btn-outline-primary:hover { background: var(--color-primario); color: white; }
.btn-block { width: 100%; }
.btn-lg    { height: 46px; padding: 0 22px; font-size: 0.95rem; }
.btn-sm    { height: 32px; padding: 0 10px; font-size: 0.78rem; }

/* Icon-only circular button */
.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* === FORMS === */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 12px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.82rem;
    color: #334155;
}

.form-control {
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--color-borde);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
    width: 100%;
}

textarea.form-control {
    height: auto;
    padding: 9px 12px;
    resize: vertical;
}

.form-control:focus {
    border-color: var(--color-primario);
    box-shadow: 0 0 0 3px rgba(15,118,110,0.12);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

/* === EMPTY STATE === */
.empty-state-card {
    text-align: center;
    padding: 32px 16px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-borde);
    color: #64748b;
}

.empty-state-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* === BADGES === */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 7px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger  { background: #fee2e2; color: #991b1b; }
.badge-info    { background: #e0f2fe; color: #0369a1; }
.badge-muted   { background: #f1f5f9; color: #475569; }

/* === SCREENING QUESTIONS === */
.screening-section {
    border: 1px solid var(--color-borde);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 12px;
    background: #fafbfc;
}

.screening-question {
    font-size: 0.88rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.screening-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.screening-option-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-borde);
    background: white;
    transition: var(--transition);
}

.screening-option-label:hover {
    border-color: var(--color-primario);
    background: var(--color-primario-light);
}

.screening-option-label input[type="radio"]:checked + span {
    color: var(--color-primario);
    font-weight: 600;
}

/* === UTILITY === */
.text-muted    { color: var(--color-texto-muted); }
.text-center   { text-align: center; }
.text-sm       { font-size: 0.82rem; }
.text-xs       { font-size: 0.72rem; }
.fw-bold       { font-weight: 700; }
.mt-1          { margin-top: 4px; }
.mt-2          { margin-top: 8px; }
.mt-3          { margin-top: 12px; }
.mb-1          { margin-bottom: 4px; }
.mb-2          { margin-bottom: 8px; }
.mb-3          { margin-bottom: 12px; }
.gap-2         { gap: 8px; }
.d-flex        { display: flex; }
.align-center  { align-items: center; }
.flex-wrap     { flex-wrap: wrap; }

/* === WHATSAPP FLOAT BUTTON === */
.whatsapp-float-btn {
    position: fixed;
    bottom: 20px;
    right: 16px;
    width: 54px;
    height: 54px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    z-index: 9000;
    transition: var(--transition);
}

.whatsapp-float-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37,211,102,0.6);
}

/* Lift WhatsApp btn when bottom nav is visible */
body.has-bottom-nav .whatsapp-float-btn {
    bottom: calc(var(--bottom-nav-h) + 17px);
}

/* === FOOTER === */
.app-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 24px 12px 16px;
    margin-top: 32px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-brand-col h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 6px;
}

.footer-brand-col p {
    font-size: 0.83rem;
    line-height: 1.6;
}

.footer-links-col h5 {
    color: white;
    font-size: 0.88rem;
    margin-bottom: 8px;
}

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

.footer-links-col ul li { margin-bottom: 6px; }

.footer-links-col ul li a {
    color: #94a3b8;
    font-size: 0.83rem;
    transition: var(--transition);
}

.footer-links-col ul li a:hover { color: white; }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 14px;
    text-align: center;
    font-size: 0.78rem;
}

/* === ATS CV PRINT STYLES === */
@media print {
    .app-header,
    .app-footer,
    .mobile-bottom-nav,
    .whatsapp-float-btn,
    .detail-nav-bar,
    .share-actions {
        display: none !important;
    }

    body {
        font-size: 12px;
        color: #000;
        background: white;
    }

    .main-container {
        padding: 0;
        max-width: 100%;
    }

    .detail-header-card,
    .detail-section-card,
    .detail-apply-card,
    .sidebar-widget {
        border: 1px solid #ccc;
        box-shadow: none;
        page-break-inside: avoid;
    }

    .job-detail-layout {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   TABLET — 640px+
   ============================================================ */
@media (min-width: 640px) {
    .header-inner {
        padding: 10px 20px;
    }

    .tenant-logo,
    .tenant-logo-placeholder {
        max-width: 40px;
        max-height: 40px;
        width: 40px;
        height: 40px;
    }

    .brand-title { font-size: 1rem; }
    .brand-subtitle { display: block; }

    /* Nav visible on tablet+ */
    .mobile-menu-toggle { display: none; }
    .app-nav {
        display: flex !important;
        flex-direction: row;
        width: auto;
        border-top: none;
        margin-top: 0;
        padding-top: 0;
        animation: none;
    }

    /* Hero */
    .hero-banner { padding: 38px 20px; }
    .hero-title  { font-size: 1.6rem; }
    .hero-desc   { display: block; }

    /* Main container */
    .main-container { padding: 20px 20px 60px; }

    /* Filter: show all fields inline */
    .filter-card { padding: 14px; }
    .filter-search-row { flex-wrap: wrap; gap: 8px; }
    .btn-filter-toggle { display: none; }
    .filter-extra {
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
        border-top: none;
        margin-top: 0;
        padding-top: 0;
    }

    /* Jobs grid: 2 columns */
    .jobs-grid { grid-template-columns: 1fr 1fr; gap: 14px; }

    /* Cards: slightly more padding */
    .job-card { padding: 16px; }

    /* Auth */
    .auth-card { padding: 28px 24px; }

    /* Form grid */
    .form-grid-2 { grid-template-columns: 1fr 1fr; }

    /* Footer */
    .footer-inner { grid-template-columns: 2fr 1fr; gap: 28px; }
    .app-footer   { padding: 32px 20px 20px; }
}

/* ============================================================
   DESKTOP — 1024px+
   ============================================================ */
@media (min-width: 1024px) {
    .header-inner { padding: 10px 32px; }

    .tenant-logo,
    .tenant-logo-placeholder {
        max-width: 44px;
        max-height: 44px;
        width: 44px;
        height: 44px;
    }

    .brand-title { font-size: 1.05rem; }

    /* Hero */
    .hero-banner { padding: 48px 32px; }
    .hero-title  { font-size: 1.8rem; }

    /* Main */
    .main-container { padding: 24px 32px 80px; }

    /* Filter card: all inline in one row */
    .filter-card { padding: 16px 20px; }
    .search-form-grid { flex-wrap: nowrap; }
    .search-field-main { min-width: 280px; }

    /* Jobs grid: 3 columns */
    .jobs-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }

    /* Cards */
    .job-card { padding: 20px; }

    .detail-header-card,
    .detail-section-card,
    .detail-apply-card,
    .sidebar-widget {
        padding: 22px;
        margin-bottom: 18px;
    }

    /* Detail layout: 2-column sidebar */
    .job-detail-layout {
        grid-template-columns: 2fr 1fr;
        gap: 22px;
    }

    /* Detail job title */
    .detail-job-title { font-size: 1.5rem; }

    /* Auth */
    .auth-card { padding: 32px 28px; }

    /* Form */
    .form-group { margin-bottom: 14px; }

    /* Footer */
    .app-footer { padding: 44px 32px 22px; }
    .footer-inner { gap: 36px; }
}

/* ============================================================
   === BOTTOM NAV ===
   Fixed bottom navigation bar for logged-in postulantes.
   Hidden on desktop (768px+).
   ============================================================ */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-nav-h);
    background: #ffffff;
    border-top: 1px solid var(--color-borde);
    display: flex;
    align-items: stretch;
    z-index: 1100;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.07);
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.62rem;
    font-weight: 500;
    padding: 6px 4px 8px;
    transition: color 0.18s ease;
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    min-height: 44px; /* touch target */
}

.bottom-nav-item:hover {
    color: var(--color-primario);
}

.bottom-nav-item.active {
    color: var(--color-primario);
    font-weight: 700;
}

/* Active indicator bar */
.bottom-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--color-primario);
    border-radius: 0 0 3px 3px;
}

.bottom-nav-icon {
    font-size: 1.25rem;
    line-height: 1;
    display: block;
}

.bottom-nav-label {
    line-height: 1;
    white-space: nowrap;
}

/* Badge on bottom nav items (e.g. notification count) */
.bottom-nav-badge {
    position: absolute;
    top: 5px;
    right: calc(50% - 18px);
    min-width: 16px;
    height: 16px;
    background: var(--color-danger);
    color: white;
    border-radius: 8px;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    pointer-events: none;
}

/* Hide bottom nav on desktop */
@media (min-width: 768px) {
    .mobile-bottom-nav {
        display: none;
    }

    /* Remove body padding-bottom on desktop */
    body.has-bottom-nav {
        padding-bottom: 0;
    }

    /* Reset WhatsApp button position on desktop */
    body.has-bottom-nav .whatsapp-float-btn {
        bottom: 25px;
        right: 25px;
    }
}

/* ================================================================
   ALIASES & MISSING CLASSES — Align PHP layout with CSS naming
   ================================================================ */

/* Bottom nav aliases: layout uses .bnav-* naming */
.bnav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.62rem;
    font-weight: 500;
    padding: 6px 4px 8px;
    transition: color 0.18s ease;
    position: relative;
    min-height: 44px;
}

.bnav-item:hover { color: var(--color-primario); }

.bnav-item.bnav-active {
    color: var(--color-primario);
    font-weight: 700;
}

.bnav-item.bnav-active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--color-primario);
    border-radius: 0 0 3px 3px;
}

.bnav-icon {
    font-size: 1.2rem;
    line-height: 1;
    display: block;
}

.bnav-label {
    font-size: 0.62rem;
    line-height: 1;
    white-space: nowrap;
}

/* Body class when bottom nav is shown (layout uses body-has-bottom-nav) */
body.body-has-bottom-nav {
    padding-bottom: 68px;
}

body.body-has-bottom-nav .whatsapp-float-btn {
    bottom: calc(58px + 16px);
}

/* WhatsApp lifted above bottom nav */
.wsp-with-bottom-nav {
    bottom: calc(58px + 16px) !important;
}

@media (min-width: 768px) {
    body.body-has-bottom-nav {
        padding-bottom: 0;
    }
    body.body-has-bottom-nav .whatsapp-float-btn {
        bottom: 25px;
    }
}

/* Utility: hide on mobile, show desktop */
.d-none-mobile {
    display: none !important;
}

@media (min-width: 640px) {
    .d-none-mobile {
        display: inline !important;
    }
}

/* Utility: hide on desktop */
.d-none-desktop {
    display: inline !important;
}

@media (min-width: 768px) {
    .d-none-desktop {
        display: none !important;
    }
    .d-none-mobile {
        display: inline !important;
    }
}

/* Compact header on scroll */
.app-header.header-compact .header-inner {
    padding-top: 7px;
    padding-bottom: 7px;
}

/* Skill tag pills (profile CV tab) */
.skill-tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 20px;
    font-size: 0.73rem;
    font-weight: 600;
}

/* Profile tabs (mobile) */
.profile-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    border-bottom: 2px solid var(--color-borde);
    margin-bottom: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.profile-tabs::-webkit-scrollbar { display: none; }

.profile-tab {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    padding: 9px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-texto-muted);
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.profile-tab.active {
    color: var(--color-primario);
    border-bottom-color: var(--color-primario);
}

.profile-tab-content { display: none; }
.profile-tab-content.active { display: block; }

/* Postulacion cards (mobile-first) */
.postulaciones-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.postulacion-card {
    background: white;
    border: 1px solid var(--color-borde);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    box-shadow: var(--shadow-sm);
}

.postulacion-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 6px;
}

.postulacion-title {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-primario);
    margin-bottom: 3px;
    line-height: 1.3;
}

.postulacion-meta {
    font-size: 0.75rem;
    color: var(--color-texto-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    align-items: center;
}

.postulacion-meta .empresa-name { font-weight: 600; color: #475569; }
.postulacion-meta .sep { opacity: 0.35; }

.badge-estado {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.7rem;
    padding: 3px 8px;
}

.postulacion-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

.postulacion-hint { display: flex; flex-direction: column; gap: 1px; }
.hint-text { font-size: 0.78rem; color: #64748b; }
.postulacion-date { font-size: 0.72rem; color: #94a3b8; }
.postulacion-actions { display: flex; gap: 5px; align-items: center; }

.btn-icon-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: #f1f5f9;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: none;
    color: #334155;
    transition: background 0.15s ease;
}

.btn-icon-action:hover { background: #e2e8f0; }
.btn-icon-action.btn-icon-danger:hover { background: #fee2e2; color: #ef4444; }

/* Progress steps */
.estado-progress {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
}

.progress-step {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: #94a3b8;
    flex-shrink: 0;
    border: 2px solid transparent;
}

.progress-step.step-done { background: #dbeafe; color: #1e40af; border-color: #93c5fd; }
.progress-step.step-current { background: var(--color-primario); color: white; border-color: var(--color-primario); }

.progress-line {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    min-width: 6px;
}

.progress-line.line-done { background: #93c5fd; }

.progress-descartada {
    font-size: 0.7rem;
    color: #ef4444;
    font-weight: 600;
    margin-left: 4px;
}

/* Vigencia bar */
.vigencia-card {
    background: #f8fafc;
    border: 1px solid var(--color-borde);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    margin-top: 16px;
}

.vigencia-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.vigencia-bar-wrap {
    background: #e2e8f0;
    border-radius: 20px;
    height: 5px;
    overflow: hidden;
    margin-bottom: 5px;
}

.vigencia-bar {
    height: 100%;
    background: var(--color-success);
    border-radius: 20px;
}

/* Form helpers */
.form-control-disabled {
    background: #f8fafc !important;
    color: #94a3b8 !important;
}

.field-hint {
    display: block;
    font-size: 0.73rem;
    color: #94a3b8;
    margin-top: 3px;
}

.link-primary {
    color: var(--color-primario);
    font-weight: 600;
    text-decoration: none;
}

.current-file-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.file-ok-badge {
    font-size: 0.8rem;
    color: #065f46;
    font-weight: 600;
}

.logo-preview-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.logo-preview-img {
    max-height: 48px;
    border-radius: 6px;
    border: 1px solid var(--color-borde);
}

/* Job listing — compact redesign */
.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.company-info { display: flex; flex-direction: column; }

.job-excerpt {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
    margin-top: auto;
}

.salary-amount { font-size: 0.92rem; font-weight: 700; color: #0f172a; }
.salary-convenir { font-size: 0.8rem; color: #94a3b8; font-style: italic; }

/* Results count */
.results-count { font-size: 0.85rem; color: #475569; }
.results-count strong { color: var(--color-texto); font-weight: 700; }
.results-filtered-label { font-style: italic; opacity: 0.8; }

/* Tenant tag on job card */
.tenant-tag {
    display: block;
    font-size: 0.7rem;
    color: var(--color-texto-muted);
}

/* Filter toggle button */
.btn-filter-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-borde);
    background: white;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-filter-toggle.active {
    background: var(--color-primario-light);
    border-color: var(--color-primario);
}

.filter-dot {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 6px;
    height: 6px;
    background: var(--color-primario);
    border-radius: 50%;
}

/* Search form layout */
.search-form-main { display: flex; flex-direction: column; gap: 8px; }

.search-row-top {
    display: flex;
    gap: 7px;
    align-items: center;
}

.search-row-filters {
    display: none;
}

.search-row-filters.filters-open {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

@media (min-width: 640px) {
    .search-row-filters {
        display: flex !important;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
    }
    .btn-filter-toggle { display: none; }
}

.filter-selects {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    flex: 1;
    align-items: center;
}

.btn-search-text { display: none; }
.btn-search-icon { display: inline; }

@media (min-width: 640px) {
    .btn-search-text { display: inline; }
    .btn-search-icon { display: none; }
}

/* Page header compact */
.page-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}

.page-title { font-size: 1.2rem; }

@media (min-width: 640px) {
    .page-title { font-size: 1.5rem; }
}

.btn-text-hide-xs { display: none; }

@media (min-width: 480px) {
    .btn-text-hide-xs { display: inline; }
}

/* Empty state */
.empty-state-card {
    text-align: center;
    padding: 32px 16px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-borde);
    color: #64748b;
}

.empty-state-icon { font-size: 2.5rem; margin-bottom: 10px; display: block; }