/* Opt-in presentation for comment, escalation and contact dialogs. */
.sgc-chamado-action-modal .modal-content {background:var(--sgc-surface);color:var(--sgc-ink);border:1px solid var(--sgc-border);border-radius:12px;overflow:hidden}
.sgc-chamado-action-modal .modal-header {padding:16px 20px;border-color:var(--sgc-border);align-items:center;gap:12px;flex-shrink:0}
.sgc-chamado-action-modal .modal-title {font-family:"SGC Chamados Heading",Arial,sans-serif;font-size:17px;line-height:1.4;font-weight:700;color:var(--sgc-ink)}
.sgc-chamado-action-modal .modal-header .close {width:36px;height:36px;padding:0;margin:0!important;flex:0 0 36px;border:1px solid var(--sgc-border);border-radius:7px;background:var(--sgc-surface);color:var(--sgc-ink);opacity:1;text-shadow:none;font-size:18px}
.sgc-chamado-action-modal .sgc-chamado-action-form {display:flex;flex-direction:column;min-height:0;overflow:hidden;margin:0}
.sgc-chamado-action-modal .modal-body {padding:20px;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.sgc-chamado-action-modal .modal-body label {color:var(--sgc-ink);font-size:13px}
.sgc-chamado-action-modal .modal-body>.col-sm,.sgc-chamado-action-modal .modal-body>.col-md-12 {padding-left:0;padding-right:0}
.sgc-chamado-action-modal .sgc-chamado-action-footer {display:block;flex-shrink:0;background:var(--sgc-soft);border-color:var(--sgc-border);padding:12px 20px;margin:0}
.sgc-chamado-action-modal .sgc-chamado-action-footer>.row {margin:0}
.sgc-chamado-action-modal .sgc-chamado-action-footer>.row>.col-sm {padding:0}
.sgc-chamado-action-modal .sgc-chamado-action-footer .text-center {margin:0!important}
.sgc-chamado-action-modal .sgc-chamado-action-footer #actions {display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:0}
.sgc-chamado-action-modal .sgc-chamado-action-footer #actions>.col-sm-6 {width:auto;max-width:100%;flex:0 0 auto;padding:0}
.sgc-chamado-action-modal .sgc-chamado-action-footer #actions>.col-sm {flex:1 1 80px;order:-1;padding:0;min-width:40px;max-width:200px}
.sgc-chamado-action-modal .sgc-chamado-action-footer .btn-group {width:auto!important;display:flex;flex-wrap:wrap;gap:8px}
.sgc-chamado-action-modal .sgc-chamado-action-footer .btn {flex:0 0 auto;width:auto;min-height:38px;padding:8px 13px;font-size:12px!important;line-height:20px}
.sgc-chamado-action-modal .note-editor {border-color:var(--sgc-border);border-radius:7px;overflow:hidden}
.sgc-chamado-action-modal .note-toolbar,.sgc-chamado-action-modal .note-statusbar {background:var(--sgc-soft);border-color:var(--sgc-border)}
.sgc-chamado-action-modal .note-editable {background:var(--sgc-surface);color:var(--sgc-ink)}
.sgc-chamado-action-modal .note-toolbar .note-btn {background:var(--sgc-surface);color:var(--sgc-ink);border-color:var(--sgc-border);padding:5px 8px}
.sgc-chamado-action-modal .note-toolbar .note-btn:hover,.sgc-chamado-action-modal .note-toolbar .note-btn.active {background:var(--sgc-soft)}
.sgc-chamado-action-modal .note-dropdown-menu {background:var(--sgc-surface);color:var(--sgc-ink)}
.sgc-chamado-action-modal .note-dropdown-item {color:var(--sgc-ink)}
body.dark-mode .sgc-chamado-action-modal .note-editor .note-editing-area .note-editable {background:var(--sgc-surface);color:var(--sgc-ink)}
.sgc-chamado-action-modal .input-group-text {background:var(--sgc-soft);color:var(--sgc-ink);border-color:var(--sgc-border)}
.sgc-chamado-action-modal .file-container {--file-bg:var(--sgc-surface);--file-color:var(--sgc-ink);--file-border-color:var(--sgc-border);--table-border-color:var(--sgc-border);color:var(--sgc-ink)}
.sgc-chamado-action-modal .file-upload,.sgc-chamado-action-modal .file-upload>div {background:var(--sgc-surface);color:var(--sgc-ink)}
.sgc-chamado-action-modal .file-upload>div>i,.sgc-chamado-action-modal .file-upload>div>p,.sgc-chamado-action-modal .file-upload .text-secondary {color:var(--sgc-ink)!important}
@media(max-width:575.98px){
    .sgc-chamado-action-modal .modal-header,.sgc-chamado-action-modal .modal-body {padding:14px}
    .sgc-chamado-action-modal .modal-title {font-size:16px}
    .sgc-chamado-action-modal .sgc-chamado-action-footer {padding:12px 14px calc(14px + env(safe-area-inset-bottom,0px))}
    .sgc-chamado-action-modal .sgc-chamado-action-footer #actions>.col-sm {max-width:none;flex-basis:100%}
}
