html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}



.btn-bordered {
  border: 4px dashed red !important;
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

/* Encabezados principales */
h1, h2, h3 {
  color: #2e7d32; /* Verde intenso */
  font-weight: 700;
}

/* Enlaces */
a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Botones principales */
.btn-primary {
  background-color: #2e7d32;
  border-color: #2e7d32;
}
.btn-primary:hover {
  background-color: #256429;
  border-color: #1d5121;
}

/* Botón de éxito con animación */
.btn-success {
  background-color: #4CAF50;
  border-color: #4CAF50;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-success:hover {
  background-color: #45a045;
  transform: scale(1.03);
}

/* Botón de contorno verde */
.btn-outline-success {
  color: #2e7d32;
  border-color: #2e7d32;
}
.btn-outline-success:hover {
  background-color: #2e7d32;
  color: #fff;
}

/* Formularios */
.form-control {
  border: 1px solid #cde0d0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-control:focus {
  border-color: #66bb6a;
  box-shadow: 0 0 6px rgba(102, 187, 106, 0.4);
}

/* Etiquetas */
label.form-label {
  color: #387d54;
  font-weight: 500;
}

/* Contenedores */
.form-wrapper, .card, .content-box {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  animation: fadeIn 0.5s ease-in-out;
}

/* Encabezado de tarjetas */
.card-header {
  font-weight: bold;
  background-color: #81c784; /* Verde claro */
}

/* Alertas */
.alert-success {
  background-color: #d0f0c0;
  color: #1e4620;
}
.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}

/* Pie de página */
footer {
  font-size: 0.9rem;
}

/* Animaciones */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.7s ease-in-out forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsividad */
@media (max-width: 576px) {
  h1 {
    font-size: 1.8rem;
  }
  .btn {
    width: 100%;
    margin-bottom: 10px;
  }
}
/* Fondo degradado ecológico para el index */
.inicio-bg {
  background: linear-gradient(135deg,
    #1d2b2e,
    #2e3e33,
    #3f6f43,
    #4e944d,
    #5da94f);
  background-size: 400% 400%;
  animation: fondoEco 15s ease infinite;
  color: #f4f4f4;
}

/* Animación suave del fondo */
@keyframes fondoEco {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* Bordes para botones */
.btn-bordered {
  border: 2px solid #198754; /* Verde Bootstrap */
  border-radius: 8px;
}

/* Bloques informativos */
.info-box {
  border: 2px solid #ccc;
  border-radius: 12px;
  padding: 20px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.info-box:hover {
  border-color: #198754;
  transform: scale(1.02);
}
.info-box-dark {
  background-color: #2770b9;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid #198754;
  color: #f4f4f4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.info-box-dark:hover {
  transform: scale(1.02);
  border-color: #4CAF50;
}