:root {
    --container-width: 1350px;
    --container-full: 100vw;
    --color-azul: #213e70;
    --color-azul-rgb: 33, 62, 112;
    --color-azul-escuro: #252b3b;
    --color-azul-claro: #4a8cc4;
    --color-laranja: #ff9100;
    --color-amarelo: #ebd228;
    --color-amarelo-escuro: #e9ca00;
    --color-cinza: #e7e7e7;
    --color-cinza-fonte: #838485;
    --color-vermelho: rgb(197, 43, 43);
    --color-background: #eaf0f2;
    --fonte-padrao: "Roboto", sans-serif;
    --fonte-secundaria: "Montserrat", sans-serif;
}

body {
    overflow-y: scroll;
}

body[data-topbar="dark"] #page-topbar {
    background-color: #3e68b2;
}

input {
    filter: none;
}

input.msg-error {
    border: 1px solid #b52727;
}

:-webkit-autofill,
:-webkit-autofill:hover,
:-webkit-autofill:focus,
:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

ul {
    list-style-type: none;
    padding: 0;
}

.navbar-brand-box {
    background: #3e68b2;
}

.header-item {
    display: inline-flex;
    align-items: center;
}

.logo img {
    max-height: 48px;
}

.form-content {
    display: flex;
    --sidebar-width: 320px;
}

.form-content.bloco-produto {
    --sidebar-width: 40%;
}

.form-content .form-main {
    flex: 1;
}

.form-content .form-sidebar {
    flex-basis: var(--sidebar-width);
    min-width: var(--sidebar-width);
    max-width: var(--sidebar-width);
    margin-left: 30px;
}

.form-content .form-sidebar .card-preview {
    position: sticky;
    top: 80px;
}

.form-horizontal .cms-label {
    text-align: right;
}

@media (max-width: 1279.98px) {
    .form-content {
        --sidebar-width: 250px;
    }
}

@media (max-width: 991.98px) {
    .form-content {
        flex-direction: column;
        --sidebar-width: inherit;
    }

    .form-content.form-lista .form-main {
        order: 2;
    }

    .form-content .form-sidebar {
        margin-left: 0;
    }
}

.req {
    color: #cc0000;
}

.card-form .cms-secao {
    border-bottom: 1px solid #efefef;
    padding: 1.25rem;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
}

.card-form .cms-secao .form-group {
    margin-bottom: 0;
}

.card-form .cms-secao:last-child {
    border: 0;
    margin-bottom: 0;
}

.card-form .card-body .customtab {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
}

.subtitle {
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: 40px;
    margin-top: 60px;
    border-bottom: 1px solid #e2e2e2;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
}

.subtitle:first-child {
    margin-top: 0;
}

h3.subtitle {
    font-size: 20px;
}

@media (max-width: 991.98px) {
    .form-horizontal .cms-label {
        text-align: left !important;
    }
}

.popover.-confirm .popover-body {
    white-space: nowrap;
    background: #2f353e;
    border-radius: 5px;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.4em;
    z-index: 900001;
}

.popover.-confirm a {
    text-decoration: none;
    color: #9ea3a8;
}

.popover.-confirm a[data-event="confirm"] {
    color: #f55e4f;
}

#dashboard .card-header {
    background: #3e68b2;
    color: #fff;
    display: flex;
    justify-content: space-between;
}

.modal-body .card-header {
    display: none;
}

#dashboard .card-header-left,
.modal-body .card-header-left {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-right: 20px;
}

#dashboard .card-header-left i,
.modal-body .card-header-left i {
    margin-top: 4px;
}

#dashboard .card-header-left .drag-handle,
.modal-body .card-header-left .drag-handle {

    font-size: 20px;
}

#dashboard .card-header .btn-close-tab>span i,
.modal-body .card-header .btn-close-tab>span i {

    transition: 0.5s;
    color: #fff;
}

#dashboard .card-header .btn-close-tab.collapsed>span i,
.modal-body .card-header .btn-close-tab.collapsed>span i {

    transform: rotate(180deg);
}

#dashboard .card-form .card-header,
.modal-body .card-form .card-header {
    border-bottom: 1px solid #fff;
}

#dashboard .box-enquete {
    gap: 20px;
}

#dashboard .dashboard-enunciado {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

