@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary-color: #4a90e2;
    --secondary-color: #2c3e50;
    --success-color: #27ae60;
    --error-color: #e74c3c;
    --background-color: #f5f6fa;
    --card-background: #ffffff;
    --text-color: #2c3e50;
    --border-color: #dcdde1;
}

/* Reset e Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

body {
    font-family: "Montserrat", sans-serif;
}


/* Garantir que todos os elementos pais ocupem 100% da largura */
.dashboard-container,
.main-content,
.content {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

/* Ajustar padding específico apenas dentro do conteúdo */
.content {
    padding: 1rem 2rem !important;

}

.main-content {
    padding: 0 2rem !important;
}




/* Classes Utilitárias */

.justify-content-between {
    justify-content: space-between !important;
}

.text-bold {
    font-weight: 600;
}

.text-g1 {
    color: #0AA1A9;
}

.text-red {
    color: red;
}


.text-white {
    color: white !important;
}

.text-muted {
    color: #6c757d !important;
}

/* Cores de Fundo */

.bg-primary {
    background-color: #007bff !important;
}

.bg-warning {
    background-color: #ffc107 !important;
}

.bg-info {
    background-color: #17a2b8 !important;
}

.bg-success {
    background-color: #28a745 !important;
}


/* Espaçamento */
.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mt-1 {
    margin-top: 0.25rem !important;
}

.ms-2 {
    margin-left: 0.5rem !important;
}

.p-3 {
    padding: 1rem !important;
}

.p-5 {
    padding: 3rem !important;
}


/* Botões */


.btn-primary {
    color: #fff;
    background-color: #1ECA8B;
    border-color: #1ECA8B;
    margin-right: 15px;
}

.btn-secondary {
    color: #fff;
    background-color: #accec1;
    border-color: #accec1;
    margin-right: 15px;
}

.btn-outline-primary {
    color: #1ECA8B;
    background-color: transparent;
    border-color: #1ECA8B;
    margin-right: 15px;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #1ECA8B;
    border-color: #1ECA8B;
}

.btn.filter-toggle-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    border: 2px solid #0AA1A9 !important;
    background-color: white !important;
    color: #0AA1A9 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.btn.filter-toggle-btn:hover {
    background-color: #0AA1A9 !important;
    color: white !important;
    border-color: #088a91 !important;
}

.btn.filter-toggle-btn i {
    font-size: 16px !important;
}

.btn-group {
    display: inline-flex;
    vertical-align: middle;
}

.btn-group>.btn {
    position: relative;
    flex: 1 1 auto;
}

.btn-close {
    background: transparent;
    border: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    opacity: 0.5;
    cursor: pointer;
}

.btn-close:hover {
    opacity: 0.75;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    color: white;
}

/* Estilos de Texto Adicionais */
.small {
    font-size: 80%;
    font-weight: 400;
}

