@import url("/fonts.css");

:root {
    --brand-purple: #7c3aed; /* Aksen dari poster merek. taste-skill-ignore */
    --brand-blue: #0ea5e9;
    --brand-ink: #0f172a;
    --brand-ground: #f8fafc;
    --brand-surface: #fff;
    --brand-font: Poppins, Arial, sans-serif;

    --brand-muted: #475569;
    --brand-control: #7e8ca3;
    --brand-border: #e2e8f0;
    --brand-pressed: #5b21b6;
    --brand-tint: #f3eefe;
    --brand-tint-hover: #ebe1fc;
    --brand-blue-tint: #eaf7ff;
    --brand-blue-ink: #0369a1;
    --brand-success: #166534;
    --brand-success-bg: #e8f6ed;
    --brand-warning: #854d0e;
    --brand-negative: #a5273c;
    --brand-negative-bg: #fff1f2;
    --brand-scrim: rgb(15 23 42 / 42%);
    --brand-scrim-light: rgb(15 23 42 / 26%);
    --brand-selection-edge: color-mix(in srgb, var(--brand-purple) 48%, var(--brand-border));
    --brand-focus-outline: 1px solid var(--brand-pressed);
    --brand-focus-offset: 2px;
    --brand-radius-control: 10px;
    --brand-radius-panel: 16px;
    --brand-radius-feature: 24px;
}

select {
    max-inline-size: 100%;
    min-block-size: 44px;
    padding: 8px 12px;
    border: 1px solid var(--brand-control);
    border-radius: var(--brand-radius-control);
    background-color: var(--brand-surface);
    color: inherit;
}

select:focus:not([aria-invalid="true"]) {
    border-color: var(--brand-selection-edge);
}

:is(button, input, select, textarea):focus-visible {
    outline: var(--brand-focus-outline);
    outline-offset: var(--brand-focus-offset);
}

@media (forced-colors: active) {
    :root {
        --brand-selection-edge: Highlight;
        --brand-focus-outline: 1px solid Highlight;
    }
}

.wordmark img {
    display: block;
    width: var(--wordmark-width, 164px);
    max-width: 100%;
    height: auto;
}
