/* Estilos para as Páginas Synthexa */

/* Container principal das páginas Synthexa */
.pagina-synthexa {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  z-index: 1000;
  overflow-y: auto;
  padding: 40px 20px;
}

.synthexa-container {
  max-width: 1400px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  min-height: calc(100vh - 80px);
}

/* Header */
.synthexa-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 3px solid #667eea;
}

.synthexa-logo {
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
}

.synthexa-header h1 {
  font-size: 2.5rem;
  color: #667eea;
  margin: 0;
  font-weight: 700;
}

/* Menu de Opções */
.menu-opcoes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.menu-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 2px solid #e0e0e0;
  border-radius: 15px;
  padding: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  border-color: #667eea;
}

.menu-card-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.menu-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.menu-card-desc {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
}

/* Upload Area */
.upload-area {
  background: #f8f9fa;
  border: 2px dashed #667eea;
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  margin-bottom: 30px;
}

.upload-area label {
  display: block;
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 20px;
  font-weight: 600;
}

.input-file {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  background: white;
  font-size: 1rem;
  cursor: pointer;
}

.input-file:hover {
  border-color: #667eea;
}

/* Botões */
.btn-primary-synthexa {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary-synthexa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.6);
}

.btn-primary-synthexa:active {
  transform: translateY(0);
}

.btn-voltar,
.btn-voltar-dashboard {
  background: #6c757d;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  display: inline-block;
}

.btn-voltar:hover,
.btn-voltar-dashboard:hover {
  background: #5a6268;
  transform: translateX(-5px);
}

/* Tabelas dentro das páginas Synthexa */
.pagina-synthexa .table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
}

.pagina-synthexa .table th {
  background: #667eea;
  color: white;
  padding: 15px;
  font-weight: 600;
  text-align: left;
}

.pagina-synthexa .table td {
  padding: 12px 15px;
  border-bottom: 1px solid #e0e0e0;
}

.pagina-synthexa .table tr:hover {
  background: #f8f9fa;
}

/* Responsivo */
@media (max-width: 768px) {
  .pagina-synthexa {
    padding: 20px 10px;
  }

  .synthexa-container {
    padding: 20px;
    min-height: calc(100vh - 40px);
  }

  .synthexa-header h1 {
    font-size: 1.8rem;
  }

  .synthexa-logo {
    max-width: 200px;
  }

  .menu-opcoes {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .menu-card {
    padding: 20px;
  }

  .menu-card-icon {
    font-size: 3rem;
  }

  .menu-card-title {
    font-size: 1.2rem;
  }

  .upload-area {
    padding: 20px;
  }

  .btn-primary-synthexa {
    width: 100%;
    padding: 12px 20px;
  }

  .btn-voltar,
  .btn-voltar-dashboard {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .synthexa-header h1 {
    font-size: 1.5rem;
  }

  .menu-card-icon {
    font-size: 2.5rem;
  }

  .pagina-synthexa .table {
    font-size: 0.9rem;
  }

  .pagina-synthexa .table th,
  .pagina-synthexa .table td {
    padding: 8px 10px;
  }
}