/* Fundo Verde */
.bg-green {
    position: relative;
    background-image: url('../assets/img/bg-green.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    justify-content: center;
    align-items: center;
    padding: 1%;
}

.vectorimg {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: max(300px, 20vw);
    max-height: max(300px, 20vw);
}

.content-wrapper {
    background-color: white;
    width: 100%;
    max-width: max(1280px, 80vw);
    padding: max(20px, 3vw);
    background-image: url("../assets/img/vectorlg.png");
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: 30%;
    box-shadow: max(2px, .2vw) max(2px, .2vw) max(3px, .4vw) rgba(0, 0, 0, 0.5);
}

/* Login */
.login-content {
    padding: max(20px, .3vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.login .text-top {
    text-align: center;
    color: #6A6A6A;
}

.login .text-top img {
    width: 100%;
    max-width: max(100px, 5vw);
}

.login .text-top h1 {
    font-size: max(28px, 3.8vw);
    color: transparent;
    background: linear-gradient(to right, #24AAAE, #6DCF58);
    background-clip: text;
    -webkit-background-clip: text;
    margin: 20px 0;
}

.login .text-top span {
    font-size: max(22px, 2.4vw);
    font-weight: bold;
    display: block;
    margin-bottom: 20px;
}

.login .text-top b {
    font-size: max(16px, .8vw);
}

.login-content form {
    width: 100%;
    max-width: max(740px, 37vw);
    margin-top: max(30px, 1.5vw);
}

.login form .input-field {
    display: flex;
    align-items: center;
    gap: max(20px, 1vw);
    margin: max(20px, 5vw) 0;
    border-bottom: max(1px, .1vw) solid black;
    padding: max(15px, .8vw);
}

.login form .input-field input {
    width: 100%;
    border: none;
    padding: 0 max(10px, .5vw);
    font-size: max(16px, .8vw);
    background-color: transparent;
}

.login form .input-field input:focus {
    outline: transparent;
}

.login form .input-field input::placeholder {
    color: #6A6A6A;
}

.login form .input-field i {
    color: #32B19E;
    font-size: max(18px, 1.2vw);
}

.login form a {
    color: #32B19E;
    text-decoration: none;
    font-size: max(16px, .8vw);
}

.login form a:hover {
    text-decoration: underline;
}

.login form input[type="submit"] {
    background-color: #0da79f;
    width: 100%;
    max-width: max(100px, 12vw);
    border: none;
    border-radius: max(20px, 2vw);
    padding: max(10px, 1vw);
    font-size: max(20px, 1.2vw);
    color: white;
    transition: .2s ease-in;
}

.login form input[type="submit"]:hover {
    cursor: pointer;
    background-color: hsl(177, 86%, 15%);
}

.login-img {
    background-image: url('../assets/img/loginL.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 44vw;
    padding: max(30px, 3vw);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: right;
}

.login-img .logo img {
    width: 100%;
    max-width: max(150px, 6vw);
}

.login-img .login-text {
    color: #fff;
}

.login-img .login-text p {
    font-size: max(22px, 2vw);
    letter-spacing: 2%;
}

.login-img .login-text span {
    display: block;
    font-size: max(18px, 1.5vw);
    margin: max(20px, 3vw) 0 max(20px, 5vw) 0;
}

.bg-green {
    position: relative;
    background-image: url('../assets/img/bg-green.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    justify-content: center;
    align-items: center;
    padding: 1%;
}

.vectorimg {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: max(300px, 20vw);
    max-height: max(300px, 20vw);
}

.content-wrapper {
    background-color: white;
    width: 100%;
    max-width: max(1280px, 80vw);
    padding: max(20px, 3vw);
    background-image: url("../assets/img/vectorlg.png");
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: 30%;
    box-shadow: max(2px, .2vw) max(2px, .2vw) max(3px, .4vw) rgba(0, 0, 0, 0.5);
}

/* Recuperação de Senha */
.fgtpass-content {
    min-height: 75vh;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.fgtpass-content .text-top p {
    font-size: max(22px, 1.6vw);
    max-width: max(700px, 35vw);
}

.fgtpass-content .text-top {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fgtpass-content .img-wrapper {
    text-align: right;
    width: 100%;
}

.fgtpass-content .img-wrapper img {
    width: 100%;
    max-width: max(200px, 8vw);
}

.fgtpass-content form {
    width: 100%;
    max-width: max(600px, 35vw);
}

.fgtpass-content form img {
    width: 100%;
    max-width: max(25px, 2vw);
}

.fgtpass-content .logo {
    align-self: flex-end;
    width: 100%;
    max-width: max(120px, 5vw);
    margin-top: 10px;
}

.fgtpass-content input[type="submit"] {
    display: block;
    margin: 0 auto;
}


/* Agendamento */
.schedule-actions {
    justify-content: space-between;
    gap: max(10px, 1vw);
    margin-bottom: 20px;
}

.schedule-actions button {
    margin: max(2px, .1vw);
    padding: max(5px, .3vw) max(8px, .5vw);
    border-radius: max(5px, .3vw);
    font-size: max(14px, .8vw);
    cursor: pointer;
}

.schedule-actions .data-types {
    align-items: center;
    gap: max(10px, 1vw);
    color: #0AA1A9;
}

.data-types p {
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.schedule-actions .schedule-types button {
    color: #0AA1A9;
    background-color: #fff;
    border: 1px solid #e9e9e9;
}

.schedule-actions .schedule-types button span {
    display: none;
}

.schedule-actions .schedule-types {
    display: flex;
    gap: 5px;
}

.schedule-actions .schedule-types .active {
    color: #fff;
    background-color: rgba(10, 161, 169, 0.6);
}

.schedule-actions .schedule-types .active span {
    display: inline-block;
}

.schedule-actions .schedule-types select {
    border: none;
    color: #0AA1A9;
    outline: transparent;
    font-size: max(14px, .8vw);
}

.schedule-actions .extra-buttons {
    width: 100%;
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.schedule-actions .extra-buttons button {
    color: #979797;
    font-weight: bold;
    background-color: white;
    border: max(1px, .1vw) solid #ccc;
}

.schedule-actions .extra-buttons button i {
    color: #0AA1A9;
}

.schedule-actions p {
    font-size: max(24px, 1.3vw);
}

/* Texto e Botões */
.text-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: max(10px, 1.5vw) 0;
    gap: max(10px, .5vw);
}

.text-buttons p {
    font-size: max(22px, 1.4vw);
    color: #10A6A7;
    font-weight: bold;
}

.text-buttons button {
    border: none;
    border-radius: max(10px, 1vw);
    padding: max(6px, .6vw) max(12px, 1vw);
    font-size: max(14px, .8vw);
    color: white;
    cursor: pointer;
    font-weight: bold;
}

.text-buttons .buttons {
    display: flex;
    gap: max(10px, 1vw);
}

/* Cards */
.card-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: max(20px, 2vw) 0;
    font-size: max(16px, .8vw);
    text-align: center;
    gap: max(10px, 1.5vw);
}

.card-wrapper .card {
    text-decoration: none;
    padding: max(10px, 1vw);
    border-radius: max(10px, 1vw);
    flex: 1;
    color: #979797;
    min-height: max(150px, 8vw);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-wrapper .card .number {
    font-weight: 600;
    display: block;
    margin-bottom: max(10px, .5vw);
    font-size: max(16px, 1.8vw);
}

.card-wrapper .c1 {
    border: max(2px, .1vw) solid #A90A0A;
}

.card-wrapper .c2 {
    border: max(2px, .1vw) solid #0AA1A9;
}

.card-wrapper .c3 {
    border: max(2px, .1vw) solid #84A90A;
}

.card-wrapper .c4 {
    border: max(2px, .1vw) solid #F69A1A;
}

.card-wrapper .c5 {
    border: max(2px, .1vw) solid #90DD62;
}

/* Tabelas */
.table-wrapper table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    margin: max(20px, 2vw) 0;
    color: #979797;
}

.table-wrapper .table-content {
    overflow-x: auto;
}

.table-content .dt-search {
    display: flex;
    flex-direction: column;
    border-bottom: max(1px, .1vw) solid #ccc;
    font-size: max(15px, 1vw);
    color: #979797;
    max-width: max(30%, 500px);
}

.table-content .dt-search input {
    flex: 1;
    padding: max(10px, .5vw) 0;
    border: none;
    font-size: max(15px, .9vw);
    color: #979797;
    outline: transparent;
}

.table-content .dt-search input::placeholder {
    font-size: max(15px, .9vw);
    color: #979797;
}

.table-content .bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: max(30px, 1.5vw);
}

.table-content .dt-length {
    color: #979797;
    font-size: max(15px, 1vw);
    font-weight: 500;
}

.table-content .dt-length select {
    cursor: pointer;
    border: none;
    border-radius: max(3px, .4vw);
    box-shadow: 0 0 max(1px, .2vw) rgba(0, 0, 0, 0.2);
    padding: max(5px, .4vw) max(10px, .8vw);
    font-size: max(15px, .8vw);
    color: #979797;
    margin: 0 max(5px, .3vw);
}

.table-content .dt-paging nav {
    display: flex;
    justify-content: center;
    box-shadow: 0 0 max(1px, .2vw) rgba(0, 0, 0, 0.2);
    border-radius: max(3px, .4vw);
}

.table-content .dt-paging .dt-paging-button {
    background-color: transparent;
    font-size: max(15px, 1vw);
    font-weight: 600;
    cursor: pointer;
    padding: max(10px, .5vw);
    text-decoration: none;
    color: #979797;
    transition: background-color 0.3s ease;
    border: none;
}

.table-content .dt-paging .current {
    color: #10A6A7;
}

.table-content .dt-paging .disabled {
    color: #ccc;
    pointer-events: none;
}

.table-content .dt-paging .dt-paging-button:hover {
    background-color: #f0f0f0;
    color: #10A6A7;
}

.table-wrapper th,
.table-wrapper td {
    padding: max(15px, 1vw);
    text-align: left;
    font-size: max(15px, .8vw);
}

.table-wrapper input[type="checkbox"] {
    width: max(12px, 1vw);
    height: max(12px, 1vw);
}

.table-wrapper .td-img {
    display: flex;
    align-items: center;
    gap: max(10px, .5vw);
    color: #0AA2A8;
    font-weight: bold;
}

.table-wrapper .td-img img {
    width: 100%;
    width: max(25px, 1.5vw);
}

.table-wrapper th {
    background-color: #fff;
    font-weight: 600;
}

.table-wrapper tr:nth-child(even) {
    background-color: #fff;
}

.table-wrapper tr:nth-child(odd) {
    background-color: #f6f6f6;
}

.table-wrapper .actions i {
    margin-right: max(8px, .4vw);
    cursor: pointer;
}

.table-wrapper .actions i:hover {
    color: #10A6A7;
}

.table-wrapper .table-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: max(30px, 1.5vw);
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
}

.table tbody+tbody {
    border-top: 2px solid #dee2e6;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.075);
}

/* Dashboard */
.dashboard-container {
    display: flex;
    flex-direction: column;
}


.dashboard-container .card {
    margin-bottom: 20px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.dashboard-container .card-header {
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    padding: 0.75rem 1.25rem;
}

.dashboard-container .card-body {
    padding: 1.25rem;
}

.dashboard-container .card-title {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.dashboard-container .card-text {
    margin-top: 0;
    margin-bottom: 0;
}

.container-cards-dashboard {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    width: 100%;
    margin-bottom: 10px;
    justify-content: space-between;
}

.cards-dashboard {
    min-width: 0;
}

.cards-dashboard:not(.col-30):not(.col-40) {
    flex: 1;
}

.col-30 {
    flex: 0 0 27%;
    width: 27%;
    margin-bottom: 10px;
}

.col-40 {
    flex: 0 0 43%;
    width: 43%;
    margin-bottom: 10px;
}

/* Responsividade para telas menores */
@media (max-width: 992px) {
    .container-cards-dashboard {
        flex-wrap: wrap;
    }

    .cards-dashboard {
        width: calc(50% - 10px);
        /* 2 cards por linha em tablets */
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 576px) {
    .cards-dashboard {
        width: 100%;
        /* 1 card por linha em celulares */
        flex: 0 0 100%;
    }
}



/* Timeline */
.timeline-container {
    padding: 20px;
}

.timeline-group {
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    overflow: hidden;
}

.timeline-group-header {
    background-color: #1ECA8B;
    padding: 12px 15px;
    color: #fff;
    font-weight: bold;
    border-bottom: 1px solid #e9ecef;
}

.timeline-event {
    display: flex;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0;
    /* gap: 10px; */
}

.timeline-event:last-child {
    border-bottom: none;
}

.timeline-date {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 165px;
    padding: 15px;
    background-color: #f8f9fa;
    font-weight: 500;
    border-right: 1px solid #e9ecef;
}

.timeline-content {
    flex-grow: 1;
    padding: 15px;
    background-color: #fff;
    transition: background-color 0.2s;
}

.timeline-content:hover {
    background-color: #f1f3f5;
}

/* Kanban Board */
.kanban-container {
    padding: 20px;
    overflow-x: auto;
}

.kanban-board {
    display: flex;
    min-height: 600px;
    gap: 16px;
    padding-bottom: 16px;
    overflow-x: auto;
}

.kanban-column {
    min-width: 300px;
    max-width: 300px;
    background-color: #f8f9fa;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.kanban-column-header {
    padding: 12px 16px;
    font-weight: 600;
    font-size: 16px;
    border-bottom: 1px solid #e9ecef;
    color: white;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kanban-column-content {
    flex-grow: 1;
    padding: 12px;
    overflow-y: auto;
    min-height: 100px;
}

.kanban-card {
    background-color: white;
    border-radius: 5px;
    padding: 12px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    border-left: 5px solid #ddd;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: move;
    user-select: none !important;
    -webkit-user-select: none !important;
}

.kanban-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.kanban-card h6 {
    margin-top: 0;
    margin-bottom: 8px;
    font-weight: 600;
}

.kanban-card p {
    color: #6c757d;
    margin-bottom: 10px;
}

.kanban-card .badge {
    font-size: 11px;
    font-weight: 500;
    padding: 4px 6px;
    border-radius: 4px;
}

/* Cores específicas para as colunas por status */
.kanban-column[data-status="pending"] .kanban-column-header {
    background-color: #FFA500;
    /* Laranja para pendente */
}

.kanban-column[data-status="in_progress"] .kanban-column-header {
    background-color: #3498DB;
    /* Azul para em andamento */
}

.kanban-column[data-status="completed"] .kanban-column-header {
    background-color: #2ECC71;
    /* Verde para concluído */
}

.kanban-column[data-status="cancelled"] .kanban-column-header {
    background-color: #E74C3C;
    /* Vermelho para cancelado */
}

/* Cores na borda esquerda dos cartões baseadas na categoria */
.kanban-card[data-category="1"] {
    border-left-color: #4CAF50;
    /* Verde para manutenção preventiva */
}

.kanban-card[data-category="2"] {
    border-left-color: #F44336;
    /* Vermelho para manutenção corretiva */
}

.kanban-card[data-category="3"] {
    border-left-color: #2196F3;
    /* Azul para instalação */
}

.kanban-card[data-category="4"] {
    border-left-color: #9C27B0;
    /* Roxo para treinamento */
}

.kanban-card[data-category="5"] {
    border-left-color: #FF9800;
    /* Laranja para suporte remoto */
}

/* Contagem de tarefas no cabeçalho */
.task-count {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-left: 8px;
}

/* Botão para adicionar tarefa no topo de cada coluna */
.add-task-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.add-task-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Informações de usuário/cliente nos cartões */
.task-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #6c757d;
    margin-top: 10px;
}

.task-date {
    display: flex;
    align-items: center;
    margin-top: 4px;
    color: #6c757d;
    font-size: 12px;
}

.task-date i {
    margin-right: 4px;
    font-size: 14px;
}

/* Tags no rodapé do cartão */
.task-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 8px;
}

.kanban-column-content.drag-over {
    background-color: rgba(0, 123, 255, 0.1);
    border: 2px dashed #007bff;
}

.sortable-ghost {
    opacity: 0.4;
    background-color: #f8f9fa;
    border: 2px dashed #6c757d;
}

.sortable-chosen {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.sortable-drag {
    opacity: 0.8;
    transform: rotate(3deg);
}

.drag-handle {
    padding: 8px;
    background-color: #e9ecef;
    font-size: 12px;
    color: #6c757d;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
}

.dragging * {
    pointer-events: none;
}

/* Modais */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    overflow-y: auto;
    display: block;
}

.modal-dialog {
    position: relative;
    margin: 1.75rem auto;
    top: 50%;
    transform: translateY(-50%);
    max-width: 800px;
    width: 100%;
}

.modal-dialog.modal-lg {
    max-width: 800px;
}

.modal-content {
    position: relative;
    background-color: #fff;
    border-radius: 0.3rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
    outline: 0;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.modal-title {
    margin: 0;
    line-height: 1.5;
}

.modal-body {
    position: relative;
    padding: 1rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
    gap: 0.5rem;
}

/* body.modal-open {
    overflow: hidden;
} */

/* Responsividade */
@media screen and (max-width: 980px) {
    .login-content {
        position: absolute;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.88);
    }

    .login-img {
        width: 100%;
    }

    .login-img .login-text {
        display: none;
    }
}

@media screen and (max-width: 768px) {

    .timeline-event {
        flex-direction: column;
    }

    .timeline-date {
        min-width: 100%;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }

    .kanban-board {
        flex-direction: column;
        align-items: center;
    }

    .kanban-column {
        min-width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .hid-textbtn span {
        display: none;
    }
}

.enhanced-select {
    height: auto !important;
    min-height: 100px;
}

.enhanced-select option {
    padding: 8px;
    margin-bottom: 1px;
    border-radius: 3px;
}

.enhanced-select option:checked {
    background-color: #e7f1ff !important;
    color: #0d6efd;
}

.container-views-calendar {
    padding-bottom: 20px;
}

/*Novo Css*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

body {
    font-family: "Montserrat", sans-serif;
}

.open-popup {
    cursor: pointer;
}

.popup-wrapper {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2%;
}

.popup .popup-content {
    position: relative;
    background-color: #fff;
    border-radius: max(10px, 1vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: max(250px, 35vw);
    background-image: url('../assets/img/vectorlg.png');
    background-position: left bottom;
    background-size: 25%;
    background-repeat: no-repeat;
}

.popup .popup-general {
    padding: max(10px, 2vw);
    width: 100%;
    max-height: 80vh;
    overflow: auto;
}

.popup-content .green-bg {
    background-image: linear-gradient(to right, #0BD16B 0%, #00CF79 33%, #00A58B 67%, #009E91 100%);
    top: 0;
    left: 0;
    width: 100%;
    padding: max(10px, 1vw);
    color: white;
    border-radius: max(10px, 1vw) max(10px, 1vw) 0 0;
    font-size: max(18px, 1.2vw);
    font-weight: 600;
}

.popup .buttons {
    padding: 0 max(10px, 2vw) max(10px, 2vw) max(10px, 2vw);
}

.popup .buttons button {
    border: none;
    border-radius: max(10px, 1vw);
    padding: max(10px, .6vw) max(15px, 1vw);
    font-size: max(14px, .8vw);
    margin-left: max(8px, 1vw);
    color: white;
    cursor: pointer;
}

.d-flex {
    display: flex;
    flex-wrap: wrap;
}

.no-wrap {
    flex-wrap: nowrap;
}

.flex-col {
    flex-direction: column;
}

.flex-center {
    justify-content: center;
}

.flex-bet {
    justify-content: space-between;
}

.flex-end {
    justify-content: flex-end;
}

.align-center {
    align-items: center;
}

.align-stretch {
    align-items: stretch;
}

.align-end {
    align-items: flex-end;
}

.w-100 {
    width: 100%;
}

.content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-content {
    flex: 1;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: max(10px, .5vw);
}

.btn {
    border: none;
    color: white;
    font-size: max(14px, .8vw);
    cursor: pointer;
    border-radius: max(10px, 2vw);
    padding: max(6px, .6vw) max(12px, 1vw);
    text-decoration: none;
}

.text-bold {
    font-weight: 600;
}

.text-g1 {
    color: #0AA1A9;
}

.text-red {
    color: red;
}

.green1 {
    background-color: #0AA1A9;
}

.green2 {
    background-color: #1ECA8B;
}

.green3 {
    background-color: #fff;
    border: max(1px, .1vw) solid #1ECA8B;
    color: #1ECA8B;
}

.red1 {
    background-color: red;
}

.red2 {
    border: max(1px, .1vw) solid red !important;
    color: red !important;
    background-color: white;
}

.bordered1 {
    color: #0AA1A9 !important;
    border: max(1px, .1vw) solid #0AA1A9 !important;
    background-color: #fff;
}

.bordered2 {
    background-color: white;
    border: max(1px, .1vw) solid #979797 !important;
    color: #979797 !important;
}

.bordered2 i {
    color: #0AA1A9;
}

.drop-down .form-wrapper {
    width: max(280px, 50vw);
    gap: 1%;
}

.drop-down .form-wrapper .buttons {
    width: 100%;
}

.drop-down .form-wrapper .input-wrapper {
    flex-direction: column;
    flex: 1;
}

.form-wrapper .input-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: max(10px, .5vw);
    margin: max(10px, 1.2vw) max(10px, .6vw);
    color: #9e9e9e;
}

.form-wrapper .w20 {
    min-width: max(15%, 70px);
    flex: 0;
}

.form-wrapper .sm-if {
    margin: max(10px, .6vw);
}

.form-wrapper .input-wrapper {
    display: flex;
}

.form-wrapper .input-field input {
    color: #9e9e9e;
    width: 100%;
    font-size: max(16px, .8vw);
    padding: max(10px, .5vw);
    border: none;
    border: max(2px, .1vw) solid #01C67D;
    border-radius: max(8px, .3vw);
}

.popup-general .form-wrapper .input-field input {
    border: none;
    border-bottom: max(1px, .1vw) solid #ccc;
    border-radius: 0;
    background-color: transparent;
}

.form-wrapper .input-field span {
    font-size: max(15px, .6vw);
}

.form-wrapper .sm-if input {
    padding: 0 max(10px, .5vw);
}

.form-wrapper .input-field textarea {
    padding: max(10px, 1vw);
    color: #9e9e9e;
    resize: vertical;
    font-size: max(16px, .8vw);
    min-height: max(150px, 10vw);
    border: max(2px, .1vw) solid #01C67D;
    border-radius: max(8px, .3vw);
}

.form-wrapper .input-field select {
    color: #9e9e9e;
    width: 100%;
    font-size: max(16px, .8vw);
    padding: max(10px, .5vw);
    border: none;
    border: max(2px, .1vw) solid #01C67D;
    border-radius: max(8px, .3vw);
}

.form-wrapper .input-field .border-b {
    border-radius: 0;
    border: none;
    border-bottom: max(2px, .1vw) solid #01C67D;
}

.form-wrapper .input-field textarea::placeholder {
    font-size: max(16px, .8vw);
    color: #9e9e9e;
}

.form-wrapper .input-field input:focus {
    outline: transparent;
}

.form-wrapper .input-field input::placeholder {
    color: #9e9e9e;
}

.form-wrapper .input-field label {
    font-size: max(16px, 1vw);
    font-weight: 500;
}

.form-wrapper .internal-title {
    font-size: max(16px, 1vw);
    padding: 0 max(10px, 1vw);
    color: #6A6A6A;
    font-weight: 500;
}

.login-content {
    padding: max(20px, .3vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.login .text-top {
    text-align: center;
    color: #6A6A6A;
}

.login .text-top img {
    width: 100%;
    max-width: max(100px, 5vw);
}

.login .text-top h1 {
    font-size: max(28px, 3.8vw);
    color: transparent;
    background: linear-gradient(to right, #24AAAE, #6DCF58);
    background-clip: text;
    -webkit-background-clip: text;
    margin: 20px 0;
}

.login .text-top span {
    font-size: max(22px, 2.4vw);
    font-weight: bold;
    display: block;
    margin-bottom: 20px;
}

.login .text-top b {
    font-size: max(16px, .8vw);
}

.login-content form {
    width: 100%;
    max-width: max(740px, 37vw);
    margin-top: max(30px, 1.5vw);
}

.login form .input-field {
    display: flex;
    align-items: center;
    gap: max(20px, 1vw);
    margin: max(20px, 5vw) 0;
    border-bottom: max(1px, .1vw) solid black;
    padding: max(15px, .8vw);
}

.login form .input-field input {
    width: 100%;
    border: none;
    padding: 0 max(10px, .5vw);
    font-size: max(16px, .8vw);
    background-color: transparent;
}

.login form .input-field input:focus {
    outline: transparent;
}

.login form .input-field input::placeholder {
    color: #6A6A6A;
}

.login form .input-field i {
    color: #32B19E;
    font-size: max(18px, 1.2vw);
}

.login form a {
    color: #32B19E;
    text-decoration: none;
    font-size: max(16px, .8vw);
}

.login form a:hover {
    text-decoration: underline;
}

.login form input[type="submit"] {
    background-color: #0da79f;
    width: 100%;
    max-width: max(100px, 12vw);
    border: none;
    border-radius: max(20px, 2vw);
    padding: max(10px, 1vw);
    font-size: max(20px, 1.2vw);
    color: white;
    transition: .2s ease-in;
}

.login form input[type="submit"]:hover {
    cursor: pointer;
    background-color: hsl(177, 86%, 15%);
}


.login-img {
    background-image: url('../assets/img/loginL.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 44vw;
    padding: max(30px, 3vw);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: right;
}

.login-img .logo img {
    width: 100%;
    max-width: max(150px, 6vw);
}

.login-img .login-text {
    color: #fff;
}

.login-img .login-text p {
    font-size: max(22px, 2vw);
    letter-spacing: 2%;
}

.login-img .login-text span {
    display: block;
    font-size: max(18px, 1.5vw);
    margin: max(20px, 3vw) 0 max(20px, 5vw) 0;
}

.bg-green {
    position: relative;
    background-image: url('../assets/img/bg-green.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    justify-content: center;
    align-items: center;
    padding: 1%;
}

.vectorimg {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: max(300px, 20vw);
    max-height: max(300px, 20vw);
}

.content-wrapper {
    background-color: white;
    width: 100%;
    max-width: max(1280px, 80vw);
    padding: max(20px, 3vw);
    background-image: url("../assets/img/vectorlg.png");
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: 30%;
    box-shadow: max(2px, .2vw) max(2px, .2vw) max(3px, .4vw) rgba(0, 0, 0, 0.5);
}

.fgtpass-content {
    min-height: 75vh;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.fgtpass-content .text-top p {
    font-size: max(22px, 1.6vw);
    max-width: max(700px, 35vw);
}

.fgtpass-content .text-top {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fgtpass-content .img-wrapper {
    text-align: right;
    width: 100%;
}

.fgtpass-content .img-wrapper img {
    width: 100%;
    max-width: max(200px, 8vw);
}

.fgtpass-content form {
    width: 100%;
    max-width: max(600px, 35vw);
}

.fgtpass-content form img {
    width: 100%;
    max-width: max(25px, 2vw);
}

.fgtpass-content .logo {
    align-self: flex-end;
    width: 100%;
    max-width: max(120px, 5vw);
    margin-top: 10px;
}

.fgtpass-content input[type="submit"] {
    display: block;
    margin: 0 auto;
}

.top-bar {
    color: white;
    background-image: linear-gradient(to right, #0BD16B 0%, #00CF79 33%, #00A58B 67%, #009E91 100%);
    padding: max(10px, 1vw);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .logo {
    width: 8%;
    min-width: 100px;
}

.top-bar .logo img {
    width: 100%;
}

.top-bar .drop-down li a {
    color: #6A6A6A;
}

.top-bar .drop-down li button {
    color: #6A6A6A;
}

.topbar-center {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    padding-left: max(15px, 3vw);
}

.topbar-center .header-menu {
    display: flex;
    gap: max(5px, 1vw);
    font-size: max(16px, 1vw);
}

.topbar-center .header-menu a {
    color: #fff;
    text-decoration: none;
}

.drop-down-list {
    position: relative;
}

.drop-down-list a {
    text-decoration: none;
    font-size: max(16px, 1vw);
}

.drop-down-list button {
    text-decoration: none;
    font-size: max(16px, 1vw);
    background: none;
    border: none;
    cursor: pointer;
}

.drop-button {
    cursor: pointer;
}

button.drop-button-action {
    border: none;
    color: white;
    font-size: max(14px, .8vw);
    cursor: pointer;
    border-radius: max(10px, 2vw);
    padding: max(6px, .6vw) max(12px, 1vw);
    text-decoration: none;
    background-color: #0AA1A9;
}


.drop-button i {
    margin-left: max(3px, .2vw);
}

.drop-down {
    position: absolute;
    z-index: 2;
    margin-top: max(5px, .3vw);
    display: none;
    background-color: #fff;
    min-width: max(140px, 5vw);
    white-space: nowrap;
    padding: max(10px, 1vw);
    box-shadow: max(1px, .1vw) max(1px, .1vw) max(3px, .5vw) rgba(0, 0, 0, 0.2);
}

.drop-down .list-wrapper {
    width: max(250px, 65vw);
    display: flex;
    flex-wrap: wrap;
    gap: 5%;
}

.drop-down .list-wrapper p {
    color: #0da79f;
    font-weight: bold;
}

.drop-down li {
    padding: max(5px, .3vw) 0;
    margin: max(10px, 1vw) 0;
    color: #6A6A6A;
    font-size: max(15px, 1vw);
}

.drop-down li:hover a {
    color: #32B19E;
}

.drop-down li:hover button {
    color: #32B19E;
}

.drop-down li a {
    color: #6A6A6A;
}

.drop-down-list .drop-down .buy-complete a {
    background-color: #0da79f;
    padding: max(5px, .5vw) max(15px, .5vw);
    border-radius: max(20px, 2vw);
    color: #fff;
}

.drop-down li i {
    width: max(15px, .8vw);
    height: max(15px, .8vw);
    margin-right: max(8px, .4vw);
}

.drop-down li .new-item {
    background-color: #0da79f;
    padding: max(3px, .3vw) max(15px, .5vw);
    margin-left: max(5px, .5vw);
    border-radius: max(20px, 2vw);
    color: #fff;
    font-size: max(14px, .7vw);
}

.topbar-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: right;
    align-items: center;
    gap: max(20px, 1vw);
    ;
}

.top-bar .user-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.topbar-right .user-img img {
    width: max(30px, 1.6vw);
    height: max(30px, 1.6vw);
    border-radius: 50%;
    margin-right: max(10px, .5vw);
}

.topbar-right .user-img {
    font-size: max(15px, 1vw);
}

.user-drop-down {
    padding: max(10px, 2vw);
}

.drop-down-list .view-profile {
    display: block;
    background-color: #0da79f;
    padding: max(3px, .3vw) max(15px, .5vw);
    border-radius: max(20px, 2vw);
    color: #fff;
    font-size: max(10px, .7vw);
}

.drop-down-list .user-details {
    padding-bottom: max(3px, 2vw);
}

.drop-down-list .user-details img {
    width: max(50px, 4vw);
    height: max(50px, 4vw);
    border-radius: 50%;
    margin-right: max(10px, .1vw);
}

.user-details .profile-img {
    width: 27%;
}

.user-details .user-profile {
    width: 70%;
    gap: max(3px, .2vw);
    font-size: max(12px, .7vw);
    color: #979797;
    padding-left: max(10px, 1vw);
}

.user-details .user-profile p {
    font-weight: bolder;
}

.user-details .user-profile a {
    width: 50%;
}

.mobile-menu {
    display: none;
    cursor: pointer;
}

.page-container {
    padding: max(15px, 1.2vw);
    min-height: 90vh;
}

.schedule-actions {
    justify-content: space-between;
    gap: max(10px, 1vw);
}

.schedule-actions button {
    margin: max(2px, .1vw);
    padding: max(5px, .3vw) max(8px, .5vw);
    border-radius: max(5px, .3vw);
    font-size: max(14px, .8vw);
    cursor: pointer;
}

.schedule-actions .data-types {
    align-items: center;
    gap: max(10px, 1vw);
    color: #0AA1A9;
}

.schedule-actions .schedule-types button {
    color: #0AA1A9;
    background-color: #fff;
    border: 1px solid #e9e9e9;
}

.schedule-actions .schedule-types button span {
    display: none;
}

.schedule-actions .schedule-types .active {
    color: #fff;
    background-color: rgba(10, 161, 169, 0.6);
}

.schedule-actions .schedule-types .active span {
    display: inline-block;
}

.schedule-actions .schedule-types select {
    border: none;
    color: #0AA1A9;
    outline: transparent;
    font-size: max(14px, .8vw);
}

.schedule-actions .extra-buttons {
    width: 100%;
}

.schedule-actions .extra-buttons button {
    color: #979797;
    font-weight: bold;
    background-color: white;
    border: max(1px, .1vw) solid #ccc;
}

.schedule-actions .extra-buttons button i {
    color: #0AA1A9;
}

.schedule-actions p {
    font-size: max(24px, 1.3vw);
}

.text-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: max(10px, 1.5vw) 0;
    gap: max(10px, .5vw);
}

.text-buttons p {
    font-size: max(22px, 1.4vw);
    color: #10A6A7;
    font-weight: bold;
}

.text-buttons button {
    border: none;
    border-radius: max(10px, 2vw);
    padding: max(6px, .6vw) max(12px, 1vw);
    font-size: max(14px, .8vw);
    color: white;
    cursor: pointer;
    font-weight: bold;
}

.text-buttons .buttons {
    display: flex;
    gap: max(10px, 1vw);
}

.card-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: max(20px, 2vw) 0;
    font-size: max(16px, .8vw);
    text-align: center;
    gap: max(10px, 1.5vw);
}

.card-wrapper .card {
    text-decoration: none;
    padding: max(10px, 1vw);
    border-radius: max(10px, 1vw);
    flex: 1;
    color: #979797;
    min-height: max(150px, 8vw);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-wrapper .card .number {
    font-weight: 600;
    display: block;
    margin-bottom: max(10px, .5vw);
    font-size: max(16px, 1.8vw);
}

.card-wrapper .c1 {
    border: max(2px, .1vw) solid #A90A0A;
}

.card-wrapper .c2 {
    border: max(2px, .1vw) solid #0AA1A9;
}

.card-wrapper .c3 {
    border: max(2px, .1vw) solid #84A90A;
}

.card-wrapper .c4 {
    border: max(2px, .1vw) solid #F69A1A;
}

.card-wrapper .c5 {
    border: max(2px, .1vw) solid #90DD62;
}

.table-wrapper table {
    width: 100%;
    min-width: 40vw;
    border-collapse: collapse;
    margin: max(20px, 1vw) 0;
    color: #979797;
}

.table-wrapper .table-content {
    overflow-x: auto;
}

.table-content .dt-search {
    font-size: max(15px, 1vw);
    color: #979797;
    max-width: max(30%, 500px);
}

.table-content .dt-search input {
    padding: 0 max(10px, .5vw);
    border: none;
    border-bottom: max(1px, .1vw) solid #ccc;
    font-size: max(15px, .9vw);
    color: #979797;
    outline: transparent;
}

.table-content .dt-search input::placeholder {
    font-size: max(15px, .9vw);
    color: #979797;
}

.table-content .bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: max(30px, 1.5vw);
}

.table-content .dt-length {
    color: #979797;
    font-size: max(15px, 1vw);
    font-weight: 500;
}

.table-content .dt-length select {
    cursor: pointer;
    border: none;
    border-radius: max(3px, .4vw);
    box-shadow: 0 0 max(1px, .2vw) rgba(0, 0, 0, 0.2);
    padding: max(5px, .4vw) max(10px, .8vw);
    font-size: max(15px, .8vw);
    color: #979797;
    margin: 0 max(5px, .3vw);
}

.table-content .dt-paging nav {
    display: flex;
    justify-content: center;
    background-color: #fff;
    box-shadow: 0 0 max(1px, .2vw) rgba(0, 0, 0, 0.2);
    border-radius: max(3px, .4vw);
}

.table-content .dt-paging .dt-paging-button {
    background-color: transparent;
    font-size: max(15px, 1vw);
    font-weight: 600;
    cursor: pointer;
    padding: max(10px, .5vw);
    text-decoration: none;
    color: #979797;
    transition: background-color 0.3s ease;
    border: none;
}

.table-content .dt-paging .current {
    color: #10A6A7;
}

.table-content .dt-paging .disabled {
    color: #ccc;
    pointer-events: none;
}

.table-content .dt-paging .dt-paging-button:hover {
    background-color: #f0f0f0;
    color: #10A6A7;
}

.table-wrapper th,
.table-wrapper td {
    padding: max(10px, 1vw);
    text-align: left;
    font-size: max(15px, .8vw);
}

.table-wrapper input[type="checkbox"] {
    width: max(12px, 1vw);
    height: max(12px, 1vw);
}

.table-wrapper .td-img .img {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: max(50px, 3.5vw);
    height: max(50px, 3.5vw);
    border-radius: max(10px, .5vw);
}

.table-wrapper th {
    background-color: #fff;
    font-weight: 600;
}

.table-wrapper tr:nth-child(even) {
    background-color: #fff;
}

.table-wrapper tr:nth-child(odd) {
    background-color: #f6f6f6;
}

.table-wrapper .actions i {
    margin-right: max(8px, .4vw);
    cursor: pointer;
}

.table-wrapper .actions i:hover {
    color: #10A6A7;
}

.table-wrapper .table-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: max(30px, 1.5vw);
}

.message-error {
    color: red;
}

a.bnt-reset-password {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0da79f;
    width: 100%;
    max-width: max(100px, 12vw);
    border: none;
    border-radius: max(20px, 2vw);
    padding: max(10px, 1vw);
    font-size: max(20px, 1.2vw);
    color: white;
    transition: .2s ease-in;
    text-decoration: none;
}

a.bnt-reset-password:hover {
    cursor: pointer;
    background-color: hsl(177, 86%, 15%);
}

.table-wrapper .bordered-tb tbody {
    border: max(1px, .1vw) solid #ccc;
}

.table-wrapper .bordered-tb th {
    padding: max(10px, 1vw) 0;
}

.table-wrapper .bordered-tb tbody td {
    border-bottom: max(1px, .1vw) solid #ccc;
}

/* Form Style */
.header-form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: max(20px, 1.5vw)max(10px, 1vw);
}

.text-buttons .navigation-trail a {
    color: #0AA1A9;
    font-size: max(14px, 1.1vw);
    text-decoration: none;
}

.form-container {
    width: 95%;
    margin: 30px auto 0;
    border: max(1px, .1vw) solid #9797977a;
    border-radius: max(10px, .5vw);
    padding: max(20px, 1vw);
}

.form-container .progress-step {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: max(500px, 50vw);
    padding-bottom: max(50px, 1vw);
    margin: 0 auto;
}

.form-container .progress-step::before {
    content: '';
    position: absolute;
    top: max(20px, 1.5vw);
    left: 3%;
    width: 93%;
    height: 3px;
    background-color: #e0e0e0;
    z-index: 1;
}

.form-container .progress-bar {
    position: absolute;
    top: max(20px, 1.5vw);
    left: 10px;
    height: 3px;
    background-color: #0AA1A9;
    transition: width 0.3s ease;
    z-index: 2;
}

.form-container .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
    width: 60px;
}

.form-container .step-number {
    width: max(40px, 3vw);
    height: max(40px, 3vw);
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: max(12px, 1vw);
    color: #888;
    transition: all 0.3s ease;
}

.form-container .step-title {
    text-align: center;
    margin-top: max(8px, .6vw);
    font-size: max(10px, .8vw);
    color: #888;
    transition: color 0.3s ease;
}

.form-container .step.active-step .step-number {
    background-color: #fff;
    color: #0AA1A9;
    border: max(3px, .3vw) solid #0AA1A9;

}

.form-container .step.active-step .step-title {
    color: #0AA1A9;
    font-weight: bold;
}

.form-container .step.completed-step .step-number {
    background-color: #0AA1A9;
    color: white;
}

.form-container .step.completed-step .step-title {
    color: #0AA1A9;
}

.form-container .form-step {
    display: none;
    animation: fadeIn 0.5s;
}

.form-container .form-step.active {
    display: block;
}

.multi-step-form {
    border-collapse: collapse;
}

.multi-step-form .buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.multi-step-form button {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.multi-step-form button.btn-prev {
    background-color: #f1f1f1;
    border-radius: max(10px, 2vw);
    padding: max(6px, .6vw) max(12px, 1vw);
    font-size: max(14px, .8vw);
    color: #666;
}

.multi-step-form button.btn-next,
button.btn-submit {
    background-color: #0AA1A9;
    border-radius: max(10px, 2vw);
    padding: max(6px, .6vw) max(12px, 1vw);
    font-size: max(14px, .8vw);
    color: white;
}

.multi-step-form button:hover {
    opacity: 0.9;
}

.multi-step-form button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.7;
}

.error {
    border-color: #ff3860 !important;
}

.error-message {
    color: #ff3860;
    font-size: max(8px, .8vw);
    margin-top: 5px;
    display: none;
}

.form-step p {
    padding: max(5px, .5vw) 0 0 max(10px, 1vw);
    font-size: max(14px, .8vw);
    color: #6a6a6aa2;
}

.multi-step-form .form-step .search-container input[type="search"] {
    width: max(235px, 16vw);
    padding: max(7px, .8vw) max(15px, 1vw);
    border: 1px solid #4dd0a5;
    border-radius: max(5px, .5vw);
    font-size: max(14px, .8vw);
    background-color: white;
    margin-top: max(10PX, .7VW);
}

.multi-step-form .form-step .search-container input[type="search"]::placeholder {
    font-size: max(12px, .8vw);
}

.multi-step-form .form-step .search-container button {
    width: max(235px, 16vw);
    padding: max(7px, .8vw) max(15px, 1vw);
    border: 1px solid #4dd0a5;
    border-radius: max(5px, .5vw);
    font-size: max(14px, .8vw);
    background-color: #0AA1A9;
    color: white;
    margin-top: max(10PX, .7VW);
}

.multi-step-form .form-step th {
    font-size: max(12px, 1vw);
    border: none !important;
}

.multi-step-form .form-step td {
    font-size: max(12px, 1vw);
    border: none !important;
}

.multi-step-form .form-step td .custom-select {
    color: #9e9e9e;
    width: 100%;
    max-width: max(250px, 16vw);
    font-size: max(13px, .8vw);
    padding: max(10px, .5vw);
    border: none;
    border: max(2px, .1vw) solid #01C67D;
    border-radius: max(8px, .3vw);
}

.form-step .equipment-cell {
    padding: max(12px, .5vw);
}

.equipment-input {
    width: 100%;
    padding: max(8px, .8vw) max(10px, 1vw);
    border: 1px solid #4dd0a5;
    border-radius: max(5px, .5vw);
    font-size: max(8px, .8vw);
    color: #6666667a;
    background-color: white;
}

/* Form Style */
.table-wrapper .status {
    display: block;
    width: 100%;
    max-width: max(65px, 4vw);
    text-align: center;
    padding: max(3px, .3vw);
    border-radius: max(3px, .3vw);
    margin: 0 auto;
    color: white;
}

.table-wrapper .active {
    background-color: #0AA1A9;
}

.table-wrapper .inactive {
    background-color: red;
}

.table-wrapper .info-icon {
    font-size: max(16px, 1.2vw);
}

.info-icon {
    margin: 0 5px;
}

.table-wrapper .text-center {
    text-align: center;
}

.table-wrapper .cad-equip tr {
    background-color: transparent;
}

.table-wrapper .cad-equip tr,
.table-wrapper .cad-quest td {
    border: 1px solid #ccc;
}

.table-wrapper .cad-quest tr {
    background-color: transparent;
}

.table-wrapper .cad-quest tr,
.table-wrapper .cad-quest td {
    border: 1px solid #ccc;
}

.table-wrapper .cad-quest td i {
    cursor: pointer;
}

#new-quest .text-buttons i {
    padding-right: max(10px, .5vw);
}

#new-quest .text-buttons p {
    cursor: pointer;
}

#new-quest .content-quest {
    width: 90%;
    margin: max(30px, 6vw) auto 0;
    gap: max(10px, 2vw);
}

#new-quest .config-panel {
    width: 100%;
    min-width: 250px;
    flex: 1;
    padding: 0 max(10px, 1vw);
    border: max(2px, .1vw) solid #ccc;
    border-radius: max(3px, .3vw);
}

#new-quest .config-panel h3 {
    font-size: max(13px, 1.1vw);
    text-align: center;
    padding: max(15px, 1vw);
    margin-bottom: max(10px, 1vw);
    color: #6666667a;
}

#new-quest .config-panel h3 {
    font-size: max(13px, 1.1vw);
    text-align: center;
    padding: max(15px, 1vw);
    color: #6666667a;
}

.green-checkbox .check {
    margin-bottom: max(20px, 2vw);
}

.green-checkbox input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

/* Estilo corrigido para os inputs radio verdes */
.green-checkbox .checkbox-group .check {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: max(5px, .3vw);
}

.green-checkbox .checkbox-group input[type="radio"] {
    opacity: 0;
    position: absolute;
    width: max(15px, 1.2vw);
    height: max(15px, 1.2vw);
    margin: 0;
    margin-left: -6px;
    z-index: 2;
    left: max(20px, .8vw);
    cursor: pointer;
}

.green-checkbox .checkbox-group input[type="radio"]+span {
    position: relative;
    padding-left: max(50px, 3vw) !important;
    cursor: pointer;
    font-size: max(12px, .9vw) !important;
    color: #666;
    display: inline-block;
    width: 100%;
    margin-left: -6px;
}

.green-checkbox .checkbox-group input[type="radio"]+span:before {
    content: "";
    position: absolute;
    left: max(20px, .8vw);
    top: 0;
    width: max(15px, 1.2vw);
    height: max(15px, 1.2vw);
    border: max(1px, .1vw) solid #1ECA8B;
    border-radius: 50%;
    background-color: white;
    transition: all 0.2s ease;
    z-index: 1;
    margin-left: -6px;
}

.green-checkbox .checkbox-group input[type="radio"]:checked+span:after {
    content: "";
    position: absolute;
    left: max(24px, 1.1vw);
    top: max(4px, .2vw);
    width: max(7px, .6vw);
    height: max(7px, .6vw);
    background-color: #1ECA8B;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 1;
    margin-left: -4px;
    margin-top: 2px;
}

.question-drag {
    border: max(1px, .1vw) solid #ccc;
    padding: max(10px, 1vw);
}

.green-checkbox .checkbox-group input[type="checkbox"]+span {
    position: relative;
    padding-left: max(30px, 1vw);
    cursor: pointer;
    font-size: max(13px, 1.1vw);
    color: #666;
}

.green-checkbox .checkbox-group input[type="checkbox"]+span:before {
    content: "";
    position: absolute;
    left: max(20px, .8vw);
    top: 0;
    width: max(15px, 1.2vw);
    height: max(15px, 1.2vw);
    border: max(1px, .1vw) solid #1ECA8B;
    border-radius: 3px;
    background-color: white;
    transition: all 0.2s ease;
}

.green-checkbox .checkbox-group span {
    padding-left: max(50px, 3vw) !important;
    font-size: max(12px, .9vw) !important;
}


.green-checkbox input[type="checkbox"]:checked+span:after {
    content: "";
    position: absolute;
    left: max(25px, 1.2vw);
    top: max(3px, .1vw);
    width: max(5px, .6vw);
    height: max(9px, .8vw);
    border: solid #1ECA8B;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: all 0.2s ease;
}

.green-checkbox .checkbox-group p {
    font-size: max(12px, .9vw);
    padding-left: max(19px, 1vw);
    margin-bottom: max(5px, .5vw);
    color: #666666;
}

.main-form {
    width: 100%;
    max-width: max(600px, 68%);
}

.main-form .title-form {
    border: max(2px, .1vw) solid #ccc;
    border-radius: max(3px, .3vw);
    padding: max(10px, 1vw);
    gap: max(3px, 1vw);
}

.main-form .title-form .form-title-input {
    width: 100%;
    max-width: max(250px, 29vw);
}


.main-form .title-form span {
    font-size: max(14px, 1vw);
    margin-bottom: max(20px, 1vw);
}

.main-form .title-form input[type="text"] {
    border: none;
    border-bottom: 2px solid #6666667a;
    outline: none;
    font-size: max(13px, .9vw);
}

.main-form .title-form button {
    padding: max(3px, .3vw) max(15px, 3vw);
    border-radius: max(5px, .5vw);
    font-size: max(13px, .8vw);
}

.main-form .title-form .more-heading {
    cursor: pointer;
    background-color: white;
    color: #01C67D;
    border: max(1px, .1vw) solid #01C67D;
}

.main-form .title-form .more-footer {
    cursor: pointer;
    background-color: #01C67D;
    color: white;
    margin-top: max(5px, .4vw);
    border: max(1px, .1vw) solid #01C67D;
}

.main-form .question-wrapper {
    border: max(2px, .1vw) solid #ccc;
    border-radius: max(3px, .3vw);
    margin-top: max(15px, 1.5vw);
}

.main-form .question-wrapper .question-section .questions {
    padding: max(10px, .8vw);
    border-bottom: max(2px, .1vw) solid #ccc;
}

.main-form .question-wrapper .question-section h3 {
    font-size: max(13px, 1.1vw);
    color: #6666667a;
}

.main-form .question-wrapper .question-section .question-drag .question-content {
    gap: max(5px, 1vw);
}

.main-form .question-wrapper .question-section .questions .more-question {
    padding: max(3px, .3vw) max(15px, 3.5vw);
    border-radius: max(5px, .5vw);
    font-size: max(13px, .8vw);
    cursor: pointer;
    background-color: #01C67D;
    color: white;
    border: max(1px, .1vw) solid #01C67D;

}

.main-form .question-wrapper .question-section .add-question {
    width: 100%;
    max-width: max(250px, 29vw);
}

.main-form .question-wrapper .question-section .add-question span {
    font-size: max(14px, 1vw);
}

.main-form .question-wrapper .question-section .add-question input[type="text"] {
    border: none;
    border-bottom: 2px solid #6666667a;
    outline: none;
    font-size: max(13px, .9vw);
}

.main-form .question-wrapper .question-section .answer-type span {
    font-size: max(14px, 1vw);
}

.main-form .question-wrapper .question-section .answer-type select {
    padding: max(3px, .3vw) max(13px, 1.5vw);
    border-radius: max(5px, .5vw);
    font-size: max(12px, .8vw);
    cursor: pointer;
    background-color: white;
    color: #6666667a;
    border: max(1px, .1vw) solid #6666667a;
    margin-right: max(15px, .9vw);
}

.main-form .question-wrapper .question-section button {
    border-radius: max(3px, .3vw);
    font-size: max(12px, .8vw);
    margin-top: max(10px, 1vw);
    padding: max(3px, .3vw) max(13px, 1.5vw);
    background-color: white;
    border: max(1px, .1vw) solid #6666667a;
    cursor: pointer;
}

.main-form .question-wrapper .question-section .duplicate-btn i {
    color: #666;
}

.add-tbi {
    display: none;
}

.add-tbi .buttons {
    padding: 0;
}

.form-content .text-buttons a {
    font-size: max(22px, 1.4vw);
    color: #10A6A7;
    font-weight: 500;
    text-decoration: none;
}

.form-content .text-buttons a i {
    margin-right: max(10px, .5vw);
}

.form-content .form-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.form-wrapper .form-info {
    background-color: #fff;
    padding: max(15px, 1vw);
}

.form-wrapper .right-fields {
    width: 74%;
}

.form-wrapper .full-fields {
    width: 100%;
}

.form-wrapper .left-fields {
    width: 25%;
}

.left-fields .input-field {
    min-width: 15vw;
}

.left-fields .input-field label span {
    color: red;
}

.left-fields .input-field input {
    border: none;
    border-bottom: max(1px, .1vw) solid #ccc;
    border-radius: 0;
}

.left-fields .status-text {
    font-size: max(16px, .9vw);
    margin-left: max(10px, 1vw);
}

.drop-area {
    width: 100%;
    cursor: pointer;
}

.drop-area.dragover {
    border: max(1px, .1vw) dashed #0AA2A8;
}

.drop-area img {
    width: 100%;
}

.left-fields .switch {
    position: relative;
    display: inline-block;
    width: max(40px, 2.7vw);
    height: max(12px, 1vw)
}

.left-fields .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.left-fields .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #555;
    transition: 0.4s;
    border-radius: max(10px, 1vw);
}

