body {
    font: normal 400 16px / 1.67 Lato, Helvetica Neue, Helvetica, Arial, sans-serif;
    margin: 0; /* Remove margem padrão */
    padding: 0; /* Remove preenchimento padrão */
    box-sizing: border-box; /* Facilita o gerenciamento de largura e altura */
}

* {
    box-sizing: inherit; /* Herda o box-sizing do body */
}

.l-section-h {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 90% !important;
}

/* Estilizando o nome do usuário */
#userinfos {
    display: block;
    padding: 10px;
    font-weight: bold;
    font: normal 400 14px / 1.67 Lato, Helvetica Neue, Helvetica, Arial, sans-serif;
    color: #333;
    background-color: #f1f1f1;
    border-bottom: 1px solid #ddd;
    text-align: center;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Reticências se o texto for longo */
}

/* Container do menu */
.user-menu {
    position: relative;
    display: inline-block;
    width: 160px;
    font: normal 400 16px / 1.67 Lato, Helvetica Neue, Helvetica, Arial, sans-serif;
}

 /* Estilo adicional para uma melhor aparência */
 /* Estilizando o nome do usuário */
.user-info {
    color: #000;
    cursor: pointer;
    text-align: center;
    font: normal 400 16px / 1.67 Lato, Helvetica Neue, Helvetica, Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: right;
}

.user-info i {
    margin-left: 5px;
}

/* Estilizando o menu dropdown */
.dropdown-content-menu {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    flex-direction: column;
}

