/* Estilos para la sección de Logo PDF */

.pdf-logo-config {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.logo-upload-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo-upload-area {
    margin-top: 15px;
}

.logo-preview-container {
    border: 3px dashed #ddd;
    border-radius: 12px;
    padding: 50px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-preview-container:hover {
    border-color: #27ae60;
    background: #f0f8f0;
}

.btn-upload-logo {
    margin-top: 20px;
    padding: 12px 30px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11pt;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-upload-logo:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.logo-actions {
    display: none;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-save-logo,
.btn-remove-logo {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 10pt;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-save-logo {
    background: #27ae60;
    color: white;
}

.btn-save-logo:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.btn-remove-logo {
    background: #e74c3c;
    color: white;
}

.btn-remove-logo:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.form-hint {
    display: block;
    margin-top: 10px;
    font-size: 9pt;
    color: #666;
}

.logo-info-box {
    margin-top: 30px;
    padding: 20px;
    background: #e8f5e9;
    border-left: 4px solid #27ae60;
    border-radius: 4px;
}

.logo-info-box h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 11pt;
}

.logo-info-box ul {
    margin: 0;
    padding-left: 20px;
    color: #555;
}

.logo-info-box li {
    margin: 8px 0;
}

.logo-info-box p {
    margin: 15px 0 0 0;
    font-size: 9pt;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .pdf-logo-config {
        padding: 10px;
    }

    .logo-upload-section {
        padding: 20px;
    }

    .logo-preview-container {
        padding: 30px 20px;
        min-height: 200px;
    }

    .logo-actions {
        flex-direction: column;
    }

    .btn-save-logo,
    .btn-remove-logo {
        width: 100%;
        justify-content: center;
    }
}

/* Animaciones */
@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.pdf-logo-notification {
    animation: slideInRight 0.3s ease;
}