/* WOORDS 2.0 — UNIFIED VERIFICATION BADGE */

.verified-badge {
    display: inline-flex !important;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px;
    margin-left: 5px !important;
    padding: 0 !important;
    vertical-align: -3px;
    font-size: 0 !important;
    line-height: 1 !important;
    color: transparent !important;
    background: #1d9bf0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    clip-path: polygon(
        50% 0%, 62% 7%, 75% 4%, 82% 17%,
        95% 23%, 93% 37%, 100% 50%, 93% 63%,
        95% 77%, 82% 83%, 75% 96%, 62% 93%,
        50% 100%, 38% 93%, 25% 96%, 18% 83%,
        5% 77%, 7% 63%, 0% 50%, 7% 37%,
        5% 23%, 18% 17%, 25% 4%, 38% 7%
    );
}

.verified-badge::before {
    content: "" !important;
    position: absolute;
    width: 9px;
    height: 6px;
    top: 4px;
    left: 3px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    box-sizing: border-box;
}

/* Badge tooltip on the accessible wrapper */
.woords-verified {
    display: inline-flex;
    align-items: center;
    position: relative;
    vertical-align: middle;
    cursor: help;
}

.woords-verified .verified-badge {
    margin-left: 5px !important;
}

.woords-verified:hover::after,
.woords-verified:focus-visible::after {
    content: "Verified on WOORDS";
    position: absolute;
    left: 50%;
    bottom: calc(100% + 9px);
    transform: translateX(-50%);
    width: max-content;
    max-width: 220px;
    padding: 8px 11px;
    border-radius: 9px;
    background: #17191d;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    z-index: 100;
    box-shadow: 0 5px 18px rgba(0,0,0,.15);
}

.woords-verified:focus-visible {
    outline: 2px solid #1d9bf0;
    outline-offset: 3px;
    border-radius: 3px;
}
