/* Estilos específicos para el componente PDF Viewer */
.pdf-viewer-component .pdf-viewer-container {
    text-align: center;
    margin-bottom: 20px;
}

.pdf-viewer-component .pdf-iframe {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Estilos para el spinner de carga */
.pdf-viewer-component .pdf-loading {
    margin: 20px 0;
}

.pdf-viewer-component .pdf-loading .card-panel {
    text-align: center;
    padding: 40px;
    margin: 0;
    border: 2px dashed #e0e0e0;
    background-color: #fafafa;
}

.pdf-viewer-component .pdf-loading .preloader-wrapper {
    margin: 0 auto 20px auto;
}

.pdf-viewer-component .pdf-loading h6 {
    color: #666;
    margin: 20px 0 10px 0;
    font-weight: 400;
}

.pdf-viewer-component .pdf-loading p {
    color: #999;
    margin: 10px 0;
    font-size: 14px;
}

/* Estilos para el fallback */
.pdf-viewer-component .pdf-fallback {
    margin: 20px 0;
}

.pdf-viewer-component .pdf-fallback .card-panel {
    text-align: center;
    padding: 30px;
    margin: 0;
}

.pdf-viewer-component .pdf-fallback .material-icons {
    font-size: 48px;
    color: #757575;
    margin-bottom: 16px;
    display: block;
}

.pdf-viewer-component .pdf-fallback h6 {
    color: #555;
    margin-bottom: 15px;
}

.pdf-viewer-component .pdf-fallback p {
    color: #666;
    margin: 10px 0;
}

/* Responsive styles para móviles */
@media only screen and (max-width: 600px) {
    .pdf-viewer-component .pdf-iframe {
        height: 400px !important;
    }

    .pdf-viewer-component .pdf-loading .card-panel,
    .pdf-viewer-component .pdf-fallback .card-panel {
        padding: 20px;
    }

    .pdf-viewer-component .pdf-loading h6 {
        font-size: 1.1rem;
    }

    .pdf-viewer-component .pdf-loading p {
        font-size: 13px;
    }
    
    .pdf-viewer-component .center-align .btn {
        margin: 5px;
        width: 100%;
        max-width: 200px;
    }
}

/* Tablet styles */
@media only screen and (max-width: 992px) and (min-width: 601px) {
    .pdf-viewer-component .pdf-iframe {
        height: 500px !important;
    }

    .pdf-viewer-component .pdf-loading .card-panel {
        padding: 35px;
    }
}