
:root {
    --midnight-green: #095256;   
    --teal: #087f8c;                  
    --zomp: #5aaa95;                  
    --asparagus: #86a873;             
    --satin-sheen-gold: #bb9f06;      
    --background-light: #f0f5fa;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: var(--background-light);
    color: var(--midnight-green); /* Usado para textos gerais */
    margin: 0;
}

/* Cabeçalho */
header {
    background-color: var(--teal);
    padding: 0.8rem;
    color: #ffffff; /* Texto branco para alto contraste */
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Título do header */
.title {
    font-size: 1.3rem;
    margin-left: 1rem;
}

/* Navegação */
nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.select2-selection {
    height: 2.81rem !important;
    line-height: 2.5rem !important;
  }

  .available {
    background-color: #e0f7e0; /* Verde claro */
    border: 1px solid #4CAF50; /* Borda verde */
}


.table-responsive {
    overflow-x: auto;
}
.table th, .table td {
    text-align: center;
    vertical-align: middle;
}
.table th {
    width: 25%;
}
.table td {
    min-width: 100px;
    width: 25%;
}
.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.error-message {
    color: red;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0;
    margin: 0;
    width: 100%;
}

nav ul li {
    text-align: center;
}

a {
    color: rgb(56, 133, 126);
    display: inline-block;
    border-bottom: 0.2rem solid transparent;
    transition: color 0.3s ease, transform 0.3s ease-in-out, border-bottom 0.3s ease;
}

a:hover {
    transform: scale(1.1);
    color: var(--satin-sheen-gold);
    border-bottom: 0.2rem solid var(--satin-sheen-gold);
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease, transform 0.3s ease-in-out, border-bottom 0.3s ease;
    border-bottom: 0.2rem solid transparent; /* Linha invisível por padrão */
}

nav ul li a:hover {
    transform: scale(1.1);
    color: var(--satin-sheen-gold);
    border-bottom: 0.2rem solid var(--satin-sheen-gold);
}

/* Exemplos de elementos de conteúdo, como cartões do cronograma */
.card {

    color: var(--midnight-green);
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.2);
    margin: 1rem;
}

/* Botões (por exemplo, para gerar ou salvar o cronograma) */
button {
    background-color: var(--satin-sheen-gold);
    color: var(--midnight-green);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: var(--zomp);
    transform: scale(1.05);
}

.form-smaller-input {
    display: inline-block;
    justify-content: center;
    align-items: center;
}

.form-smaller-input input{
    text-align: center;
}

/* Rodapé */
footer {
    background-color: var(--teal);
    color: #fff;
    text-align: center;
    padding: 0.625rem;
    position: fixed;
    width: 100%;
    bottom: 0;
}

/* Estilos para a caixa de erro */

.alert {
    padding: 0.6rem;
    margin: 0.6rem 0;
    padding: 1rem;                /* Espaçamento interno */
    border-radius: 0.5rem;       /* Bordas arredondadas */
    margin-bottom: 1rem;          /* Espaço abaixo da caixa */
    font-size: 1rem;              /* Tamanho da fonte */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    text-align: center;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

.alert-info {
    background-color: #cce5ff;
    color: #004085;
}


main {
    text-align: center;
    padding: 3rem;
}

.no-decoration {
    text-decoration: none;
    list-style: none;
}

.help {
    display: none;
    margin-top: 0.6rem;
    padding: 0.6rem;
    border: 0.06rem solid #ccc;
    background-color: #f9f9f9;

}

.form-smaller-input button {
    display: block;
    margin-top: 0.6rem;
    width: 100%;
}

.mt-5 {
    margin-top: 5rem;
}

.discipline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 0.75rem 1.25rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s;
}

.discipline-item:hover {
    background-color: #f0f5f5;
    border-color: var(--teal);
}

.teal-background {
    background-color: var(--teal);
}

.discipline-name {
    color: var(--midnight-green);
    font-weight: 500;
}

.discipline-checkbox {
    width: 1.1em;
    height: 1.1em;
    border: 2px solid var(--teal) !important;
    cursor: pointer;
    margin-left: 0.5rem;
}

.discipline-checkbox:checked {
    background-color: var(--teal);
    border-color: var(--teal) !important;
}

.discipline-checkbox:focus {
    box-shadow: 0 0 0 0.25rem rgba(8, 127, 140, 0.25);
}
/* Modal Container */
.custom-modal {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Header */
.custom-modal-header {
    background-color: var(--teal);
    color: white;
    border-radius: 8px 8px 0 0;
    padding: 1rem 1.5rem;
}

.custom-modal-title {
    font-weight: 600;
    margin: 0;
}

/* Body */
.custom-modal-body {
    padding: 1.5rem;
}

.custom-modal-label {
    color: var(--midnight-green);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.custom-modal-input {
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    padding: 0.5rem 0.75rem;
    transition: border-color 0.2s;
}

.custom-modal-input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 0.25rem rgba(8, 127, 140, 0.25);
}

/* Disciplines List */
.custom-disciplines-list {
    max-height: 200px;
    overflow-y: auto;
    margin-top: 0.5rem;
}

.custom-disciplines-list::-webkit-scrollbar {
    width: 8px;
}

.custom-disciplines-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.custom-disciplines-list::-webkit-scrollbar-thumb {
    background: var(--teal);
    border-radius: 4px;
}

.custom-disciplines-list::-webkit-scrollbar-thumb:hover {
    background: #076b76;
}

/* Hint Text */
.custom-modal-hint {
    color: #6c757d;
    font-size: 0.8rem;
    display: block;
    margin-top: 0.5rem;
}

/* Footer */
.custom-modal-footer {
    border-top: none;
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
    border-radius: 0 0 8px 8px;
}

/* Buttons */
.custom-modal-btn-cancel {
    border-radius: 4px;
    padding: 0.5rem 1rem;
    color: #6c757d;
    border-color: #6c757d;
}

.custom-modal-btn-cancel:hover {
    background-color: #6c757d;
    color: white;
}

.custom-modal-btn-submit {
    border-radius: 4px;
    padding: 0.5rem 1rem;
    background-color: var(--satin-sheen-gold);
    color: var(--midnight-green);
    font-weight: 500;
    border: none;
}

.custom-modal-btn-submit:hover {
    background-color: #a58d05;
    color: white;
}

.mb-5 {
    margin-bottom: 5rem;
}

.ml-5 {
    margin-left: 5rem;
}

.mr-5 {
    margin-right: 5rem;
}