#dashboard .box-enquete .box-widgets {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    flex-direction: column;
    flex-basis: 40%;
    gap: 20px;
}


#dashboard .dashboard-enunciado .box-widgets {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    flex-direction: column;
    flex-basis: 40%;
    gap: 20px;
}

#dashboard .dashboard-enunciado .box-widgets .form-control {
    height: inherit;
}

#form-filtros {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 10px;
}

#form-filtros .box-botoes {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 10px;
}

button#gerar-pdf {
    min-width: 100px;
}

#dashboard .dashboard-enunciado .filtros {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

#dashboard .dashboard-enunciado .filtros .form-group,
#dashboard .box-enquete .filtros .form-group {
    margin-bottom: 0;
}

#dashboard .box-enquete .filtros {
    display: flex;
    gap: 10px;
}

.page-content-resultados {
    padding-top: calc(70px + 10px);
}

.page-content-resultados .page-title-box {

    #dashboard .box-enquete .box-widgets button {
        margin-left: 10px;
    }

    justify-content: flex-end;
}

.page-content-resultados #dashboard .title-enquete {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}

.card-form .card-body {
    position: relative;
}

.card-form .card-footer {
    position: sticky;
    bottom: 0;
    padding: 20px;
    border-top: 1px solid #eaeaea;
    background: rgb(246, 246, 246);
    background: linear-gradient(180deg,
            rgba(246, 246, 246, 1) 0%,
            rgba(255, 255, 255, 1) 100%);
    z-index: 5;
}

/* Seletores de Gráfico Simplificados */
#dashboard .card-controls,
.modal-body .card-controls {

    display: flex;
    background-color: #f1f1f1f1;
    padding: 10px;
    gap: 10px;
}

#dashboard .card-controls .box-link>a,
.modal-body .card-controls .box-link>a {

    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 8px 12px;
    cursor: pointer;
    gap: 8px;
    display: flex;
    min-width: 45px;
    align-items: center;
    justify-content: center;
    color: #007bff;
    border: 0;
    transition: background-color 0.2s;
}

#dashboard .card-controls .box-link>a:hover,
.modal-body .card-controls .box-link>a:hover {

    background-color: #e9ecef;
}

#dashboard .card-controls .box-favorito button,
.modal-body .card-controls .box-favorito button {

    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 8px 12px;
    cursor: pointer;
    gap: 8px;
    display: flex;
    min-width: 45px;
    align-items: center;
    justify-content: center;
    color: #007bff;
    border: 0;
    transition: background-color 0.2s;
}

#dashboard .card-controls .box-favorito button:hover,
.modal-body .card-controls .box-favorito button:hover {
    background-color: #e9ecef;
}

#dashboard .card-controls .box-favorito.favoritado i,
.modal-body .card-controls .box-favorito.favoritado i {
    color: #ffd700;
}

#dashboard .chart-selector,
.modal-body .chart-selector {

    position: relative;
    display: inline-flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 5px;
    padding: 8px 12px;
    cursor: pointer;
    gap: 8px;
    min-width: 45px;
}

#dashboard .chart-selector:hover,
.modal-body .chart-selector:hover {

    background: #e9ecef;
}

#dashboard .chart-selector .chart-icon,
.modal-body .chart-selector .chart-icon {

    color: #007bff;
    font-size: 18px;
}

#dashboard .chart-selector .arrow,
.modal-body .chart-selector .arrow {

    color: #6c757d;
    font-size: 12px;
    transition: transform 0.3s;
}

#dashboard .chart-selector.active .arrow,
.modal-body .chart-selector.active .arrow {

    transform: rotate(180deg);
}

#dashboard .dropdown-options,
.modal-body .dropdown-options {

    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    overflow-y: auto;
}

#dashboard .chart-selector.active .dropdown-options,
.modal-body .chart-selector.active .dropdown-options {

    display: block;
}

#dashboard .dropdown-options .option,
.modal-body .dropdown-options .option {

    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.2s;
}

#dashboard .dropdown-options .option:hover,
.modal-body .dropdown-options .option:hover {

    background: #f1f3f4;
}

#dashboard .dropdown-options .option[data-selected="true"],
.modal-body .dropdown-options .option[data-selected="true"] {

    background: #e3f2fd;
}

