:root {
  --green: #53c63d;
  --green-2: #2f9925;
  --green-soft: #ecfaea;
  --dark: #07090b;
  --dark-2: #111417;
  --text: #15171a;
  --muted: #73777d;
  --line: #e8eaee;
  --surface: #ffffff;
  --bg: #f6f7f8;
  --shadow: 0 16px 45px rgba(7, 9, 11, 0.08);
  --radius: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.icon { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.site-top {
  background: rgba(7, 9, 11, 0.96);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
}
.header { height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; min-width: max-content; }
.brand-logo { width: 178px; height: auto; display: block; }
.footer-logo { width: 162px; height: auto; display: block; margin-bottom: 12px; }
.nav { display: flex; align-items: center; gap: 32px; margin-left: auto; font-weight: 700; font-size: 15px; }
.nav a { opacity: 0.88; transition: 0.2s ease; }
.nav a:hover { color: var(--green); opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.btn {
  border: 0;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 22px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(180deg, #62d34d, #39a92e); box-shadow: 0 10px 25px rgba(83, 198, 61, 0.25); }
.btn-outline-green { color: #fff; border: 1px solid var(--green); background: rgba(83, 198, 61, 0.06); }
.btn-outline-dark { color: #fff; border: 1px solid rgba(255, 255, 255, 0.42); background: rgba(255, 255, 255, 0.04); }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); color: #fff; cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 20px; height: 2px; background: currentColor; margin: 5px auto; border-radius: 10px; transition: 0.2s ease; }
.mobile-panel { display: none; border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 14px 0 20px; }
.mobile-panel a, .mobile-panel button { width: 100%; justify-content: center; margin-top: 10px; display: flex; }
.mobile-panel a:not(.btn) { padding: 12px 0; color: #fff; font-weight: 800; }

.hero-wrap {
  background:
    radial-gradient(circle at 15% 30%, rgba(83, 198, 61, 0.08), transparent 26%),
    radial-gradient(circle at 85% 24%, rgba(83, 198, 61, 0.12), transparent 24%),
    linear-gradient(180deg, #07090b, #0a0d10 72%, #080a0c);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1.2px);
  background-size: 18px 18px;
  opacity: 0.14;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
  pointer-events: none;
}
.hero { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 42px; min-height: 405px; padding: 44px 0 52px; }
.hero-copy h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.065em; font-weight: 950; max-width: 650px; margin-bottom: 18px; }
.hero-copy h1 span { color: var(--green); }
.hero-copy p { color: rgba(255, 255, 255, 0.78); font-size: 17px; max-width: 570px; margin-bottom: 28px; }
.search-box { width: min(650px, 100%); background: #fff; border-radius: 13px; padding: 13px; display: grid; grid-template-columns: 1.1fr 0.86fr auto; gap: 10px; box-shadow: 0 22px 50px rgba(0, 0, 0, 0.26); }
.field { min-height: 60px; border: 1px solid #e7e9ed; border-radius: 10px; display: flex; align-items: center; gap: 12px; padding: 0 14px; color: var(--text); background: #fff; }
.field-icon { width: 22px; height: 22px; color: #5f6368; flex: 0 0 auto; }
.field label { display: block; font-weight: 850; font-size: 13px; margin-bottom: 1px; }
.field input, .field select { border: 0; outline: 0; color: var(--muted); width: 100%; background: transparent; font-size: 12px; appearance: none; }
.search-button { min-height: 60px; padding: 0 28px; border-radius: 10px; border: 0; color: #fff; font-weight: 900; cursor: pointer; background: linear-gradient(180deg, #64d54e, #3dac31); }
.quick-searches { margin-top: 20px; }
.quick-searches strong { display: block; font-size: 13px; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { min-height: 31px; display: inline-flex; align-items: center; gap: 7px; padding: 0 13px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.86); background: rgba(255, 255, 255, 0.09); font-size: 12px; font-weight: 800; }
.hero-art { min-height: 330px; display: grid; align-items: center; justify-items: end; }
.hero-art img { width: min(560px, 100%); height: auto; display: block; object-fit: contain; border-radius: 22px; filter: drop-shadow(0 22px 42px rgba(83,198,61,.16)); }

main { background: #fff; }
.section { padding: 35px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-title { font-size: 28px; line-height: 1.12; letter-spacing: -0.04em; font-weight: 950; }
.section-title-space { margin-bottom: 20px; }
.view-all { display: inline-flex; align-items: center; gap: 10px; color: var(--green-2); font-weight: 850; font-size: 14px; }
.jobs-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.job-card { min-height: 292px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 20px 18px 17px; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: 0.2s ease; }
.job-card:hover, .area-card:hover, .popular-card:hover { transform: translateY(-3px); border-color: rgba(83,198,61,.45); box-shadow: 0 18px 52px rgba(7,9,11,.12); }
.remote-badge { align-self: flex-start; min-height: 24px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 6px; background: var(--green-soft); border: 1px solid rgba(83, 198, 61, 0.58); color: var(--green-2); font-size: 12px; font-weight: 900; margin-bottom: 22px; }
.company-logo { font-weight: 950; letter-spacing: -0.07em; line-height: 1; font-size: 34px; margin-bottom: 20px; min-height: 36px; }
.company-logo.inter { color: #ff7300; }
.company-logo.stone { color: #0ab545; }
.company-logo.loft { color: #f56e36; }
.company-logo.rd { color: #0b7656; letter-spacing: -0.05em; font-size: 30px; }
.company-logo.nu { color: #8a24f3; }
.job-card h3 { font-size: 18px; line-height: 1.12; letter-spacing: -0.03em; font-weight: 950; margin-bottom: 6px; }
.company-name { color: #575b61; font-size: 14px; margin-bottom: 20px; }
.job-meta { display: grid; gap: 8px; color: #52575d; font-size: 13px; margin-bottom: 18px; }
.job-meta span { display: flex; align-items: center; gap: 7px; }
.card-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #777b81; font-size: 13px; }
.small-btn { min-height: 34px; padding: 0 15px; border-radius: 7px; border: 1px solid rgba(47,153,37,.65); background: #fff; color: var(--green-2); font-weight: 900; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; }
.area-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 19px; }
.area-card { min-height: 126px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 12px 34px rgba(7,9,11,.05); display: grid; place-items: center; text-align: center; padding: 16px 12px; transition: 0.2s ease; }
.area-icon { color: var(--green-2); margin-bottom: 10px; height: 34px; display: grid; place-items: center; font-size: 28px; font-weight: 900; }
.area-card strong { display: block; font-size: 13px; font-weight: 950; margin-bottom: 3px; }
.area-card span { color: #7a7e85; font-size: 12px; }
.center-link { display: flex; justify-content: center; margin-top: 20px; }
.popular-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.popular-card { border: 1px solid var(--line); background: #fff; border-radius: 14px; min-height: 76px; padding: 0 18px; display: flex; align-items: center; gap: 14px; box-shadow: 0 12px 34px rgba(7,9,11,.05); transition: 0.2s ease; }
.popular-icon { color: var(--green-2); flex: 0 0 auto; font-size: 24px; }
.popular-card strong { display: block; font-size: 15px; font-weight: 950; margin-bottom: 2px; }
.popular-card em { color: #7a7e85; font-size: 12px; font-style: normal; display: block; }
.popular-card b { margin-left: auto; font-size: 20px; color: #24282c; }
.cta-telegram { background: radial-gradient(circle at 12% 50%, rgba(83,198,61,.18), transparent 22%), linear-gradient(90deg, #07090b, #0d1114); border-radius: 14px; min-height: 98px; color: #fff; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 22px 44px; overflow: hidden; position: relative; }
.cta-telegram::after { content: ""; width: 160px; height: 42px; border-top: 2px dashed rgba(255,255,255,.45); position: absolute; right: 350px; top: 44px; border-radius: 50%; transform: rotate(8deg); }
.telegram-icon { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #62d34d, #39a92e); box-shadow: 0 18px 40px rgba(83,198,61,.22); flex: 0 0 auto; font-size: 30px; }
.cta-telegram h2 { font-size: 28px; line-height: 1.1; letter-spacing: -0.04em; font-weight: 950; margin-bottom: 4px; }
.cta-telegram p { color: rgba(255,255,255,.76); font-size: 15px; }
.company-cta { margin-top: 24px; min-height: 116px; border-radius: 14px; background: linear-gradient(90deg, #f3f9f2, #fff); display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 26px; padding: 22px 44px; border: 1px solid #edf0ed; }
.company-illustration { height: 84px; width: 210px; object-fit: contain; }
.company-cta h2 { font-size: 27px; line-height: 1.1; letter-spacing: -0.04em; font-weight: 950; margin-bottom: 6px; }
.company-cta p { color: #565b61; max-width: 560px; font-size: 15px; }
.company-cta .company-btn { color: var(--green-2); border: 1px solid rgba(47,153,37,.65); background: #fff; min-width: 210px; }
.footer { background: var(--dark); color: #fff; padding: 44px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(4, 1fr); gap: 44px; }
.footer p { color: rgba(255,255,255,.69); font-size: 13px; max-width: 250px; margin-bottom: 16px; }
.socials { display: flex; gap: 9px; }
.socials a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); color: #fff; font-size: 13px; font-weight: 900; }
.footer h4 { font-size: 13px; text-transform: uppercase; font-weight: 950; margin-bottom: 14px; letter-spacing: 0.02em; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer li, .footer a { color: rgba(255,255,255,.73); font-size: 14px; }
.footer a:hover { color: var(--green); }
.footer-bottom { color: rgba(255,255,255,.55); font-size: 12px; text-align: center; margin-top: 26px; }

@media (max-width: 1160px) {
  .jobs-row { grid-template-columns: repeat(3, 1fr); }
  .jobs-row > .job-card:nth-of-type(n+4) { display: none; }
  .area-grid { grid-template-columns: repeat(4, 1fr); }
  .popular-grid { grid-template-columns: repeat(3, 1fr); }
  .hero { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .search-box { width: 100%; }
}
@media (max-width: 900px) {
  .container { width: min(100% - 32px, var(--container)); }
  .header { height: 78px; }
  .brand-logo { width: 150px; }
  .nav, .header-actions { display: none; }
  .menu-toggle { display: block; }
  body.menu-open .mobile-panel { display: block; }
  body.menu-open .menu-toggle span { opacity: 0; }
  body.menu-open .menu-toggle::before { transform: translateY(7px) rotate(45deg); }
  body.menu-open .menu-toggle::after { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: auto; padding: 36px 0 44px; }
  .search-box { grid-template-columns: 1fr; }
  .search-button { width: 100%; }
  .jobs-row { grid-template-columns: repeat(2, 1fr); }
  .jobs-row > .job-card:nth-of-type(n+3) { display: none; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .popular-grid { grid-template-columns: 1fr; }
  .cta-telegram { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 28px 20px; }
  .cta-telegram::after { display: none; }
  .company-cta { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .brand-logo { width: 136px; }
  .hero-copy h1 { font-size: 39px; }
  .hero-copy p { font-size: 15px; }
  .field { min-height: 58px; }
  .jobs-row { grid-template-columns: 1fr; }
  .jobs-row > .job-card:nth-of-type(n+2) { display: none; }
  .area-grid { gap: 12px; }
  .section { padding: 28px 0; }
  .section-title { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .company-cta .company-btn { min-width: auto; width: 100%; }
  .cta-telegram .btn { width: 100%; }
}

/* Plataforma PHP — ajustes dinâmicos */
.brand-logo-png { width: 220px; max-height: 76px; object-fit: contain; }
.footer-logo { width: 210px; max-width: 100%; display: block; margin-bottom: 12px; filter: drop-shadow(0 10px 24px rgba(0,0,0,.18)); }
.flash-wrap { margin-top: 18px; }
.flash { border-radius: 12px; padding: 14px 16px; font-weight: 800; border: 1px solid transparent; margin-bottom: 16px; }
.flash-success { background: #edffea; color: #256b1f; border-color: #b8ecaf; }
.flash-error { background: #fff0f0; color: #9e2020; border-color: #ffd1d1; }
.flash-info { background: #eef6ff; color: #174c8a; border-color: #cfe5ff; }
.page-main { background: #fff; min-height: 60vh; }
.page-hero { background: radial-gradient(circle at 20% 10%, rgba(83,198,61,.17), transparent 30%), linear-gradient(90deg, #07090b, #11181d); color: #fff; }
.compact-hero { padding: 54px 0; }
.compact-hero h1 { font-size: 46px; line-height: 1.05; letter-spacing: -0.055em; font-weight: 950; margin-bottom: 8px; }
.compact-hero p { color: rgba(255,255,255,.76); max-width: 720px; }
.narrow { max-width: 860px; }
.content-card, .filters-card, .apply-card, .stat-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 24px; }
.content-card h1, .content-card h2, .filters-card h2, .apply-card h3 { letter-spacing: -0.035em; }
.content-card p { color: #4d5359; line-height: 1.65; margin-bottom: 16px; }
.listing-layout { display: grid; grid-template-columns: 295px 1fr; gap: 26px; align-items: start; }
.filters-card { position: sticky; top: 96px; }
.stack-form { display: grid; gap: 16px; }
.stack-form label { display: grid; gap: 7px; color: #22272c; font-weight: 850; font-size: 14px; }
.stack-form input, .stack-form select, .stack-form textarea { width: 100%; border: 1px solid #dfe4e8; border-radius: 10px; min-height: 44px; padding: 10px 12px; font: inherit; color: #1f252b; background: #fff; outline: none; }
.stack-form textarea { min-height: 116px; resize: vertical; line-height: 1.5; }
.stack-form input:focus, .stack-form select:focus, .stack-form textarea:focus { border-color: rgba(83,198,61,.85); box-shadow: 0 0 0 3px rgba(83,198,61,.13); }
.full-btn { width: 100%; justify-content: center; }
.clear-filter { text-align: center; color: var(--green-2); font-weight: 850; }
.listing-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.listing-head h2 { font-size: 26px; letter-spacing: -0.04em; }
.listing-head span { color: #737982; font-size: 13px; }
.jobs-grid-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.job-card-dynamic { min-height: 310px; }
.job-badges { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.job-badges .remote-badge { margin-bottom: 0; }
.featured-badge { min-height: 24px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 6px; background: #fff4d6; border: 1px solid #ffd36b; color: #8a5c00; font-size: 12px; font-weight: 900; }
.featured-badge.inline { margin-left: 8px; vertical-align: middle; }
.company-logo.compact { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(180deg, #64d54e, #3dac31); color: #fff; letter-spacing: 0; font-size: 22px; margin-bottom: 18px; }
.empty-state { border: 1px dashed #cfd6dc; color: #60666d; border-radius: 14px; padding: 28px; text-align: center; background: #fbfcfb; }
.full-grid { grid-column: 1 / -1; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pagination a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 900; }
.pagination a.active { background: var(--green); color: #fff; border-color: var(--green); }
.area-grid-full { grid-template-columns: repeat(4, 1fr); }
.job-detail-hero { padding: 58px 0; color: #fff; background: radial-gradient(circle at 15% 20%, rgba(83,198,61,.18), transparent 34%), linear-gradient(90deg,#07090b,#11181d); }
.job-detail-grid { display: grid; grid-template-columns: 1fr 330px; gap: 28px; align-items: center; }
.job-detail-hero h1 { font-size: 48px; line-height: 1.05; letter-spacing: -0.055em; margin-top: 14px; margin-bottom: 12px; font-weight: 950; }
.job-detail-hero p { color: rgba(255,255,255,.75); }
.job-content-layout { display: grid; grid-template-columns: 1fr 330px; gap: 28px; align-items: start; }
.job-description h2 { margin: 22px 0 10px; font-size: 24px; }
.apply-card { display: grid; gap: 14px; }
.apply-card strong { font-size: 24px; letter-spacing: -0.035em; }
.apply-card span { color: #626870; }
.top-apply-card { color: #111; box-shadow: 0 26px 60px rgba(0,0,0,.28); }
.sticky-apply-card { position: sticky; top: 96px; }
.summary-list { list-style: none; display: grid; gap: 10px; color: #454b52; }
.form-layout { display: grid; justify-items: center; }
.wide-form { width: min(100%, 980px); }
.form-grid { display: grid; gap: 14px; }
.form-grid.two { grid-template-columns: repeat(2, 1fr); }
.auth-box { max-width: 480px; }
.dashboard-layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.panel-nav { display: grid; gap: 8px; position: sticky; top: 96px; }
.panel-nav h2 { margin-bottom: 8px; }
.panel-nav a { padding: 11px 12px; border-radius: 10px; font-weight: 850; color: #333940; }
.panel-nav a.active, .panel-nav a:hover { background: var(--green-soft); color: var(--green-2); }
.panel-main { min-width: 0; }
.panel-main > h1 { font-size: 34px; letter-spacing: -0.05em; margin-bottom: 18px; }
.stat-grid { display: grid; grid-template-columns: repeat(5, minmax(140px, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat-card strong { font-size: 32px; line-height: 1; display: block; color: var(--green-2); }
.stat-card span { color: #656b73; font-weight: 800; font-size: 13px; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 13px 12px; border-bottom: 1px solid #edf0f2; text-align: left; vertical-align: top; font-size: 14px; }
th { color: #60666d; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
td small { color: #6b7179; }
.status-pill { display: inline-flex; min-height: 25px; align-items: center; border-radius: 999px; padding: 0 10px; font-weight: 900; font-size: 12px; }
.status-pending { background: #fff6df; color: #8a5c00; }
.status-approved, .status-active { background: #edffea; color: #256b1f; }
.status-rejected, .status-inactive { background: #fff0f0; color: #9e2020; }
.inline-actions { display: grid; gap: 8px; min-width: 220px; }
.inline-actions input { min-height: 36px; border: 1px solid #dde3e8; border-radius: 9px; padding: 8px 10px; }
.inline-actions .danger { border-color: #e78c8c; color: #a31919; }
.check-inline { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.check-inline input { min-height: auto; width: auto; }
.mini-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-tabs a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; color: #333; font-weight: 850; }
@media (max-width: 1160px) {
  .jobs-grid-list { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .brand-logo-png { width: 160px; }
  .listing-layout, .job-detail-grid, .job-content-layout, .dashboard-layout { grid-template-columns: 1fr; }
  .filters-card, .sticky-apply-card, .panel-nav { position: static; }
  .area-grid-full { grid-template-columns: repeat(2, 1fr); }
  .form-grid.two { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .compact-hero h1, .job-detail-hero h1 { font-size: 34px; }
  .jobs-grid-list { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .content-card, .filters-card, .apply-card, .stat-card { padding: 18px; }
}

/* Admin — ações, edição e análise de vagas/empresas */
.small-btn.danger { border-color: #e78c8c; color: #a31919; background: #fff; }
.small-btn.danger:hover { background: #fff5f5; }
.actions-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 120px; }
.actions-stack form { margin: 0; }
.actions-stack.horizontal { flex-direction: row; align-items: center; flex-wrap: wrap; }
.align-start { align-items: flex-start; }
.admin-detail-grid { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 12px; margin: 18px 0 8px; }
.admin-detail-grid > div { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fbfcfb; }
.admin-detail-grid strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #697079; margin-bottom: 4px; }
.admin-detail-grid span { color: #20262c; font-weight: 750; }
.admin-job-preview { margin-top: 20px; }
.admin-job-preview a { color: var(--green-2); font-weight: 800; word-break: break-word; }
.admin-check { align-content: end; min-height: 72px; }
@media (max-width: 1100px) { .admin-detail-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .admin-detail-grid { grid-template-columns: 1fr; } .actions-stack.horizontal { align-items: stretch; } .actions-stack.horizontal .small-btn, .actions-stack.horizontal .btn { width: 100%; } }

.content-note { background: #f6faf5; border: 1px solid #dcefd8; border-radius: 14px; padding: 14px 16px; margin: 16px 0 20px; color: #333940; }
.content-note p { margin: 6px 0; }
.soft-divider { border: 0; border-top: 1px solid #edf0f2; margin: 24px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(6, minmax(120px, 1fr)); gap: 14px; margin: 18px 0 22px; }
code { background: #f1f4f2; border: 1px solid #e0e6e2; border-radius: 7px; padding: 2px 6px; font-size: 12px; }
@media (max-width: 980px) { .stats-grid { grid-template-columns: repeat(2, minmax(120px, 1fr)); } }
@media (max-width: 560px) { .stats-grid { grid-template-columns: 1fr; } }

/* Anúncios / AdSense */
.ad-slot { width: 100%; margin: 14px 0; text-align: center; overflow: hidden; }
.job-detail-hero .ad-slot { margin: 16px 0; }
.apply-card .ad-slot { margin: 4px 0; }
.code-textarea { font-family: Consolas, Monaco, 'Courier New', monospace; font-size: 13px; line-height: 1.45; min-height: 170px; }

/* Admin — seleção em massa de vagas */
.bulk-actions-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfb; }
.bulk-actions-bar select { min-height: 38px; border: 1px solid #dde3e8; border-radius: 10px; padding: 8px 10px; font-weight: 750; background: #fff; }
.admin-bulk-form .select-col { width: 42px; }
.admin-job-check { width: 16px; height: 16px; }

/* Botões principais e correções visuais */
.btn-green {
  color: #fff;
  background: linear-gradient(180deg, #62d34d, #39a92e);
  box-shadow: 0 10px 25px rgba(83, 198, 61, 0.22);
}
.btn-green:hover { background: linear-gradient(180deg, #6fe05a, #36a32c); }
.btn.disabled, .btn[disabled] { opacity: .55; cursor: not-allowed; pointer-events: none; transform: none; }
.cta-telegram .btn { position: relative; z-index: 2; min-width: 150px; }
.cta-telegram > * { position: relative; z-index: 1; }
.cta-telegram::after { z-index: 0; pointer-events: none; }
.header-actions .btn, .company-cta .btn, .cta-telegram .btn { text-decoration: none; }

/* Turnstile */
.turnstile-wrap { margin: 8px 0 4px; min-height: 65px; display: flex; align-items: center; }
.auth-box .turnstile-wrap { justify-content: center; }

/* Página intermediária de candidatura */
.apply-warning-card h1 { font-size: 34px; letter-spacing: -0.04em; margin-bottom: 8px; }
.warning-box { background: #fff7cb; border-left: 5px solid #ffca3a; border-radius: 6px; padding: 16px 18px; margin: 18px 0 22px; line-height: 1.55; color: #1b1b1b; }
.safe-apply-list { display: grid; gap: 12px; margin: 18px 0 22px 20px; color: #22272c; }
.safe-apply-list a { color: var(--green-2); font-weight: 800; text-decoration: underline; }
.safe-confirm { margin: 14px 0 18px; }
.safe-confirm input { width: 16px; height: 16px; }

/* Vagas semelhantes */
.related-jobs-section { background: #fff; padding-top: 0; }
.related-jobs-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .related-jobs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .related-jobs-grid { grid-template-columns: 1fr; } }

/* Admin — menu de configurações */
.panel-nav-group { display: grid; gap: 6px; }
.panel-nav-parent { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.panel-nav-arrow { font-size: 20px; line-height: 1; transition: transform .2s ease; }
.panel-nav-group.open .panel-nav-arrow { transform: rotate(90deg); }
.panel-subnav { display: grid; gap: 4px; margin: -2px 0 4px 12px; padding-left: 12px; border-left: 2px solid #e3f3df; }
.panel-subnav a { padding: 8px 10px; border-radius: 9px; font-size: 13px; color: #4e555c; }
.panel-subnav a.active, .panel-subnav a:hover { background: #f2fbef; color: var(--green-2); }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 14px; margin-top: 18px; }
.settings-card { display: grid; gap: 8px; min-height: 130px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fbfcfb; color: #20262c; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.settings-card strong { font-size: 18px; letter-spacing: -0.025em; }
.settings-card span { color: #626970; line-height: 1.45; }
.settings-card:hover { transform: translateY(-1px); border-color: rgba(83,198,61,.55); box-shadow: 0 16px 36px rgba(20, 30, 20, .08); }
@media (max-width: 720px) { .settings-grid { grid-template-columns: 1fr; } }

/* Ajustes de importação/parceiro */
.remote-badge.hybrid-badge { background: #fff7e8; border-color: rgba(255, 166, 48, .55); color: #a85c00; }
.job-description ul, .job-description ol { margin: 10px 0 18px 22px; color: #344054; line-height: 1.72; }
.job-description li { margin: 6px 0; }
.pagination .ellipsis { width: 38px; height: 38px; display: grid; place-items: center; color: #737982; font-weight: 900; }
.pagination a.disabled { pointer-events: none; opacity: .45; }
