.container {
    max-width: 90%;
    margin: 0 auto;
    padding: 20px;
    margin-bottom: 15%;
}

.header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 20px;
    margin: 35px;
    flex-direction: column;
}

.header h1 {
    font-size: 24px;
    color: var(--logo-blue);
    background-color: white;
    border-radius: 5px;
    padding: 5px;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 15px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}

.search-bar input {
    padding: 10px;
    font-size: 14px;
    width: 200px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.create-button {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: var(--logo-blue);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    border: none;
}

.create-button:hover {
    color: var(--logo-blue);
    background-color: white;
}

.create-button i {
    margin-left: 10px;
}

.results-button {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: var(--logo-blue);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    border: none;
    font-size: 12px;
}

.results-button:hover {
    color: var(--logo-blue);
    background-color: white;
}

.results-button i {
    margin-left: 10px;
}

.notebook-list {
    list-style-type: none;
    padding: 0;
    display: flex !important;
    flex-direction: column !important;
    background-color: transparent !important;
}

.notebook-item {
    background-color: white;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.notebook-item .notebook-details {
    display: flex;
    align-items: center;
}

.notebook-item i {
    font-size: 24px;
    margin-right: 10px;
}

.notebook-item .options {
    cursor: pointer;
}

.notebook-item .notebook-details p {
    margin: 0;
}

.notebook-item .notebook-details .date {
    font-size: 12px;
    color: #777;
}

/* Estilos para o modal */
.modal {
    display: none;
    /* Escondido por padrão */
    position: fixed;
    /* Fixo na tela */
    z-index: 1;
    /* Acima de tudo */
    left: 0;
    top: 0;
    width: 100%;
    /* Largura total */
    height: 100%;
    /* Altura total */
    overflow: auto;
    /* Habilita rolagem se necessário */
    background-color: rgb(0, 0, 0);
    /* Fundo preto */
    background-color: rgba(0, 0, 0, 0.4);
    /* Fundo preto com opacidade */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    /* Centralizado */
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    /* Largura do modal */
}

.close {
    color: #aaa;
    float: right;
    /* Para o lado direito */
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    /* Muda a cor ao passar o mouse */
    text-decoration: none;
    cursor: pointer;
}

#createNotebookForm {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.options {
    display: flex;
}

.options div:hover {
    color: var(--logo-blue);
}

#notebookList {
    padding: 0px !important;
}

@media (max-width: 600px) {
    .options {
        display: flex;
        margin-left: auto;
        margin-right: auto;
    }

    .notebook-item .notebook-details {
        margin-bottom: 20px;
    }
}