#dashboard .dropdown-options .option i,
.modal-body .dropdown-options .option i {

    color: #007bff;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

#dashboard .dropdown-options .option[data-selected="true"] i,
.modal-body .dropdown-options .option[data-selected="true"] i {

    color: #1976d2;
}

/* Quadrados de preview das cores */
.color-preview {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    border: 1px solid #ddd;
    flex-shrink: 0;
}

/* Gradientes das paletas de cores */
.azul-gradient {
    background: linear-gradient(45deg, #1976d2, #42a5f5, #90caf9);
}

.verde-gradient {
    background: linear-gradient(45deg, #2e7d32, #66bb6a, #a5d6a7);
}

.amarelo-gradient {
    background: linear-gradient(45deg, #f5bc00, #fdc775, #ffe88a);
}

.laranja-gradient {
    background: linear-gradient(45deg, #e65100, #ff9800, #ffb74d);
}

.vermelho-gradient {
    background: linear-gradient(45deg, #c62828, #e53935, #ef5350);
}

.variadas-gradient {
    background: linear-gradient(45deg,
            #e91e63 0%,
            #9c27b0 16.66%,
            #3f51b5 33.33%,
            #2196f3 50%,
            #4caf50 66.66%,
            #ff9800 83.33%,
            #f44336 100%);
    position: relative;
    overflow: hidden;
}

.variadas-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
            #e91e63 0%,
            #9c27b0 16.66%,
            #3f51b5 33.33%,
            #2196f3 50%,
            #4caf50 66.66%,
            #ff9800 83.33%,
            #f44336 100%);
    animation: rainbow-shift 3s ease-in-out infinite;
}

@keyframes rainbow-shift {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.main-content {
    overflow: inherit;
}

.form-control:disabled,
.form-control[readonly] {
    opacity: 0.7;
    background-color: #e9ecef;
    cursor: not-allowed;
}

.sem-registros {
    text-align: center;
}

.btn {
    padding: 0.375rem 0.75rem;
}

.btn-xs {
    font-size: 0.8rem;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.7875rem;
}

.btn-xs {
    padding: 0.17rem 0.35rem 0.14rem;
}

.btn-label {
    font-size: 1rem;
    margin: -0.375rem 12px -0.375rem -0.75rem;
    background: rgba(0, 0, 0, 0.1);
    display: inline-block;
    padding: 7px 12px;
}

.btn-label i {
    font-size: 0.9rem;
}

.btn.disabled,
.btn:disabled {
    background-color: #8f000029;
    border-color: rgb(197, 43, 43);
}

.btn.disabled i,
.btn:disabled i {
    color: rgb(197, 43, 43);
}

.btn-sm .btn-label {
    margin: -0.25rem 12px -0.25rem -0.5rem;
    padding: 4px 9px;
}

.btn-xs .btn-label {
    margin: -0.17rem 8px -0.17rem -0.35rem;
    padding: 4px 9px;
}

.btn-icon {
    text-align: left;
}

.table .thead-light th {
    vertical-align: middle;
    color: #2f3c48;
    background-color: #d7dde5;
    font-weight: 800;
}

.table td,
.table th {
    vertical-align: middle;
}

.table input[name^="id"]+label {
    display: none;
}

.filtro-situacao {
    font-size: 12px;
    margin-bottom: 10px;
}

.filtro-situacao ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.filtro-situacao li a {
    color: #1976d2;
}

.filtro-situacao li a.current {
    color: #333;
    font-weight: 700;
}

.filtro-situacao li a .count {
    color: #999;
    font-weight: normal;
}

.filtro-situacao li+li {
    margin-left: 8px;
    padding-left: 8px;
    position: relative;
}

.filtro-situacao li+li:before {
    content: "|";
    position: absolute;
    left: -4px;
}

.table-striped tbody tr:nth-of-type(2n + 1) {
    background-color: transparent;
}

.table-striped tbody tr:nth-of-type(2n + 2) {
    background-color: #f8f9fa;
}

.cms-switch-sm input[switch]+label {
    width: 36px;
    height: 18px;
}

.cms-switch-sm input[switch]+label::after {
    left: 3px;
    height: 14px;
    width: 14px;
}

.cms-switch-sm input[switch]:checked+label::after {
    left: 19px;
}

.cms-media .img-thumbnail {
    display: inline-block;
    border-color: #e5e5e5;
}

.thumb-imagem {
    width: 110px;
    height: 110px;
    display: block;
    background-color: #fafafa;
}

.thumb-bg {
    background-color: #f5f5f5;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.img-thumbnail {
    background-color: #fafafa;
    border-color: #e5e5e5;
}

.wrap-visualizando {
    display: flex;
    align-items: center;
    height: 100%;
}

.wrap-paginacao {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 575.98px) {
    #form-busca {
        margin-top: 20px;
    }

    .wrap-visualizando {
        justify-content: center;
        padding: 15px 0;
        height: auto;
    }

    .wrap-paginacao {
        justify-content: center;
    }

    .page-title-box {
        flex-direction: column;
    }
}

.lista-secoes .item {
    border: 1px solid #f0f0f0;
    border-radius: 5px;
    margin-bottom: 20px;
    background: #fafafa;
    padding: 15px;
}

.wrap-situacao {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.situacao-switcher input+label {
    text-indent: 30px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 14px;
    white-space: nowrap;
    margin-bottom: 0;
}

.situacao-switcher input+label span {
    display: inline-block;
    padding-top: 2px;
}

.situacao-switcher input+label .ativo {
    display: none;
}

.situacao-switcher input:checked+label .inativo {
    display: none;
}

.situacao-switcher input:checked+label .ativo {
    display: inline-block;
}

.wrap-situacao .botao-excluir a {
    font-size: 20px;
    color: #999;
}

.wrap-gerarPDF .botao-pdf a>i {
    font-size: 20px;
    color: #999;
}

.accordion-wrap:last-child {
    margin-bottom: 15px;
}

.accordion-wrap .card.card-accordion {
    margin-bottom: 0;
    box-shadow: none;
}

.accordion-wrap .card.card-accordion>.card-header {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
}

.accordion-wrap .btn-link {
    color: #444;
    display: block;
    width: 100%;
    text-align: left;
}

.accordion-wrap .btn-link:hover,
.accordion-wrap .btn-link:focus,
.accordion-wrap .btn-link:active {
    text-decoration: none;
}

.accordion-wrap .btn-link .fa {
    transition: 0.2s;
    margin-left: 8px;
}

.accordion-wrap .btn-link[aria-expanded="false"] .fa {
    transform: rotate(180deg);
}

.cms-secao .gerar_uri .form-group {
    padding-top: 15px;
}

.control-seamless-editable {
    font-size: 11px;
    margin-top: 10px;
}

.control-seamless-editable>span {
    padding: 5px;
    background: #f5f5f5;
}

.control-seamless-editable>span.control {
    background: #fbfbde;
}

.control-seamless-editable>span.fa {
    font-size: 12px;
    cursor: pointer;
}

#url-remove {
    opacity: 0.3;
}

.tox .tox-statusbar {
    text-transform: none !important;
}

.tox .tox-tbtn--disabled,
.tox .tox-tbtn--disabled:hover,
.tox .tox-tbtn:disabled,
.tox .tox-tbtn:disabled:hover {
    opacity: 0.5;
}

.btn.focus,
.btn:focus {
    box-shadow: none;
}

.cms-editor-tools::after {
    clear: both;
    content: "";
    display: table;
}

.cms-switch-editor {
    float: left;
    box-sizing: content-box;
    position: relative;
    top: 1px;
    background: #f0f0f1;
    color: #646970;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.46153846;
    height: 20px;
    margin: 5px 5px 0 0;
    padding: 3px 8px 4px;
    border: 1px solid #ced4da;
}

.html-active .switch-html,
.tmce-active .switch-tmce {
    background: #f6f7f7;
    color: #50575e;
    border-bottom-color: #f6f7f7;
}

.cms-editor-wrap .cms-switch-editor {
    border-color: #ccd0d4;
    border-bottom-color: transparent;
}

.cms-editor-toolbar,
.quicktags-toolbar {
    padding: 3px;
    position: relative;
    border-bottom: 1px solid #ced4da;
    background: #f6f7f7;
    min-height: 30px;
}

.tinymce-loaded .cms-editor-toolbar {
    display: none;
}

.tmce-active .quicktags-toolbar {
    display: none;
}

.cms-editor-container {
    border: 1px solid #ced4da;
}

.tox-tinymce {
    border: 0 !important;
}

.cms-editor-container textarea.cms-editor-area {
    width: 100%;
    margin: 0;
    box-shadow: none;
    resize: vertical;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.4;
    border: 0;
}

.cms-editor-container textarea.cms-editor-area:focus .cms-editor-container textarea.cms-editor-area:focus-visible {
    box-shadow: none;
}

.cms-secao-horizontal input[switch]+label {
    margin-top: calc(0.47rem + 1px);
    margin-bottom: calc(0.47rem + 1px);
}

input.nota,
input.inteiro,
input.dinheiro {
    text-align: left !important;
}

.form-control.inteiro {
    max-width: 100px;
}

.form-control.dinheiro {
    max-width: 150px;
}

.auth-form-group-custom .auti-custom-input-icon,
.auth-form-group-custom label {
    z-index: 2;
}

.autocomplete-wrap .campo-busca {
    position: relative;
}

.autocomplete-wrap .campo-busca:before {
    content: "\f06f";
    display: inline-block;
    font-size: 18px;
    color: #999;
    position: absolute;
    top: 5px;
    left: 8px;
    font-family: remixicon !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.autocomplete-wrap .campo-busca input {
    padding-left: 30px;
}

.autocomplete-list {
    background: #f8f9fa;
    border: 1px solid #ced4da;
}

.autocomplete-list .list-group-item {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0.35rem;
    border-bottom: 1px solid #e2e2e2;
    font-size: 13px;
}

.autocomplete-list .fa-minus-circle {
    color: #f55e4f;
    font-size: 12px;
    cursor: pointer;
}

.ui-autocomplete.ui-menu {
    max-height: 250px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.input-group-text {
    padding: 0.45rem 0.75rem;
}

.size-20 {
    font-size: 20px;
}

#dashboard .box-perguntas .card-header,
.modal-body .box-perguntas .card-header {
    display: flex;
    justify-content: flex-start;
    min-height: 70px;
    flex-direction: column;
}


#dashboard .box-perguntas .card-header h5,
.modal-body .box-perguntas .card-header h5 {
    color: #fff;
    margin-bottom: 0;
    line-height: 1;
}

#dashboard .box-perguntas .card-header a,
.modal-body .box-perguntas .card-header a {
    background-color: #fff;
    color: #3e68b2;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 15px;
    font-weight: bold;
}

.modal {
    z-index: 9999;
}

.modal-xxl {
    max-width: 80% !important;
    max-height: 80% !important;
}

ul.modal-lista-bairros {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

ul.modal-lista-bairros li {
    padding: 5px 10px;
    font-size: 14px;
    width: 33%;
}

tr.subitens>td {
    background: #f4f4f4;
}

tr.subitens td table {
    background: #fff;
}

#ver-subitens {
    font-size: 16px;
}

#ver-subitens .fa-plus-circle {
    display: inline-block;
}

#ver-subitens .fa-minus-circle {
    display: none;
}

#ver-subitens.ativo .fa-plus-circle {
    display: none;
}

#ver-subitens.ativo .fa-minus-circle {
    display: inline-block;
}

.swal2-container {
    z-index: 9999;
}

.table_filtro {
    background: #f3f3f3;
    border: 1px solid #e2e2e2;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    padding: 15px;
    margin-bottom: 20px;
}

.ui-selectable-helper {
    display: none;
}

.page-title-box {
    display: flex;
    justify-content: space-between;
}

#dashboard {
    box-sizing: border-box;
}

#dashboard .box-empresa {
    display: flex;
    gap: 20px;
    flex: 1;
}

#dashboard .box-empresa .logo-empresa {
    flex-basis: 120px;
}

#dashboard .box-empresa .descricao .titulo p {
    margin-bottom: 5px;
}

