/*
 * Freemium watermark (Figma: 10Web-Freemium, node 417:33454).
 * Scoped to #tenweb-watermark, with resets so theme styles for img/button don't leak in.
 * Figma draws the 1px border inside the box, so paddings and widths here are 1px smaller.
 */
@font-face {
    font-family: "tenweb-watermark-evergrow-sans";
    src: url("../fonts/evergrow-sans/evergrow-sans-woff/EvergrowSans-Medium.woff") format("woff"),
         url("../fonts/evergrow-sans/evergrow-sans-ttf/EvergrowSans-Medium.ttf") format("truetype");
    font-weight: 500;
    font-display: swap;
}

#tenweb-watermark {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 2147483000;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 30px;
    margin: 0;
    padding: 0 0 0 15px;
    /* Solid colors only, as Figma renders them: fill on the padding box, border on the border box. */
    border: 1px solid transparent;
    border-radius: 8px;
    background:
        linear-gradient(90deg, #14151f 0%, #36373f 61.685%) padding-box,
        linear-gradient(90deg, #35363f 0%, #52535a 61.685%) border-box;
    color: #fff;
    font: 500 12px/18px "tenweb-watermark-evergrow-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
}

#tenweb-watermark .tenweb-watermark__brand {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* Link reset, so theme link styles don't leak in. */
#tenweb-watermark a.tenweb-watermark__brand,
#tenweb-watermark a.tenweb-watermark__brand:hover,
#tenweb-watermark a.tenweb-watermark__brand:focus,
#tenweb-watermark a.tenweb-watermark__brand:visited {
    color: inherit;
    font: inherit;
    text-decoration: none;
    border: 0;
    box-shadow: none;
    background: none;
    outline-offset: 2px;
}

#tenweb-watermark img {
    display: block;
    max-width: none;
    margin: 0;
    border: 0;
    box-shadow: none;
}

#tenweb-watermark .tenweb-watermark__logo {
    width: auto;
    height: 16px;
}

#tenweb-watermark .tenweb-watermark__close {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    width: 29px;
    margin: 0;
    padding: 0;
    border: 0;
    border-left: 1px solid #52535a;
    border-radius: 0 7px 7px 0;
    background: none;
    box-shadow: none;
    cursor: pointer;
    opacity: .75;
    transition: opacity .15s;
}

#tenweb-watermark .tenweb-watermark__close:hover,
#tenweb-watermark .tenweb-watermark__close:focus-visible {
    opacity: 1;
}

/* close.svg is cropped to the glyph, which is 9px in the Figma 16px icon. */
#tenweb-watermark .tenweb-watermark__close img {
    width: 9px;
    height: 9px;
}
