/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Formularios */
form, .menu-container {
    width: 100%;
    max-width: 90%;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contenedor-principal {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1, h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #666;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Inputs y botones */
input[type="text"], 
input[type="password"], 
input[type="submit"], 
input[type="email"],
input[type="number"],
select {
    width: 94%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #45a049;
}

/* Menú */
.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    margin-bottom: 15px;
}

.menu-list a {
    text-decoration: none;
    font-size: 18px;
    color: #ffffff;
    background-color: #31a034;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s, color 0.3s;
}

.menu-list a:hover {
    background-color: #dd6719;
    color: white;
}

/* Estilos responsivos */
@media (max-width: 480px) {
    h1, h2 {
        font-size: 20px;
    }

    label {
        font-size: 14px;
    }

    input[type="text"],
    input[type="password"],
    input[type="submit"],
    .menu-list a {
        font-size: 14px;
    }
}

.fila-form {
    display: flex;
    gap: 10px; /* Opcional: espacio entre los campos */
}

.fila-form input {
    width: 100%;
}

/* Contenedor general de la sección */
.contenedor-iconos {
    background-color: #f5f7fa; /* Color de fondo suave */
    padding: 20px;
    margin: 20px auto;
    max-width: 1200px;         /* Ajusta el ancho máximo según tu preferencia */
  }
  
  /* Título de la sección */
  .contenedor-iconos h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    text-align: left; /* O "center", según prefieras */
  }
  
  /* Contenedor de las tarjetas */
  .actions-menu {
    display: flex;
    flex-wrap: wrap;      /* Para que las tarjetas salten a la siguiente línea si no caben */
    gap: 20px;            /* Espacio entre tarjetas */
    justify-content: flex-start; /* O "center"/"space-between" según tu diseño */
  }
  
  /* Cada tarjeta individual */
  .action-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    flex: 1 1 calc(20% - 20px); /* Para 5 tarjetas en una fila, aproximadamente */
    min-width: 120px;           /* Evita que la tarjeta se haga demasiado pequeña */
    max-width: 220px;           /* Limita el ancho máximo */
    text-align: center;
    transition: transform 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  /* Enlace que cubre toda la tarjeta */
  .action-card a {
    display: block;
    text-decoration: none;
    color: inherit; /* Hereda el color del contenedor (o del body) */
    padding: 20px;  /* Para que el área de clic cubra todo el bloque */
  }
  
  /* Ícono de la tarjeta */
  .action-card a img {
    width: 40px;  /* Ajusta al tamaño que prefieras */
    height: 40px; /* Ajusta al tamaño que prefieras */
    margin-bottom: 10px;
  }
  
  /* Texto de la tarjeta */
  .action-card a h3 {
    font-size: 16px;
    color: #333;
    margin: 0;
  }
  
  /* Efecto hover en la tarjeta (opcional) */
  .action-card:hover {
    transform: translateY(-5px);
  }
  