/* Reset e Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  color: #333;
  background: #f8f9fa;
  line-height: 1.6;
  overflow-x: hidden;
}

.responsive-media,
img,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-width {
  max-width: 680px;
  margin: 0 auto;
}

.section-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 20px;
  padding-right: 20px;
}

/* Header */
.header {
  background: #fff;
  color: #333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 12px;
}

.logo {
  margin: 0;
  font-size: clamp(0.8rem, 5vw, 1.8rem);
  font-weight: 700;
  color: #e91e63;
  background: linear-gradient(135deg, #e91e63, #ff6b35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-flex;
  align-items: center;
  white-space: nowrap; /* impede quebra de linha no "Fast Vagas" */
  flex-shrink: 1; /* permite reduzir sem estourar */
}

.logo-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  object-fit: contain;
}
.logo-link {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 1; /* permite reduzir no mobile */
}
.header .header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header nav a,
.logged-email {
  display: inline-flex;
  align-items: center;
}
.role-switch {
  display: flex;
  gap: 4px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  padding: 4px;
}
.role-switch__btn {
  border: 0;
  background: transparent;
  border-radius: 9999px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #6b7280;
  cursor: pointer;
}
.role-switch__btn--active {
  background: #fff;
  color: #ff4400;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.header nav a {
  color: #666;
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(0.85rem, 3.3vw, 1rem);
  transition: color 0.3s ease;
}

.header nav a:hover {
  color: #e91e63;
}

