/* ============================================================
   RecrutaFácil — app.css  |  Mobile-first, White-label
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #e94560;
  --secondary: #1a1a2e;
  --accent: #0f3460;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,.12);
  --border: 1px solid #e9ecef;
  --bg: #f8f9fc;
  --white: #fff;
  --text: #212529;
  --text-muted: #868e96;
  --success: #2f9e44;
  --danger: #c92a2a;
  --warning: #e67700;
  --info: #1971c2;
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: var(--font); font-size: 1rem; }

/* ── Container ── */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 16px; }
@media (min-width:768px) { .container { padding-inline: 24px; } }

/* ── Typography ── */
h1,h2,h3,h4 { line-height: 1.25; font-weight: 700; color: var(--secondary); }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-danger  { color: var(--danger); }
.small { font-size: .85rem; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1.25rem; }
.mb-1 { margin-bottom: .5rem; }
.d-none-sm { display: none; }
@media (min-width:640px) { .d-none-sm { display: inline; } }

/* ── Topbar ── */
.topbar { background: var(--secondary); position: sticky; top: 0; z-index: 200; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.topbar__inner { display: flex; align-items: center; gap: 12px; height: 60px; }
.topbar__logo { flex: none; }
.logo-text { font-size: 1.25rem; font-weight: 800; color: #fff; letter-spacing: -.5px; }
.logo-text--white { color: #fff; }
.logo-text--sm { font-size: 1rem; }

.topbar__nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.topbar__nav.open { display: flex; }
.nav-link { color: rgba(255,255,255,.8); padding: 6px 12px; border-radius: 6px; font-size: .9rem; font-weight: 500; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,.1); text-decoration: none; }

.topbar__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.topbar__burger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,.8); border-radius: 2px; transition: .3s; }

