/**
 * iFlows Admin Core Styles
 *
 * @package iFlows_for_WooCommerce
 * @since 1.0.0
 */

.iflows-message-success {
    color: #46b450;
    font-weight: 500;
}

.iflows-message-error {
    color: #d63638;
    font-weight: 500;
}

.iflows-message-loading {
    color: #2271b1;
    font-weight: 500;
}

.iflows-message-info {
    color: #646970;
    font-weight: 500;
}

.button.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.button.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid currentColor;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.notice.iflows-global-notice {
    border-left-color: #dba617;
}

.notice.iflows-global-notice p {
    margin: 0.5em 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.notice.iflows-global-notice .button {
    margin: 0 !important;
}

.notice.iflows-global-notice .dashicons {
    margin-right: 4px;
}

input[readonly] {
    background-color: #f0f0f1;
    cursor: not-allowed;
}