/* --- EMISA Journal: Replace '?' with 'i' Icon --- */

/* 1. Hide the original OJS question mark SVG icons */
td[submission] button[id^="headlessui-popover-button"] span.flex > span.inline-block svg {
    display: none !important;
}

/* 2. Hide the second icon container (prevents double icons in some OJS versions) */
td[submission] button[id^="headlessui-popover-button"] span.flex > span.inline-block:nth-child(2) {
    display: none !important;
}

/* 3. Create the 'i' icon inside the first container */
td[submission] button[id^="headlessui-popover-button"] span.flex > span.inline-block:first-child::before {
    content: "i";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px; 
    height: 16px;
    font-family: "Georgia", serif; /* Serif font makes the 'i' look more like a standard info icon */
    font-weight: bold;
    font-style: italic;
    font-size: 12px;
    color: currentColor; /* Matches the text color automatically */
    border: 1.5px solid currentColor;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

/* 4. Ensure the 'Anonymous' text stays aligned with the new icon */
td[submission] button[id^="headlessui-popover-button"] span.flex {
    align-items: center;
    display: inline-flex;
}