.elementor-123 .elementor-element.elementor-element-919bab3{--display:flex;}@media(min-width:768px){.elementor-123 .elementor-element.elementor-element-919bab3{--content-width:1366px;}}/* Start custom CSS for html, class: .elementor-element-4422b4c */:root {
  --primary-color: #007bff; /* Azul para ações primárias */
  --secondary-color: #4a5568; /* Cinza azulado para ações secundárias */
  --success-color: #28a745; /* Verde para editar/sucesso */
  --danger-color: #dc3545; /* Vermelho para excluir */
  --neutral-color: #6c757d; /* Cinza para ações neutras */
  --light-neutral-color: #adb5bd;

  --text-primary: #333333;
  --text-secondary: #555555;
  --text-light: #777777;

  --bg-page: #f8f9fa; /* Fundo da página bem claro */
  --bg-card: #ffffff; /* Fundo dos cards e seções */

  --border-color: #dee2e6; /* Cor de borda sutil */
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  --box-shadow-hover: 0 6px 16px rgba(0, 0, 0, 0.1);

  --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  margin: 0;
  background-color: var(--bg-page);
  color: var(--text-primary);
  display: flex;
  justify-content: center;
  padding: 20px;
  min-height: 100vh;
}

.page-container {
  width: 100%;
  max-width: 1500px;
}

.page-header {
  text-align: center;
  margin-bottom: 30px;
}

.page-header h1 {
  font-size: 2.2em;
  color: var(--text-primary);
  font-weight: 600;
}

.main-content {
  display: flex;
  gap: 30px;
}

.timeline-display-section {
  flex: 3; /* Mais espaço para o cronograma */
  background-color: var(--bg-card);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow-y: auto;
  max-height: calc(100vh - 160px); /* Ajustar altura máxima */
}

.edit-section {
  flex: 2; /* Espaço adequado para o editor */
  background-color: var(--bg-card);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow-y: auto;
  max-height: calc(100vh - 160px);
}

.edit-section h2 {
  text-align: center;
  font-size: 1.6em;
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: 25px;
  font-weight: 500;
}

/* Estilos do Cronograma */
.phase {
  margin-bottom: 35px;
}
.phase:last-child {
  margin-bottom: 0;
}

.phase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.phase-header h3 {
  font-size: 1.4em;
  color: var(--primary-color);
  font-weight: 500;
  margin: 0;
}

.phase-actions .btn-delete-phase {
  background-color: transparent;
  color: var(--danger-color);
  border: 1px solid var(--danger-color);
  padding: 6px 12px;
  font-size: 0.85em;
}
.phase-actions .btn-delete-phase:hover {
  background-color: var(--danger-color);
  color: white;
}

.week-card {
  background-color: var(--bg-page); /* Um pouco diferente do fundo da seção */
  padding: 20px;
  margin-bottom: 15px;
  border-radius: var(--border-radius);
  border-left: 5px solid var(--primary-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.week-card:hover {
  box-shadow: var(--box-shadow-hover);
  transform: translateY(-3px);
}

.week-card-content h4 {
  font-size: 1.15em;
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: 8px;
  font-weight: 500;
}

.week-card-content .details-preview {
  font-size: 0.9em;
  color: var(--text-light);
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.week-card-content .details-preview span {
  font-style: italic;
  font-size: 0.85em;
}

.week-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

/* Botões Gerais */
.btn {
  padding: 10px 18px;
  font-size: 0.95em;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
  text-align: center;
}
.btn:hover {
  opacity: 0.9;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}
.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
}
.btn-success {
  background-color: var(--success-color);
  color: white;
}
.btn-danger {
  background-color: var(--danger-color);
  color: white;
}
.btn-neutral {
  background-color: var(--neutral-color);
  color: white;
}
.btn-light-neutral {
  background-color: var(--light-neutral-color);
  color: var(--text-primary);
}

.week-actions .btn {
  padding: 7px 12px;
  font-size: 0.85em;
}

.full-width {
  width: 100%;
  display: block;
}

/* Formulário de Edição */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.9em;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}
.form-group input[type="text"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.95em;
  color: var(--text-primary);
  background-color: #fff; /* Garante fundo branco para inputs */
  box-sizing: border-box;
}
.form-group input[type="text"]:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}
.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 25px;
  margin-bottom: 25px;
  flex-wrap: wrap; /* Para responsividade dos botões */
}
.form-actions .btn {
  flex-grow: 1; /* Botões ocupam espaço disponível */
}

.form-divider {
  border: 0;
  height: 1px;
  background-color: var(--border-color);
  margin: 30px 0;
}

.edit-section h3 {
  /* Para "Gerenciar Fases" */
  font-size: 1.2em;
  color: var(--text-primary);
  margin-bottom: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6); /* Fundo mais escuro */
  backdrop-filter: blur(3px); /* Efeito de desfoque no fundo */
}
.modal-content {
  background-color: var(--bg-card);
  margin: 8% auto;
  padding: 0; /* Padding será interno */
  border: none;
  width: 90%;
  max-width: 650px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: fadeInModal 0.3s ease-out;
  overflow: hidden; /* Para conter o header e body */
}
@keyframes fadeInModal {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: var(--primary-color);
  color: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
#modal-title {
  margin: 0;
  font-size: 1.4em;
  font-weight: 500;
}
.close-button {
  color: rgba(255, 255, 255, 0.8);
  font-size: 28px;
  font-weight: normal;
  line-height: 1;
  transition: color 0.2s ease;
}
.close-button:hover,
.close-button:focus {
  color: white;
  text-decoration: none;
  cursor: pointer;
}

.modal-body {
  padding: 25px;
}
#modal-details {
  list-style-type: none; /* Remove bullets padrão */
  padding-left: 0;
  margin-bottom: 0;
}
#modal-details li {
  padding: 8px 0;
  font-size: 1em;
  color: var(--text-secondary);
  border-bottom: 1px solid #f0f0f0; /* Linha sutil entre itens */
  position: relative;
  padding-left: 20px; /* Espaço para o "ícone" */
}
#modal-details li:last-child {
  border-bottom: none;
}
#modal-details li::before {
  /* Adiciona um "bullet" customizado */
  content: "•";
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 8px;
}

/* Responsividade */
@media (max-width: 1200px) {
  .main-content {
    flex-direction: column;
  }
  .timeline-display-section,
  .edit-section {
    max-height: none; /* Remove altura máxima em telas menores */
    flex: 1;
  }
}
@media (max-width: 768px) {
  body {
    padding: 15px;
  }
  .page-header h1 {
    font-size: 1.8em;
  }
  .timeline-display-section,
  .edit-section {
    padding: 20px;
  }
  .form-actions {
    flex-direction: column;
  }
  .form-actions .btn {
    width: 100%;
  }
  .modal-content {
    margin: 10% auto;
    width: 95%;
  }
  #modal-title {
    font-size: 1.2em;
  }
}/* End custom CSS */