/* Button spinner */
.button-spinner {
    border: 3px solid rgba(255, 255, 255, 0.3); /* Light border for the spinner */
    border-top: 3px solid #fff; /* White spinner */
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
}

.VSR_code_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 30px !important;
} 
      
 
.woocommerce-checkout.woocommerce-page.woocommerce-order-received section.woocommerce-order-details .openebookdivsection {
    display: none !important;
}

.woocommerce-view-order a.button.vital-source-ebook-button-main-trigger_click {
    text-transform: uppercase !important;
}           
  
body.resource-template-default.single  a.button.vital-source-ebook-button {
    
    margin-top: 21px !important;
    background: #9c3d39 !important;
    border: none !important;
    padding: 12px 21px !important;
    margin-bottom: 20px !important;
    color: #fff !important;   
    /* float: left !important; */
    font-size: 13px !important;     
     
}





/* Spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modal background */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8); /* Black with opacity */
}

/* Modal content box */
.custom-modal-content {
    position: relative;
    margin: 5% auto;
    padding: 0;
    background-color: #fff;
    width: 100%;    
    max-width: 85%;
    height: 80%;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Close button styling */
.custom-modal-close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

/* Zoom buttons container inside modal content */
.zoom-btn-container {
    
    top: 20px;
    right: 20%;
    left: 72%;
    z-index: 1001; 
}

/* Zoom button styling */
.zoom-btn {
    background: #B5121B;
    color: white;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    margin: 5px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.zoom-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* Responsive iframe */
.responsive-iframe {
    border: none;
    width: 100%;
    height: 100%;
    zoom: 1.0;
    transform-origin: center center;
}


 

a.download_codes {  
    padding: 0px 15px !important;
    margin: 0px !important;
	margin-bottom:10px !important ;   
    line-height: unset !important;
    /* text-align: right; */
    float: right;
    background: #B5121B !important;
	min-width:150px !important;    
}
