@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');

.links-table-scroll {
    max-height: 500px;
    overflow-y: auto;
    width: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}

:root {
    /* Brand palette (from attached logo): red/orange primary and gold accent */
    --bg-top: #041616;
    --bg-bottom: #0a2d2d;
    --primary-mid: #145c5c;
    --primary-dark: #0a2d2d;
    --accent: #db3a11;
    --accent-dark: #a12e10;
    --primary-hover: #a12e10;
    --selection: #f0b16a;
    /* selection highlight */

    /* Gold accents */
    --accent-yellow: #ffc523;
    --accent-yellow-2: #f1b800;
    --accent-cyan: #e07a2b;
    /* muted orange fallback */
    --accent-cyan-dark: #c45f20;

    /* Utility */
    --white: #ffffff;
    --tooltip-bg: #333333;
}

.links-table-links-color .short-link:hover {
    color: var(--accent-yellow-2);
    text-decoration: underline;
}

.links-table-links-color .original-link {
    color: var(--accent-cyan);
    font-weight: 500;
}

.links-table-links-color .original-link:hover {
    color: var(--accent-cyan-dark);
    text-decoration: underline;
}

body {
    display: flex;
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, var(--bg-top), var(--bg-bottom));
    color: var(--white);
    justify-content: center;
    flex-direction: column;
    height: 100vh;
}

::selection {
    color: var(--white);
    background: var(--selection);
}

.main-container {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    /* Centers horizontally */
    align-items: center;
    /* Centers vertically */
    margin-top: auto;
}

.logo {
    display: flex;
    font-family: "Source Serif 4", serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    font-size: 7em;
    color: var(--white);
    margin-bottom: 10px;
    align-items: center;
    justify-content: center;
}

.logo-img {
    display: block;
    max-width: 420px;
    width: 65%;
    height: auto;
}

.tagline {
    font-family: "Inter", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 18px;
    margin-bottom: 50px;
}

/* Put buttons visually inside the input area by making the container relatively positioned
   and the buttons absolutely positioned inside that container. The input uses box-sizing
   so padding-right makes room for the buttons. This keeps layout stable and doesn't affect
   footer alignment. */
.input-container {
    display: flex;
    font-family: "Inter", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    justify-content: center;
    width: 100%;
}

.input-container .input-box {
    position: relative;
    width: 100%;
    margin: 0 100px;
    max-width: 750px;
}