#dashboard .box-empresa .descricao .titulo h4 {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
}

#dashboard .box-empresa .detalhes .infos li {
    margin-bottom: 3px;
}

#dashboard .box-empresa .detalhes .infos li i {
    border: 2px solid #252b3b;
    padding: 3px;
    border-radius: 5px;
    margin-right: 5px;
    color: #fff;
    background-color: #252b3b;
}

#dashboard .card-pesquisas .card {
    align-items: center;
}

#dashboard .card-pesquisas .numbers {
    display: flex;
    align-items: center;
    gap: 20px;
}

#dashboard .card-pesquisas .numbers .icone {
    flex-basis: 50%;
}

#dashboard .card-pesquisas .numbers .icone {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#dashboard .card-pesquisas .numbers .icone i {
    font-size: 40px;
    color: #3e68b2;
}

#dashboard .card-pesquisas .numbers .dados {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#dashboard .card-pesquisas .numbers .dados h3,
#dashboard .card-pesquisas .numbers .dados h6 {
    margin-bottom: 0;
}

#dashboard .box-enquete {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

#dashboard .box-enquete .enunciado {
    display: flex;
    gap: 20px;
}

#dashboard .box-enquete .enunciado .foto img {
    width: 200px;
}

#dashboard .box-enquete .enunciado .descricao {
    #dashboard .card-pesquisas .numbers .dados h6 {
        font-size: 14px;
        font-weight: normal;
        margin-bottom: 0;
    }

    display: flex;
    justify-content: center;
    flex-direction: column;
}