@media (max-width:700px) {
  .topbar__burger { display: flex; margin-left: auto; }
  .topbar__nav { display: none; position: fixed; inset: 60px 0 0 0; background: var(--secondary); flex-direction: column; align-items: flex-start; padding: 20px 16px; gap: 4px; z-index: 199; overflow-y: auto; }
  .topbar__nav.open { display: flex; }
  .nav-link { width: 100%; }
}

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 20px; border-radius: var(--radius); font-weight: 600; font-size: .9rem; cursor: pointer; border: none; transition: .15s; white-space: nowrap; }
.btn:hover { opacity: .9; transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-primary  { background: var(--primary); color: #fff; }
.btn-outline  { background: transparent; border: 1.5px solid var(--primary); color: var(--primary); }
.btn-outline-light { background: transparent; border: 1.5px solid rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-success  { background: var(--success); color: #fff; }
.btn-danger   { background: var(--danger);  color: #fff; }
.btn-sm       { padding: 6px 14px; font-size: .82rem; }
.btn-block    { width: 100%; display: flex; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ── Forms ── */
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: .85rem; font-weight: 600; color: #495057; }
.form-control { width: 100%; padding: 10px 13px; border: 1.5px solid #dee2e6; border-radius: var(--radius); font-size: .95rem; color: var(--text); background: #fff; transition: border-color .15s, box-shadow .15s; }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent); }
.form-control--sm { padding: 7px 10px; font-size: .85rem; }
textarea.form-control { resize: vertical; min-height: 90px; }
.form-grid { display: grid; gap: 14px 20px; }
.form-grid--2 { grid-template-columns: 1fr; }
.form-grid--3 { grid-template-columns: 1fr; }
@media (min-width:600px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width:900px) { .form-grid--3 { grid-template-columns: 1fr 1fr 1fr; } }
.form-group--full { grid-column: 1 / -1; }
.checkbox-label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: .9rem; font-weight: 400; }
.checkbox-label input { width: 16px; height: 16px; accent-color: var(--primary); flex-shrink: 0; }
.text-danger { color: var(--danger); }

/* ── Cards ── */
.card { background: var(--white); border-radius: var(--radius-lg); border: var(--border); padding: 20px; box-shadow: var(--shadow); }
.card + .card { margin-top: 14px; }
.card__head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.card__title { font-size: 1.1rem; margin-bottom: 16px; }
.card__subtitle { font-size: .95rem; font-weight: 600; color: #495057; margin-bottom: 12px; }
.card--cta { border: 2px solid var(--primary); }

/* ── Badges ── */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: .78rem; font-weight: 700; background: #e9ecef; color: #495057; }
.badge--type { background: #e7f5ff; color: var(--info); }
.badge--success { background: #ebfbee; color: var(--success); }
.badge--count { background: var(--primary); color: #fff; }

/* ── Alerts ── */
.alert { padding: 12px 16px; border-radius: var(--radius); font-size: .9rem; font-weight: 500; }
.alert-success { background: #ebfbee; color: var(--success); border: 1px solid #b2f2bb; }
.alert-error   { background: #fff5f5; color: var(--danger);  border: 1px solid #ffc9c9; }

/* ── Tabs ── */
.tabs { display: flex; gap: 2px; background: #f1f3f5; border-radius: var(--radius); padding: 4px; margin-bottom: 16px; flex-wrap: wrap; }
.tab { flex: 1; min-width: max-content; padding: 8px 14px; border: none; background: transparent; border-radius: 8px; font-weight: 600; font-size: .85rem; cursor: pointer; color: var(--text-muted); white-space: nowrap; }
.tab.active { background: var(--white); color: var(--secondary); box-shadow: var(--shadow); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Tables ── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { background: #f8f9fa; font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); padding: 10px 12px; text-align: left; border-bottom: 2px solid #dee2e6; }
.table td { padding: 11px 12px; border-bottom: var(--border); vertical-align: middle; }
.table tr:hover td { background: #f8f9fc; }
.empty-state { text-align: center; color: var(--text-muted); padding: 40px 20px; font-size: .95rem; }

/* ── Hero ── */
.hero { background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%); padding: 60px 0; }
.hero__inner { text-align: center; }
.hero__title { color: #fff; font-size: clamp(1.6rem, 5vw, 2.6rem); margin-bottom: 12px; }
.hero__subtitle { color: rgba(255,255,255,.75); font-size: 1.1rem; margin-bottom: 36px; }
.search-box { display: flex; flex-direction: column; gap: 8px; background: #fff; border-radius: var(--radius-lg); padding: 10px; max-width: 680px; margin-inline: auto; box-shadow: var(--shadow-md); }
.search-box__input, .search-box__select { flex: 1; padding: 10px 14px; border: none; border-radius: 8px; font-size: .95rem; background: #f8f9fa; }
.search-box__input:focus, .search-box__select:focus { outline: none; background: #fff; box-shadow: 0 0 0 2px var(--primary); }
.search-box__btn { width: 100%; }
@media (min-width:600px) { .search-box { flex-direction: row; } .search-box__btn { width: auto; } }

/* ── Stats bar ── */
.stats-bar { background: var(--white); border-bottom: var(--border); }
.stats-bar__inner { display: flex; justify-content: center; gap: 40px; padding: 20px 0; flex-wrap: wrap; }
.stat-card { display: flex; align-items: center; gap: 12px; }
.stat-card strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--secondary); }
.stat-card span { font-size: .85rem; color: var(--text-muted); }

/* ── Jobs Grid ── */
.jobs-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width:600px) { .jobs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width:900px) { .jobs-grid { grid-template-columns: repeat(3, 1fr); } }
.job-card { background: var(--white); border-radius: var(--radius-lg); padding: 22px; border: var(--border); cursor: pointer; transition: .2s; box-shadow: var(--shadow); }
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.job-card__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.job-card__title { font-size: 1rem; font-weight: 700; color: var(--secondary); }
.job-card__company { font-size: .85rem; color: var(--text-muted); margin-top: 2px; }
.job-card__meta { font-size: .82rem; color: var(--text-muted); margin-bottom: 10px; }
.job-card__desc { font-size: .87rem; color: #495057; line-height: 1.5; margin-bottom: 12px; }
.job-card__salary { font-weight: 700; color: var(--success); font-size: .95rem; }

/* ── Section ── */
.section { padding: 48px 0; }
.section__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.section__head h2 { font-size: 1.5rem; }

/* ── CTA section ── */
.cta-section { background: var(--secondary); padding: 48px 0; }
.cta-section__inner { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width:600px) { .cta-section__inner { grid-template-columns: 1fr 1fr; } }
.cta-box { background: rgba(255,255,255,.06); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; border: 1px solid rgba(255,255,255,.1); }
.cta-box h2 { color: #fff; font-size: 1.4rem; margin-bottom: 10px; }
.cta-box p { color: rgba(255,255,255,.7); margin-bottom: 20px; }
.cta-box--dark { background: var(--primary); border-color: transparent; }

/* ── Job Detail ── */
.job-detail-layout { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 24px 0; }
@media (min-width:768px) { .job-detail-layout { grid-template-columns: 1fr 320px; } }
.job-detail__main {}
.job-detail__side { display: flex; flex-direction: column; gap: 14px; }
.job-detail__header { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; flex-wrap: wrap; }
.job-detail__logo { width: 56px; height: 56px; border-radius: 10px; border: var(--border); object-fit: contain; }
.job-detail__badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.job-detail__title { font-size: 1.5rem; margin-bottom: 4px; }
.job-detail__company { color: var(--text-muted); font-size: 1rem; }
.job-detail__location { color: var(--text-muted); font-size: .9rem; margin-top: 4px; }
.job-detail__section { margin-top: 24px; padding-top: 24px; border-top: var(--border); }
.job-detail__section h2 { font-size: 1.1rem; margin-bottom: 12px; }
.rich-text { line-height: 1.8; color: #495057; font-size: .95rem; }
.rich-text ul, .rich-text ol { padding-left: 20px; }

.cta-salary { font-size: 1.4rem; font-weight: 800; color: var(--success); text-align: center; margin-bottom: 14px; }
.cta-msg { font-size: .9rem; color: var(--text-muted); text-align: center; margin-bottom: 12px; }

.info-list { list-style: none; }
.info-list li { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 8px 0; border-bottom: var(--border); font-size: .9rem; }
.info-list li:last-child { border-bottom: none; }
.info-list li span { color: var(--text-muted); flex-shrink: 0; }
.info-list li strong { text-align: right; }

/* ── Tags ── */
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 4px 12px; background: #f1f3f5; color: #495057; border-radius: 20px; font-size: .82rem; font-weight: 600; }
.tag--blue { background: #e7f5ff; color: var(--info); }

/* ── Share buttons ── */
.share-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn { padding: 8px 16px; border-radius: 8px; font-size: .85rem; font-weight: 600; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; border: none; cursor: pointer; }
.share-btn--linkedin  { background: #0077b5; }
.share-btn--facebook  { background: #1877f2; }
.share-btn--whatsapp  { background: #25d366; }
.share-btn--instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.share-btn--copy      { background: #495057; }

/* ── Avatar ── */
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.avatar--lg { width: 72px; height: 72px; font-size: 1.8rem; margin-inline: auto; }
.avatar--sm { width: 32px; height: 32px; font-size: .85rem; }

/* ── User menu ── */
.user-menu { position: relative; }
.user-menu__trigger { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.1); border: none; border-radius: 8px; padding: 6px 12px; color: #fff; cursor: pointer; font-size: .9rem; }
.user-menu__trigger:hover { background: rgba(255,255,255,.2); }
.user-menu__dropdown { display: none; position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); border: var(--border); min-width: 140px; z-index: 300; }
.user-menu:hover .user-menu__dropdown { display: block; }
.user-menu__dropdown a { display: block; padding: 10px 16px; font-size: .9rem; color: var(--text); }
.user-menu__dropdown a:hover { background: #f8f9fa; }

/* ── Notifications ── */
.notif-wrap { position: relative; }
.notif-btn { background: rgba(255,255,255,.1); border: none; border-radius: 8px; padding: 6px 10px; color: #fff; cursor: pointer; font-size: 1.1rem; position: relative; }
.notif-btn:hover { background: rgba(255,255,255,.2); }
.notif-badge { position: absolute; top: -4px; right: -4px; background: var(--primary); color: #fff; font-size: .65rem; font-weight: 700; border-radius: 20px; min-width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; }
.notif-dropdown { display: none; position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: var(--border); width: min(340px, 95vw); z-index: 300; max-height: 380px; overflow-y: auto; }
.notif-wrap.open .notif-dropdown { display: block; }
.notif-item { padding: 12px 16px; border-bottom: var(--border); cursor: pointer; }
.notif-item:hover { background: #f8f9fa; }
.notif-item.unread { background: #f0f4ff; }
.notif-item__title { font-weight: 600; font-size: .88rem; margin-bottom: 3px; }
.notif-item__msg { font-size: .82rem; color: var(--text-muted); }

/* ── Profile layout ── */
.profile-layout { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 24px 0; }
@media (min-width:768px) { .profile-layout { grid-template-columns: 260px 1fr; } }
.profile-card { text-align: center; }
.profile-card .avatar { margin: 0 auto 12px; }
.profile-card__name { font-size: 1.1rem; margin-bottom: 4px; }
.profile-card__role { color: var(--text-muted); font-size: .9rem; }
.profile-card__loc  { color: var(--text-muted); font-size: .85rem; margin-top: 4px; }
.profile-side { display: flex; flex-direction: column; gap: 14px; }

/* ── Timeline ── */
.timeline-item { padding: 14px 0; border-bottom: var(--border); }
.timeline-item:last-child { border-bottom: none; }
.timeline-item__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; margin-bottom: 5px; }
.timeline-item__desc { font-size: .88rem; color: #495057; margin-top: 4px; line-height: 1.5; }

/* ── Application items ── */
.app-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: var(--border); flex-wrap: wrap; }
.app-item:last-child { border-bottom: none; }
.app-item__status { flex-shrink: 0; text-align: right; }
.app-item__feedback { font-size: .82rem; color: #495057; margin-top: 6px; max-width: 280px; }

/* ── Upload zone ── */
.upload-zone { border: 2px dashed #dee2e6; border-radius: var(--radius-lg); padding: 40px 20px; text-align: center; cursor: pointer; transition: .2s; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.upload-zone:hover, .upload-zone.drag-over { border-color: var(--primary); background: #fff5f6; }
.upload-zone__icon { font-size: 2.5rem; }
.link-like { color: var(--primary); font-weight: 600; cursor: pointer; }
.loading-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 40px; }
.spinner { width: 36px; height: 36px; border: 3px solid #dee2e6; border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Modals ── */
.modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1000; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; }
.modal__box { background: #fff; border-radius: var(--radius-lg); padding: 24px; width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; }
.modal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.modal__head h3 { font-size: 1.1rem; }
.modal__head button { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-muted); line-height: 1; }

/* ── Footer ── */
.footer { background: var(--secondary); color: rgba(255,255,255,.7); padding: 40px 0 0; margin-top: 60px; }
.footer__inner { display: grid; grid-template-columns: 1fr; gap: 24px; padding-bottom: 32px; }
@media (min-width:600px) { .footer__inner { grid-template-columns: 1fr 1fr 1fr; } }
.footer__brand p { font-size: .85rem; margin-top: 8px; }
.footer__links, .footer__social { display: flex; flex-direction: column; gap: 8px; }
.footer__links a, .footer__social a { color: rgba(255,255,255,.7); font-size: .9rem; }
.footer__links a:hover, .footer__social a:hover { color: #fff; }
.footer__copy { border-top: 1px solid rgba(255,255,255,.1); padding: 14px 0; font-size: .8rem; color: rgba(255,255,255,.4); }

/* ── Back link ── */
.back-link { display: inline-flex; align-items: center; gap: 4px; color: var(--text-muted); font-size: .9rem; font-weight: 500; padding: 8px 0; }
.back-link:hover { color: var(--primary); }

/* ── Score badge ── */
.score-badge { display: inline-flex; flex-direction: column; align-items: center; padding: 5px 10px; border-radius: var(--radius); font-weight: 700; font-size: .85rem; text-align: center; line-height: 1.2; }
.score-badge small { font-size: .7rem; font-weight: 400; }

/* ── Filter bar ── */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }

/* ── Compat ── */
.compat-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.compat-badge { padding: 4px 12px; border-radius: 20px; font-size: .78rem; font-weight: 700; }
.compat-detail__inner { padding: 12px 16px; background: #f8f9fa; border-radius: var(--radius); display: flex; flex-wrap: wrap; gap: 10px; }
.compat-dim { font-size: .85rem; padding: 5px 10px; background: #fff; border-radius: 6px; border: var(--border); }

/* ── Mini bar ── */
.mini-bar { height: 6px; background: #e9ecef; border-radius: 3px; width: 60px; overflow: hidden; }
.mini-bar__fill { height: 100%; border-radius: 3px; }

/* ── Simple list ── */
.simple-list { list-style: none; }
.simple-list li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: var(--border); font-size: .9rem; gap: 10px; }
.simple-list li:last-child { border-bottom: none; }

/* ── Color picker ── */
.color-input-wrap { display: flex; gap: 8px; align-items: center; }
.color-picker { width: 48px; height: 38px; padding: 2px; border: var(--border); border-radius: var(--radius); cursor: pointer; }
.color-text { flex: 1; }
.color-preview { border-radius: var(--radius-lg); overflow: hidden; border: var(--border); margin-bottom: 20px; }
.color-preview__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; }

/* ── Logo upload ── */
.logo-upload-section { border: var(--border); border-radius: var(--radius-lg); padding: 20px; background: #f8f9fa; margin-bottom: 16px; }
.logo-upload-section h4 { margin-bottom: 12px; font-size: .95rem; }
.logo-preview { min-height: 60px; display: flex; align-items: center; }
.logo-placeholder { color: var(--text-muted); font-size: .85rem; }

/* ── Main content ── */
.main-content { min-height: calc(100vh - 60px - 200px); }

/* ── Responsive forms ── */
.form-layout { max-width: 760px; margin-inline: auto; padding: 24px 0; }

/* ── Dashboard grid ── */
.dashboard-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width:768px) { .dashboard-grid { grid-template-columns: 1fr 340px; } }

/* ── Auth pages ── */
.auth-wrap { min-height: calc(100vh - 60px); display:flex; align-items:center; justify-content:center; padding:24px 16px; }
.auth-wrap--wide { align-items:flex-start; padding-top:32px; padding-bottom:40px; }
.auth-card { background:#fff; border-radius:var(--radius-lg); padding:36px 32px; width:100%; max-width:460px; box-shadow:var(--shadow-md); border:var(--border); }
.auth-card--wide { max-width:680px; }
.auth-card__logo { text-align:center; margin-bottom:20px; }
.auth-card__title { font-size:1.5rem; text-align:center; margin-bottom:6px; }
.auth-card__sub { text-align:center; color:var(--text-muted); font-size:.9rem; margin-bottom:24px; }
.auth-card__footer { text-align:center; margin-top:18px; font-size:.9rem; color:var(--text-muted); }
.auth-card__footer a { font-weight:600; }
.section-label { font-size:.85rem; font-weight:700; text-transform:uppercase; letter-spacing:.5px; color:var(--text-muted); margin-bottom:12px; padding-bottom:8px; border-bottom:var(--border); }

/* ── Jobs page hero ── */
.jobs-hero { background:linear-gradient(135deg, var(--secondary), var(--accent)); padding:32px 0; color:#fff; }
.jobs-hero h1 { color:#fff; font-size:1.8rem; margin-bottom:4px; }
.jobs-filter-bar { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.jobs-filter-bar .form-control { flex:1; min-width:140px; }

/* ── Pagination ── */
.pagination { display:flex; align-items:center; justify-content:center; gap:10px; padding:12px 0; }
.page-info { font-size:.9rem; color:var(--text-muted); }

/* ── Admin job_detail (alias recruiter) ── */
.admin .job-detail-layout { grid-template-columns: 1fr 280px; }

/* ── Logo fixes ── */
.topbar__logo-img { max-height: 38px; max-width: 180px; width: auto; object-fit: contain; display: block; }
.avatar--xs { width: 28px; height: 28px; font-size: .8rem; }
/* Uploads - garante que logo no painel também não estoure */
.sidebar__logo img { max-height: 36px; max-width: 160px; object-fit: contain; }

/* ── Módulos ── */
.modules-grid { display:grid; grid-template-columns:1fr; gap:12px; }
@media(min-width:640px){ .modules-grid{ grid-template-columns:1fr 1fr; } }
.module-card { display:flex; align-items:flex-start; gap:14px; padding:18px; border-radius:12px; border:2px solid #e9ecef; background:#fff; transition:.2s; }
.module-card--on  { border-color:var(--primary); background:color-mix(in srgb,var(--primary) 5%,white); }
.module-card--off { opacity:.65; }
.module-card__icon { font-size:1.8rem; flex-shrink:0; }
.module-card__body { flex:1; }
.module-card__title { font-weight:700; font-size:.95rem; margin-bottom:4px; }
.module-card__desc  { font-size:.82rem; color:#495057; line-height:1.5; }
.toggle-switch { position:relative; display:inline-block; width:44px; height:24px; flex-shrink:0; margin-top:4px; }
.toggle-switch input { opacity:0; width:0; height:0; }
.toggle-slider { position:absolute; inset:0; background:#dee2e6; border-radius:24px; cursor:pointer; transition:.25s; }
.toggle-slider::before { content:''; position:absolute; width:18px; height:18px; left:3px; top:3px; background:#fff; border-radius:50%; transition:.25s; box-shadow:0 1px 4px rgba(0,0,0,.2); }
.toggle-switch input:checked + .toggle-slider { background:var(--primary); }
.toggle-switch input:checked + .toggle-slider::before { transform:translateX(20px); }