.left-fields .slider:before {
    position: absolute;
    content: "";
    height: max(20px, 1.4vw);
    width: max(20px, 1.4vw);
    border-radius: 50%;
    left: 0;
    top: -22%;
    background-color: #ccc;
    transition: 0.4s;
}

.left-fields input:checked+.slider {
    background-color: #4CAF50;
}

.left-fields input:checked+.slider:before {
    transform: translateX(max(20px, 1.5vw));
}

.right-fields .tab-content {
    display: none;
}

.right-fields .tab-content.active {
    display: block;
}

.right-fields .tabs {
    display: flex;
    flex-wrap: wrap;
    border: max(1px, .1vw) solid #CCC;
    padding: max(5px, .3vw);
    padding-bottom: 0;
    border-radius: max(5px, .3vw) max(5px, .3vw) 0 0;
}

.right-fields .tabs span {
    font-weight: bold;
    text-align: center;
    font-size: max(15px, .8vw);
    padding: max(8px, .4vw) max(15px, 1vw);
    cursor: pointer;
    color: #9e9e9e;
}

.right-fields .tabs span:hover {
    color: #0AA2A8;
}

.right-fields .tabs span.active {
    color: #0AA2A8;
    border-bottom: max(2px, .1vw) solid #0AA2A8;
}

