/* Estilos generales */
body {
    font-family: Arial, sans-serif;
     background: linear-gradient(to right, #E3F2FD, #CFEBF9);
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

h2 {
    text-align: center;
    color: #333;
}

/* Estilos del formulario */
form {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}

h3,label {
    font-weight: bold;
    text-align: center;
    margin: 10px 0 5px;
    display: block; /* Hace que el label ocupe toda la línea */
}


input,select {
    width: 90%;
    padding: 8px;
    margin: 0 auto 10px; /* Centra horizontalmente */
    border: 1px solid #ccc;
    border-radius: 5px;
    display: block; /* Para que margin auto funcione */
}

button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

button:hover {
    background-color: #0056b3;
}

/* Estilos para las sedes */
#sedesContainer {
    margin-top: 20px;
}

.sede {
    background: linear-gradient(to right, #e3f2fd1e, #cfebf954);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
}

.eliminarSede {
    background-color: #002fff;
}

.eliminarSede:hover {
    background-color: #031a44;
}

/* Estilos para Select2 */
.select2-container .select2-selection--multiple {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
}

/* Responsivo */
@media (max-width: 600px) {
    form {
        padding: 15px;
    }
}
/* Centrar el contenedor */
.contenedor {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Ajustar el formulario */
form {
    background: #ffffff5d;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}
