/* Estilos generales del contenedor */
.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

/* Estilo del contenedor del formulario */
.form-modal-content {
    border-radius: 15px;
    overflow: hidden;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Estilo del encabezado del formulario */
.form-modal-header {
    background-color: #000a66;
    color: #fff;
    font-family: 'Bahnschrift', sans-serif;
    font-weight: bold;
    padding: 1rem;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    text-align: center;
}

/* Estilo del cuerpo del formulario */
.form-modal-body {
    padding: 1.5rem;
}

.form-modal-body .form-group {
    margin-bottom: 15px;
}

.form-modal-body label {
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.form-modal-body input {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ced4da;
    box-sizing: border-box;
}

/* Estilo del pie del formulario */
.form-modal-footer {
    background-color: #f1f1f1;
    padding: 1rem;
    display: flex;
    justify-content: flex-end;
}

/* Estilo de los botones */
.btn-primary {
    background-color: #000a66;
    border: none;
    color: #fff;
    font-weight: bold;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #cea34e;
}

.btn-danger {
    background-color: #ce2029;
    border: none;
    color: #fff;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-danger:hover {
    background-color: #a1171f;
}

/* Estilo para mensajes de éxito o error */
.messages {
    margin-top: 1rem;
}

.messages .alert {
    padding: 0.75rem 1rem;
    border-radius: 5px;
    font-weight: bold;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}