.right-fields .tab-items {
    padding: max(20px, 2vw);
    border: max(1px, .1vw) solid #CCC;
    border-radius: 0 0 max(5px, .3vw) max(5px, .3vw);
}

.full-fields .tab-content {
    display: none;
}

.full-fields .tab-content.active {
    display: block;
}

.full-fields .tabs {
    display: flex;
    flex-wrap: wrap;
    border: max(1px, .1vw) solid #CCC;
    padding: max(5px, .3vw);
    padding-bottom: 0;
    border-radius: max(5px, .3vw) max(5px, .3vw) 0 0;
}

.full-fields .tabs span {
    font-weight: bold;
    text-align: center;
    font-size: max(15px, .8vw);
    padding: max(8px, .4vw) max(15px, 1vw);
    cursor: pointer;
    color: #9e9e9e;
}

.full-fields .tabs span:hover {
    color: #0AA2A8;
}

.full-fields .tabs span.active {
    color: #0AA2A8;
    border-bottom: max(2px, .1vw) solid #0AA2A8;
}

.full-fields .tab-items {
    padding: max(20px, 2vw);
    border: max(1px, .1vw) solid #CCC;
    border-radius: 0 0 max(5px, .3vw) max(5px, .3vw);
}

.dinamic-input i {
    margin: max(10px, 1.2vw) max(10px, .6vw);
    color: red;
    cursor: pointer;
}