#dashboard .box-enquete .enunciado .descricao .titulo h4 {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

#dashboard .box-enquete .enunciado .infos ul li {
    margin-bottom: 5px;
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

#dashboard .box-enquete .enunciado .infos ul li span {
    color: var(--color-cinza-fonte);
}

#dashboard .box-enquete .enunciado .infos ul li i {
    margin-top: 3px;
    color: var(--color-laranja);
}

#dashboard .box-perguntas .titulo-pergunta h5,
.modal-body .box-perguntas .titulo-pergunta h5 {
    margin-bottom: 20px;
}

#dashboard .box-perguntas,
.modal-body .box-perguntas {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 25px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

#dashboard .box-perguntas .sortable-item,
.modal-body .box-perguntas .sortable-item {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border-radius: 5px;
    cursor: grab;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    overflow: hidden;
}

/* Container principal para evitar overflow */
#dashboard {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Barra de controle de layout */
.layout-control-bar {
    border-radius: 5px;
    padding: 8px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Estilos antigos do dropdown removidos - agora usando seletor visual */

/* Classes de layout para diferentes números de colunas */
#dashboard .box-perguntas.layout-1-col,
.modal-body .box-perguntas.layout-1-col {
    grid-template-columns: 1fr;
    column-gap: 0;
    width: 100%;
    max-width: 100%;
}

#dashboard .box-perguntas.layout-2-col,
.modal-body .box-perguntas.layout-2-col {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 25px;
    width: 100%;
    max-width: 100%;
}

#dashboard .box-perguntas.layout-3-col,
.modal-body .box-perguntas.layout-3-col {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 18px;
    width: 100%;
    max-width: 100%;
}

#dashboard .box-perguntas.layout-4-col,
.modal-body .box-perguntas.layout-4-col {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 12px;
    width: 100%;
    max-width: 100%;
}

/* Responsividade dos layouts */
@media (max-width: 1200px) {

    #dashboard .box-perguntas.layout-4-col,
    .modal-body .box-perguntas.layout-4-col {
        grid-template-columns: repeat(3, 1fr) !important;
        column-gap: 18px !important;
    }
}

@media (max-width: 992px) {

    #dashboard .box-perguntas.layout-4-col,
    .modal-body .box-perguntas.layout-4-col,
    #dashboard .box-perguntas.layout-3-col,
    .modal-body .box-perguntas.layout-3-col {
        grid-template-columns: repeat(2, 1fr) !important;
        column-gap: 25px !important;
    }
}

@media (max-width: 768px) {

    #dashboard .box-perguntas.layout-4-col,
    .modal-body .box-perguntas.layout-4-col,
    #dashboard .box-perguntas.layout-3-col,
    .modal-body .box-perguntas.layout-3-col,
    #dashboard .box-perguntas.layout-2-col,
    .modal-body .box-perguntas.layout-2-col {
        grid-template-columns: 1fr !important;
        column-gap: 0 !important;
    }
}

/* Seletor visual com ícones */
.layout-selector-visual {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.layout-selector-visual label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0;
    font-size: 14px;
}

.column-options {
    display: flex;
    gap: 6px;
    align-items: center;
}

.column-option {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e2e2;
    border-radius: 0;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    padding: 3px;
}

.column-option:hover {
    border-color: #80bdff;
    background: #f8f9ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
}

.column-option.active {
    border-color: #007bff;
    background: #007bff;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.icon-grid {
    display: grid;
    gap: 2px;
    width: 24px;
    height: 20px;
}

.column-option[data-columns="1"] .icon-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.column-option[data-columns="2"] .icon-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
}

.column-option[data-columns="3"] .icon-grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
}

