html.dark {
    --primary-button-color: #303030;
    --secondary-button-color: #252525;
    --primary-button-hover-color: #353535;
    --primary-border-color: #434343;
    --higlight-border-color: #5e5e5e;
    --background-color: #212121;
    --highlight-button-color: #f9f9f9;
    --default-text-color: white;
    --default-text-color-inverted: #191919;
    --tooltip-border-color: #bfbfbf;
}
html.light {
    --primary-button-color: #dddddd;
    --secondary-button-color: #e3e3e3;
    --primary-button-hover-color: #d1d1d1;
    --primary-border-color: #aeaeae;
    --higlight-border-color: #989898;
    --background-color: #ffffff;
    --highlight-button-color: #0d0d0d;
    --default-text-color: #191919;
    --default-text-color-inverted: white;
    --tooltip-border-color: #434343;
}
/* Text color variables */
html/*.dark*/ {
    --color-red: #e87371;
    --color-green: #65d169;
    --color-blue: #5fa5df;
    --color-orange: #e6a751;
    --color-gray: #afafaf;
    --color-pink: #e98af1;
    --color-purple: #a370d8;
    --color-yellow: #d4df63;
    --color-aqua: #8bdeec;
}
html.light {
    --color-red: #d3514e;
    --color-green: #0e830f;
    --color-blue: #276fb3;
    --color-orange: #b36308;
    --color-gray: #8f8f8f;
    --color-pink: #b032ba;
    --color-purple: #7938b1;
    --color-yellow: #9f9c11;
    --color-aqua: #35b2c3;
}


.prompt-button {
    padding: 8px 16px;
    border: 1px var(--primary-border-color) solid;
    border-radius: 12px;
    background: var(--primary-button-color);
    color: var(--default-text-color);
    cursor: pointer;
    transition: all 0.1s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}
.prompt-button:hover {
    background: var(--primary-button-hover-color);
}
.prompt-button:disabled {
    cursor: default;
    opacity: 0.8;
}


.auto-continue-button {
    position: relative;
    display: inline-block;
    background: var(--primary-button-color); /* Base background */
    border: 1px solid var(--higlight-border-color);
    cursor: pointer;
    font-weight: 500;
    overflow: hidden;
    z-index: 0;
}

.auto-continue-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: #404040;
    z-index: -1; /* Keep it behind text */
    transition: width 25s linear, opacity 0.2s linear;
}

.auto-continue-button.cancelled:hover {
    background: var(--primary-button-hover-color);
}


.auto-continue-button.filling::before {
    width: 100%;
}

.auto-continue-button.cancelled::before {
    transition: width 999s linear, opacity 0.2s linear;
    opacity: 0;
}


.suggestions-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    border-top: 1px solid var(--primary-button-color);
    padding-top: 20px;
    margin-bottom: 15px;
}

.choice-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 15px;
    background: var(--secondary-button-color);
    border: 1px solid var(--primary-border-color);
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    max-width: fit-content;
}

.action-button {
    padding: 6px 14px;
    border: none;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    transition: all 0.1s;
    text-align: left;
}
.action-button:hover {
    background: rgba(255, 255, 255, 0.08);
}
.action-button:disabled {
    background: rgba(255, 255, 255, 0.1);
    cursor: default;
}

/* put this in your content‑script CSS or inject it once */
.ui-skeleton {
    margin-top: 15px;
    border-radius: 12px;
    background: linear-gradient(
        110deg,
        var(--primary-button-color) 8%,
        var(--primary-button-hover-color) 18%,
        var(--primary-button-color) 33%
    );
    background-size: 200% 100%;
    animation: ui-shimmer 0.7s linear infinite;
    width: 0;
    height: 0;
    transition: all 0.2s;
}
@keyframes ui-shimmer {
    to {
        background-position-x: -200%;
    }
}

.tooltip-anim {
    opacity: 0;
    animation: fadeIn 250ms ease-out forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(2px); }
    to   { opacity: 1; transform: translateY(0); }
}
.colored-anim {
    color: white;
    transition: color 200ms ease-out;
}

.boost-tooltip {
    cursor: help;
    color: var(--tooltip-border-color);
    margin: 0 6px 0 3px;
    background: var(--primary-button-hover-color);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 12px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    line-height: 16px;       /* Match height */
    vertical-align: text-bottom; /* Align better with text */
}
.boost-tooltip-box {
    position: fixed;
    z-index: 9999;
    max-width: 260px;
    background: var(--secondary-button-color);
    color: var(--default-text-color);
    border: 2px solid var(--tooltip-border-color);
    padding: 14px 20px;
    border-radius: 12px;
    line-height: 1.3;
    box-shadow: 1px 3px 14px rgba(0, 0, 0, 0.35);
}
.tip-elab-btn {
    padding: 7px 15px;
    border-radius: 18px;
    background: var(--highlight-button-color);
    color: var(--default-text-color-inverted);
    cursor: pointer;
    transition: all 0.08s;
    text-align: left;
    font-weight: 500;
    margin-top: 15px;
    border: 1px var(--primary-border-color) solid;
}
/*.tip-elab-btn:hover {*/
/*    color: #212121;*/
/*    background: #ffffff;*/
/*}*/
.tip-elab-secondary-btn {
    background: var(--primary-button-color);
    color: var(--highlight-button-color);
}
.tip-elab-secondary-btn:hover {
    background-color: var(--primary-button-hover-color);
    color: var(--highlight-button-color);
}

.boost-hide-marker{
    font-size:0;
    line-height:0;
}

.boost-message-hidden {
    display: none !important;
    visibility: hidden !important;
}

