/*! Bullmania theme: design tokens, font and base styles. Loaded before every page stylesheet. */

@font-face {
    font-family: "Inter";
    src: url("fonts/InterVariable.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Brand */
    --bm-bg: #0B0113;
    --bm-primary: #540f4d;
    --bm-secondary: #003329;
    --bm-accent: #d18fcb;
    --bm-pink: #dc2b88;
    --bm-rose: #cc3366;

    /* Text */
    --bm-text: #e4eaef;
    --bm-text-soft: #a1b5c6;
    --bm-text-muted: #54728b;

    /* Surfaces and lines */
    --bm-surface: #11171d;
    --bm-line: #161e25;
    --bm-border: #212c36;

    /* Trend */
    --bm-bull: #61d78b;
    --bm-bull-strong: #37cd6c;
    --bm-bear: #ff1a1a;
}

/* Base (from the Bullmania WordPress theme) */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: var(--bm-bg);
    color: var(--bm-text);
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Form + table resets (previously supplied by the WordPress theme) */
button,
select {
    text-transform: none;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

table {
    background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: .9em;
    margin-block-end: 15px;
    width: 100%;
}

table td,
table th {
    line-height: 1.5;
    padding: 15px;
    vertical-align: top;
}

[type=button],
[type=reset],
[type=submit],
button {
    -webkit-appearance: button;
    width: auto;
}

[type=button],
[type=submit],
button {
    background-color: transparent;
    border: 1px solid var(--bm-rose);
    border-radius: 3px;
    color: var(--bm-rose);
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    padding: .5rem 1rem;
    text-align: center;
    transition: all .3s;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    white-space: nowrap;
}

input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=time],
input[type=url],
select,
textarea {
    padding: .5rem 1rem;
    width: 100%;
}

[type=button]:not(:disabled),
[type=submit]:not(:disabled),
button:not(:disabled) {
    cursor: pointer;
}

/* Login views: centre the box (body is a flex container in bm-login.css) */
.bm-view-login .bm-main,
.bm-view-login-form .bm-main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* No transitions until the restored state has painted (JS removes bm-preload). */
.bm-preload *,
.bm-preload *::before,
.bm-preload *::after {
    transition: none !important;
}