/* Approvely Modal Styles */
.approvely-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.approvely-modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.approvely-modal-container {
    position: relative;
    width: 95%;
    max-width: 1200px;
    height: 95vh;
    background: transparent;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.approvely-modal-header {
    display: none;
}

.approvely-modal-close {
    display: none;
}

.approvely-modal-content {
    padding: 0;
    overflow: hidden;
    height: 100%;
}

.approvely-modal-content iframe {
    width: 100%;
    height: 95vh;
    min-height: 95vh;
    border: none;
}

@media (max-width: 768px) {
    .approvely-modal-container {
        width: 100%;
        height: 100vh;
    }
    
    .approvely-modal-content iframe {
        height: 100vh;
        min-height: 100vh;
    }
}

/* Loading indicator */
.approvely-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.approvely-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