.column-option[data-columns="4"] .icon-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
}

.grid-item {
    background: #6c757d;
    border-radius: 1px;
    transition: background 0.2s ease;
}

.column-option.active .grid-item {
    background: #fff;
}

.column-option:hover:not(.active) .grid-item {
    background: #007bff;
}

/* Tooltip personalizado */
.column-option::after {
    content: attr(title);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1000;
}

.column-option::before {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #333;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1000;
}

.column-option:hover::after,
.column-option:hover::before {
    opacity: 1;
}

/* Responsividade da barra de controle */
@media (max-width: 768px) {
    .layout-control-bar {
        padding: 12px 15px;
    }

    .layout-selector-visual {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .column-options {
        gap: 8px;
    }

    .column-option {
        width: 45px;
        height: 36px;
    }

    .icon-grid {
        width: 20px;
        height: 16px;
    }
}

/* Chat GPT */

#chatGPT {
    background-color: #fff;
    position: relative;
    overflow: hidden;
    border-radius: 0.25rem;
    margin-bottom: 50px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

#chatGPT main {
    width: 100%;
    margin: 0 auto;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    gap: 1rem;
}

#chatGPT header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 0 0 20px 0;
    border-bottom: 1px solid #505d69;
}

#chatGPT select {
    padding: 0.5rem;
    font-size: 16px;
    border: none;
    border-radius: 0.3rem;
    cursor: pointer;
    background-color: #fff;
    color: #505d69;
    display: none;
}