.tab-content .file-upload-container {
    position: relative;
    height: max(100px, 5vw);
    border: max(1px, .2vw) dotted #0AA1A9;
    border-radius: max(8px, .4vw);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #fff;
    cursor: pointer;
}

.tab-content .file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.tab-content .chain-wrapper {
    border: max(1px, .1vw) solid #ccc;
    border-radius: max(5px, .5vw);
    position: relative;
    padding: 0 max(10px, 1.5vw);
    margin-left: max(10px, 1vw);
}

.tab-content .chain-wrapper img {
    width: max(38px, 3vw);
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
}

.tab-content .chain-wrapper .input-field {
    flex-direction: row;
    align-items: center;
    max-width: max(250px, 20vw);
    margin-left: max(15px, .6vw);
}

.right-fields .card-wrapper .card {
    border: 1px solid #ccc;
}

.right-fields .card-wrapper .card i {
    color: #009E91;
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.right-fields .card-wrapper .card p {
    color: #626262;
    font-weight: 600;
    font-size: max(20px, 1.5vw);
    padding-bottom: max(5px, .3vw);
    margin-bottom: max(5px, .3vw);
    border-bottom: max(1px, .1vw) solid #ccc;
}

.right-fields .card-wrapper .card .text-content {
    text-align: left;
    padding-bottom: max(10px, 1vw);
}

.input_number_products {
    width: 100%;
    border: none !important;
    outline: none;
    color: #626262;
    font-weight: 600;
    font-size: max(20px, 1.5vw);
    padding-bottom: max(5px, .3vw);
    margin-bottom: max(5px, .3vw);
}

.tasks .tab-items {
    min-width: max(50px, 50vw);
    min-height: max(200px, 13vw);
}

.tasks label {
    font-size: max(16px, 1vw);
    color: #626161;
}

.tasks .green-checkbox {
    margin-top: max(10px, 1vw);
}

.tasks .green-checkbox .check {
    margin-bottom: max(5px, .5vw) !important;
}

.tasks .form-wrapper .input-field {
    margin: max(7px, .5vw) max(10px, .6vw);
}

.task-form .tab-items {
    border: none;
}

.task-form textarea {
    min-height: max(70px, 7vw) !important;
    min-width: max(100px, 50vw);
}

.task-form .input-field input {
    color: #9e9e9e;
    width: 100%;
    font-size: max(16px, .8vw);
    padding: max(10px, .5vw);
    border: none;
    border: max(2px, .1vw) solid #01C67D !important;
    border-radius: max(8px, .3vw) !important;
}

.question-drag {
    border: max(1px, .1vw) solid #ccc;
    padding: max(10px, 1vw);
}

.task-form .green-checkbox .checkbox-group span {
    padding-left: max(50px, 3vw) !important;
    font-size: max(12px, 1vw) !important;
}

.tasks .input-resize .input-field {
    min-width: max(200px, 25vw);
}

.tasks .switch-task .input-field {
    flex: 0;
    min-width: max(200px, 15vw);
}

.input-field .switch {
    position: relative;
    display: inline-block;
    width: max(40px, 2.7vw);
    height: max(12px, 1vw)
}

.input-field .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.input-field .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #555;
    transition: 0.4s;
    border-radius: max(10px, 1vw);
}

.input-field .slider:before {
    position: absolute;
    content: "";
    height: max(20px, 1.4vw);
    width: max(20px, 1.4vw);
    border-radius: 50%;
    left: 0;
    top: -22%;
    background-color: #ccc;
    transition: 0.4s;
}

.input-field input:checked+.slider {
    background-color: #4CAF50;
}

.input-field input:checked+.slider:before {
    transform: translateX(max(20px, 1.5vw));
}

@media screen and (max-width: 980px) {
    .login-content {
        position: absolute;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.88);
    }

    .login-img {
        width: 100%;
    }

    .login-img .login-text {
        display: none;
    }

    .form-wrapper .left-fields {
        width: 100%;
    }

    .form-wrapper .right-fields {
        width: 100%;
    }

    .form-wrapper .full-fields {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .mobile-menu {
        display: block;
    }

    .topbar-center {
        display: none;
        position: absolute;
        top: 50px;
        left: 0;
        background-color: #48d194;
        width: 100%;
        text-align: center;
        z-index: 1;
    }

    .topbar-center .header-menu {
        flex-direction: column;
        gap: 10px;
        padding: 20px 0;
    }

    .topbar-center .header-menu .drop-down {
        position: initial;
        background-color: initial;
        box-shadow: none;
    }

    .topbar-center .header-menu .drop-down li a {
        color: white;
    }

    .drop-down .list-wrapper {
        width: auto;
        display: block;
    }

    .drop-down .list-wrapper p {
        color: #6A6A6A;
    }

    .input-wrapper {
        flex-wrap: wrap;
    }

}

/* DataTables Custom Pagination Styling */

/* Container da paginação */
.dataTables_paginate {
    padding-top: 15px !important;
    display: flex;
    justify-content: left;
    align-items: center;
}

/* Botões de página e navegação */
.paginate_button {
    background-color: #f5f5f5 !important;
    border: 1px solid #ddd !important;
    color: #333 !important;
    padding: 5px 12px !important;
    margin: 0 3px !important;
    cursor: pointer !important;
    border-radius: 4px !important;
    transition: all 0.2s ease-in-out !important;
}

/* Botão da página atual */
.paginate_button.current {
    background-color: #48d194 !important;
    color: white !important;
    border-color: #48d194 !important;
    font-weight: bold !important;
}

/* Hover em botões de página */
.paginate_button:hover:not(.current):not(.disabled) {
    background-color: #e9e9e9 !important;
    border-color: #c5c5c5 !important;
}

/* Botões desabilitados */
.paginate_button.disabled {
    opacity: 0.5 !important;
    cursor: default !important;
}

/* Remover texto dos botões de navegação - deixar apenas ícones */
.paginate_button.previous::before {
    content: "←" !important;
}

.paginate_button.next::before {
    content: "→" !important;
}

/* Esconder o texto dos botões de navegação */
.paginate_button.previous,
.paginate_button.next {
    font-size: 0px !important;
}

.paginate_button.previous::before,
.paginate_button.next::before {
    font-size: 14px !important;
}

/* Ajuste para mobile */
@media (max-width: 767px) {
    .dataTables_paginate {
        padding-top: 10px !important;
    }

    .paginate_button {
        padding: 4px 8px !important;
        margin: 0 2px !important;
    }
}


/* Estilos para a barra de pesquisa dos anexos */
.attachment-search-wrapper {
    margin-bottom: 15px;

}

.dataTables_filter {
    text-align: left;
    width: 30%;
}

.dataTables_filter label {
    width: 100%;
    display: flex;
    margin-bottom: 0;
    align-items: center;

}

.dataTables_filter input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    margin-left: 20px !important;
    width: 100% !important;
    box-sizing: border-box;
}

.dataTables_filter input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}



/* Ajustes para paginação e informações */
.attachment-pagination {
    float: left;
    margin-top: 15px;
}

.attachment-info {
    float: right;
    margin-top: 15px;
}

/* Estilo para quando a área de upload estiver em destaque */
.file-upload-container.highlight {
    border-color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
}


/* Seta padrão (para baixo) */
th.sorting::after {
    content: ' ▼';
    font-size: 12px;
    color: #888;
    margin-left: 5px;
    visibility: visible;
}

/* Seta para cima (ordenada ascendente) */
th.sorting_asc::after {
    content: ' ▲';
    font-size: 12px;
    color: #888;
    margin-left: 5px;
    visibility: visible;
}

/* Seta para baixo (ordenada descendente) */
th.sorting_desc::after {
    content: ' ▼';
    font-size: 12px;
    color: #888;
    margin-left: 5px;
    visibility: visible;
}

/* Para mostrar a seta corretamente ao passar o mouse */
th.sorting:hover::after {
    color: #0056b3;
}

