/* Bulk Email Checker - Frontend Typo Suggestion Styles
   System font stack by design: the widget must inherit the visual language
   of the host theme, not impose the plugin's brand fonts on the frontend.
   Explicit box-sizing, line-height, and text-align defend against
   destructive theme resets. */

.bulkec-typo-suggestion {
    display: none;
    box-sizing: border-box;
    margin-block-start: 8px;
    padding: 10px 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-align: start;
    text-transform: none;
    letter-spacing: normal;
    color: #1e293b;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    animation: bulkecSuggestionFadeIn 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bulkec-typo-suggestion *,
.bulkec-typo-suggestion *::before,
.bulkec-typo-suggestion *::after {
    box-sizing: border-box;
}

.bulkec-typo-suggestion.bulkec-typo-suggestion--visible {
    display: block;
}

.bulkec-typo-suggestion__text {
    display: inline;
    font-size: inherit;
    line-height: inherit;
}

.bulkec-typo-suggestion__link {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 32px;
    margin-inline-start: 4px;
    padding: 4px 12px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    color: #fcfdfe;
    background: #1e293b;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.15s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bulkec-typo-suggestion__link:hover {
    color: #fcfdfe;
    background: #0f172a;
}

.bulkec-typo-suggestion__link:active {
    transform: translateY(1px);
}

.bulkec-typo-suggestion__link:focus-visible {
    outline: 2px solid #1e293b;
    outline-offset: 2px;
}

@media (max-width: 782px) {
    .bulkec-typo-suggestion__link {
        min-height: 44px;
        padding: 10px 16px;
    }
}

@keyframes bulkecSuggestionFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .bulkec-typo-suggestion {
        animation: none;
    }

    .bulkec-typo-suggestion__link {
        transition: none;
    }
}