.input-container input[type="text"] {
    color: var(--text-color, #3f3f3f);
    width: 100%;
    padding: 20px;
    padding-right: 140px;
    /* room for button(s) inside the input */
    box-sizing: border-box;
    font-size: 30px;
    border: 5px solid var(--accent-yellow);
    border-radius: 20px;
    outline: none;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
    transition: all 0.5s;
}

.input-container input[type="text"]:focus {
    border-color: var(--accent-dark);
}

.input-container .input-box>button {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background-color: var(--accent);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 10px;
    border: 0;
    font-size: 40px;
    cursor: pointer;
    transition: all 0.5s;
}

/* Inline input validation error message */
.input-error {
    display: block;
    margin: 14px auto 0 auto;
    max-width: 750px;
    color: var(--primary-dark);
    background: var(--accent-yellow);
    border: 1px solid var(--accent-yellow-2);
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    text-align: left;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.input-error strong {
    color: var(--accent-dark);
    margin-right: 8px;
}

.copy-container {
    display: none;
    font-family: "Inter", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    justify-content: center;
    width: 100%;
}

.copy-container .input-box {
    position: relative;
    width: 100%;
    margin: 0 100px;
    max-width: 750px;
}

.copy-container input[type="text"] {
    color: var(--text-color, #3f3f3f);
    width: 100%;
    padding: 20px;
    padding-right: 140px;
    /* room for two buttons */
    box-sizing: border-box;
    font-size: 30px;
    border: 5px solid var(--accent);
    border-radius: 20px;
    outline: none;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
    transition: all 0.5s;
}

/* .copy-container input[type="text"]:focus {
    border-color: #0056b3;
} */

.copy-container .copy-buttons {
    display: flex;
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    gap: 8px;
}

.copy-container .copy-buttons button {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background-color: var(--accent);
    color: var(--white);
    border: 0;
    font-size: 40px;
    cursor: pointer;
}

.copy-container button:hover,
.input-container button:hover {
    background-color: var(--accent-dark);
    color: var(--white);
}

footer.primary {
    display: flex;
    margin-top: auto;
    margin-bottom: 100px;
    width: 100%;
    flex-direction: column;
    align-items: center;
}

.links {
    margin-top: 20px;
    font-size: 20px;
    text-align: center;
}

.links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 10px;
}

.links a:hover {
    text-decoration: underline;
}

footer.primary .copyright {
    margin-top: 20px;
    font-size: 12px;
    text-align: center;
    color: #ffffff;
    opacity: 0.8;
    width: 100%;
}

.copy-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.copy-buttons button {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background-color: var(--accent);
    color: var(--white);
    border: 0;
    font-size: 40px;
    cursor: pointer;
}

.copy-buttons button:hover {
    background-color: var(--accent-dark);
}

/* Highlight the input briefly after copy/auto-copy */
.copy-container input.highlighted {
    border-color: var(--selection);
    box-shadow: 0 0 30px rgba(240, 177, 106, 0.85);
}

.tooltip {
    display: none;
    position: absolute;
    background-color: var(--tooltip-bg);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    pointer-events: none;
    z-index: 999;
}

/* Pricing Table */
.pricing-container {
    display: flex;
    max-width: 900px;
    gap: 20px;
    justify-content: center;
}

.card {
    display: flex;
    font-family: "Inter", serif;
    font-size: 18px;
    background: var(--primary-mid);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1;
    border: 5px solid rgba(255, 255, 255, 0);
    flex-direction: column;
    width: 300px;
}

.card h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.card.featured {
    background-color: var(--primary-mid);
    color: var(--white);
    border-color: var(--primary-dark);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    border: 3px solid #FFF;
}

.price {
    font-size: 32px;
    font-weight: bold;
}

.price span {
    font-size: 16px;
}

.features {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    color: #ffffff;
}

.card.featured .features {
    color: white;
}

.features li {
    margin: 5px 0;
    padding: 10px;
}

.features li:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.btn {
    display: block;
    margin-top: 15px;
    padding: 15px;
    background-color: var(--primary-mid);
    color: var(--white);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    transition: all 250ms ease-in-out;
    margin-top: auto;
    font-size: 20px;
}

.btn:hover {
    background-color: var(--primary-dark);
}

.card.featured .btn {
    background-color: var(--primary-dark);
    color: var(--white);
}

.card.featured .btn:hover {
    background-color: var(--primary-hover);
}

.about-container {
    display: flex;
    max-width: 900px;
    gap: 20px;
    justify-content: center;
}

.about-container p {
    line-height: 30px;
}

/* Links Table Card Style */
.links-table-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.links-table {
    background: var(--primary-mid);
    border-radius: 20px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    border: 3px solid rgba(255, 255, 255, 0);
    width: 100%;
    max-width: 900px;
    font-family: "Inter", serif;
    color: white;
    overflow: hidden;
}

.links-table th,
.links-table td {
    padding: 16px 20px;
    text-align: left;
}

.links-table th {
    background-color: var(--primary-dark);
    font-size: 20px;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-hover);
}

.links-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.links-table tr:last-child {
    /* no-op: preserve visual rhythm (no explicit border) */
}

.links-table td a {
    color: var(--accent);
    text-decoration: none;
    word-break: break-all;
}

.links-table td a:hover {
    text-decoration: underline;
}

/* Stats Page Styles */
.stats-map-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--bg-top), var(--bg-bottom));
}

.stats-back-btn {
    display: flex;
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 12px;
    font-family: 'Inter', serif;
    font-size: 20px;
    color: var(--primary-dark);
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
    gap: 10px;
}

.stats-back-btn:hover {
    background: var(--primary-dark);
    color: #FFF;
}

/* Make Leaflet zoom controls visually match the stats back button */
.leaflet-control-zoom,
.leaflet-control-zoom .leaflet-bar,
.leaflet-control-zoom .leaflet-bar a,
.leaflet-control-zoom .leaflet-control-zoom-in,
.leaflet-control-zoom .leaflet-control-zoom-out {
    z-index: 1000 !important;
}

/* stronger specificity and !important so these override Leaflet's stylesheet */
.leaflet-control-zoom .leaflet-bar,
.leaflet-touch .leaflet-bar {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.leaflet-right .leaflet-control {
    margin-right: 30px !important;
}

.leaflet-top .leaflet-control {
    margin-top: 30px !important;
}

.leaflet-control-zoom .leaflet-bar a,
.leaflet-control-zoom .leaflet-control-zoom-in,
.leaflet-control-zoom .leaflet-control-zoom-out {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 52px !important;
    height: 52px !important;
    margin: 6px 0 !important;
    background: rgba(255, 255, 255, 0.85) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    backdrop-filter: blur(8px) !important;
    border-radius: 16px !important;
    color: var(--primary-dark) !important;
    font-family: 'Inter', serif !important;
    font-size: 26px !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    border: none !important;
    transition: background 0.2s ease-in-out, color 0.2s ease-in-out, transform 120ms ease !important;
}

.leaflet-control-zoom .leaflet-bar a:hover,
.leaflet-control-zoom .leaflet-control-zoom-in:hover,
.leaflet-control-zoom .leaflet-control-zoom-out:hover {
    background: var(--primary-dark) !important;
    color: #FFF !important;
}

.left-sidebar {
    display: flex;
    position: absolute;
    top: 90px;
    left: 30px;
    z-index: 900;
    width: 350px;
    max-height: 70vh;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 5px solid var(--primary-dark);
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.10);
    font-family: 'Inter', serif;
    color: var(--primary-dark);
    flex-direction: column;
}