.header .btn {
  background: linear-gradient(135deg, #e91e63, #ff6b35);
  color: #fff;
  padding: clamp(4px, 2.2vw, 12px) clamp(6px, 5vw, 24px);
  border-radius: 25px;
  font-weight: 600;
  font-size: clamp(0.3rem, 1vw, 1rem);
  line-height: 1;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
  white-space: nowrap; /* impede quebra de linha no "Cadastrar Vaga" */
}
.header .btn.cta-gradient {
  background: linear-gradient(
    90deg,
    #ffb800 0%,
    #ff4400 50%,
    #d80000 100%
  ) !important;
  box-shadow: 0 4px 15px rgba(255, 68, 0, 0.3);
}

.header .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.logged-email {
  color: #666;
  font-weight: 600;
  font-size: clamp(0.75rem, 3vw, 0.9rem);
  margin-right: 10px;
}

/* Footer */
.footer {
  background: #fff;
  border-top: 1px solid #e9ecef;
  margin-top: 60px;
  padding: 40px 0;
  text-align: center;
  color: #666;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="0,0 1000,0 1000,100 0,80"/></svg>')
    no-repeat bottom;
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 0;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #181210;
  font-weight: 600;
  margin-bottom: 16px;
}

h2 {
  margin-top: 0;
  font-size: 2.2rem;
  margin-bottom: 32px;
}

/* Buttons */
.btn {
  background: linear-gradient(90deg, #ffb800 0%, #ff4400 50%, #d80000 100%);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn.cta-gradient {
  background: linear-gradient(
    90deg,
    #ffb800 0%,
    #ff4400 50%,
    #d80000 100%
  ) !important;
  box-shadow: 0 4px 15px rgba(255, 68, 0, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.btn.secondary {
  background: linear-gradient(135deg, #6c757d, #495057);
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.btn.small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-ver-mais {
  background: #f8f9fa !important;
  color: #000 !important;
  border: 2px solid #e9ecef !important;
  width: 100px !important;
  height: 36px !important;
  min-width: 100px !important;
  min-height: 36px !important;
  max-width: 100px !important;
  max-height: 36px !important;
  text-align: center;
  font-weight: 500;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  font-size: 0.85rem !important;
  line-height: 1 !important;
}

.btn-ver-mais:hover {
  background: #e9ecef !important;
  color: #000 !important;
  transform: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Seção de Pesquisa */
.search-section {
  margin-bottom: 40px;
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.search-bar {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: stretch;
}

.search-bar--code {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}
.search-bar--code .search-bar__input {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  min-width: 0;
}
.search-bar--code .search-bar__input input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
}
.search-bar--code .search-bar__icon {
  color: #999;
}
.search-bar--code #toggleFilters {
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(255, 68, 0, 0.25);
  background: linear-gradient(
    90deg,
    #ffb800 0%,
    #ff4400 50%,
    #d80000 100%
  ) !important;
  color: #fff;
}

.search-bar input {
  flex: 1;
  padding: 16px 20px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.search-bar input:focus {
  outline: none;
  border-color: #e91e63;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.search-bar button {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.search-bar button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* Filtros */
.filters {
  background: #f8f9fa;
  padding: 32px;
  border-radius: 16px;
  border: 2px solid #e9ecef;
  animation: slideDown 0.3s ease-out;
  margin-bottom: 24px;
}

.filters--code {
  background: #fff;
  border: 1px solid #e7deda;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}
.filters--code .filter-group label {
  font-weight: 700;
  color: #181210;
}
.filters--code .filter-group input,
.filters--code .filter-group select {
  background: #fff;
  border: 1px solid #e7deda;
  border-radius: 12px;
  padding: 14px 16px;
}
.filters--code .filter-actions {
  border-top: 1px solid #f0e8e5;
  padding-top: 20px;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.filter-group {
  margin-bottom: 20px;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #495057;
  font-size: 14px;
}

.filter-group input,
.filter-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
}

.filter-group input:focus,
.filter-group select:focus {
  outline: none;
  border-color: #e91e63;
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.filter-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.filter-actions button {
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.filter-actions button[type="submit"] {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.filter-actions button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.filter-actions button[type="button"] {
  background: linear-gradient(135deg, #6c757d, #495057);
  color: white;
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.filter-actions button[type="button"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

/* Form Header */
.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-header h2 {
  color: #2c3e50;
  margin-bottom: 12px;
}

.form-header p {
  color: #6c757d;
  font-size: 1.1rem;
  margin: 0;
}

/* Forms */
.form {
  background: #fff;
  border: 2px solid #e9ecef;
  padding: 32px;
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.modern-form {
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #495057;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e91e63;
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}

.checkbox-group {
  margin-bottom: 5px !important;
  display: flex;
  align-items: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 500;
  color: #495057;
  padding: 12px 0;
  position: relative;
}

.checkbox-label input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 0;
  opacity: 0;
  position: absolute;
  left: 0;
}

.checkmark {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2px solid #e9ecef;
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
  background: #fff;
}

.checkbox-text {
  position: relative;
  top: -6px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: linear-gradient(135deg, #e91e63, #ff6b35);
  border-color: #e91e63;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 12px;
}

.form-actions {
  margin-top: 40px;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #e91e63, #ff6b35);
  padding: 16px 48px;
  font-size: 16px;
  position: relative;
  min-width: 200px;
}

.btn-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 2px solid #e9ecef;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden; /* impede conteúdo escapar do card */
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-color: #e91e63;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap; /* mantém ações na mesma linha, à direita */
  gap: 12px; /* espaçamento entre título e ações */
}
.card-header > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
}
.card-title {
  display: block;
  width: 100%;
}

.card-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex: 0 0 auto;
  max-width: 100%;
  margin-left: auto; /* força ir para a direita */
}

.salary-header {
  color: #28a745;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  margin-right: 10px; /* espaço à direita do salário no header */
}

.card-title {
  margin: 0;
  color: #2c3e50;
  font-size: 1.3rem;
  font-weight: 600;
}

.tag {
  display: inline-block;
  background: linear-gradient(135deg, #e91e63, #ff6b35);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-right: 8px;
  margin-top: 8px;
  font-weight: 500;
}

.card-details {
  margin-top: 16px;
  display: none;
}

.card-details.open {
  display: block;
}

.small {
  color: #6c757d;
  font-size: 0.9rem;
}

/* Utility Classes */
.loading {
  padding: 60px 32px;
  text-align: center;
  font-size: 18px;
  color: #6c757d;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e9ecef;
  border-top: 4px solid #e91e63;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.hidden {
  display: none;
}

.msg {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 12px;
  font-weight: 500;
}

.msg.success {
  background: linear-gradient(135deg, #d1e7dd, #a3d9a5);
  color: #0f5132;
  border: 2px solid #badbcc;
}

.msg.error {
  background: linear-gradient(135deg, #f8d7da, #f1aeb5);
  color: #842029;
  border: 2px solid #f5c2c7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .header .container {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .header nav {
    gap: 8px;
    flex-direction: column;
    align-items: flex-end;
  }
  .header .header-actions {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
  }

  .search-bar {
    flex-direction: column;
  }
  .search-bar--code {
    grid-template-columns: 1fr;
  }
  .search-bar--code #toggleFilters {
    width: 100%;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .filter-actions {
    flex-direction: column;
  }

  .filter-actions button {
    width: 100%;
  }

  h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .header .container {
    gap: 8px; /* pequeno respiro entre logo e nav */
  }

  .logo {
    font-size: clamp(
      0.85rem,
      3.3vw,
      1rem
    ); /* igual ao tamanho dos links do nav */
  }

  .header .btn {
    padding: 4px 10px; /* ainda mais compacto no mobile */
    border-radius: 18px;
    font-size: 0.8rem;
    line-height: 1; /* evita aumentar altura por linha */
  }

  .search-section {
    padding: 20px;
  }

  .filters {
    padding: 20px;
  }
  .range-inputs {
    flex-wrap: wrap;
  }

  .form {
    padding: 20px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .btn-primary {
    padding: 14px 32px;
    font-size: 14px;
    min-width: 160px;
  }
}

/* Salary Range Slider (Faixa Salarial) */
.salary-range-container {
  margin-top: 8px;
}

.range-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.range-inputs input[type="number"] {
  width: clamp(80px, 10vw, 120px);
  padding: 6px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.range-inputs span {
  color: #666;
  font-size: 14px;
}

.range-slider-container {
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
  overflow: visible;
}

.range-slider-container .slider-track {
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  background: #e0e0e0;
  width: 100%;
  border-radius: 2px;
  z-index: 1;
}

.range-slider-container .slider-range {
  position: absolute;
  height: 6px;
  background: linear-gradient(135deg, #e91e63, #ff6b35);
  border-radius: 2px;
  z-index: 2;
  left: 0%;
  right: 0%;
  width: 100%;
  pointer-events: none;
  transition:
    left 0.05s ease,
    right 0.05s ease;
}

.range-slider-container input[type="range"] {
  position: absolute;
  left: 0;
  width: 100%;
  height: 40px;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  z-index: 3;
  margin: 0;
  padding: 0;
  touch-action: none;
}

.range-slider-container .slider-min {
  z-index: 3;
}
.range-slider-container .slider-max {
  z-index: 4;
}

.range-slider-container input[type="range"]::-webkit-slider-thumb {
  pointer-events: all;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e91e63, #ff6b35);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  transform: translateY(-10px);
}

.range-slider-container input[type="range"]::-moz-range-thumb {
  pointer-events: all;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e91e63, #ff6b35);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  outline: none;
  transform: translateY(-10px);
}

.range-slider-container
  input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.35);
}
.range-slider-container input[type="range"]:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.35);
}

.range-slider-container input[type="range"]:hover::-webkit-slider-thumb {
  box-shadow: 0 4px 10px rgba(233, 30, 99, 0.35);
}
.range-slider-container input[type="range"]:hover::-moz-range-thumb {
  box-shadow: 0 4px 10px rgba(233, 30, 99, 0.35);
}
.range-slider-container input[type="range"]:active::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.2);
}
.range-slider-container input[type="range"]:active::-moz-range-thumb {
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.2);
}

.range-slider-container input[type="range"]::-webkit-slider-track,
.range-slider-container input[type="range"]::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  height: 0;
}
.range-slider-container input[type="range"]::-moz-range-track {
  background: transparent;
  border: none;
  height: 0;
}

.range-values {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: #495057;
  font-size: 14px;
  gap: 8px;
  flex-wrap: wrap;
}

.code-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 12px;
  display: block;
}
.code-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.code-card__title {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
}
.code-card__company {
  font-size: 14px;
  color: #6b7280;
}
.code-card__body {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.code-card__region,
.code-card__salary {
  font-size: 14px;
  color: #374151;
}
.code-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.code-filters {
  margin: 16px 0;
}
.code-filters__content {
  width: 100%;
}
.code-status {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  border: 1px solid transparent;
}
.code-status.success {
  background: #ecfdf5;
  color: #065f46;
  border-color: #10b98133;
}
.code-status.error {
  background: #fef2f2;
  color: #991b1b;
  border-color: #ef444433;
}
.code-status.info {
  background: #eff6ff;
  color: #1e40af;
  border-color: #3b82f633;
}

.code-detail {
  margin-top: 24px;
}
.code-detail__header {
  margin-bottom: 8px;
}
.code-detail__meta {
  margin: 4px 0;
}
.code-detail__content {
  margin-top: 8px;
}
.code-detail__tags {
  margin-top: 8px;
}
.code-detail__actions {
  margin-top: 16px;
}

/* Design tokens inspirados no code.html */
.glass-nav {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.sponsored-border {
  position: relative;
  background: #fff;
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 1.1rem;
}
.sponsored-border::after {
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: -2px;
  right: -2px;
  background: linear-gradient(to right, #ffbb00, #ff4400);
  content: "";
  z-index: -1;
  border-radius: 1.2rem;
}
.cta-gradient,
.bg-brand-gradient {
  background: linear-gradient(90deg, #ffb800 0%, #ff4400 50%, #d80000 100%);
}
.brand-gradient-b2b {
  background: linear-gradient(135deg, #4343d6 0%, #8a2be2 100%);
}
.corporate-gradient {
  background: linear-gradient(135deg, #3b517d 0%, #6d28d9 100%);
}
.apply-gradient {
  background: linear-gradient(135deg, #3b517d 0%, #6d28d9 100%) !important;
  box-shadow: 0 4px 15px rgba(61, 81, 125, 0.3);
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Header com glass effect */
.code-header {
  border-bottom: 1px solid rgba(220, 220, 228, 0.6);
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid #e9ecef;
  z-index: 1000;
}
.bottom-nav__content {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 80px;
  padding: 0 16px;
}
.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #666;
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.bottom-nav__item .material-symbols-outlined {
  font-size: 22px;
}
.bottom-nav__item.active {
  color: #ff4400;
}
.bottom-nav__item.active .material-symbols-outlined {
  font-variation-settings:
    "FILL" 1,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}
.bottom-nav__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -16px;
  text-decoration: none;
  color: #666;
}
.bottom-nav__add {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4400, #d80000);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 68, 0, 0.3);
  border: 4px solid #fff;
}
.bottom-nav__label {
  font-size: 10px;
  font-weight: 700;
  margin-top: 4px;
}
