body {
    background-color: #0B1C3F;
    display: flex;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    color: #ffffff;
}
.container {
    width: 100%;
    text-align: center;
}
main {
    margin-bottom: 150px;
}
header {
    border-bottom: 3px solid #00C896;
    background-color: #122444;
    padding: 5px;
    text-align: center;
}
header .logo-cabecalho {
    width: 150px;
}
h1 {
    color: white;
}
.grid {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}
.box-um {
    background-color: #15294B;
    flex: 1;
    border-radius: 10px;
    max-width: 30%;
    transition: height 0.3s ease-in-out;
    overflow: hidden;
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}
.box-dois {
    position: relative;
    background-color: #15294B;
    flex: 1;
    border-radius: 10px;
    max-width: 30%;
    transition: height 0.3s ease-in-out;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}
.box-tres {
    background-color: #15294B;
    flex: 1;
    border-radius: 10px;
    max-width: 30%;
    transition: height 0.3s ease-in-out;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    position: relative;
}
.box-quatro {
    background-color: #15294B;
    flex: 1;
    border-radius: 10px;
    max-width: 20%;
    transition: height 0.3s ease-in-out;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    position: relative;
}
.box-cinco {
    background-color: #15294B;
    flex: 1;
    border-radius: 10px;
    max-width: 75%;
    transition: height 0.3s ease-in-out;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    position: relative;
}
.box-tres-botao {
    position: relative;
    width: 100%;
    height: 80px;
    display: flex; /* Alinha os botões lado a lado */
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center; /* Centraliza verticalmente */
    gap: 10px; /* Espaço entre os botões */
}
.box-tres-botao button {
    margin: 0;
    padding: 10px 15px;
}
.wide-box-um, .wide-box-dois, .space {
    background-color: #15294B;
    border-radius: 10px;
    margin-bottom: 10px;
    width: 94%;
    margin-left: auto;
    margin-right: auto;
    transition: height 0.3s ease-in-out;
    overflow: hidden;
    display: flex;
    padding: 10px;
    color: white;
    flex-direction: column;
    position: relative;
}
.expanded {
    height: 100px !important;
    overflow-y: auto;
}
select{
    width: 90%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
}
input[type="text"],input[type="number"],input[type="file"] {
    width: 86%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
}
.toggle-button, .botao, .botao-editar, .botao-excluir, .botao-excluir-grade {
    margin-top: 10px;
    padding: 5px 10px;
    border: none;
    background-color: #00C896;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}
#tabela-disciplinas-grade tbody{
    text-align: left;
}
/* Alternar cores entre linhas */
tr:nth-child(odd) {
    background-color: #122444; /* Cinza claro */
}
.ies{
    margin-top: 15px;
}
tr:nth-child(even) {
    background-color: #2F3F5B; /* Branco */
}
.box-um .overlay, .box-dois .overlay, .wide-box-um .overlay,.wide-box-dois .overlay, .box-tres-botao .overlay, .botao-home .overlay, .box-quatro .overlay, .box-cinco .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Escurece a div */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    color: white;
    font-size: 20px;
    font-weight: bold;
}
.botao-home.disabled {
    pointer-events: none; /* Impede cliques */
    cursor: not-allowed; /* Mostra cursor de "não permitido" */
    opacity: 0.7; /* Deixa o botão um pouco mais transparente */
}

.botao-home.disabled .overlay {
    display: flex; /* Garante que o overlay esteja visível */
}
#resultado-carga-horaria p{
    text-align: left;
    
}
.hidden-column {
    display: none;
}
#carregando {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(123, 145, 160, 0.137);
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(7px);
    display: none;
    z-index: 100;
  }
  
  #carregando .load {
    font-size: 24px;
    font-weight: bold;
    color: #333;
  }
  @keyframes App-logo-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  .load {
    width: 70px;
    height: 70px;
    animation: App-logo-spin 1s linear infinite;
  }
  .login-container {
    background-color: #0B1C3F;
    padding: 20px;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.login-box {
    background-color: #15294B;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
    text-align: center;
}

.login-box form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-body {
    margin: 0px;
    justify-content: center;
    align-items: center;
}

.login-logo {
    width: 200px;
    justify-content: center;
    align-items: center;
}

.login-box h1 {
    color: #00C896;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza horizontalmente */
    justify-content: center;
}

.error-message {
    background-color: #ff4444;
    color: white;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.login-box .form-group {
    margin-bottom: 10px;
}


.login-box input{
    padding: 10px; /* Aumentei o padding aqui também para maior conforto */
    border: 1px solid #2F3F5B;
    border-radius: 4px;
    background-color: #213250;
    color: white;
    font-size: 16px;
    margin: 10px 0;
    width: 100%;
    box-sizing: border-box;
}

.login-box input:focus {
    outline: none;
    border-color: #00C896;
    box-shadow: 0 0 0 2px rgba(0, 200, 150, 0.2);
}


.login-box .botao {
    width: 50%;
    padding: 10px; /* Aumentei o padding aqui também para uniformizar com os inputs */
    font-size: 16px;
    margin-top: 10px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo {
    height: 50px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info span {
    font-size: 1rem;
    color: #fff;
}

.botao-home-nav {
    background-color: transparent !important;
    color: #fff !important;
    font-size: 1.5rem;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    text-decoration: none;
    transition: background-color 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.botao-home-nav:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #15294B;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    width: 45%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover, .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.painel-home{
    width: 690px;
    max-width: 85vw;
    display: flex;
    flex-direction: row;
    text-align: center;
    margin: 0px auto;
    justify-content: center; 
    flex-wrap: wrap;
}

.botao-home{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 300px; 
    height: 250px;
    margin: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: solid 1px transparent;
    transition: 0.3s;
    position: relative;
} 

.botao-home:hover{
    border: solid 1px #33DB89;
}

.botao-home-img img{
    border-radius: 100px;
    padding:auto;
    width:100px; 
    height:100px;
}
.botao-home-titulo{
    font-weight: 500px; 
    color:white;
    /* margin-top: 15px; */
    font-size: 18px;
    letter-spacing: 1px;
}

/* Estilo para o checkbox personalizado */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #00C896;
    border-radius: 4px;
    background-color: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

/* Estilo quando o checkbox está marcado */
input[type="checkbox"]:checked {
    background-color: #00C896;
}

/* Estilo do ícone de check quando marcado */
input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Estilo do hover */
input[type="checkbox"]:hover {
    border-color: #33DB89;
    box-shadow: 0 0 5px rgba(0, 200, 150, 0.3);
}

/* Estilo do focus */
input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 200, 150, 0.5);
}
.status-cell {
    max-width: 250px;
    word-break: break-word;
    white-space: pre-line;
    font-size: 0.95em;
}
/* Div fixa para contadores */
#contador-fixo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #15294B;
    border: 2px solid #00C896;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    min-width: 200px;
}

.contador-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    color: white;
    font-size: 14px;
}

.contador-item:last-child {
    margin-bottom: 0;
}

.contador-label {
    font-weight: bold;
    color: #00C896;
}

.contador-valor {
    font-weight: bold;
    color: white;
    background-color: #213250;
    padding: 4px 8px;
    border-radius: 4px;
    min-width: 30px;
    text-align: center;
}
#form-alterar-ra .botao, #modal-content h2 {
    display: block;
    margin: 0 auto;
    text-align: center;
}