/* Adicionalmente, estilo para a seta ativa, quando o usuário está ordenando */
th.sorting_asc::after,
th.sorting_desc::after {
    color: #007bff;
}

/* A seta de descendente ficará vermelha */
th.sorting_desc::after {
    color: #ff4d4d;
}

/* Somente o cursor pointer estará habilitado dentro da área da seta */
th.sorting::after {
    cursor: pointer;
}

/* Alinhamento de texto e comportamento das setas */
th.sorting>span {
    margin-right: 5px;
}

/* Garantir que as colunas permaneçam em linha */
th {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* Garantir que o cursor de clique só apareça nas setas */
th.sorting:hover::after {
    cursor: pointer;
}

.btn-icon {
    background-color: transparent;
    border: none !important;
    outline: none !important;
    cursor: pointer;
}



.titulo-questionnaire {
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 20px;
    justify-content: center;
    align-items: center;
    gap: 20px !important;
}

.questions-questionnaire {
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 20px;
    margin: 20px 0;
}

.container-config-questionnaire {
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 20px;
}

.btn-questionnaire {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.btn-questionnaire button {
    border-radius: 7px !important;
    min-width: 200px;
}

/* Botão "Mais informações" em detalhes da tarefa */
.btn-detail-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color 0.2s ease;
    display: inline-flex;
    /* alinha ícone e texto */
    align-items: center;
    /* centraliza verticalmente */
    justify-content: center;
    /* centraliza horizontalmente */
}

.btn-detail-center {
    text-align: center;
}

.btn-detail-link i {
    margin-right: 5px;
}

.btn-detail-link:hover,
.btn-detail-link:focus {
    color: var(--success-color);
    text-decoration: none;
}

.titulo-questionnaire input {
    border: none !important;
    border-bottom: 2px solid #ccc !important;
    border-radius: 0 !important;
}

.question-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.question-header {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: #f0f0f0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.drag-handle {
    cursor: move;
    margin-right: 10px;
    color: #999;
}

.question-number {
    font-weight: 600;
    flex-grow: 1;
}

.question-actions {
    display: flex;
    gap: 10px;
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    padding: 5px;
    border-radius: 4px;
}

.btn-icon:hover {
    background-color: #e9e9e9;
    color: #333;
}

.question-body {
    padding: 15px;
}



.questions-containe select {
    border: none !important;
    border-bottom: 1.5px solid #ccc !important;
    border-radius: 0px !important;
}

.question-input {
    width: 70% !important;
    max-width: none !important;
}

.question-select {
    width: 30% !important;
    flex: none !important;
}

.question-checkbox {
    width: 25% !important;
    flex: none !important;
}

.question-checkbox-flex {
    display: flex;
    flex-direction: row !important;
    justify-content: left !important;
    align-items: center;

}

.question-checkbox-flex label {
    margin-right: 20px;
    color: #9EA0A1;
    font-weight: 500 !important;
}

.d-flex-checkbox {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left !important;

}

.config-questionnaire {
    margin: 20px;
}

.config-questionnaire input {
    margin-right: 20px;
}

.config-questionnaire label {
    color: #9EA0A1;
    font-weight: 500 !important;
}

.questions-per-line {
    justify-content: space-around;
    margin: 10px;
}

.questions-per-line .option {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.questions-per-line .option label {
    margin-top: 5px;
}

.flex-around {
    justify-content: space-around;
}

.flex-1 {
    flex: 1;
}

.min-50 {
    min-width: 50vw;
}

.min-60 {
    min-width: 60vw;
}

.buttons .show-preview {
    background-color: #2FC8D0;
    border-radius: 50% !important;
    width: max(30px, 2.5vw);
    height: max(28px, 2.2vw);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pointer {
    cursor: pointer;
}

/* Modificação no popup */
.popup .popup-content {
    position: relative;
    background-color: #fff;
    border-radius: max(10px, 1vw);
    min-width: max(250px, 35vw);
    background-image: url('../assets/img/vectorlg.png');
    background-position: left bottom;
    background-size: 25%;
    background-repeat: no-repeat;
    max-height: 90vh;
    overflow-y: auto;
}

.input-field .status-text {
    margin-left: max(5px, .3vw);
}

.surv-questions .question {
    border: max(2px, .1vw) solid #D9D9D9;
    padding: max(15px, 1.5vw) max(10px, 1vw);
    border-radius: max(10px, .5vw);
    gap: max(10px, 1.5vw);
    color: #616161;
    font-size: max(16px, .8vw);
    margin-bottom: max(10px, 1.5vw);
}

.surv-questions .draggable {
    padding-top: max(10px, .6vw);
}

.surv-questions .draggable img {
    cursor: grab;
    width: max(14px, .7vw);
}

.surv-questions .question-content {
    gap: max(10px, 1vw);
}

.question-content .question-descrip input {
    border: none;
    border-bottom: max(2px, .1vw) solid #D9D9D9;
    padding: max(5px, .3vw);
    font-size: max(16px, .8vw);
}

.question-content .question-descrip input:focus {
    outline: transparent;
}

.surv-questions .question-content .check {
    margin-bottom: max(5px, .3vw);
}

.surv-questions .question-itens {
    margin: max(10px, 1vw) 0;
    border: max(1px, .1vw) solid #D9D9D9;
    border-radius: max(10px, .5vw);
}

.surv-questions .question-itens p {
    text-align: center;
    padding: max(10px, .4vw);
}

.surv-questions .question-opt {
    border-top: max(1px, .1vw) solid #D9D9D9;
    padding: max(10px, .5vw) max(12px, 1vw);
}

.surv-questions .question-opt i {
    border: max(1px, .1vw) solid #626262;
    padding: max(5px, .3vw) max(7px, .4vw);
    border-radius: max(5px, .5vw);
}

.surv-preview {
    max-width: max(1380px, 72vw);
    margin: 0 auto;
    color: #6A6A6A;
    font-size: max(16px, .8vw);
}

.surv-preview .ent-details {
    border: max(2px, .1vw) solid #D9D9D9;
    border-radius: max(15px, 1.5vw);
    gap: max(10px, 2vw);
    background-color: #EAEAEA;
    padding: max(10px, 1vw);
}

.surv-preview p {
    margin: max(10px, .5vw) 0;
}

.ent-details img {
    width: 100%;
    max-width: max(370px, 15vw);
}

.ent-details h2 {
    font-size: max(30px, 2vw);
    font-weight: 600;
}

.surv-preview .surv-field {
    margin: max(10px, 1vw) 0;
    border: max(2px, .1vw) solid #D9D9D9;
    border-radius: max(15px, 1.5vw);
    padding: max(10px, 1vw);
}

.surv-field input[type="text"] {
    padding: max(3px, .3vw) 0;
    font-size: max(16px, .8vw);
    color: #6A6A6A;
    border: none;
    border-bottom: max(2px, .1vw) solid #D9D9D9;
}

.surv-field input:focus {
    outline: transparent;
}

.surv-preview .green-checkbox .check {
    margin: max(10px, 1vw) 0;
}

.surv-preview .green-checkbox .checkbox-group input[type="checkbox"]+span:before {
    left: 0;
}

.surv-preview .green-checkbox input[type="checkbox"]:checked+span:after {
    left: max(5px, .5vw);
}

.surv-preview .green-checkbox .checkbox-group input[type="checkbox"]+span {
    padding-left: max(32px, 2vw) !important;
}

.surv-preview .surv-rate {
    margin: max(15px, 1.5vw) 0;
}

.surv-rate .stars {
    margin: max(10px, .5vw);
    font-size: max(35px, 2.5vw);
    gap: max(10px, .5vw);
}

.surv-rate .stars i {
    cursor: pointer;
}

.surv-rate .stars .active {
    color: #0AA1A9;
}

.dashboard-actions .extra-buttons button {
    color: #979797;
    font-weight: bold;
    background-color: white;
    border: max(1px, .1vw) solid #ccc;
    margin: max(2px, .1vw);
    padding: max(5px, .3vw) max(8px, .5vw);
    border-radius: max(5px, 1vw);
    font-size: max(14px, .8vw);
    cursor: pointer;
}

.dashboard-actions .extra-buttons button i {
    color: #0AA1A9;
}

.dashboard-cards {
    gap: max(10px, 3vw);
}

.dashboard-cards .card {
    border: max(1px, .1vw) solid #D9D9D9;
}

.dashboard-cards p {
    margin-top: max(10px, 1vw);
}

.dashboard-cards p i {
    background-color: #6A6A6A;
    color: white;
    padding: max(5px, .3vw);
    border-radius: max(5px, .3vw);
}

.dashboard-cards .card-data {
    gap: max(10px, 1vw);
    margin-top: max(10px, 1vw);
}

.dashboard-cards .card-data .number {
    font-size: max(40px, 3vw);
    font-weight: 500;
}

.dashboard-cards .card-data .rate {
    padding: max(5px, .3vw) max(10px, .6vw);
    border-radius: max(5px, .8vw);
    color: #fff;
}

.dashboard-cards .card-data .rate span {
    margin-right: max(5px, .5vw);
}

.dashboard-cards .card-data .positive {
    background-color: #00CF79;
}

.dashboard-cards .card-data .negative {
    background-color: #EA1C42;
}

.charts-area {
    gap: max(10px, 3vw);
    margin: max(10px, 2vw) 0;
}

.charts-area .chart {
    border: max(1px, .1vw) solid #D9D9D9;
    padding: max(10px, 1vw);
    border-radius: max(10px, 1vw);
    flex: 1;
    min-width: max(250px, 30vw);
}

.charts-area .chart .placeholder {
    width: 100%;
}

.dash-tables .tabs {
    border-radius: max(10px, 1vw) max(10px, 1vw) 0 0;
    border-bottom: 0;
}

.dash-tables .tabs span {
    padding: max(10px, 2vw) max(10px, 2vw) max(5px, 1vw) max(10px, 2vw);
}

.dash-tables .tabs .btn {
    margin-right: max(10px, 2vw);
}

.dash-tables .tab-items {
    border-radius: 0 0 max(10px, 1vw) max(10px, 1vw);
}

.def-border {
    border: max(1px, .1vw) solid #D9D9D9;
    padding: max(10px, 1vw);
    border-radius: max(10px, 1vw);
}

.time-kp .card-tag {
    background-color: #CECECE;
    color: #6A6A6A;
    padding: max(1px, .2vw) max(3px, .5vw);
    border-radius: max(10px, 1vw);
}

.progress-ring {
    width: max(120px, 10vw);
    height: max(120px, 10vw);
    position: relative;
}

.progress-ring svg {
    transform: rotate(-90deg) scaleX(-1);
    width: 100%;
    height: 100%;
}

.progress-ring circle {
    fill: none;
    stroke-width: 12;
    r: 50;
    cx: 60;
    cy: 60;
}

.progress-ring .background {
    stroke: #D9D9D9;
    stroke-width: 7;
}

.progress-ring .progress {
    stroke: #0AA2A8;
    stroke-linecap: round;
    stroke-dasharray: 314;
    stroke-dashoffset: calc(314 - (314 * var(--progress)) / 100);
    transition: stroke-dashoffset 0.5s ease;
}

.progress-ring .percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: sans-serif;
    font-weight: bold;
}

.task-wrapper {
    gap: max(10px, 2vw);
}

.task-wrapper .info-task {
    border: max(1px, .1vw) solid #D9D9D9;
    border-radius: max(10px, 1vw);
    flex: 1 0 23%;
}

.info-task h2 {
    font-weight: 400;
    color: white;
    font-size: max(14px, 1vw);
    padding: max(10px, 1vw);
}

.info-task .task-pending {
    border-top-left-radius: max(10px, 1vw);
    ;
    border-top-right-radius: max(10px, 1vw);
    ;
    background-color: #FFCE5D;
    width: 100%;
}


.info-task .task-open {
    border-top-left-radius: max(10px, 1vw);
    ;
    border-top-right-radius: max(10px, 1vw);
    ;
    background-color: #ffa600;
    width: 100%;
}

.info-task .task-cancelled {
    border-top-left-radius: max(10px, 1vw);
    ;
    border-top-right-radius: max(10px, 1vw);
    ;
    background-color: #ff0000;
    width: 100%;
}

.info-task .task-completed {
    border-top-left-radius: max(10px, 1vw);
    ;
    border-top-right-radius: max(10px, 1vw);
    ;
    background-color: #01cc0b;
    width: 100%;
}

.task-wrapper .info-task {
    flex-wrap: wrap;
    gap: max(10px, 1vw);
}

.task-wrapper .info-task h3 {
    color: #979797;
    font-size: max(16px, 1vw);
}

.task-wrapper .info-task p {
    color: #979797;
    font-size: max(13px, .9vw);
}

.task-wrapper .info-task span {
    color: #979797;
    font-weight: bolder;
    font-size: max(12px, .7vw);
}

.p-info {
    padding: 0 max(10px, 1vw);
    flex-wrap: wrap;
    gap: max(15px, 1vw);
}

.task-wrapper .info-task .priority-tasks {
    gap: max(10px, 1.3vw);
}

.task-wrapper .info-task .priority-tasks .priority-tasks-info {
    font-size: max(10px, .7vw);
}

.task-wrapper .info-task i {
    color: white;
}

.task-wrapper .info-task .task-buttons {
    gap: max(7px, .7vw);
}

.task-wrapper .info-task button {
    border: none;
    border-radius: max(5px, .5vw);
    padding: max(7px, .7vw) max(5px, .7vw);
    margin-bottom: max(10px, 1vw);
    font-size: max(12px, .7vw);
    color: white;
    cursor: pointer;
}

.task-wrapper .info-task .task-buttons .details {
    background-color: #2FC8D0;
}

.task-wrapper .info-task .task-buttons .finish {
    background-color: #0AA2A8;
}

.task-wrapper .info-task .task-buttons .send {
    background-color: #01C67D;
}

.tasks .green-checkbox .no-margin {
    margin: 0 !important;
}

.tasks .green-checkbox .no-margin span {
    color: #626161 !important;
    font-size: max(14px, 1vw) !important;
    font-weight: 500;
}

.priority-tasks i {
    color: #0AA2A8 !important;
}

.km-report {
    padding: max(20px, 2vw);
    border: max(1px, .1vw) solid #CCC;
    border-radius: max(10px, 1vw);
    margin-bottom: max(20px, 2vw);
}

.questionnaire-report .quest-field {
    padding: max(10px, 1vw);
    border: max(1px, .1vw) solid #CCC;
    border-radius: max(10px, 1vw);
    margin-bottom: max(10px, 1vw);
}

.questionnaire-report .quest {
    flex-direction: row;
    align-items: center;
}

.questionnaire-report .quest input {
    max-width: max(600px, 25vw);
}

.questionnaire-report .gap {
    gap: max(10px, 3vw);
}

.expenseReport .expenseChart {
    border: max(1px, .1vw) solid #CCC;
    border-radius: max(10px, 1vw);
    margin-bottom: max(20px, 2vw);
    padding: max(10px, 1vw);
}

.expenseReport .expenseChart img {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: max(1200px, 80vw);
}

/* Modificação no .text-buttons .navigation-trail */
.text-buttons .navigation-trail p {
    color: #0AA1A9;
    font-size: max(14px, 1.1vw);
}

/* Modificação no .form-wrapper .input-field em media query */
@media screen and (max-width: 980px) {
    .form-wrapper .input-field {
        min-width: max(200px, 40vw);
    }
}


.flex-around {
    justify-content: space-around;
}

.flex-1 {
    flex: 1;
}

.min-50 {
    min-width: 50vw;
}

.min-60 {
    min-width: 60vw;
}

.buttons .show-preview {
    background-color: #2FC8D0;
    border-radius: 50% !important;
    width: max(30px, 2.5vw);
    height: max(28px, 2.2vw);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pointer {
    cursor: pointer;
}

.top-bar .drop-down li button {
    color: #6A6A6A;
}

.drop-down-list button {
    text-decoration: none;
    font-size: max(16px, 1vw);
    background: none;
    border: none;
    cursor: pointer;
}

button.drop-button-action {
    border: none;
    color: white;
    font-size: max(14px, .8vw);
    cursor: pointer;
    border-radius: max(10px, 2vw);
    padding: max(6px, .6vw) max(12px, 1vw);
    text-decoration: none;
    background-color: #0AA1A9;
}

.drop-down li:hover button {
    color: #32B19E;
}

.message-error {
    color: red;
}

a.bnt-reset-password {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0da79f;
    width: 100%;
    max-width: max(100px, 12vw);
    border: none;
    border-radius: max(20px, 2vw);
    padding: max(10px, 1vw);
    font-size: max(20px, 1.2vw);
    color: white;
    transition: .2s ease-in;
    text-decoration: none;
}

a.bnt-reset-password:hover {
    cursor: pointer;
    background-color: hsl(177, 86%, 15%);
}

.input_number_products {
    width: 100%;
    border: none !important;
    outline: none;
    color: #626262;
    font-weight: 600;
    font-size: max(20px, 1.5vw);
    padding-bottom: max(5px, .3vw);
    margin-bottom: max(5px, .3vw);
}

.tasks .input-field label {
    font-size: max(13px, 1vw);
    font-weight: 500;
}

.titulo-questionnaire {
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 20px;
    justify-content: center;
    align-items: center;
    gap: 20px !important;
}

.questions-questionnaire {
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 20px;
    margin: 20px 0;
}

.container-config-questionnaire {
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 20px;
}

.btn-questionnaire {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.btn-questionnaire button {
    border-radius: 7px !important;
    min-width: 200px;
}

.titulo-questionnaire input {
    border: none !important;
    border-bottom: 1.5px solid #ccc !important;
    border-radius: 0px !important;
}

.question-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    background-color: #f9f9f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.question-header {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: #f0f0f0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.drag-handle {
    cursor: move;
    margin-right: 10px;
    color: #999;
}

.question-number {
    font-weight: 600;
    flex-grow: 1;
}

.question-actions {
    display: flex;
    gap: 10px;
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    padding: 5px;
    border-radius: 4px;
}

.btn-icon:hover {
    background-color: #e9e9e9;
    color: #333;
}

.question-body {
    padding: 15px;
}

.questions-containe select {
    border: none !important;
    border-bottom: 1.5px solid #ccc !important;
    border-radius: 0px !important;
}

.question-input {
    width: 70% !important;
    max-width: none !important;
}

.question-select {
    width: 30% !important;
    flex: none !important;
}

.question-checkbox {
    width: 25% !important;
    flex: none !important;
}

.question-checkbox-flex {
    display: flex;
    flex-direction: row !important;
    justify-content: left !important;
    align-items: center;
}

.question-checkbox-flex label {
    margin-right: 20px;
    color: #9EA0A1;
    font-weight: 500 !important;
}

.input-field.question-option-input {
    flex: 1 1 auto;
}

.input-field.question-option-button {
    flex: 0 0 auto;
}

.option {
    align-items: center;
}

.d-flex-checkbox {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left !important;
}

.config-questionnaire {
    margin: 20px;
}

.config-questionnaire input {
    margin-right: 20px;
}

.config-questionnaire label {
    color: #9EA0A1;
    font-weight: 500 !important;
}

.questions-per-line {
    justify-content: space-around;
    margin: 10px;
}

.questions-per-line .option {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.questions-per-line .option label {
    margin-top: 5px;
}

.btn-icon {
    background-color: transparent;
    border: none !important;
    outline: none !important;
    cursor: pointer;
}

/* Estilos para a barra de pesquisa dos anexos */
.attachment-search-wrapper {
    margin-bottom: 15px;
}

.dataTables_filter {
    text-align: left;
    width: 30%;
}

.dataTables_filter label {
    width: 100%;
    display: flex;
    margin-bottom: 0;
    align-items: center;
}

.dataTables_filter input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    margin-left: 20px !important;
    width: 100% !important;
    box-sizing: border-box;
}

.dataTables_filter input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

/* Ajustes para paginação e informações */
.attachment-pagination {
    float: left;
    margin-top: 15px;
}

.attachment-info {
    float: right;
    margin-top: 15px;
}

/* Estilo para quando a área de upload estiver em destaque */
.file-upload-container.highlight {
    border-color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
}

/* Seta padrão (para baixo) */
th.sorting::after {
    content: ' ▼';
    font-size: 12px;
    color: #888;
    margin-left: 5px;
    visibility: visible;
}

/* Seta para cima (ordenada ascendente) */
th.sorting_asc::after {
    content: ' ▲';
    font-size: 12px;
    color: #888;
    margin-left: 5px;
    visibility: visible;
}

/* Seta para baixo (ordenada descendente) */
th.sorting_desc::after {
    content: ' ▼';
    font-size: 12px;
    color: #888;
    margin-left: 5px;
    visibility: visible;
}

/* Para mostrar a seta corretamente ao passar o mouse */
th.sorting:hover::after {
    color: #0056b3;
}

/* Adicionalmente, estilo para a seta ativa, quando o usuário está ordenando */
th.sorting_asc::after,
th.sorting_desc::after {
    color: #007bff;
}

/* A seta de descendente ficará vermelha */
th.sorting_desc::after {
    color: #ff4d4d;
}

/* Somente o cursor pointer estará habilitado dentro da área da seta */
th.sorting::after {
    cursor: pointer;
}

/* Alinhamento de texto e comportamento das setas */
th.sorting>span {
    margin-right: 5px;
}

/* Garantir que as colunas permaneçam em linha */
th {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* Garantir que o cursor de clique só apareça nas setas */
th.sorting:hover::after {
    cursor: pointer;
}

/* DataTables Custom Pagination Styling */

/* Container da paginação */
.dataTables_paginate {
    padding-top: 15px !important;
    display: flex;
    justify-content: left;
    align-items: center;
}

/* Botões de página e navegação */
.paginate_button {
    background-color: #f5f5f5 !important;
    border: 1px solid #ddd !important;
    color: #333 !important;
    padding: 5px 12px !important;
    margin: 0 3px !important;
    cursor: pointer !important;
    border-radius: 4px !important;
    transition: all 0.2s ease-in-out !important;
}

/* Botão da página atual */
.paginate_button.current {
    background-color: #48d194 !important;
    color: white !important;
    border-color: #48d194 !important;
    font-weight: bold !important;
}

/* Hover em botões de página */
.paginate_button:hover:not(.current):not(.disabled) {
    background-color: #e9e9e9 !important;
    border-color: #c5c5c5 !important;
}

/* Botões desabilitados */
.paginate_button.disabled {
    opacity: 0.5 !important;
    cursor: default !important;
}

/* Remover texto dos botões de navegação - deixar apenas ícones */
.paginate_button.previous::before {
    content: "←" !important;
}

.paginate_button.next::before {
    content: "→" !important;
}

/* Esconder o texto dos botões de navegação */
.paginate_button.previous,
.paginate_button.next {
    font-size: 0px !important;
}

.paginate_button.previous::before,
.paginate_button.next::before {
    font-size: 14px !important;
}

/* Ajuste para mobile */
@media (max-width: 767px) {
    .dataTables_paginate {
        padding-top: 10px !important;
    }

    .paginate_button {
        padding: 4px 8px !important;
        margin: 0 2px !important;
    }
}


/* Estilos para campos com erro */
.input-field input.error,
.input-field select.error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Estilos para o loading overlay */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #28a745;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Melhorias nos campos do formulário de relatório */
.km-report .input-field {
    margin-bottom: 15px;
}

.km-report .input-field label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.km-report .input-field input[type="number"],
.km-report .input-field input[type="date"],
.km-report .input-field select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.km-report .input-field input[type="number"]:focus,
.km-report .input-field input[type="date"]:focus,
.km-report .input-field select:focus {
    outline: 0;
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.km-report .input-field select:disabled {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

/* Estilos para o botão de gerar relatório */
#generate-report {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
}

#generate-report:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#generate-report:active {
    transform: translateY(0);
}

#generate-report i {
    margin-right: 8px;
}

/* Responsividade para a tela de relatório */
@media (max-width: 768px) {
    .km-report.form-wrapper {
        flex-direction: column;
    }

    .km-report .input-field {
        width: 100%;
        margin-bottom: 20px;
    }

    .km-report .d-flex.no-wrap {
        flex-direction: column;
    }

    .km-report .d-flex.no-wrap span {
        margin: 10px 0;
        text-align: center;
    }
}

/* Melhorias visuais */
.wrapper-quest {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin: 20px 0;
}

.text-buttons p {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.flex-center {
    justify-content: center;
    margin-top: 30px;
}

.green-bg {
    background-image: linear-gradient(to right, #0BD16B 0%, #00CF79 33%, #00A58B 67%, #009E91 100%);
    top: 0;
    left: 0;
    width: 100%;
    padding: max(10px, 1vw);
    color: white;
    border-radius: max(10px, 1vw) max(10px, 1vw) 0 0;
    font-size: max(18px, 1.2vw);
    font-weight: 600;
}

.modal-content-calendar {
    border-radius: max(10px, 1vw) max(10px, 1vw) 0.3rem 0.3rem !important;
}

.modal-body-calendar {
    overflow-y: scroll;
    max-height: 500px;
}


/* Estilos para Selectize */
.selectize-control {
    margin: 0 !important;
}

.selectize-input {
    color: #9e9e9e !important;
    width: 100% !important;
    font-size: max(16px, .8vw) !important;
    padding: max(10px, .5vw) !important;
    border: max(2px, .1vw) solid #01C67D !important;
    border-radius: max(8px, .3vw) !important;
    background-color: white !important;
    box-shadow: none !important;
    min-height: max(38px, 2vw) !important;
}

.selectize-input.focus {
    border-color: #01C67D !important;
    box-shadow: 0 0 0 0.2rem rgba(1, 198, 125, 0.25) !important;
}

.selectize-input input {
    color: #9e9e9e !important;
    font-size: max(16px, .8vw) !important;
}

.selectize-input::placeholder {
    color: #9e9e9e !important;
}

.selectize-dropdown {
    border: max(1px, .1vw) solid #01C67D !important;
    border-radius: max(8px, .3vw) !important;
    font-size: max(16px, .8vw) !important;
    color: #9e9e9e !important;
    margin-top: max(2px, .1vw) !important;
    z-index: 9999 !important;
}

.selectize-dropdown-content {
    max-height: max(200px, 15vw) !important;
}

.selectize-dropdown .option {
    padding: max(8px, .5vw) max(12px, .8vw) !important;
    color: #9e9e9e !important;
}

.selectize-dropdown .option:hover,
.selectize-dropdown .option.active {
    background-color: rgba(1, 198, 125, 0.1) !important;
    color: #01C67D !important;
}

.selectize-dropdown .selected {
    background-color: rgba(1, 198, 125, 0.2) !important;
}

/* Estilo para os itens selecionados (tags) */
.selectize-input .item {
    background-color: #01C67D !important;
    color: white !important;
    border: none !important;
    padding: max(3px, .2vw) max(8px, .5vw) !important;
    border-radius: max(4px, .3vw) !important;
    margin: max(2px, .1vw) max(3px, .2vw) max(2px, .1vw) 0 !important;
    font-size: max(14px, .7vw) !important;
}

/* Botão de remover item */
.selectize-input .item .remove {
    color: white !important;
    border-left: max(1px, .05vw) solid rgba(255, 255, 255, 0.3) !important;
    padding-left: max(5px, .3vw) !important;
    margin-left: max(5px, .3vw) !important;
    font-weight: bold !important;
}

.selectize-input .item .remove:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

/* Estilo quando o selectize está desabilitado */
.selectize-control.disabled .selectize-input {
    background-color: #f8f9fa !important;
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* Ajuste para múltipla seleção */
.selectize-input.has-items {
    padding: max(5px, .3vw) max(10px, .5vw) !important;
}

/* Mensagem quando não há resultados */
.selectize-dropdown .no-results {
    padding: max(10px, .8vw) !important;
    color: #999 !important;
    text-align: center !important;
}

/* Responsividade */
@media screen and (max-width: 768px) {
    .selectize-input {
        font-size: 14px !important;
        padding: 8px !important;
    }

    .selectize-dropdown {
        font-size: 14px !important;
    }

    .selectize-input .item {
        font-size: 12px !important;
    }
}

.card-status:first-child {
    visibility: hidden;
}

.card-status {
    float: right;
    width: 10rem;
    height: 4rem;
    /* display: flex; */
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 4px;
    border-radius: 4px;
    justify-content: end;
    background-color: #accec1;
    color: #fff;
}

.card-status-title {
    text-align: center;
    margin-bottom: 1rem;
}

.card-status-value {
    cursor: default;
    text-align: center;
}

/* Estilo para conteúdos dentro de .chain-wrapper em task details */
/* Título da seção (com ícone e linha embaixo) */
.chain-wrapper .section-title,
.content-border .section-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--text-color);
    padding-bottom: .45rem;
    margin: 1rem 0;
}

/* ícone do título */
.chain-wrapper .section-title i,
.content-border .section-title i {
    font-size: 1.3rem;
    color: var(--success-color);
}

/* Labels (coluna esquerda) */
.chain-wrapper .row>.col-6:nth-child(1) strong,
.chain-wrapper .row>.col-12>strong {
    display: block;
    color: #6c757d;
    /* cinza dos rótulos */
    font-weight: 600;
}

/* Valores (coluna direita) */
.chain-wrapper .row > .col-6:nth-child(2),
.chain-wrapper .row > .col-12 {
    color: #495057;
    font-size: .95rem;
}

/* Parágrafos de descrição */
.chain-wrapper p {
    margin-bottom: .5rem;
    color: #495057;
}

/* Badges menores */
.chain-wrapper .badge {
    border-radius: .25rem;
    padding: .35rem .6rem;
    font-size: .85rem;
    display: inline-block;
    vertical-align: middle;
}

/* Tabelas */
.chain-wrapper .table {
    margin-bottom: 0;
    background: transparent;
}

.chain-wrapper .table thead th {
    background: transparent;
    border-bottom: 1px solid #e9ecef;
    color: #9aa3ab;
    font-weight: 600;
    font-size: .9rem;
}

.chain-wrapper .table tbody td {
    border-top: 1px solid #f1f3f5;
    padding-top: .9rem;
    padding-bottom: .9rem;
    color: #55606a;
    font-size: .95rem;
    text-align: center;
}

/* Ações no canto direito (botões pequenos) */
.chain-wrapper .actions .btn {
    padding: .35rem .6rem;
    font-size: .85rem;
}

/* Timeline central */
.chain-wrapper .timeline-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.chain-wrapper .timeline {
    display: flex;
    gap: 3.5rem;
    align-items: center;
}

.chain-wrapper .timeline-step {
    text-align: center;
    font-size: .95rem;
    color: #6c757d;
}

.chain-wrapper .timeline-step small {
    display: block;
    font-size: .8rem;
    color: #8a97a0;
    margin-bottom: .5rem;
}

.chain-wrapper .timeline-step.active {
    color: #17a2b8;
    font-weight: 700;
}

/* Corrige alinhamento apenas para linhas com duas colunas */
.chain-wrapper .info-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* Compatibilidade com .col-6 */
.chain-wrapper .info-row > .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

/* Espaçamento interno */
.chain-wrapper .info-row .col-6 > .row {
    margin-bottom: .75rem;
    align-items: center;
}

/* Garante que colunas ocupem 50% em telas médias ou maiores */
.chain-wrapper .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

/* Espaçamento interno */
.chain-wrapper .col-6 > .row {
    margin-bottom: .75rem;
    align-items: center;
}

/* Ícones alinhados verticalmente */
.chain-wrapper i {
    display: inline-block;
    font-size: 1rem;
    color: var(--success-color);
    margin-right: .3rem;
}

.chain-wrapper small {
    display: block;
    color: #6c757d;
    font-size: .85rem;
}

.chain-wrapper div {
    color: #495057;
    font-size: .95rem;
}

/* Ajustes de responsividade para colunas */
@media (max-width: 575.98px) {

    .chain-wrapper .row>.col-6:nth-child(1),
    .chain-wrapper .row>.col-6:nth-child(2) {
        display: block;
        width: 100%;
    }

    .chain-wrapper .timeline {
        gap: 1.2rem;
    }
}

/* GALERIA */
#image-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    box-sizing: border-box;
    margin-top: 10px;
}

@media (max-width: 992px) {
    #image-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    #image-gallery {
        grid-template-columns: 1fr;
    }
}

/* Proporção e recorte */
#image-gallery .image-item {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    background: #f6f6f6;
    aspect-ratio: 4 / 3;
    min-height: 0;
    box-sizing: border-box;
}

#image-gallery .image-item .thumb-wrap {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    pointer-events: none;
}

