/* ===== BANCO DE TALENTOS CTA ===== */
.banco-talentos-cta {
  background: linear-gradient(135deg, #004968 0%, #0077aa 100%);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 25px rgba(0, 73, 104, 0.2);
  position: relative;
  overflow: hidden;
}

.banco-talentos-cta::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.cta-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.cta-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-icon i {
  font-size: 2.5rem;
  color: white;
}

.cta-text {
  flex: 1;
  color: white;
}

.cta-text h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.cta-text p {
  font-size: 0.95rem;
  margin: 0;
  opacity: 0.95;
  line-height: 1.5;
}

.btn-banco-talentos {
  background: #f97316;
  color: white;
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-banco-talentos:hover {
  background: #ea580c;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn-banco-talentos i {
  font-size: 1.25rem;
}

/* Select2 customização */
.select2-container--default .select2-selection--single {
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  height: auto;
  padding: 0.75rem 1rem;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  color: #1f2937;
  line-height: 1.5;
  padding: 0;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 100%;
  top: 0;
}

.select2-container--default.select2-container--focus
  .select2-selection--single {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.select2-dropdown {
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.select2-container--default
  .select2-results__option--highlighted[aria-selected] {
  background: #f97316;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.5rem;
}

.select2-container--default
  .select2-search--dropdown
  .select2-search__field:focus {
  border-color: #f97316;
  outline: none;
}

/* Responsive Banco de Talentos */
@media (max-width: 768px) {
  .cta-content {
    flex-direction: column;
    text-align: center;
  }

  .cta-icon {
    width: 60px;
    height: 60px;
  }

  .cta-icon i {
    font-size: 2rem;
  }

  .cta-text h3 {
    font-size: 1.15rem;
  }

  .cta-text p {
    font-size: 0.9rem;
  }

  .btn-banco-talentos {
    width: 100%;
    justify-content: center;
  }
}

/* Container principal */
section .container {
  max-width: 900px;
}

/* Hero Section */
.vagas-hero {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  padding: 4rem 0;
  color: white;
  text-align: center;
}

.vagas-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.vagas-hero p {
  font-size: 1.1rem;
  opacity: 0.95;
}

/* Steps Section */
.steps-section {
  background: white;
  padding: 2rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.steps-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: white;
  border: 3px solid #d1d5db;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #9ca3af;
  transition: all 0.3s;
}

.step-item.active .step-number {
  background: #f97316;
  border-color: #f97316;
  color: white;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.step-item.completed .step-number {
  background: #10b981;
  border-color: #10b981;
  color: white;
}

.step-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b7280;
  white-space: nowrap;
}

.step-item.active .step-label {
  color: #f97316;
}

.step-line {
  flex: 1;
  height: 3px;
  background: #d1d5db;
  margin: 0 1rem;
  max-width: 150px;
  position: relative;
  top: -15px;
}

/* Vagas Container */
.vagas-container {
  background: #f8f9fa;
  padding: 2rem 0 4rem;
  min-height: 60vh;
}

.step-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.step-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Lista de Vagas */
.vagas-list {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* Item de Vaga */
.vaga-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.vaga-item:last-child {
  border-bottom: none;
}

.vaga-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #f97316;
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.vaga-item:hover {
  padding-left: 20px;
}

.vaga-item:hover::before {
  transform: scaleY(1);
}

.vaga-item:hover .vaga-arrow {
  transform: translateX(5px);
  color: #f97316;
}

/* Ícone da Vaga */
.vaga-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.25rem;
  flex-shrink: 0;
  transition: all 0.3s;
}

.vaga-item:hover .vaga-icon {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  transform: scale(1.1);
}

.vaga-icon i {
  font-size: 1.75rem;
  color: #ea580c;
  transition: color 0.3s;
}

.vaga-item:hover .vaga-icon i {
  color: white;
}

/* Conteúdo da Vaga */
.vaga-content {
  flex: 1;
  min-width: 0;
}

.vaga-content .vaga-cidade-cont {
  margin-left: 5px;
}

.vaga-content .vaga-cidade {
  color: #004968;
  font-weight: 700;
}

.vaga-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
}

.vaga-info {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.vaga-info span {
  font-size: 0.875rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.vaga-info i {
  font-size: 1rem;
}

/* Seta */
.vaga-arrow {
  margin-left: 1rem;
  color: #d1d5db;
  transition: all 0.3s;
  flex-shrink: 0;
}

.vaga-arrow i {
  font-size: 1.5rem;
}

/* Formulário Container */
.form-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
}

/* Vaga Selecionada */
.vaga-selecionada {
  border-left: 4px solid #f97316;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 2rem;
}

.vaga-selecionada h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #92400e;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vaga-selecionada h2 i {
  font-size: 1.75rem;
}

.vaga-selecionada p {
  font-size: 0.95rem;
  color: #78350f;
  margin: 0;
}

/* Form Section */
.form-section {
  margin-bottom: 2rem;
}

.form-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f3f4f6;
}

.form-section h3 i {
  font-size: 1.5rem;
  color: #f97316;
}

.form-label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-control {
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* Upload Area */
.upload-area {
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.upload-area:hover {
  border-color: #f97316;
  background: #fef3c7;
}

.upload-icon {
  font-size: 4rem;
  color: #f97316;
  margin-bottom: 1rem;
}

.upload-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.upload-hint {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

/* Upload Preview */
.upload-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #fef3c7;
  border-radius: 8px;
}

.upload-preview i {
  font-size: 1.75rem;
  color: #ea580c;
}
.upload-preview .ph-x {
  color: white;
}

.upload-preview .file-name {
  flex: 1;
  font-weight: 600;
  color: #78350f;
}

.btn-remove {
  background: #ef4444;
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-remove:hover {
  background: #dc2626;
  transform: scale(1.1);
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.form-actions button {
  flex: 1;
  padding: 1rem 2rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-voltar {
  background: #f3f4f6;
  color: #6b7280;
}

.btn-voltar:hover {
  background: #e5e7eb;
  color: #1f2937;
}

.btn-enviar {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-enviar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #6b7280;
  background: white;
  border-radius: 12px;
}

.empty-state i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
  color: #f97316;
}

.empty-state h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

/* Animações */
.vaga-item {
  animation: slideIn 0.4s ease forwards;
  opacity: 0;
}

.vaga-item:nth-child(1) {
  animation-delay: 0.05s;
}
.vaga-item:nth-child(2) {
  animation-delay: 0.1s;
}
.vaga-item:nth-child(3) {
  animation-delay: 0.15s;
}
.vaga-item:nth-child(4) {
  animation-delay: 0.2s;
}
.vaga-item:nth-child(5) {
  animation-delay: 0.25s;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0 1rem;
  }

  .vagas-hero {
    padding: 3rem 0;
  }

  .vagas-hero h1 {
    font-size: 2rem;
  }

  .steps-wrapper {
    max-width: 100%;
  }

  .step-label {
    font-size: 0.8rem;
  }

  .vaga-item {
    padding: 1.25rem;
  }

  .vaga-icon {
    width: 50px;
    height: 50px;
  }

  .vaga-icon i {
    font-size: 1.75rem;
  }

  .vaga-info {
    flex-direction: column;
    gap: 0.5rem;
  }

  .form-container {
    padding: 1.5rem;
  }

  .form-actions {
    flex-direction: column;
  }

  .upload-area {
    padding: 2rem 1rem;
  }
}

/* Success Container (Step 3) */
.success-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 3rem 2rem;
  text-align: center;
  animation: fadeIn 0.5s ease;
}

.success-icon {
  margin-bottom: 1.5rem;
}

.success-icon i {
  font-size: 6rem;
  color: #10b981;
  animation: checkPulse 0.6s ease;
}

@keyframes checkPulse {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.success-message {
  font-size: 1.1rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.success-message strong {
  color: #f97316;
  font-weight: 700;
}

.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.success-actions button,
.success-actions a {
  padding: 1rem 2rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  min-width: 200px;
}

.btn-secondary {
  background: #f3f4f6;
  color: #6b7280;
}

.btn-secondary:hover {
  background: #e5e7eb;
  color: #1f2937;
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

/* ===== SEARCH CONTAINER ===== */
.search-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  transition: all 0.3s;
}

.search-box:focus-within {
  border-color: #f97316;
  background: white;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.search-icon {
  font-size: 1.5rem;
  color: #9ca3af;
  margin-right: 0.75rem;
  transition: color 0.3s;
}

.search-box:focus-within .search-icon {
  color: #f97316;
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1rem;
  color: #1f2937;
  outline: none;
}

.search-input::placeholder {
  color: #9ca3af;
}

.btn-clear-search {
  background: #f3f4f6;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-clear-search:hover {
  background: #e5e7eb;
  color: #1f2937;
}

.btn-clear-search i {
  font-size: 1.1rem;
}

/* Search Results Info */
.search-results-info {
  margin-top: 1rem;
}

.results-count {
  font-size: 0.95rem;
  color: #6b7280;
  margin: 0;
}

.results-count strong {
  color: #f97316;
  font-weight: 700;
}

.no-results {
  font-size: 0.95rem;
  color: #ef4444;
  margin: 0;
}

.no-results strong {
  font-weight: 700;
}

/* Responsive Search */
@media (max-width: 768px) {
  .search-container {
    padding: 1rem;
  }

  .search-input {
    font-size: 0.95rem;
  }
}

/* Vaga Info (cidade) */
.vaga-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.vaga-info span {
  font-size: 0.875rem;
  color: #004968;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.vaga-info i {
  font-size: 1rem;
}

/* Descrição da vaga */
.vaga-descricao {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

#vagaSelecionada p {
  margin-top: 1rem;
  color: #374151;
}
