body {
    font-family: 'Roboto', sans-serif, -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "‣" !important;
}

#dashboard #dashboard-link,
#projects #projects-link,
#talents #talents-link,
#jobs #jobs-link,
#exams #exams-link,
#questions #questions-link,
#users #users-link,
#branchs #branchs-link  {
    background-color: rgba(255,255,255,.1);
    color: #fff;
}

#questions #questions-link a.nav-link {
    background-color: #007bff;
    color: #fff;
    box-shadow: 0 1px 3px rgb(0 0 0 / 12%), 0 1px 2px rgb(0 0 0 / 24%);
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dt-buttons {
    display: inline-block;
    margin-right: 10px; 
}

.dataTables_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.badge-online {
    width:10px;
    height:10px;
    display: inline-block;
}

.countdown-session > svg {
    width: 30px;
    height: 30px;
}

.countdown-session > svg > circle {
    fill: none;
    stroke-opacity: 0.3;
    stroke: #01ff70;
    stroke-width: 2;
    transform-origin: center center;
    transform: rotate(-90deg);
}

.countdown-session > svg > circle + circle {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    stroke-linecap: round;
    stroke-opacity: 1;
}

.countdown-session.animatable > svg > circle + circle {
    transition: stroke-dashoffset 0.3s ease;
}

.countdown-session > svg > text {
    font-size: 0.75rem;
}

.countdown-session > svg > text + text {
    font-size: 0.5rem;
}

audio {
  display: block;
  width: 100%;
  margin-top: 0.2rem;
}

#crop-container {
    width: 100%;
    height: 400px;
    position: relative;
}

#crop-container img {
    max-width: 100%;
}

.list-group.subfolder-list,
.list-group-item.subfolder-list {
  border: 0; 
  background: none; 
  padding: 0; 
}

.list-group-item.subfolder-list:hover {
  background: none;
}

.subfolder-list .list-group-item {
  margin: 0 0 0 0.5rem;
  border:0;
  padding: 0.25rem 0; 
}

/* Estilo do switch personalizado */
.custom-switch .form-check-input {
    width: 50px;
    height: 25px;
    position: relative;
}

.custom-switch .form-check-input:checked {
    background-color: #28a745; /* Verde quando ativo */
    border-color: #28a745;
}

.custom-switch .form-check-input:not(:checked) {
    background-color: #dc3545; /* Vermelho quando suspenso */
    border-color: #dc3545;
}

/* Texto dentro do switch */
.custom-switch .form-check-label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    line-height: 25px;
    font-size: 12px;
    color: white;
    pointer-events: none;
}

/* Ajusta o texto conforme o estado do checkbox */
.custom-switch .form-check-input:checked + .form-check-label::after {
    content: attr(data-on); /* Mostra 'Ativo' */
}

.custom-switch .form-check-input:not(:checked) + .form-check-label::after {
    content: attr(data-off); /* Mostra 'Suspenso' */
}

/* Estilo para telas grandes: as divs ficarão lado a lado */
.dt-length,
.dt-buttons,
.dt-search,
.dt-info,
.dt-paging {
  display: inline-flex;
  justify-content: center; /* Centraliza o conteúdo dentro de cada div */
  align-items: center;
  margin: 0.5rem 0;
}
.dt-length label, .dt-search label {
    margin-bottom:0;
}

.dt-info {
  justify-content: flex-start;
  width: 50%;
}
.dt-paging {
  justify-content: flex-end;
  width: 50%;
}

.dt-length {
  justify-content: flex-start;
  width: 33%;
}

.dt-buttons {
  justify-content: center;
  width: 33%;
}

.dt-search {
  justify-content: flex-end;
  width: 33%;
}

@media (max-width: 768px) {
  .dt-length,
  .dt-buttons,
  .dt-search,
  .dt-info,
  .dt-paging  {
    display: flex;
    width: 100%;
    justify-content: center;
    margin: 0.5rem 0;
  }
}

/* Estilos gerais do input range */
.contract-paid, .forwarded-status {
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  outline: 2px solid #CCC;
  transition: background 0.3s ease;
}

/* Cor da "bolinha" de seleção */
.contract-paid::-webkit-slider-thumb, .forwarded-status::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #ccc; /* Inicialmente amarelo */
  border: 2px solid #ccc; /* Borda inicial */
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.contract-paid::-moz-range-thumb, .forwarded-status::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #ccc;
  border: 2px solid #ccc;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Alterar a cor do thumb e borda conforme o valor */
