﻿button.imid-button {
    height: 56px;
    border: 0.06rem solid transparent;
    outline: none;
    padding: 0 3rem;
    border-radius: 16px;
    background: linear-gradient(#7BE582, #7BE582) padding-box, linear-gradient(90deg, #01A081 0%, #7BE582 100%) border-box;
    div .content-container

{
    font-size: 0.875rem;
    text-wrap: nowrap;
    display: flex;
    gap: 5px;
    align-items: baseline;
    color: #072F31;
}

}

.imid-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

    .imid-loader.hidden {
        display: none;
        opacity: 0;
    }

.imid-loader__content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    max-width: 450px;
    min-width: 350px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.imid-loader__spinner {
    width: 70px;
    height: 70px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #72BF44;
    border-radius: 50%;
    margin: 0 auto 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.imid-loader__title {
    color: #072f31;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.imid-loader__text {
    color: #333;
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.imid-loader__subtext {
    color: #999;
    font-size: 14px;
    margin-bottom: 24px;
}

.imid-loader__status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #f5f5f5;
    border-radius: 8px;
    margin-top: 20px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #072f31;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.status-text {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* Error Message */
.error-message {
    color: #d32f2f;
    font-size: 14px;
    margin-top: 8px;
    min-height: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .error-message.visible {
        opacity: 1;
    }

/* Button States */
.imid-button.disabled,
.button--primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 576px) {
    .imid-loader__content {
        margin: 20px;
        padding: 30px 20px;
        min-width: auto;
    }

    .imid-loader__title {
        font-size: 20px;
    }

    .imid-loader__text {
        font-size: 16px;
    }

    .imid-loader__spinner {
        width: 60px;
        height: 60px;
    }
}