/*
 *  Styles for Inline Widget
 *  
 */
.iclosed-widget {
    position: relative;
}

.iclosed-loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 402px;
    width: 100%;
    border: none;
    background-color: #ffffff;
    border-radius: 8px;
    animation: iclosed-pulse 1.5s infinite ease-in-out;
    overflow: hidden;
}

.iclosed-loader-header {
    width: 100%;
    display: flex;
    justify-content: center;
    column-gap: 16px;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid #d1d5db;
}

.iclosed-loader-header > div {
    color: #9ca3af;
    width: 140px;
}

.iclosed-placeholder {
    height: 16px;
    border-radius: 999px;
    background-color: #EBEEF1;
}

.iclosed-placeholder-large {
    height: 24px;
}

.iclosed-placeholder-small {
    height: 12px;
}

.iclosed-loader-section {
    width: 100%;
    padding: 20px 24px;
    box-sizing: border-box;
}

.iclosed-placeholder-group {
    margin-bottom: 16px;
    padding: 16px 0;
}

.iclosed-loader-button {
    height: 42px;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    background-color: #f3f4f6;
    color: #ffffff;
    padding: 10px 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

@keyframes iclosed-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@media (min-width: 768px) {
    .iclosed-loader-container {
        border: 1px solid #d1d5db;
        box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    }
}

/*
 *  Styles for Popup Widget
 *  
 */
 .iclosed-popup-overlay {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100vw; 
    height: 100vh !important; 
    background-color: #344054B2; 
    z-index: 2147483647; 
    display: flex;
    justify-content: center;
    align-items: center;
}


.iclosed-popup-container {
    width: 90%;
    max-width: 1000px;
    height: 90%;
    position: relative;
    overflow: auto; 
    scrollbar-width: none; 
}

.iclosed-popup-container::-webkit-scrollbar {
    display: none !important; 
}

.iclosed-popup-content {
    width: 100%;
    height: 100%;
    overflow: auto;
    scrollbar-width: none;
    position: relative;
}

.iclosed-popup-content::-webkit-scrollbar {
    display: none !important;
}

.iclosed-popup-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #fff;
    border-radius: 50%;
    animation: iclosed-spin 1s linear infinite;
    z-index: 10;
}

@keyframes iclosed-spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}