@import url('escala.css');
@import url('configuracoes.css');
@import url('dashboard.css');
@import url('login.css');
@import url('slots.css');
@import url('navbar.css');

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #E5E5E5;
    height: 1000px;
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container-slots {
    width: 100%;
    display: flex;
    justify-content: space-around;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.alert {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-danger hr {
    border-top-color: #f1b0b7;
}

.alert-danger .alert-link {
    color: #491217;
}


h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #00AFAA;
}

label {
    display: block;
    margin-bottom: 10px;
    color: #4F5E69;
}

.logo h2 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    padding: 0;
    cursor: pointer;
    margin-right: 20px;
}

.corpo {
    background-color: #fff;
}

/* Estilos para o conteúdo principal */

.popup-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 80%;
    overflow: auto;
}

.conteudo {
    width: calc(100% - 220px);
    float: left;
    padding: 20px;
    box-sizing: border-box;
}

.conteudo h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.conteudo p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.btn-green-beep {
    background-color: #00AFAA;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
}

.btn-green-beep:hover {
    background-color: #057c78;
}

.btn-orange-beep-atualizar-dados {
    background-color: #F36508;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
}

.btn-orange-beep-atualizar-dados:hover {
    background-color: #F13F11;
    border-color: #F36508;
}

.btn-orange-beep {
    color: white;
    background-color: #F36508;
    border-color: #f08137;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all .2s ease-in-out;
}

.btn-orange-beep:hover {
    background-color: #F13F11;
    border-color: #F36508;
}

.form-input2 {
    display: flex;
    flex-direction: column;
}

.label2 {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.form-button-container {
    display: flex;
    justify-content: space-between;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 1rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
}


td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

td:hover {
    box-shadow: 0px 0px 5px #888;
}

th {
    background-color: #00AFAA;
    color: #fff;
    text-align: left;
    position: sticky;
    top: 0;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
    padding: 0.75rem;
}

/* Barra de pesquisa para filtrar */
input[type="text"] {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    margin-bottom: 16px;
    box-sizing: border-box;
    width: 100%;
}

input[type="number"] {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    margin-bottom: 16px;
    box-sizing: border-box;
    width: 100%;
}

input[type="password"] {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    margin-bottom: 16px;
    box-sizing: border-box;
    width: 100%;
}

input[type="date"] {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    margin-bottom: 16px;
    box-sizing: border-box;
    width: 100%;
}

input[type="time"] {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    margin-bottom: 16px;
    box-sizing: border-box;
    width: 100%;
}

select[class="form-input"] {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    margin-bottom: 16px;
}

/* estilo da barra de rolagem */
::-webkit-scrollbar {
    width: 10px; /* largura da barra de rolagem */
  }
  
  /* estilo do rastreador da barra de rolagem */
  ::-webkit-scrollbar-track {
    background-color: #f5f5f5; /* cor de fundo do rastreador */
  }
  
  /* estilo do polegar da barra de rolagem */
  ::-webkit-scrollbar-thumb {
    background-color: #aaa; /* cor do polegar */
    border-radius: 5px; /* arredondamento das bordas */
  }
  
  /* estilo do polegar quando passar o mouse por cima */
  ::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* cor do polegar quando passar o mouse por cima */
  }

  #loading-message {
    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-message p {
    color: white;
    font-size: 20px;
    margin-right: 10px;
  }

  /* Estilos da tabela */
.table-container {
    overflow-x: auto;
  }

  .tooltip {
    position: relative;
  }
  
  .tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 100;
  }
  
  .tooltip:hover::after {
    opacity: 1;
  }

.filter-input {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.filter-btn {
    background-color: #007bff;
    color: #fff;
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.filter-btn:hover {
    background-color: #0056b3;
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}   

.popup {
    display: none;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
}

.popup-center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.form-error {
    border: 1px solid red;
}

#loading-message img {
    width: 50px;
    height: 50px;
    margin-left: 10px;
}