/* === Estilo Geral Futurista === */
body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #0f0c29, #302b63, #24243e);
  color: #fff;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  padding-bottom: 60px;
}

/* === Containers === */
.container,
.container-fluid {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 40px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
}

/* === Títulos === */
h1, h2, h3, h4 {
  color: #00ffff;
  font-weight: 600;
  text-shadow: 0 0 6px #00ffff55;
}

/* === Botões === */
.btn {
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}

.btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0 8px #00ffff88;
  opacity: 0.9;
}

.btn-primary {
  background-color: #00bcd4;
  border: none;
}

.btn-secondary {
  background-color: #7c4dff;
  border: none;
}

.btn-outline-danger {
  color: #ff4081;
  border-color: #ff4081;
}

.btn-outline-danger:hover {
  background: #ff4081;
  color: #fff;
}

/* === Inputs e Selects === */
input, select {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid #00bcd4;
  transition: all 0.2s ease;
  position: relative;
  z-index: 2;
}

input,
select,
textarea {
  color: white;
}

input.form-control,
select.form-select,
textarea.form-control {
  color: #212529;
  background-color: #fff;
}

input::placeholder {
  color: #aaa;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #00ffff;
  box-shadow: 0 0 5px #00ffff33;
  background-color: rgba(255, 255, 255, 0.15);
  outline: none;
}

/* === Corrigir campos dentro de modal (alterar senha) === */
.modal-content input,
.modal-content select,
.modal-content textarea {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border: 1px solid #00bcd4;
}

.modal-content input::placeholder,
.modal-content textarea::placeholder {
  color: #ccc;
}

.modal-content input:focus,
.modal-content select:focus,
.modal-content textarea:focus {
  border-color: #00ffff;
  box-shadow: 0 0 5px #00ffff33;
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  outline: none;
}

.modal-content {
  background-color: #1e1e2f;
  color: #fff;
}

.modal-content input.form-control {
  background-color: rgba(255, 255, 255, 0.07);
  color: #fff;
  border: 1px solid #00bcd4;
}

.modal-content input.form-control::placeholder {
  color: #ccc;
}

.modal-content input.form-control:focus {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #00ffff;
  box-shadow: 0 0 5px #00ffff33;
  color: #fff;
}


/* Corrigir sobreposição de botão */
button[type="submit"] {
  position: relative;
  z-index: 1;
  margin-top: 2rem;
}

/* === Lista de Itens === */
.list-group-item {
  background-color: rgba(0, 0, 0, 0.4);
  border: none;
  color: #fff;
}

.list-group-item a {
  color: #00ffff;
}

.list-group-item a:hover {
  color: #00e5ff;
}

/* === Mascote === */
.mascote {
  display: block;
  max-width: 200px;
  margin: 0 auto 30px auto;
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* === Carrossel === */
.carousel-item img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
}

/* === Footer === */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
  padding: 10px;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* === Formulários Responsivos === */
.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-row .form-group {
  flex: 1;
  min-width: 200px;
}

/* === Responsividade === */
@media (max-width: 768px) {
  .btn-group {
    flex-direction: column !important;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
    margin-bottom: 8px;
  }

  .form-control, .form-select {
    font-size: 16px;
  }

  .container, .container-fluid {
    padding: 1rem !important;
  }

  .list-group-item {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .form-row {
    flex-direction: column;
  }
}
