.analisador-container {
  max-width: 800px;
  margin: 80px auto;
  text-align: center;
  color: #e1e6e7;
  font-family: 'Montserrat', sans-serif;
}

.upload-box {
  background: #44847C;
  padding: 25px;
  border-radius: 12px;
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

#curriculoFile {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px;
  color: #5c7c8c;
  font-weight: 500;      /* opcional: deixa mais elegante */
}

#btnAnalisar {
  background: #fcec7c;
  color: #5c7c8c; /*padrao botoes*/
  font-weight: 500;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.2s ease;
}

#btnAnalisar:hover {
  background: #fbe14d;
}

.resultado {
  background: #fff;
  color: #333;
  margin-top: 25px;
  padding: 20px;
  border-radius: 8px;
  text-align: left;
  display: none;
  white-space: pre-wrap;
}

.spinner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
  gap: 12px;
  color: #fff;
}

.spinner-overlay.active {
  display: flex;
}

.spinner-circle {
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid #48bda0;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spinner-text {
  font-size: 1.2rem;
  color: #f5f5f5;
  font-weight: 500;
}

.erro-ia {
  background: #fff3cd;          /* amarelo suave de alerta */
  color: #856404;               /* texto marrom escuro */
  border: 1px solid #ffeeba;
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 16px;
  font-size: 0.95rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.erro-ia small {
  color: #6c757d;
}

.erro-ia {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}

.resultado-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

/* Botão copiar */
.copiar-btn {
  background: #fcec7c;
  color: #5c7c8c;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}

.copiar-btn:hover {
  background: #fbe14d;
}

/* Tooltip “Copiado!” */
.tooltip-copy {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: -28px;
  right: 0;
  background: #44847C;
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  transition: .2s ease;
  white-space: nowrap;
}

.copiar-btn.copiado .tooltip-copy {
  visibility: visible;
  opacity: 1;
}
.btn-area {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.btn.limpar {
  background: #e1e6e7;   /* cinza claro do seu tema */
  color: #333;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s ease;
}

.btn.limpar:hover {
  background: #cfd3d4;
}

.resultado-header {
  display: none;
}