/* Imagem centralizada */
#image-gallery .image-item .thumb-wrap img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    display: block;
    pointer-events: auto;
}

/* Botão excluir */
#image-gallery .image-item .delete-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 6;
    background: rgba(255, 255, 255, 0.95);
    color: #c62828;
    border-radius: 6px;
    padding: 6px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .15s ease, transform .15s ease;
    pointer-events: none;
}

#image-gallery .image-item .zoom-icon {
    z-index: 5;
}

#image-gallery.editing .image-item:hover .delete-icon {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Ícone */
#image-gallery .image-item .delete-icon i {
    pointer-events: none;
    font-size: 14px;
}

/* Borda arredondada para imagem */
#image-gallery .image-item {
    border-radius: 8px;
}

#image-gallery .image-item .thumb-wrap img {
    border-radius: 0;
}

/* recorte feito pelo container */

#image-gallery .image-item .thumb-wrap img,
#image-gallery .image-item .thumb-wrap {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Ícones sobre a imagem */
#image-gallery .image-item .zoom-icon,
#image-gallery .image-item .delete-icon {
    position: absolute;
    z-index: 10 !important;
    pointer-events: none;
    cursor: pointer;
}

/* Lupa centralizada */
#image-gallery .image-item .zoom-icon {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border-radius: 50%;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.18s ease;
}