/* Close button moved into the left sidebar (top-right) */
.left-sidebar .left-close-btn,
.left-sidebar #detail-close-btn {
    /* Hidden by default; shown when drilling into a location via .show-detail on the sidebar */
    display: none;
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    color: var(--primary-dark);
    padding: 6px;
    border-radius: 8px;
    transition: background 0.15s ease-in-out, transform 0.12s ease;
    z-index: 910;
}

.left-sidebar.show-detail .left-close-btn,
.left-sidebar.show-detail #detail-close-btn {
    display: block;
}

.left-sidebar .left-close-btn:hover,
.left-sidebar #detail-close-btn:hover {
    background: rgba(0, 0, 0, 0.06);
}

.left-sidebar .stats-section {
    display: flex;
    padding: 24px 20px 24px 20px;
    flex-direction: column;
    gap: 10px;
}

.left-sidebar .stats-link {
    display: flex;
    font-size: 14px;
    word-break: break-all;
    padding: 15px;
    border-radius: 10px;
    background-color: var(--primary-mid);
    color: var(--white);
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.left-sidebar .stats-link:hover {
    background-color: var(--primary-dark);
}

.left-sidebar .stats-link a {
    text-decoration: none;
    color: #FFF;
}

.left-sidebar .stats-link .material-symbols-outlined {
    float: right;
}

.left-sidebar .stats-link a:visited {
    color: var(--white);
}

.left-sidebar .stats-total {
    font-size: 2em;
    font-weight: 600;
    color: var(--primary-dark);
}

.left-sidebar .stats-shortcode {
    display: inline-block;
    font-size: 1.2em;
    color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
}

.left-sidebar .stats-shortcode code {
    font-family: monospace;
    background: transparent;
    padding: 0 4px;
    color: var(--primary-dark);
}

.left-sidebar .stats-city-list {
    max-height: 400px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.3);
    --visit-gap: 12px; /* spacing between city list items; separator will be centered in this gap */
}

/* Custom scrollbars for several scrollable containers (city list, detail list, links table)
   Use the primary-dark green as the thumb color so scrollbars match the site's palette.
   - WebKit browsers: styled thumb + track with rounded corners
   - Firefox: scrollbar-color + scrollbar-width
*/
.left-sidebar .stats-city-list,
.detail-list,
.links-table-scroll {
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-dark) rgba(255, 255, 255, 0.06);
}

/* WebKit-based browsers */
.left-sidebar .stats-city-list::-webkit-scrollbar,
.detail-list::-webkit-scrollbar,
.links-table-scroll::-webkit-scrollbar {
    width: 10px;
}

.left-sidebar .stats-city-list::-webkit-scrollbar-track,
.detail-list::-webkit-scrollbar-track,
.links-table-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
}

.left-sidebar .stats-city-list::-webkit-scrollbar-thumb,
.detail-list::-webkit-scrollbar-thumb,
.links-table-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-dark), var(--primary-mid));
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18) inset;
}

.left-sidebar .stats-city-list::-webkit-scrollbar-thumb:hover,
.detail-list::-webkit-scrollbar-thumb:hover,
.links-table-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-mid), var(--primary-dark));
}

.left-sidebar .stats-city-list::-webkit-scrollbar-corner,
.detail-list::-webkit-scrollbar-corner,
.links-table-scroll::-webkit-scrollbar-corner {
    background: transparent;
}

/* Make city list items visually match the detail list: spacing, rounded boxes, hover and separators */
.left-sidebar .stats-city-list-item {
    display: flex;
    font-size: 16px;
    color: var(--primary-dark);
    align-items: center;
    justify-content: space-between;
    padding: 10px 8px;
    margin-bottom: var(--visit-gap);
    border-radius: 10px;
    position: relative; /* for separator pseudo-element */
    transition: background-color 250ms ease-in-out;
}

/* Make city list items visibly interactive */
.left-sidebar .stats-city-list-item {
    cursor: pointer;
}