.contract-paid[value="1"]::-webkit-slider-thumb,
.contract-paid[value="1"]::-moz-range-thumb,
.forwarded-status[value="1"]::-webkit-slider-thumb,
.forwarded-status[value="1"]::-moz-range-thumb {
  background-color: #ffc107; /* Amarelo para Sinal */
  border-color: #ffc107;
}
.range-1, .paid-1 {
  outline:2px solid #ffc107 !important;
}
.contract-paid[value="2"]::-webkit-slider-thumb,
.contract-paid[value="2"]::-moz-range-thumb,
.forwarded-status[value="2"]::-webkit-slider-thumb,
.forwarded-status[value="2"]::-moz-range-thumb {
  background-color: #dc3545; /* Vermelho para Fechamento */
  border-color: #dc3545;
}
.range-2, .paid-2 {
  outline:2px solid #dc3545 !important;
}

.contract-paid[value="3"]::-webkit-slider-thumb,
.contract-paid[value="3"]::-moz-range-thumb,
.forwarded-status[value="3"]::-webkit-slider-thumb,
.forwarded-status[value="3"]::-moz-range-thumb {
  background-color: #28a745; /* Verde para Integral */
  border-color: #28a745;
}
.range-3, .paid-3 {
  outline:2px solid #28a745 !important;
}
#loading {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
}
#loading .spinner {
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#select-all, .select-row {
    cursor: pointer;
}

.stepper-wrapper {
    width: 100%;
    margin-bottom: 2rem;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.stepper-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.stepper-container::before {
    content: '';
    position: absolute;
    top: 1.1rem;
    transform: translateY(-50%);
    height: 5px;
    border-radius: 5px;
    width: 100%;
    background: #e0e0e0;
    z-index: -1;
}

.stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.step-counter {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.stepper-item.active .step-counter {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
    transform: scale(1.1);
}

.step-name {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.stepper-item.active .step-name {
    color: #0d6efd;
    font-weight: 600;
}

.stepper-item:hover .step-counter {
    transform: scale(1.1);
    border-color: #0d6efd;
}

.step-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.step-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .stepper-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .stepper-container::before {
        height: 100%;
        width: 2px;
        left: 19px;
        top: 0;
        transform: none;
    }

    .stepper-item {
        flex-direction: row;
        gap: 15px;
        width: 100%;
    }

    .step-name {
        margin: 0;
    }
}
    .chat-container {
        height: 100vh;
        max-height: 500px;
    }

    .chat-sidebar {
        border-right: 1px solid #ddd;
        overflow-y: auto;
    }

    .chat-messages {
        flex-grow: 1;
        overflow-y: auto;
        border-bottom: 1px solid #ddd;
    }
    
    #chat-messages .direct-chat-msg {
        width:100%;
        max-width: 500px;
    }
#chat-messages .direct-chat-msg.right {
        margin-left: auto;
    }
    .chat-input {
        border-top: none;
    }

    .user-photo {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        object-fit: cover;
    }

.kanban-leads {
  height: 100vh;
}

.kanban-leads .content {
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.kanban-leads .content .container,
.kanban-leads .content .container-fluid {
  width: max-content;
  display: flex;
  align-items: stretch;
}

.kanban-leads .content-header + .content {
  height: calc(100% - ((2 * 15px) + (1.8rem * 1)));
}

.kanban-leads .card .card-body {
  padding: .5rem;
}

.kanban-leads .card.card-row {
  width: 340px;
  display: inline-block;
  margin: 0 .5rem;
}

.kanban-leads .card.card-row:first-child {
  margin-left: 0;
}

.kanban-leads .card.card-row .card-body {
  height: calc(100% - (12px + (1.8rem * 1 + .5rem)));
  overflow-y: auto;
}

.kanban-leads .card.card-row .card:last-child {
  margin-bottom: 0;
  border-bottom-width: 1px;
}

.kanban-leads .card.card-row .card .card-header {
  padding: .5rem .75rem;
}

.kanban-leads .card.card-row .card .card-body {
  padding: .75rem;
}

.kanban-leads .btn-tool.btn-link {
  text-decoration: underline;
  padding-left: 0;
  padding-right: 0;
}
