/* Contenedor de la imagen (centrado) */
.modal-body .mb-3:has(#modal-logo),
.modal-body .mb-3:has(#modal-logoAC) {  
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Estilo para ambas imágenes (evitar cambios de altura) */
#modal-logo,
#modal-logoAC {
    width: 50%;       /* Ancho relativo al contenedor */
    height: 200px;    /* Altura fija (ajusta según necesites) */
    object-fit: contain; /* La imagen se ajusta sin recortarse */
    object-position: center; /* Centra la imagen en el espacio */
   
}

.form-control .numero_act{
    width: 200px !important;
}

/* Mantener alineación izquierda para labels/inputs */
.modal-body .form-label,
.modal-body .form-control {
    text-align: left;
    width: 100%;
}

/* Estilos mejorados para los modales */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.modal-header {
    background-color: #2a623d; /* Verde deportivo */
    color: white;
    padding: 1.2rem;
    border-bottom: none;
}

.modal-title {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    font-weight: 600;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: none;
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
}

.btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.btn-close:hover {
    opacity: 1;
}

/* Estilos para los formularios dentro del modal */
.modal-form .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.modal-form .form-control {
    border-radius: 8px;
    padding: 10px 15px;
    border: 1px solid #ced4da;
    transition: all 0.3s;
}

.modal-form .form-control:focus {
    border-color: #2a623d;
    box-shadow: 0 0 0 0.25rem rgba(42, 98, 61, 0.25);
}

/* Estilo para la imagen del logo */
#modal-logo, #modal-logoAC {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
    margin: 0 auto 1.5rem;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
    padding: 5px;
    background-color: #f8f9fa;
}
