/* =========================================================
   DB PDV · core / tokens, reset e elementos HTML
   Arquivo separado por área para facilitar manutenção.
   ========================================================= */

:root {
    --bg: #fff9ef;
    --card: #fffdfa;
    --cream: #f7efe4;
    --line: #eadfD3;
    --text: #251714;
    --muted: #7b6a62;
    --sidebar: #1b0f0b;
    --sidebar-soft: #34211d;
    --orange: #ff6908;
    --orange-2: #ff8b1f;
    --green: #25a55b;
    --teal: #087f72;
    --danger: #e52436;
    --gold: #f3a60a;
    --shadow: 0 8px 24px rgba(37, 23, 20, .12);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffdf8;
    min-height: 48px;
    padding: 0 14px;
    color: var(--text);
    outline: none;
    box-shadow: inset 0 1px 2px rgba(37, 23, 20, .04), 0 2px 8px rgba(37, 23, 20, .04);
}

textarea {
    min-height: 86px;
    padding-top: 12px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 105, 8, .13);
}

label {
    display: grid;
    gap: 8px;
    font-weight: 800;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 16px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

th {
    color: var(--muted);
    font-weight: 800;
}

td small {
    display: block;
    color: var(--muted);
    margin-top: 5px;
}