.left-sidebar .stats-city-list-item:hover {
    background-color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.left-sidebar .stats-city-list-item .count {
    display: flex;
    background-color: var(--accent);
    color: #FFF;
    border-radius: 100px;
    min-width: 20px;
    width: fit-content;
    height: fit-content;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 5px 10px;
}

/* Replace hard top borders with a centered pseudo-element separator similar to .detail-list */
.left-sidebar .stats-city-list-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: calc(var(--visit-gap) / -2);
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    pointer-events: none;
}

.left-sidebar footer {
    display: flex;
    margin-top: auto;
    width: 100%;
    flex-direction: column;
    align-items: center;
    background-color: var(--primary-dark);
    border-radius: 0 0 10px 10px;
    color: var(--white);
}

.left-sidebar footer .copyright {
    margin: 10px 0;
    font-size: 12px;
    text-align: center;
    color: #ffffff;
    opacity: 0.8;
    width: 100%;
}

#stats-map {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
}

/* Custom Leaflet circle marker for stats map */
.stats-map-marker {
    display: flex;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    border: 3px solid var(--accent-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.stats-map-marker span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Style Leaflet tooltips/popups to match the rounded orange marker bubble */
.leaflet-tooltip {
    background: var(--accent) !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 8px 12px !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15) !important;
    font-family: 'Inter', serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    border: 3px solid var(--accent-dark) !important;
    white-space: nowrap !important;
}

/* Hide the small triangular tip so it appears as a rounded bubble */
.leaflet-tooltip:before {
    display: none !important;
}

/* Also style popups (click) to match */
.leaflet-popup-content-wrapper {
    background: var(--accent) !important;
    color: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18) !important;
    border: 3px solid var(--accent-dark) !important;
    font-family: 'Inter', serif !important;
}

.leaflet-popup-content {
    margin: 8px 12px !important;
    font-weight: 600 !important;
}

.leaflet-popup-tip-container {
    display: none !important;
}

/* Visits detail pane shown when a marker is clicked */
.visits-detail {
    display: none;
    /* toggled via JS */
    flex-direction: column;
    gap: 8px;
    padding: 24px 20px 24px 20px;
}

.visits-detail .detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.visits-detail .detail-header .detail-title {
    font-size: 2em;
}

.detail-close-btn {
    background: var(--primary-dark);
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
}

.detail-list {
    max-height: 40vh;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px;
    font-size: 13px;
    color: var(--primary-dark);
}

.detail-chart {
    display: flex;
    width: 100%;
    height: 80px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    box-sizing: border-box;
}

.detail-chart svg {
    width: 100%;
    max-width: 280px;
    height: 56px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
}

.detail-chart .no-data {
    color: #666;
    font-size: 13px;
}

.detail-list {
    --visit-gap: 16px; /* space between items; separator will be centered in this gap */
}

.detail-list .visit-item {
    margin-bottom: var(--visit-gap);
    padding: 10px;
    border-radius: 10px;
    transition: background-color 250ms ease-in-out;
    position: relative; /* for separator pseudo-element */
}

/* Visual separator implemented as a pseudo-element so it isn't part of the item's box.
   The separator is positioned at -50% of the gap so it sits exactly between items. */
.detail-list .visit-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    /* place separator halfway into the gap between this item and the next */
    bottom: calc(var(--visit-gap) / -2);
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    pointer-events: none;
}

.detail-list .visit-item:hover {
    background-color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.detail-list .visit-item:last-child {
    margin-bottom: 0;
}

/* Full visit drill-down view inside the details pane */
.visit-full {
    display: none;
    padding: 12px;
    margin-top: 12px;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    color: var(--primary-dark);
    font-size: 13px;
}
.visit-full pre {
    background: transparent;
    margin: 8px 0 0 0;
}



/* Pills for visit meta (IP, referer, browser, etc.) */
.visit-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 6px;
    align-items: center;
}

.visit-pill {
    display: inline-block;
    background: var(--primary-dark);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

/* Split pill into a lighter left label and a darker right value */
.visit-pill {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
    /* inner spans handle padding */
    border-radius: 999px;
    background: transparent;
    /* value span handles background */
}

.visit-pill .pill-label {
    /* left label: use primary-dark (darker) so it contrasts with the lighter value */
    background: var(--primary-dark);
    color: #fff;
    padding: 7px 10px 6px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px 0 0 999px;
    display: inline-flex;
    align-items: center;
}

.visit-pill .pill-value {
    /* right value: lighter primary-mid after swapping colors */
    background: var(--primary-mid);
    color: #fff;
    padding: 6px 10px 6px 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 0 999px 999px 0;
    display: inline-flex;
    align-items: center;
}