#chatGPT select:focus {
    outline: none;
}

#chatGPT h2 {
    color: #505d69;
    font-size: 1.5rem;
}

#chatGPT section {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2rem;
    color: #fff;
    overflow: auto;
    padding: 3rem;
}

#chatGPT section span {
    font-size: 1.1rem;
}

#chatGPT form {
    display: flex;
    justify-content: space-between;
    color: #505d69;
    border-radius: 0.5rem;
    padding: 0.5rem;
    width: 100%;
    border-top: 1px solid #505d69;
    border-bottom: 1px solid #505d69;
    border-left: 20px solid #505d69;
    border-right: 2px solid #505d69;
}

#chatGPT form input {
    background-color: transparent;
    border: none;
    color: #252b3b;
    font-size: 1rem;
    margin-right: 1rem;
    padding: 0.5rem;
    width: 100%;
}

#chatGPT form input::placeholder {
    color: #505d69;
}

#chatGPT form input:focus {
    outline: none;
}

#chatGPT form button {
    background-color: transparent;
    color: #505d69;
    border: none;
    transition: 0.2s;
}

#chatGPT form button:hover {
    color: #4a8cc4;
}

#chatGPT form button i {
    font-size: 2.5rem;
}

#chatGPT form button i:hover {
    cursor: pointer;
}

#chatGPT .box-perfil {
    width: 40%;
}

#chatGPT .box-perfil.box-user {
    justify-self: flex-end;
    align-self: flex-end;
}

#chatGPT .box-perfil .persona {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 30px;
    border-radius: 0.5rem;
    background: #f1f5f7;
}

#chatGPT .box-perfil.box-user .persona {
    border-bottom: #fff;
}

#chatGPT .box-perfil .persona h4 {
    font-size: 15px;
    line-height: 1;
    margin-bottom: 0;
}

#chatGPT .box-perfil .mensagem {
    border-top: 1px solid #fff;
    margin: 0 20px;
}

#chatGPT .message-p {
    color: #505d69;
    padding: 1rem 2rem;
}

#chatGPT i.icon-user {
    background: url(../images/user-tie-solid.svg);
    width: 20px;
    height: 20px;
    display: block;
}

#chatGPT i.icon-book-atlas {
    background: url(../images/book-atlas-solid.svg);
    width: 18px;
    height: 20px;
    display: block;
}

#chatGPT .lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

#chatGPT .lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

#chatGPT .lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

#chatGPT .lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

#chatGPT .lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}

#chatGPT .lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}