.d-none {
    display: none!important;
}

/* Alinhar conteúdo de todas as tabelas ao topo */
.table tbody td,
.table tbody th {
    vertical-align: top !important;
}
.button-menu-home {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
}
.text-uppercase {
    text-transform: uppercase;
}
.text-center { text-align: center!important; }
.text-right { text-align: right!important; }
.text-left { text-align: left!important; }
.text-green { color: #24eb34; }
.text-dark { color: #363636; }

.fs-1 { font-size: 3rem!important; }
.fs-2 { font-size: 2.5rem!important; }
.fs-3 { font-size: 2rem!important; }
.fs-4 { font-size: 1.5rem!important; }
.fs-5 { font-size: 1.25rem!important; }
.fs-6 { font-size: 1rem!important; }
.fs-7 { font-size: 0.9rem!important; }
.fs-8 { font-size: 0.8rem!important; }
.fs-9 { font-size: 0.65rem!important; }
.flex-wrap { flex-wrap: wrap!important;}
.w-30 {
    width: 33%;
}
.w-50 {
    width: 50%;
}
.w-100 {
    width: 100%;
}
.select select {
    font-size: 0.95em!important;
}
.checkbox {
    color: #444545!important;
}
.checkbox input+span::after {
    background: #545454;
    color: #fff;
    padding: 4px 5px;
    border-radius: 2px;
}
.title {
    font-family: "Montserrat", sans-serif;
    color: #232326;
}
.main-sidebar {
    background-color: #232326;
}
.profile-wrapper .profile-body .settings-section .settings-box:hover h3 {
    color: #29a4da;
}
.menu-toggle .icon-line-top,
.menu-toggle .icon-line-center,
.menu-toggle .icon-line-bottom {
    background: #29a4da;
}
/* Primária da marca — sobrescreve Bulma/Huro (#009d92 e sombras roxas do h-button) */
.button.is-primary {
    background-color: #29a4da !important;
    border-color: transparent !important;
    color: #fff !important;
}
.button.is-primary:hover,
.button.is-primary.is-hovered {
    background-color: #2390c4 !important;
    border-color: transparent !important;
    color: #fff !important;
}
.button.is-primary:focus:not(:active),
.button.is-primary.is-focused:not(:active) {
    border-color: transparent !important;
    color: #fff !important;
}
.button.is-primary:active,
.button.is-primary.is-active {
    background-color: #1d8abf !important;
    border-color: transparent !important;
    color: #fff !important;
}
.button.is-primary[disabled],
fieldset[disabled] .button.is-primary {
    background-color: #29a4da !important;
    border-color: #29a4da !important;
    opacity: 0.65;
}
.button.h-button.is-primary.is-raised:hover {
    box-shadow: 0 14px 26px -12px rgba(41, 164, 218, 0.45), 0 4px 23px 0 rgba(0, 0, 0, 0.12),
        0 8px 10px -5px rgba(41, 164, 218, 0.25) !important;
}
.button.h-button.is-primary.is-elevated {
    box-shadow: 0 14px 26px -12px rgba(41, 164, 218, 0.45), 0 4px 23px 0 rgba(0, 0, 0, 0.12),
        0 8px 10px -5px rgba(41, 164, 218, 0.25) !important;
}

.button.is-success:hover, .button.is-success.is-hovered {
    background-color: #29a4da;
}

/* Links abaixo do formulário (login / recuperar senha) */
.auth-wrapper-inner .forgot-link a {
    color: #29a4da;
    font-weight: 600;
}
.auth-wrapper-inner .forgot-link a:hover {
    color: #1d8abf;
    text-decoration: underline;
}
.profile-wrapper .profile-body .settings-section .settings-box:hover {
    border-color: #29a4da;
}
.profile-wrapper .profile-body .settings-section .settings-box:hover .icon-wrap i {
    color: #29a4da;
}
.tag:not(body).is-success {
    background-color: #009d13;
}
.main-sidebar .sidebar-inner .bottom-menu li .dropdown .status-indicator{
    background: #009d13;
}

/* itens das questoes de multipla escolha */
.item-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.item-number {
    flex-shrink: 0;
}

.item-content {
    flex-grow: 1;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: anywhere;
    min-width: 0; /* Importante para o text-wrap */
}

.item-actions {
    flex-shrink: 0;
}

/* Container para as miniaturas de imagens*/
#preview-container-img {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 1rem;
}
.image-thumbnail-img {
    position: relative;
    width: 200px;
    height: 200px;
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
}
.image-thumbnail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.delete-btn-img {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 20px;
    height: 20px;
    font-size: 12px;
}
.modal-img {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 100;
}
.modal-img img {
    max-width: 90%;
    max-height: 90%;
}
.modal-img.active {
    display: flex;
}
.close-modal-img {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    width: 30px;
    height: 30px;
}

.loading-full {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-full.is-hidden {
    display: none;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* background-color: #fff; */
    padding: 20px;
    border-radius: 8px;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); */
    font-size: 3rem; /* Tamanho do ícone */
    color: #ffffff; /* Cor do ícone - branco genérico */
}
.loading-spinner p {
    color: #ffffff;
    font-size: 1.2rem;
    margin-top: 0.7rem;
    font-weight: 500;
}
/* Define uma rotação mais rápida */
.fast-spin {
    animation: fa-spin 1s infinite linear; /* Reduz o tempo de 2s para 1s */
}


.webui-popover {
    background: #373737 !important;
}
.webui-popover.webui-popover-default .webui-popover-content .popover-head h4 {
    color: #fff !important;
}
.webui-popover.webui-popover-default .webui-popover-content .popover-body p {
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
}
.container-status-abastecimento {
    width: 100%; display: flex; gap: 1rem; overflow-x: auto; max-width: 100%;
}
.container-status-abastecimento::-webkit-scrollbar {
height: 8px;
}
.container-status-abastecimento::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}
.container-status-abastecimento::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.container-status-abastecimento::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.container-status-abastecimento {
    scrollbar-width: thin;
    scrollbar-color: #d6d6d670 #f1f1f108;
}
.calendar-container .table-calendar {
    border-collapse: collapse;
    /* width: 50%; Faz a tabela ocupar toda a largura disponível */
    margin: 20px 0;
}

