/*----------------- SVG Heart WC related CSS -----------------*/
iframe.svg-heart-wc-editor {
    margin: 0 !important;
    padding: 0 !important;
    display: block; /* Prevent inline default spacing */
    width: 100%;
    min-width: 100%;
    height: 100vh;
    border: none;
}

/* Model CSS START */
/* Modal Wrapper - ensures full screen positioning */
.svg-heart-wc-modal-wrapper {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark overlay background */
.svg-heart-wc-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
}

/* Modal Box */
.svg-heart-wc-modal-content {
    position: relative;
    background: #fff;
    padding: 3rem !important;
    border-radius: 6px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.svg-heart-wc-2);
    width: auto;
}

/* Close Button */
.svg-heart-wc-modal-close {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0 !important;
}

/* Modal Body */
.svg-heart-wc-modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
}

/* Loading section */
.svg-heart-wc-loading {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Spinner */
.svg-heart-wc-spinner {
    width: 23px;
    height: 23px;
    border: 4px solid #d1d5db; /* gray-300 */
    border-top-color: #3b82f6; /* blue-500 */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Loading Text */
.svg-heart-wc-loading-text {
    font-size: 17px;
    font-weight: 600;
}

/* Spinner Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Modal CSS END */