/* Itens dentro do dropdown */
.dropdown-content-menu button {
    background-color: #f9f9f9;
    border: none;
    padding: 12px 16px;
    text-align: center;
    width: 100%;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-content-menu button:disabled {
    color: #888; /* Cor do texto desabilitado */
    cursor: not-allowed;
    background-color: #f2f2f2; /* Fundo para botões desabilitados */
}

.dropdown-content-menu button:hover:not(:disabled) {
    background-color: #ddd;
    color: #000; /* Alterar a cor ao passar o mouse quando não desabilitado */
}

/* Hover nos itens do dropdown */
/* .dropdown-content-menu button:hover {
    background-color: #ddd;
} */

.user-menu:hover .dropdown-content-menu {
    display: flex;
}

/* Exibir o dropdown ao focar ou passar o mouse sobre o container */
.user-menu:hover .dropdown-content-menu,
.user-menu:focus-within .dropdown-content-menu {
    display: block;
}

.dropdown-content button {
    transition: background-color 0.3s;
}

.dropdown-content button:hover {
    background-color: #666;
}

.signOut-button {
    background-color: #cc0201 !important;
    color: white !important;
    border: none;    
    cursor: pointer;
    font: normal 400 14px / 1.67 Lato, Helvetica Neue, Helvetica, Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 30px;
}

.container-logo {
    background-image: url('../img/client-logo.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.dropdown-container {
    display: flex;
    justify-content: left;
    gap: 20px;
    height: 45px;
    margin-top: 20px;
}

.custom-select {
    background-color: transparent;
    color: #000;
    padding: 3px;
    border: none;
    border-style: none;
    cursor: pointer;
    font: normal 400 16px / 1.67 Lato, Helvetica Neue, Helvetica, Arial, sans-serif;
    font-weight: bold;
    appearance: button;
    -webkit-appearance: button;
    -moz-appearance: button;
    text-align: center;
    text-align-last: center;
    text-shadow: 0 0 black;
    width: 80%;
}

.custom-select-popup {
    background-color: transparent;
    color: #000;
    padding: 3px;
    border: none;
    border-style: groove;
    cursor: pointer;
    font: normal 400 16px / 1.67 Lato, Helvetica Neue, Helvetica, Arial, sans-serif;
    appearance: button;
    -webkit-appearance: button;
    -moz-appearance: button;
    text-align: center;
    text-align-last: center;
    text-shadow: 0 0 black;
    width: 100%;
    min-height: 45px;
}

.custom-select:focus {
    outline: none;
}

.custom-select option {
    background-color: white;
    color: black;
}

/* Estilo para o botão de pesquisa com ícone */
.search-button {
    padding: 10px 20px;
    color: #000;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font: normal 400 16px / 1.67 Lato, Helvetica Neue, Helvetica, Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-button i {
    margin-right: 5px;
}


/* Estilo para a tabela */

.table-container {
    overflow: auto !important; 
    max-height: 685px;
    width: 100%;
    margin-top: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font: normal 400 18px / 1.67 Lato, Helvetica Neue, Helvetica, Arial, sans-serif;
    text-align: left;
    table-layout: fixed;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 12px;
}

table th {
    position: sticky; /* O cabeçalho "gruda" no topo ao rolar */
    top: 0; /* Fixa o cabeçalho no topo */
    background-color: #f4f4f4; /* Cor de fundo para o cabeçalho */
    z-index: 1; /* Garante que o cabeçalho fique acima do conteúdo ao rolar */
}

tbody {
    max-height: 400px; /* Define uma altura máxima para o corpo */
    overflow-y: auto; /* Habilita rolagem vertical se o conteúdo ultrapassar a altura máxima */
}

/* Estilo para o hover na linha da tabela */
table tbody tr {
    transition: background-color 0.3s ease;
}

table tbody tr:hover {
    background-color: #f0f0f0; /* Cor de fundo ao passar o mouse */
    cursor: pointer; /* Cursor muda para pointer */
}



table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    font: normal 400 14px / 1.67 Lato, Helvetica Neue, Helvetica, Arial, sans-serif;
}

th {
    background-color: #dadada;
    font-weight: bold;
}

.table-footer {
    width: 100%;
    height: 70px;
}

/* Customização do checkbox (opcional) */
.custom-checkbox {
    position: relative;
    display: inline-block;
}

.custom-checkbox input[type="checkbox"] {
    visibility: hidden;
}

.custom-checkbox label {
    position: relative;
    cursor: pointer;
    padding-left: 30px;
}

.custom-checkbox label:before {
    content: '';
    position: absolute;
    /* left: 0; */
    top: 0;
    width: 16px;
    height: 16px;
    border: 2px solid #000;
    border-radius: 3px;
    background-color: white;
}

.custom-checkbox input[type="checkbox"]:checked + label:before {
    background-color: #000;
}

.custom-checkbox label:after {
    content: '';
    position: absolute;
    left: 35px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}

.custom-checkbox input[type="checkbox"]:checked + label:after {
    opacity: 1;
}

.save-all-interview button {
    cursor: pointer;
    border: none;
    background-color: #cc0201;
    border-radius: 20px;
    color: #fff;
    height: 40px;
    width: 165px;
    float: left;
    margin: 20px 0;
}

/* Botões de paginação */
.pagination {
    margin: 20px 0;
    text-align: center;
    float: left;
    width: 75%;
}

.pagination button {
    padding: 5px 10px;
    margin: 0 5px;
    cursor: pointer;
    border: none;
    /* background-color: #cc0201; */
    border-radius: 20px;
    color: #000;
    height: 40px;
    width: 80px;
}


/* Estilo para o pop-up (modal) */
.close {
    color: #aaa;
    float: right;
    font: normal 400 28px / 1.67 Lato, Helvetica Neue, Helvetica, Arial, sans-serif;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Estilo para os campos de texto no modal */

.modal-detail {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 900;
    background-color: rgba(0,0,0,0.4);
}

.modal-content-detail {
    width: 60%;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 80vh;
    overflow-y: auto;
    margin: 8% auto;
}

.candidate-detail-container {
    display: flex;
    flex-direction: column;
}


.tabs {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 15px;
}

.tab-link {
    padding: 10px 20px;
    margin-right: 10px;
    cursor: pointer;
    background-color: #f0f0f0;
    border: none;
    border-radius: 5px 5px 0 0;
    font: normal 400 14px / 1.67 Lato, Helvetica Neue, Helvetica, Arial, sans-serif;
    color: #333;
    transition: background-color 0.3s ease, color 0.3s ease;
    outline: none;
}

.tab-link.active {
    background-color: #000;
    color: #fff;
    border-bottom: 2px solid #000;
}

.tab-link:hover:not(.active) {
    background-color: #ddd;
}

.tab-content {
    display: none;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background-color: #fff;
}

.tab-content.active {
    display: block;
}

.candidate-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font: normal 400 14px / 1.67 Lato, Helvetica Neue, Helvetica, Arial, sans-serif;
}

.candidate-summary h4 {
    margin-bottom: 10px;
    font: normal 400 16px / 1.67 Lato, Helvetica Neue, Helvetica, Arial, sans-serif;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.candidate-summary ul {
    list-style-type: disc;
    margin-left: 20px;
}

.candidate-summary ul li {
    margin: 8px 0;
    font: normal 400 14px / 1.67 Lato, Helvetica Neue, Helvetica, Arial, sans-serif;
}

.candidate-experience h4 {
    margin-bottom: 10px;
    font: normal 400 16px / 1.67 Lato, Helvetica Neue, Helvetica, Arial, sans-serif;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.candidate-experience ul {
    list-style-type: disc;
    margin-left: 20px;
}

.candidate-experience ul li {
    margin: 8px 0;
    font: normal 400 14px / 1.67 Lato, Helvetica Neue, Helvetica, Arial, sans-serif;
}


 .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 900;
    background-color: rgba(0,0,0,0.4);
}

 .modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 440px;
    box-sizing: border-box;
    display: block;
    overflow-y: auto;
    /* height: 72%; */
    margin-top: 10%;
}

.modal-content input[type="text"],
.modal-content input[type="date"],
.modal-content input[type="time"],
.modal-content select {
    width: 98%; /* Ajusta para o padding */
    padding: 5px;
    box-sizing: border-box;
    height: 32px;
}

.modal-content .error-message {
    color: #cc0201;
    font: normal 400 14px / 1.67 Lato, Helvetica Neue, Helvetica, Arial, sans-serif;
    display: none;
}

#slot {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.slot-row {
    display: flex;
    width: 100%;
}

