/* Estilos específicos para la página de jerseys */
.tituloPagina {
    text-align: center;
    margin: 15px 0 25px 0;
}

.tituloPagina h2 {
    font-size: 28px;
    color: #DC052D;
    margin-bottom: 5px;
}

.tituloPagina h3 {
    font-size: 18px;
    font-weight: normal;
    color: #fff;
}

/* Galería de jerseys */
.galeriaJerseys {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 25px 0;
    gap: 20px;
}

.jersey {
    background-color: #121F38;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    width: 220px;
    transition: transform 0.3s ease;
}

.jersey:hover {
    transform: scale(1.05);
}

.jersey img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.jersey p {
    font-size: 16px;
    font-weight: bold;
}

/* Estilos del formulario */
.formularioContainer {
    background-color: #121F38;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.form-section {
    margin-bottom: 25px;
}

.form-section h3 {
    color: #DC052D;
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 1px solid #3d475a;
    padding-bottom: 8px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 10px;
    background-color: #3d475a;
    border: none;
    border-radius: 5px;
    color: white;
    font-family: "Normal", sans-serif;
    font-size: 16px;
}

.input-group input:hover,
.input-group select:hover,
.input-group textarea:hover {
    background-color: #4a566b;
}

.input-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Botón para generar PDF */
.btn-container {
    display: flex;
    justify-content: center;
    margin: 25px 0 10px 0;
}

#generarPDF {
    background-color: #C60428;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px 25px;
    font-size: 16px;
    font-family: "Normal", sans-serif;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#generarPDF:hover {
    background-color: #e7193f;
}

/* Estilos para la visualización del PDF */
.pdfContainer {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#pdfPreview {
    width: 100%;
    height: 600px;
    border: 2px solid #121F38;
    border-radius: 5px;
    display: none;
    background-color: #f5f5f5;
}

.download-btn {
    display: none;
    margin-top: 15px;
    background-color: #121F38;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #1a2a4d;
}

/* Media queries para diseño responsive */
@media only screen and (max-width: 992px) {
    .jersey {
        width: 180px;
    }
}

@media only screen and (max-width: 768px) {
    .tituloPagina h2 {
        font-size: 24px;
    }
    
    .tituloPagina h3 {
        font-size: 16px;
    }
    
    .formularioContainer {
        padding: 15px;
    }
    
    .form-section h3 {
        font-size: 18px;
    }
    
    #pdfPreview {
        height: 500px;
    }
}

@media only screen and (max-width: 576px) {
    .jersey {
        width: 100%;
        max-width: 250px;
    }
    
    .input-group input,
    .input-group select,
    .input-group textarea {
        font-size: 14px;
    }
    
    #generarPDF {
        width: 100%;
    }
    
    #pdfPreview {
        height: 400px;
    }
    
    .download-btn {
        width: 100%;
        text-align: center;
    }
}