.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #666;
}

.loading-spinner i {
    font-size: 2em;
    margin-bottom: 10px;
    display: block;
}

#boleto-container {
    position: relative;
    min-height: 800px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

#boleto-object {
    width: 100%;
    height: 100%;
    min-height: 800px;
    border: none;
}

.floating-arrow {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background: linear-gradient(145deg, #ffffff, #f6f6f6);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 1;
    border: 1px solid rgba(0,0,0,0.05);
}

.floating-arrow:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.floating-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}

.arrow-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.arrow-icon i {
    font-size: 28px;
    color: #0066cc;
    animation: bounce 2s infinite;
}

.arrow-text {
    font-size: 13px;
    font-weight: 500;
    color: #0066cc;
    white-space: nowrap;
    text-align: center;
}

.payment-container {
    max-width: 900px;
    margin: 30px auto;
}

.payment-header {
    background: linear-gradient(145deg, #ffffff, #f6f6f6);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-status {
    background: #f8f9fa;
    border-left: 4px solid #17a2b8;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.status-icon {
    font-size: 24px;
    color: #17a2b8;
}

.boleto-preview {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px;
    margin-bottom: 25px;
    overflow: hidden;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none !important;
}

.action-button:hover {
    transform: translateY(-2px);
}

.action-button i {
    font-size: 18px;
}

.info-section {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.info-section h4 {
    color: #856404;
    margin-bottom: 15px;
}

.info-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.info-list li:before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #856404;
}

.terms {
    text-align: center;
    color: #6c757d;
    font-size: 0.9em;
    padding: 15px;
    border-top: 1px solid #dee2e6;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

@media print {
    .floating-arrow,
    .action-buttons,
    .payment-status {
        display: none !important;
    }
}