.calendar-container .table-calendar th,
.calendar-container .table-calendar td {
    border: 1px solid #ddd;
    /* padding: 6px; */
    text-align: center;
    cursor: pointer;
    /* height: 30px; Altura dos dias */
    transition: background-color 0.3s;
    font-size: 14px;
}

.calendar-container .table-calendar th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.calendar-container .table-calendar .selected {
    background-color: #5e1ab6; /* Azul */
    color: white;
}

.calendar-container .table-calendar td.disabled {
    color: #ccc;
    pointer-events: none;
    background-color: #f9f9f9;
}

.header-link {
    display:flex;
    align-items: center;
    width: 100%;
    margin-bottom: 5px;
    padding: 0.5rem;
    gap: 10px;
}
.header-link .header-link-text{
    color: #888888;
}
.text-right{
    text-align: right;
}
.align-center-btn {
    display: flex;
    align-items: center;
    justify-content:
    center; gap: 1rem;
}
.list_veiculos_adicionados_frota {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 1rem;
}
.text-obs {
    color: #a2a5b9;
    font-size: 11px;
}
.excluir-placa {
    color: white;
    background-color: red;
    cursor: pointer;
}
.card-placa {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e5e5e5;
    max-width: 12.5rem;
    text-align: center;
    border-radius: 5px;
}
.card-placa p {
    font-size: 13px;
    padding: 0.5rem 0;
}
.card-placa .text-placa-cor {
    font-size: 12px;
}
.card-placa-button {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 1rem;
}
.placa {
    text-align: center;
    border: 1px solid #c5c5c5;
    border-radius: 0.3rem;
    max-width: 7.5rem;
    min-width: 7rem;
}
.placa .targeta {
    font-size: 9px;
    text-transform: uppercase;
    background: #671cc9;
    color: #fff;
    border-radius: 0.25rem 0.25rem 0 0;
}
.placa .numero {
    font-size: 1.2rem;
}
.numero-placa-click:hover {
    background: #ff5151;
    color: #fff;
    cursor: pointer;
}
.select {
    width: 100%
}
.select select{
    width: 100%
}
.select2-container {
    width: 100%!important;
}
.select2-container--default
.select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #009d926e;
    color: #2a2a2a !important;
}
.select2-container--default
.select2-results__option--selected {
    margin: 4px!important;
    border-radius: 3px!important;
}
.select2-dropdown {
    background-color: #ffffff;
    border: 1px solid #ced4da;
}
.select2-container--default
.select2-results__option {
    margin: 4px !important;
    color: #363636!important;
}
.select2-container--default .select2-results__option--selected {
    /* background-color: #0ad6a1; */
    background-color: #00a19742;
    color: #2a2a2a !important;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    top: 7px;
    right: 4px;
}
.select2-container .select2-selection--single {
    height: calc(2.25rem + 2px);
    border-radius: 0.25rem;
    border: 1px solid #ced4da;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    color: #495057;
    background-color: #fff;
}
.select2-search--dropdown .select2-search__field {
    padding: 8px;
    font-size: 1rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none;
}