/* Mostra a lupa ao passar o mouse sobre imagem */
#image-gallery .image-item:hover .zoom-icon,
#image-gallery .image-item:hover .delete-icon {
    opacity: 1;
    pointer-events: auto;
}

/* Botão lixeira para modo edição */
#image-gallery.editing .image-item:hover .delete-icon {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Modal de imagens */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.image-modal[aria-hidden="false"] {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 990;
}

.modal-inner {
    position: relative;
    z-index: 995;
    margin: auto;
    padding: 20px 10px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
    box-sizing: border-box;
}

.modal-content-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.modal-image {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    display: block;
}

/* Botões de navegação */
.nav-btn {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Fechar modal */
.close-modal {
    position: absolute;
    top: 6px;
    right: 8px;
    color: white;
    font-size: 34px;
    font-weight: bold;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

/* Contador */
.image-counter {
    color: #fff;
    margin-top: 12px;
    font-size: 16px;
}

.tab-content .image-upload-container {
    justify-content: center;
    height: max(100px, 5vw);
    border: max(1px, .2vw) dotted #0AA1A9;
    border-radius: max(8px, .4vw);
    background-color: #fff;
    cursor: pointer;
    min-width: 98%;
    box-sizing: border-box;
}

/* Área de upload em destaque */
.image-upload-container .highlight {
    border-color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
}

.detail .image-upload-container,
.detail .file-upload-container {
    justify-content: center;
    height: max(100px, 5vw);
    border: max(1px, .2vw) dotted #0AA1A9;
    border-radius: max(8px, .4vw);
    background-color: #fff;
    cursor: pointer;
    min-width: 98%;
    box-sizing: border-box;
}

.tab-content .content-border {
    border: max(1px, .1vw) solid #ccc;
    border-radius: max(5px, .5vw);
    padding: 0 max(10px, 1.5vw);
    margin-left: max(10px, 1vw);
}

/* LAYOUT 3 COLUNAS (task-details) */
.task-details-three-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .task-details-three-cols { grid-template-columns: 1fr; }
}
.task-details-col {
    min-width: 0;
    box-sizing: border-box;
}

/* GALERIA: overflow APENAS no wrapper */
.task-details-photo-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    box-sizing: border-box;
    scrollbar-gutter: stable both-edges;
}

/* Galeria em linha */
.task-details-photo-gallery {
    display: inline-flex;
    gap: 12px;
    align-items: stretch;
    box-sizing: border-box;
    white-space: nowrap;
}

/* Cada item com largura fixa */
.task-details-photo-item {
    flex: 0 0 180px;
    width: 180px;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

/* Imagens carrossel */
.task-details-photo-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

/* Legendas */
.task-details-caption {
    display: block;
    margin-top: 8px;
    text-align: center;
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.1;
    max-height: 44px;
    overflow: hidden;
    box-sizing: border-box;
}

/* Estética opcional da scrollbar */
.task-details-photo-scroll::-webkit-scrollbar { height: 8px; }
.task-details-photo-scroll::-webkit-scrollbar-thumb { background: #bdbdbd; border-radius: 6px; }

.user-report-container {
    padding: 20px;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 14px;
}

.form-control:focus {
    outline: none;
    border-color: #1ECA8B;
    box-shadow: 0 0 0 0.2rem rgba(30, 202, 139, 0.25);
}

.signature-box {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    background-color: #f8f9fa;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.signature-info {
    font-size: 14px;
    color: #495057;
    margin-bottom: 15px;
    padding: 10px;
    background-color: white;
    border-radius: 4px;
}

.signature-info strong {
    color: #333;
}

.signature-preview {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
    min-height: 200px;
}

.signature-preview img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}

.signature-placeholder {
    flex: 1;
    background-color: white;
    border: 2px dashed #dee2e6;
    border-radius: 4px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.signature-placeholder p {
    margin: 0;
}

.signature-placeholder i {
    color: #adb5bd;
}

/* Modal */
.signature-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signature-modal-content {
    background-color: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.signature-modal-header {
    padding: 20px;
    border-bottom: 1px solid #dee2e6;
    background-color: #1ECA8B;
    color: white;
    border-radius: 12px 12px 0 0;
}

.signature-modal-header h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.signature-modal-body {
    padding: 20px;
}

.signature-info-modal {
    font-size: 14px;
    color: #495057;
    text-align: center;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.signature-canvas-wrapper {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

#signatureCanvas {
    border: 3px dashed #1ECA8B;
    border-radius: 8px;
    cursor: crosshair;
    background-color: white;
    max-width: 100%;
    height: auto;
}

.signature-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.signature-modal-footer .btn {
    flex: 1;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.signature-modal-footer .btn-secondary {
    background-color: #6c757d;
    color: white;
}

.signature-modal-footer .btn-secondary:hover {
    background-color: #5a6268;
}

.signature-modal-footer .btn-primary {
    background-color: #1ECA8B;
    color: white;
}

.signature-modal-footer .btn-primary:hover {
    background-color: #18b378;
}

/* Ajustes para garantir que os campos fiquem lado a lado */
.row.g-3 {
    display: flex;
    flex-wrap: wrap;
    margin-right: -12px;
    margin-left: -12px;
}

.row.g-3 > .col-md-6 {
    padding-right: 12px;
    padding-left: 12px;
    flex: 0 0 50%;
    max-width: 50%;
}

/* Responsividade */
@media (max-width: 768px) {
    .row.g-3 > .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .signature-modal-content {
        max-width: 95%;
    }

    #signatureCanvas {
        width: 100%;
        height: auto;
    }
}

/* Garantir que textarea tenha altura adequada */
#report_text {
    resize: vertical;
    min-height: 250px;
}

/* Estilos para mensagens de erro */
.invalid-feedback,
.text-danger {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
}