.login-wrap {
    max-width: 380px;
    margin: 10vh auto 0;
    padding: 0 16px;
}

.toast-fixed {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast-fixed .toast-msg {
    background: #212529;
    color: #fff;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    animation: fade-in .15s ease-out;
}

.toast-fixed .toast-msg.is-error { background: #b02a37; }
.toast-fixed .toast-msg.is-success { background: #146c43; }

@keyframes fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

tr.clickable { cursor: pointer; }

.badge.dot-ok      { background: #198754; }
.badge.dot-warn    { background: #ffc107; color: #212529; }
.badge.dot-err     { background: #dc3545; }

.field-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.variacao-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    padding: 12px;
    background: #fff;
}

[data-editavel="false"] input,
[data-editavel="false"] textarea,
[data-editavel="false"] select {
    background-color: #f8f9fa;
    pointer-events: none;
}

[data-editavel="false"] .chip-add,
[data-editavel="false"] .chip-remove { display: none !important; }

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 30px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e9ecef;
    color: #212529;
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 0.85rem;
}

.chip .chip-remove {
    background: none;
    border: 0;
    color: #6c757d;
    font-size: 1rem;
    line-height: 1;
    padding: 0 0 0 2px;
}

.chip .chip-remove:hover { color: #b02a37; }

.chips-vazio { color: #6c757d; font-size: 0.85rem; }

#tbody-excecoes input { min-width: 90px; }