.select2-container .select2-selection--single {
    height: 100%!important;
}

.select2-container--default .select2-results>.select2-results__options {
    max-height: 600px!important;
}





/* Estilos para o tema escuro */
.select2-container--dark .select2-selection--single,
.select2-container--dark .select2-selection--multiple {
    background-color: #28282b!important; /* Cor de fundo para modo escuro */
    border-color: #28282b!important; /* Cor da borda para modo escuro */
    color: #ffffff!important; /* Cor do texto para modo escuro */
}

.select2-container--dark .select2-selection--single:focus,
.select2-container--dark .select2-selection--multiple:focus {
    border-color: #ffffff!important; /* Cor da borda ao focar para modo escuro */
}

.select2-container--dark .select2-selection--single .select2-selection__rendered {
    color: #aaaab3!important;
}

.select2-container--dark .select2-selection--single:focus{
    border-color: #404045 !important;
}



.control {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    clear: both;
    font-size: 1rem;
    position: relative;
    text-align: inherit;
}


.radio-pills {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.radio-pills .radio-pill {
    position: relative;
    width: 15rem;
}

.radio-pills .radio-pill input {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    cursor: pointer;
}

.radio-pills .radio-pill .radio-pill-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    height: 40px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-size: .9rem;
    -webkit-transition: all .3s;
    transition: all .3s;
}

.radio-pills .radio-pill input:checked+.radio-pill-inner {
    background: #671cc9;
    border-color: #671cc9;
    -webkit-box-shadow: 0 14px 26px -12px rgba(103, 28, 201, .42), 0 4px 23px 0px rgba(0, 0, 0, .12), 0 8px 10px -5px rgba(103, 28, 201, .2);
    box-shadow: 0 14px 26px -12px rgba(103, 28, 201, .42), 0 4px 23px 0px rgba(0, 0, 0, .12), 0 8px 10px -5px rgba(103, 28, 201, .2);
    color: #fff;
}


/* .sidebar-panel.is-generic .inner li.has-children ul li {
    height: 45px!important;
} */

.sidebar-panel {
    width: 300px;
}

.sidebar-panel .inner {
    width: 300px!important;
}

.view-wrapper.is-pushed-full {
    margin-left: 360px;
}


.mobile-subsidebar {
    width: 100%;
}

/* Cursor pointer em todos os elementos clicáveis */
a,
button:not(:disabled) {
    cursor: pointer !important;
}

/* ── Turma info banner (matrícula de alunos) ─────────────────────────── */
.turma-matricula-banner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #eef4ff;
    border: 1px solid #c3d9ff;
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    padding: 14px 18px;
    margin: 0 0 24px;
}

.dark-mode .turma-matricula-banner {
    background: #1e2a3a;
    border-color: #2d4a6e;
    border-left-color: #3b82f6;
}

.turma-matricula-banner-icon {
    font-size: 1.6rem;
    color: #3b82f6;
    line-height: 1;
    padding-top: 2px;
    flex-shrink: 0;
}

.turma-matricula-banner-body {
    flex: 1;
    min-width: 0;
}

.turma-matricula-banner-label {
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #3b82f6;
    margin: 0 0 4px;
}

.turma-matricula-banner-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
    line-height: 1.3;
}

.dark-mode .turma-matricula-banner-name {
    color: #e2e8f0;
}

.turma-matricula-banner-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.turma-matricula-banner-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .82rem;
    color: #475569;
    font-weight: 500;
}

.dark-mode .turma-matricula-banner-meta span {
    color: #94a3b8;
}

.turma-matricula-banner-meta span i {
    color: #3b82f6;
    font-size: .85rem;
}