.modal-slot {
    width: 50%;
    margin-right: 10px;
}

.modal-slot-timezone {
    width: 77%;
    margin-right: 10px;
}

.modal-button-add {
    margin-top: 24px;
    height: 36px;
}

.modal-button-add button {
    padding: 4px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font: normal 400 16px / 1.67 Lato, Helvetica Neue, Helvetica, Arial, sans-serif;
}

.modal-buttons {
    grid-column: span 2;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.modal-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font: normal 400 16px / 1.67 Lato, Helvetica Neue, Helvetica, Arial, sans-serif;
}

.trash-btn-css {
    background-color: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    width: 25px;
    height: 20px;
}

.trash-btn-css .lid {
    width: 12px;
    height: 4px;
    background-color: #cc0201;
    border-radius: 2px;
    position: absolute;
    top: 0;
    /* left: 50%;
    transform: translateX(-50%); */
}

.trash-btn-css .bin {
    width: 12px;
    height: 12px;
    background-color: #cc0201;
    border-radius: 0 0 3px 3px;
    position: absolute;
    top: 5px;
    /* left: 50%;
    transform: translateX(-50%); */
}

.trash-btn-css:hover .lid,
.trash-btn-css:hover .bin {
    background-color: #cc0201;
}

.save-button {
    background-color: black;
    color: white;
}

.close-button {
    background-color: #cc0201;
    color: white;
}

/* Calendar */
.flatpickr-calendar {
    left: 11% !important;
}

/* Impede a rolagem da página ao abrir o modal */
body.modal-open {
    overflow: hidden;
}

.error {
    border: 2px solid #cc0201;
}

.error-message {
    color: #cc0201;    
    font: normal 400 12px / 1.67 Lato, Helvetica Neue, Helvetica, Arial, sans-serif;
    display: none;
}


/* Estilo para o overlay de carregamento */
#loadingOverlay {
    display: flex; /* Oculto por padrão */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.7); /* Fundo escuro */
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.spinner-dots {
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner-dots div {
    width: 15px;
    height: 15px;
    margin: 5px;
    background-color: white; /* Cor dos pontos */
    border-radius: 50%;
    animation: bounce 1.2s infinite ease-in-out;
}

.spinner-dots div:nth-child(2) {
    animation-delay: 0.2s;
}

.spinner-dots div:nth-child(3) {
    animation-delay: 0.4s;
}

.loading-message {
    display: flex; /* Oculto por padrão */
    position: relative;
    justify-content: center;
    align-items: center;
    width: 100%;
}


.loading {
    display: flex; /* Oculto por padrão */
    position: relative;
    justify-content: center;
    align-items: center;
}

.loading-spinner-dots {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-spinner-dots div {
    width: 15px;
    height: 15px;
    margin: 5px;
    background-color: rgba(0,0,0,0.7);
    border-radius: 50%;
    animation: bounce 1.2s infinite ease-in-out;
}

.loading-spinner-dots div:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-spinner-dots div:nth-child(3) {
    animation-delay: 0.4s;
}


/* Estilos para o pop-up de aviso */
.alert-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    width: 300px;
    text-align: center;
}

.alert-popup button {
    margin: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font: normal 400 16px / 1.67 Lato, Helvetica Neue, Helvetica, Arial, sans-serif;
}

.alert-popup .cancel-button {
    background-color: #000;
    color: white;
}

#timePicker {
    width: 150px;
    padding: 5px;
    font-size: 16px;
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.5);
    }
}