

:root {
    color-scheme: light;
    font-family:
        "Segoe UI", sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    --brand-green-light: #00745e;
    --brand-green-dark: #006d58;
    --brand-green-dark-hover: #005f4d;
    --brand-green-surface: #edf7f4;
    --brand-green-bubble: #d9fdd3;
    --brand-green-light-rgb: 0, 116, 94;
    --brand-green-dark-rgb: 0, 109, 88;
    --brand-green-gradient:
        linear-gradient(
            100deg,
            #005546 0%,
            #00745f 100%);
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-width: 320px;
    min-height: 100%;
    margin: 0;
}

body {
    background: #f8f5f0;
}

html:has(.chat-page),
body:has(.chat-page) {
    height: 100%;
    overflow: hidden;
}

@media (max-width: 700px), (pointer: coarse) {
    input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
    textarea,
    select {
        font-size: 16px !important;
    }
}

@supports (-webkit-touch-callout: none) {
    @media (display-mode: standalone) {
        html,
        body {
            background-color: #075e54;
        }

        body::before {
            content: "";
            position: fixed;
            z-index: 1000;
            top: 0;
            right: 0;
            left: 0;
            height: env(safe-area-inset-top);
            background: #075e54;
            pointer-events: none;
        }
    }
}

h1:focus {
    outline: none;
}

.blazor-error-boundary {
    padding: 1rem;
    background: #a6382e;
    color: white;
}

.blazor-error-boundary::after {
    content: "Ocorreu um erro inesperado.";
}

#blazor-error-ui {
    display: none;
}

.chat-shell.drag-active::after {
    content: "Solte o arquivo para enviar";
    position: absolute;
    z-index: 90;
    inset: 10px;
    display: grid;
    place-items: center;
    border: 3px dashed #00735e;
    border-radius: 10px;
    background: rgba(237, 251, 247, .94);
    color: #00624f;
    font-size: 18px;
    font-weight: 800;
    pointer-events: none;
}
