/*
 * Gestaum Digital - estilos da aplicação
 *
 * Reproduz os estilos do Material-UI v4 (tema padrão) e do react-toastify v6
 * usados pelo antigo frontend React, para manter exatamente o mesmo visual
 * sem React/build. As classes seguem os nomes do MUI (MuiPaper-root, ...);
 * as classes "gd-*" equivalem aos makeStyles de cada página.
 */

/* ========================================================================
 * CssBaseline
 * ===================================================================== */
html {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after { box-sizing: inherit; }
strong, b { font-weight: 700; }
body {
    color: rgba(0, 0, 0, 0.87);
    margin: 0;
    font-size: 0.875rem;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    line-height: 1.43;
    letter-spacing: 0.01071em;
    background-color: #fafafa;
}
@media print { body { background-color: #fff; } }
body::backdrop { background-color: #fafafa; }
[hidden] { display: none !important; }

/* ========================================================================
 * Container / Typography / Paper
 * ===================================================================== */
.MuiContainer-root {
    width: 100%;
    display: block;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}
@media (min-width: 600px) {
    .MuiContainer-root { padding-left: 24px; padding-right: 24px; }
}
@media (min-width: 1280px) {
    .MuiContainer-maxWidthLg { max-width: 1280px; }
}

.MuiTypography-root { margin: 0; }
.MuiTypography-body1 { font-size: 1rem; font-family: "Roboto", "Helvetica", "Arial", sans-serif; font-weight: 400; line-height: 1.5; letter-spacing: 0.00938em; }
.MuiTypography-body2 { font-size: 0.875rem; font-family: "Roboto", "Helvetica", "Arial", sans-serif; font-weight: 400; line-height: 1.43; letter-spacing: 0.01071em; }
.MuiTypography-h1 { font-size: 6rem; font-family: "Roboto", "Helvetica", "Arial", sans-serif; font-weight: 300; line-height: 1.167; letter-spacing: -0.01562em; }
.MuiTypography-h6 { font-size: 1.25rem; font-family: "Roboto", "Helvetica", "Arial", sans-serif; font-weight: 500; line-height: 1.6; letter-spacing: 0.0075em; }
.MuiTypography-subtitle1 { font-size: 1rem; font-family: "Roboto", "Helvetica", "Arial", sans-serif; font-weight: 400; line-height: 1.75; letter-spacing: 0.00938em; }
.MuiTypography-alignCenter { text-align: center; }
.MuiTypography-displayBlock { display: block; }

.MuiPaper-root {
    color: rgba(0, 0, 0, 0.87);
    transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    background-color: #fff;
}
.MuiPaper-rounded { border-radius: 4px; }
.MuiPaper-outlined { border: 1px solid rgba(0, 0, 0, 0.12); }
.MuiPaper-elevation0 { box-shadow: none; }
.MuiPaper-elevation1 { box-shadow: 0px 2px 1px -1px rgba(0,0,0,0.2), 0px 1px 1px 0px rgba(0,0,0,0.14), 0px 1px 3px 0px rgba(0,0,0,0.12); }
.MuiPaper-elevation4 { box-shadow: 0px 2px 4px -1px rgba(0,0,0,0.2), 0px 4px 5px 0px rgba(0,0,0,0.14), 0px 1px 10px 0px rgba(0,0,0,0.12); }
.MuiPaper-elevation8 { box-shadow: 0px 5px 5px -3px rgba(0,0,0,0.2), 0px 8px 10px 1px rgba(0,0,0,0.14), 0px 3px 14px 2px rgba(0,0,0,0.12); }
.MuiPaper-elevation24 { box-shadow: 0px 11px 15px -7px rgba(0,0,0,0.2), 0px 24px 38px 3px rgba(0,0,0,0.14), 0px 9px 46px 8px rgba(0,0,0,0.12); }

.MuiSvgIcon-root {
    fill: currentColor;
    width: 1em;
    height: 1em;
    display: inline-block;
    font-size: 1.5rem;
    transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    flex-shrink: 0;
    user-select: none;
}

/* ========================================================================
 * Grid
 * ===================================================================== */
.MuiGrid-container { width: 100%; display: flex; flex-wrap: wrap; box-sizing: border-box; }
.MuiGrid-item { margin: 0; box-sizing: border-box; }
.MuiGrid-spacing-xs-2 { width: calc(100% + 16px); margin: -8px; }
.MuiGrid-spacing-xs-2 > .MuiGrid-item { padding: 8px; }
.MuiGrid-spacing-xs-3 { width: calc(100% + 24px); margin: -12px; }
.MuiGrid-spacing-xs-3 > .MuiGrid-item { padding: 12px; }
.MuiGrid-grid-xs-3 { flex-grow: 0; max-width: 25%; flex-basis: 25%; }
.MuiGrid-grid-xs-4 { flex-grow: 0; max-width: 33.333333%; flex-basis: 33.333333%; }
.MuiGrid-grid-xs-6 { flex-grow: 0; max-width: 50%; flex-basis: 50%; }
.MuiGrid-grid-xs-8 { flex-grow: 0; max-width: 66.666667%; flex-basis: 66.666667%; }
.MuiGrid-grid-xs-12 { flex-grow: 0; max-width: 100%; flex-basis: 100%; }
@media (min-width: 600px) {
    .MuiGrid-grid-sm-6 { flex-grow: 0; max-width: 50%; flex-basis: 50%; }
}
@media (min-width: 960px) {
    .MuiGrid-grid-md-3 { flex-grow: 0; max-width: 25%; flex-basis: 25%; }
    .MuiGrid-grid-md-6 { flex-grow: 0; max-width: 50%; flex-basis: 50%; }
}

/* ========================================================================
 * Stepper
 * ===================================================================== */
.MuiStepper-root { display: flex; padding: 24px; }
.MuiStepper-horizontal { align-items: center; flex-direction: row; }
.MuiStep-horizontal { padding-left: 8px; padding-right: 8px; }
.MuiStepLabel-root { display: flex; align-items: center; }
.MuiStepLabel-iconContainer { display: flex; flex-shrink: 0; padding-right: 8px; }
.MuiStepLabel-labelContainer { width: 100%; }
.MuiStepLabel-label { color: rgba(0, 0, 0, 0.54); }
.MuiStepLabel-label.MuiStepLabel-active,
.MuiStepLabel-label.MuiStepLabel-completed { color: rgba(0, 0, 0, 0.87); font-weight: 500; }
.MuiStepIcon-root { color: rgba(0, 0, 0, 0.38); display: block; }
.MuiStepIcon-root.MuiStepIcon-active,
.MuiStepIcon-root.MuiStepIcon-completed { color: #3f51b5; }
.MuiStepIcon-text { fill: #fff; font-size: 0.75rem; font-family: "Roboto", "Helvetica", "Arial", sans-serif; }
.MuiStepConnector-root { flex: 1 1 auto; }
.MuiStepConnector-line { display: block; border-color: #bdbdbd; }
.MuiStepConnector-lineHorizontal { border-top-style: solid; border-top-width: 1px; }

/* ========================================================================
 * ButtonBase / Button / ripple
 * ===================================================================== */
.MuiButtonBase-root {
    color: inherit;
    border: 0;
    cursor: pointer;
    margin: 0;
    display: inline-flex;
    outline: 0;
    padding: 0;
    position: relative;
    align-items: center;
    user-select: none;
    border-radius: 0;
    vertical-align: middle;
    -moz-appearance: none;
    justify-content: center;
    text-decoration: none;
    background-color: transparent;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
}
.MuiButtonBase-root::-moz-focus-inner { border-style: none; }
.MuiButtonBase-root.Mui-disabled { cursor: default; pointer-events: none; }

.MuiButton-root {
    color: rgba(0, 0, 0, 0.87);
    padding: 6px 16px;
    font-size: 0.875rem;
    min-width: 64px;
    box-sizing: border-box;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-weight: 500;
    line-height: 1.75;
    border-radius: 4px;
    letter-spacing: 0.02857em;
    text-transform: uppercase;
}
.MuiButton-root:hover { text-decoration: none; background-color: rgba(0, 0, 0, 0.04); }
.MuiButton-root.Mui-disabled { color: rgba(0, 0, 0, 0.26); }
.MuiButton-root:hover.Mui-disabled { background-color: transparent; }
@media (hover: none) { .MuiButton-root:hover { background-color: transparent; } }
.MuiButton-label { width: 100%; display: inherit; align-items: inherit; justify-content: inherit; }
.MuiButton-text { padding: 6px 8px; }
.MuiButton-text.Mui-focusVisible { background-color: rgba(0, 0, 0, 0.12); }
.MuiButton-textPrimary { color: #3f51b5; }
.MuiButton-textPrimary:hover { background-color: rgba(63, 81, 181, 0.04); }
.MuiButton-textPrimary.Mui-focusVisible { background-color: rgba(63, 81, 181, 0.12); }
@media (hover: none) { .MuiButton-textPrimary:hover { background-color: transparent; } }
.MuiButton-contained {
    color: rgba(0, 0, 0, 0.87);
    box-shadow: 0px 3px 1px -2px rgba(0,0,0,0.2), 0px 2px 2px 0px rgba(0,0,0,0.14), 0px 1px 5px 0px rgba(0,0,0,0.12);
    background-color: #e0e0e0;
}
.MuiButton-contained:hover {
    box-shadow: 0px 2px 4px -1px rgba(0,0,0,0.2), 0px 4px 5px 0px rgba(0,0,0,0.14), 0px 1px 10px 0px rgba(0,0,0,0.12);
    background-color: #d5d5d5;
}
.MuiButton-contained.Mui-focusVisible { box-shadow: 0px 3px 5px -1px rgba(0,0,0,0.2), 0px 6px 10px 0px rgba(0,0,0,0.14), 0px 1px 18px 0px rgba(0,0,0,0.12); }
.MuiButton-contained:active { box-shadow: 0px 5px 5px -3px rgba(0,0,0,0.2), 0px 8px 10px 1px rgba(0,0,0,0.14), 0px 3px 14px 2px rgba(0,0,0,0.12); }
.MuiButton-contained.Mui-disabled { color: rgba(0, 0, 0, 0.26); box-shadow: none; background-color: rgba(0, 0, 0, 0.12); }
@media (hover: none) {
    .MuiButton-contained:hover { box-shadow: 0px 3px 1px -2px rgba(0,0,0,0.2), 0px 2px 2px 0px rgba(0,0,0,0.14), 0px 1px 5px 0px rgba(0,0,0,0.12); background-color: #e0e0e0; }
}
.MuiButton-contained:hover.Mui-disabled { background-color: rgba(0, 0, 0, 0.12); }
.MuiButton-containedPrimary { color: #fff; background-color: #3f51b5; }
.MuiButton-containedPrimary:hover { background-color: #303f9f; }
@media (hover: none) { .MuiButton-containedPrimary:hover { background-color: #3f51b5; } }

.MuiTouchRipple-root {
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    overflow: hidden;
    position: absolute;
    border-radius: inherit;
    pointer-events: none;
}
.MuiTouchRipple-ripple { opacity: 0; position: absolute; }
.MuiTouchRipple-rippleVisible { opacity: 0.3; animation: mui-ripple-enter 550ms cubic-bezier(0.4, 0, 0.2, 1); transform: scale(1); }
.MuiTouchRipple-child { opacity: 1; display: block; width: 100%; height: 100%; border-radius: 50%; background-color: currentColor; }
.MuiTouchRipple-childLeaving { opacity: 0; animation: mui-ripple-exit 550ms cubic-bezier(0.4, 0, 0.2, 1); }
@keyframes mui-ripple-enter { 0% { transform: scale(0); opacity: 0.1; } 100% { transform: scale(1); opacity: 0.3; } }
@keyframes mui-ripple-exit { 0% { opacity: 1; } 100% { opacity: 0; } }

/* IconButton / Checkbox / FormControlLabel */
.MuiIconButton-root {
    flex: 0 0 auto;
    color: rgba(0, 0, 0, 0.54);
    padding: 12px;
    overflow: visible;
    font-size: 1.5rem;
    text-align: center;
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    border-radius: 50%;
}
.MuiIconButton-root:hover { background-color: rgba(0, 0, 0, 0.04); }
@media (hover: none) { .MuiIconButton-root:hover { background-color: transparent; } }
.MuiIconButton-label { width: 100%; display: flex; align-items: inherit; justify-content: inherit; }
.PrivateSwitchBase-root { padding: 9px; }
.PrivateSwitchBase-input {
    top: 0; left: 0;
    width: 100%; height: 100%;
    cursor: inherit;
    margin: 0;
    opacity: 0;
    padding: 0;
    z-index: 1;
    position: absolute;
}
.MuiCheckbox-root { color: rgba(0, 0, 0, 0.54); }
.MuiCheckbox-colorPrimary.Mui-checked { color: #3f51b5; }
.MuiCheckbox-colorPrimary.Mui-checked:hover { background-color: rgba(63, 81, 181, 0.04); }
@media (hover: none) { .MuiCheckbox-colorPrimary.Mui-checked:hover { background-color: transparent; } }
.MuiCheckbox-root.Mui-focusVisible { background-color: rgba(0, 0, 0, 0.08); }
.MuiCheckbox-colorPrimary.Mui-checked.Mui-focusVisible { background-color: rgba(63, 81, 181, 0.12); }
.MuiFormControlLabel-root {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    margin-left: -11px;
    margin-right: 16px;
    vertical-align: middle;
    -webkit-tap-highlight-color: transparent;
}

/* ========================================================================
 * FormControl / InputLabel / Input / Select
 * ===================================================================== */
.MuiFormControl-root {
    border: 0;
    margin: 0;
    display: inline-flex;
    padding: 0;
    position: relative;
    min-width: 0;
    flex-direction: column;
    vertical-align: top;
}
.MuiFormControl-fullWidth { width: 100%; }

.MuiFormLabel-root {
    color: rgba(0, 0, 0, 0.54);
    padding: 0;
    font-size: 1rem;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.00938em;
}
.MuiFormLabel-root.Mui-focused { color: #3f51b5; }
.MuiInputLabel-root { display: block; transform-origin: top left; }
.MuiInputLabel-formControl { top: 0; left: 0; position: absolute; transform: translate(0, 24px) scale(1); }
.MuiInputLabel-shrink { transform: translate(0, 1.5px) scale(0.75); transform-origin: top left; }
.MuiInputLabel-animated { transition: color 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms, transform 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms; }

.MuiInputBase-root {
    color: rgba(0, 0, 0, 0.87);
    cursor: text;
    display: inline-flex;
    position: relative;
    font-size: 1rem;
    box-sizing: border-box;
    align-items: center;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    line-height: 1.1876em;
    letter-spacing: 0.00938em;
}
.MuiInputBase-fullWidth { width: 100%; }
.MuiInputBase-input {
    font: inherit;
    color: currentColor;
    width: 100%;
    border: 0;
    height: 1.1876em;
    margin: 0;
    display: block;
    padding: 6px 0 7px;
    min-width: 0;
    background: none;
    box-sizing: content-box;
    animation-name: mui-auto-fill-cancel;
    letter-spacing: inherit;
    animation-duration: 10ms;
    -webkit-tap-highlight-color: transparent;
}
.MuiInputBase-input::placeholder { color: currentColor; opacity: 0.42; transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; }
.MuiInputBase-input:focus { outline: 0; }
.MuiInputBase-input:invalid { box-shadow: none; }
.MuiInputBase-input::-webkit-search-decoration { -webkit-appearance: none; }
.MuiInputBase-input:-webkit-autofill { animation-name: mui-auto-fill; animation-duration: 5000s; }
@keyframes mui-auto-fill { from { display: block; } }
@keyframes mui-auto-fill-cancel { from { display: block; } }

label + .MuiInput-formControl { margin-top: 16px; }
.MuiInput-underline:after {
    left: 0; right: 0; bottom: 0;
    content: "";
    position: absolute;
    transform: scaleX(0);
    transition: transform 200ms cubic-bezier(0.0, 0, 0.2, 1) 0ms;
    border-bottom: 2px solid #3f51b5;
    pointer-events: none;
}
.MuiInput-underline.Mui-focused:after { transform: scaleX(1); }
.MuiInput-underline:before {
    left: 0; right: 0; bottom: 0;
    content: "\00a0";
    position: absolute;
    transition: border-bottom-color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    border-bottom: 1px solid rgba(0, 0, 0, 0.42);
    pointer-events: none;
}
.MuiInput-underline:hover:not(.Mui-disabled):before { border-bottom: 2px solid rgba(0, 0, 0, 0.87); }
@media (hover: none) { .MuiInput-underline:hover:not(.Mui-disabled):before { border-bottom: 1px solid rgba(0, 0, 0, 0.42); } }

.MuiSelect-select {
    cursor: pointer;
    min-width: 16px;
    user-select: none;
    border-radius: 0;
    -moz-appearance: none;
    -webkit-appearance: none;
}
.MuiSelect-select:focus { background-color: rgba(0, 0, 0, 0.05); border-radius: 0; }
.MuiSelect-select.MuiSelect-select { padding-right: 24px; }
.MuiSelect-selectMenu { height: auto; overflow: hidden; min-height: 1.1876em; white-space: nowrap; text-overflow: ellipsis; }
.MuiSelect-icon { top: calc(50% - 12px); color: rgba(0, 0, 0, 0.54); right: 0; position: absolute; pointer-events: none; }
.MuiSelect-iconOpen { transform: rotate(180deg); }
.gd-native-select { display: none; }

/* Menu (Popover) do Select */
.gd-menu-root { position: fixed; z-index: 1300; inset: 0; }
.gd-menu-backdrop { position: fixed; inset: 0; background-color: transparent; -webkit-tap-highlight-color: transparent; }
.MuiPopover-paper {
    outline: 0;
    position: absolute;
    max-width: calc(100% - 32px);
    min-width: 16px;
    max-height: calc(100% - 32px);
    min-height: 16px;
    overflow-x: hidden;
    overflow-y: auto;
}
.MuiMenu-paper { max-height: calc(100% - 96px); -webkit-overflow-scrolling: touch; }
.gd-grow {
    opacity: 0;
    transform: scale(0.75, 0.5625);
    transition: opacity 251ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, transform 167ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}
.gd-grow.gd-grow-in { opacity: 1; transform: none; }
.MuiList-root { margin: 0; padding: 0; position: relative; list-style: none; }
.MuiList-padding { padding-top: 8px; padding-bottom: 8px; }
.MuiListItem-root {
    width: 100%;
    display: flex;
    position: relative;
    box-sizing: border-box;
    text-align: left;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
    justify-content: flex-start;
    text-decoration: none;
}
.MuiListItem-gutters { padding-left: 16px; padding-right: 16px; }
.MuiListItem-button { transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; }
.MuiListItem-button:hover { text-decoration: none; background-color: rgba(0, 0, 0, 0.04); }
@media (hover: none) { .MuiListItem-button:hover { background-color: transparent; } }
.MuiListItem-root.Mui-focusVisible { background-color: rgba(0, 0, 0, 0.08); }
.MuiListItem-root.Mui-selected,
.MuiListItem-root.Mui-selected:hover { background-color: rgba(0, 0, 0, 0.08); }
.MuiListItem-root.Mui-selected.Mui-focusVisible { background-color: rgba(0, 0, 0, 0.12); }
.MuiMenuItem-root {
    width: auto;
    overflow: hidden;
    font-size: 1rem;
    box-sizing: border-box;
    min-height: 48px;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    line-height: 1.5;
    padding-top: 6px;
    white-space: nowrap;
    letter-spacing: 0.00938em;
    padding-bottom: 6px;
}
@media (min-width: 600px) { .MuiMenuItem-root { min-height: auto; } }

/* ========================================================================
 * AppBar / Toolbar
 * ===================================================================== */
.MuiAppBar-root {
    width: 100%;
    display: flex;
    z-index: 1100;
    box-sizing: border-box;
    flex-shrink: 0;
    flex-direction: column;
}
.MuiAppBar-positionStatic { position: static; }
.MuiAppBar-colorInherit { color: inherit; }
.MuiAppBar-root.MuiPaper-root { border-radius: 0; }
.MuiToolbar-root { display: flex; position: relative; align-items: center; }
.MuiToolbar-gutters { padding-left: 16px; padding-right: 16px; }
@media (min-width: 600px) { .MuiToolbar-gutters { padding-left: 24px; padding-right: 24px; } }
.MuiToolbar-regular { min-height: 56px; }
@media (min-width: 0px) and (orientation: landscape) { .MuiToolbar-regular { min-height: 48px; } }
@media (min-width: 600px) { .MuiToolbar-regular { min-height: 64px; } }

/* ========================================================================
 * Table / Chip / LinearProgress
 * ===================================================================== */
.MuiTableContainer-root { width: 100%; overflow-x: auto; }
.MuiTable-root { width: 100%; display: table; border-spacing: 0; border-collapse: collapse; }
.MuiTableHead-root { display: table-header-group; }
.MuiTableBody-root { display: table-row-group; }
.MuiTableRow-root { color: inherit; display: table-row; outline: 0; vertical-align: middle; }
.MuiTableCell-root {
    display: table-cell;
    padding: 16px;
    font-size: 0.875rem;
    text-align: left;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    line-height: 1.43;
    border-bottom: 1px solid rgba(224, 224, 224, 1);
    letter-spacing: 0.01071em;
    vertical-align: inherit;
}
.MuiTableCell-head { color: rgba(0, 0, 0, 0.87); font-weight: 500; line-height: 1.5rem; }
.MuiTableCell-body { color: rgba(0, 0, 0, 0.87); }
.MuiTableCell-sizeSmall { padding: 6px 24px 6px 16px; }
.MuiTableCell-sizeSmall:last-child { padding-right: 16px; }

.MuiChip-root {
    color: rgba(0, 0, 0, 0.87);
    border: none;
    cursor: default;
    height: 32px;
    display: inline-flex;
    outline: 0;
    padding: 0;
    font-size: 0.8125rem;
    box-sizing: border-box;
    transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    align-items: center;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    white-space: nowrap;
    border-radius: 16px;
    vertical-align: middle;
    justify-content: center;
    text-decoration: none;
    background-color: #e0e0e0;
}
.MuiChip-sizeSmall { height: 24px; }
.MuiChip-colorPrimary { color: #fff; background-color: #3f51b5; }
.MuiChip-colorSecondary { color: #fff; background-color: #f50057; }
.MuiChip-label { overflow: hidden; white-space: nowrap; padding-left: 12px; padding-right: 12px; text-overflow: ellipsis; }
.MuiChip-labelSmall { padding-left: 8px; padding-right: 8px; }

.MuiLinearProgress-root { height: 4px; overflow: hidden; position: relative; }
.MuiLinearProgress-colorPrimary { background-color: rgb(182, 188, 226); }
.MuiLinearProgress-bar { top: 0; left: 0; width: 100%; bottom: 0; position: absolute; transition: transform 0.2s linear; transform-origin: left; }
.MuiLinearProgress-barColorPrimary { background-color: #3f51b5; }
.MuiLinearProgress-bar1Determinate { transition: transform .4s linear; }

/* ========================================================================
 * Dialog
 * ===================================================================== */
.MuiDialog-root { position: fixed; z-index: 1300; inset: 0; }
.MuiBackdrop-root {
    position: fixed;
    inset: 0;
    display: flex;
    z-index: -1;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-tap-highlight-color: transparent;
}
.MuiDialog-container { height: 100%; outline: 0; }
.MuiDialog-scrollPaper { display: flex; align-items: center; justify-content: center; }
.MuiDialog-paper { margin: 32px; position: relative; overflow-y: auto; }
.MuiDialog-paperScrollPaper { display: flex; max-height: calc(100% - 64px); flex-direction: column; }
.MuiDialog-paperWidthSm { max-width: 600px; }
@media (max-width: 663.95px) { .MuiDialog-paperWidthSm.MuiDialog-paperScrollBody { max-width: calc(100% - 64px); } }
.MuiDialog-paperFullWidth { width: calc(100% - 64px); }
.MuiDialogTitle-root { flex: 0 0 auto; margin: 0; padding: 16px 24px; }
.MuiDialogContent-root { flex: 1 1 auto; padding: 8px 24px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.MuiDialogActions-root { flex: 0 0 auto; display: flex; padding: 8px; align-items: center; justify-content: flex-end; }
.MuiDialogActions-spacing > :not(:first-child) { margin-left: 8px; }
.MuiDialog-root .MuiBackdrop-root,
.MuiDialog-root .MuiDialog-container { opacity: 0; transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; }
.MuiDialog-root.gd-open .MuiBackdrop-root,
.MuiDialog-root.gd-open .MuiDialog-container { opacity: 1; }
.MuiDialog-root.gd-closing .MuiBackdrop-root,
.MuiDialog-root.gd-closing .MuiDialog-container { transition-duration: 195ms; }
body.gd-no-scroll { overflow: hidden; }

/* ========================================================================
 * Toast (react-toastify v6, tema colorido padrão, top-right)
 * ===================================================================== */
.Toastify__toast-container {
    z-index: 9999;
    -webkit-transform: translate3d(0, 0, 9999px);
    position: fixed;
    padding: 4px;
    width: 320px;
    box-sizing: border-box;
    color: #fff;
}
.Toastify__toast-container--top-right { top: 1em; right: 1em; }
@media only screen and (max-width: 480px) {
    .Toastify__toast-container { width: 100vw; padding: 0; left: 0; margin: 0; }
    .Toastify__toast-container--top-right { top: 0; transform: translateX(0); }
}
.Toastify__toast {
    position: relative;
    min-height: 64px;
    box-sizing: border-box;
    margin-bottom: 1rem;
    padding: 8px;
    border-radius: 1px;
    box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.1), 0 2px 15px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    max-height: 800px;
    overflow: hidden;
    font-family: sans-serif;
    cursor: pointer;
    direction: ltr;
}
@media only screen and (max-width: 480px) { .Toastify__toast { margin-bottom: 0; border-radius: 0; } }
.Toastify__toast--error { background: #e74c3c; }
.Toastify__toast--success { background: #07bc0c; }
.Toastify__toast-body { margin: auto 0; flex: 1 1 auto; }
.Toastify__close-button {
    color: #fff;
    background: transparent;
    outline: none;
    border: none;
    padding: 0;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s ease;
    align-self: flex-start;
}
.Toastify__close-button > svg { fill: currentColor; height: 16px; width: 14px; }
.Toastify__close-button:hover, .Toastify__close-button:focus { opacity: 1; }
@keyframes Toastify__trackProgress { 0% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.Toastify__progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    z-index: 9999;
    opacity: 0.7;
    background-color: rgba(255, 255, 255, 0.7);
    transform-origin: left;
    animation: Toastify__trackProgress linear 1 forwards;
}
.Toastify__toast:hover .Toastify__progress-bar,
.Toastify__toast.gd-paused .Toastify__progress-bar { animation-play-state: paused; }
@keyframes Toastify__bounceInRight {
    from, 60%, 75%, 90%, to { animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
    from { opacity: 0; transform: translate3d(3000px, 0, 0); }
    60% { opacity: 1; transform: translate3d(-25px, 0, 0); }
    75% { transform: translate3d(10px, 0, 0); }
    90% { transform: translate3d(-5px, 0, 0); }
    to { transform: none; }
}
@keyframes Toastify__bounceOutRight {
    20% { opacity: 1; transform: translate3d(-20px, 0, 0); }
    to { opacity: 0; transform: translate3d(2000px, 0, 0); }
}
.Toastify__bounce-enter--top-right { animation: Toastify__bounceInRight 0.75s both; }
.Toastify__bounce-exit--top-right { animation: Toastify__bounceOutRight 0.75s both; }
.Toastify__toast.gd-collapse { transition: height 300ms ease, min-height 300ms ease, margin-bottom 300ms ease, padding 300ms ease; }

/* ========================================================================
 * Páginas (equivalentes aos makeStyles do React)
 * ===================================================================== */
.gd-title { text-align: center; font-size: 5em; margin-top: .5em; margin-bottom: .5em; }
.gd-logo { max-width: 250px; }
.gd-root { width: 100%; max-width: 900px; margin-right: auto; margin-left: auto; margin-bottom: 4em; }
.gd-content { padding: 32px; }
.gd-button { margin-right: 8px; }
.gd-button-container { margin-top: 16px; text-align: center; }
.gd-terms { font-size: 1.2em; }
.gd-terms-container { max-height: 500px; overflow-y: scroll; }
.gd-text-center { text-align: center; }
.gd-hr { margin-top: 24px; margin-bottom: 24px; }
.gd-add-container { text-align: right; }

/* Confirmar */
.gd-root-confirmar { padding: 48px; }
.gd-confirmar-text { font-size: 1.4em; }
.gd-confirmar-button { margin-top: 32px; font-size: 1.4em; }
.gd-loading { max-width: 200px; }

/* Login */
.gd-root-login { max-width: 420px; }
.gd-login-button { margin-top: 24px; }
.gd-hint { margin-top: 16px; font-size: 0.85em; color: #888; text-align: center; }

/* Dashboard */
.gd-appbar { margin-bottom: 32px; }
.gd-appbar-logo { max-height: 40px; margin-right: 16px; }
.gd-toolbar-title { flex-grow: 1; }
.gd-user { margin-right: 16px; }
.gd-section { margin-bottom: 32px; padding: 24px; }
.gd-section-title { margin-bottom: 16px; }
.gd-subtitle { margin-top: 24px; margin-bottom: 8px; }
.gd-stat-card { padding: 16px; text-align: center; height: 100%; }
.gd-stat-value { font-size: 2em; font-weight: bold; color: #3f51b5; }
.gd-stat-label { color: #777; }
.gd-bar-row { display: flex; align-items: center; margin-bottom: 12px; }
.gd-bar-label { width: 48px; }
.gd-bar-track { flex-grow: 1; margin: 0 16px; }
.gd-bar-value { width: 48px; text-align: right; }
.gd-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }

/* custom.css do React */
@media (max-width: 768px) {
    .MuiStepper-horizontal { overflow-x: scroll; }
    label { font-size: 12px !important; }
}
