﻿* {
    -webkit-box-sizing: border-box !important; /* Safari/Chrome */
    -moz-box-sizing: border-box !important; /* Firefox */
    box-sizing: border-box !important; /* IE8+/ Opera */
}

h1 {
    margin-bottom: 5px;
    font-family:Arial;
}

h2 {
    margin-bottom: 3px;
    font-family: Arial;
}

h3 {
    margin-bottom: 1px;
    font-family: Arial;
}

body {
    margin: 0;
    font-family: 'Global User Interface';
    font-size: 14px;
    line-height: 150%; /* define a altura da linha de texto */
    color: #333333;
    background-color: #F6F6F6;
}

/* CORES DE PÁGINA */

.color1 {
    background-color: #463ecc;
}

.color2 {
    background-color: #6c69db;
}

.color3 {
    background-color: #f8f8f8;
}

/* CONTEÚDO DA PÁGINA */

.navbar {
    position: absolute;
    width: 20%;
    height: 100vh;
    padding: 20px;
    padding-top: 40px;
    box-sizing: border-box;
    float: left;
    display: flex;
    position: absolute;
}

.corpo {
    width: 80%;
    height: 100vh;
    padding: 50px;
    padding-top: 20px;
    overflow-y: scroll;
    display: block;
    float: right;
}

.rodape {
    width: 80%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    margin-left: 20%;
    float: left;
    bottom: 0;
    left: 0;
}

.button {
    font-size: 14px;
    background-color: #f8f8f8;
    color: black;
    border: solid;
    border-radius: 15px;
    text-decoration: none;
    border-color: rgb(0,0,0,0);
    padding: 5px 10px;
    margin-right: 5px;
    transition: 0.1s;
}
.button:hover {
    background-color: #adadad;
}

.buttonWhite {
    font-size: 14px;
    background-color: #f8f8f8;
    color: black;
    border: solid;
    border-radius: 15px;
    text-decoration: none;
    border-color: rgb(0,0,0,0);
    padding: 5px 10px;
    margin-right: 5px;
    transition: 0.1s;
}
.buttonWhite:hover {
    background-color: #adadad;
}

.buttonPesquisar {
    background-color: #4C49C3;
    color: white;
    border: solid;
    border-radius: 15px;
    text-decoration: none;
    border-color: rgb(0,0,0,0);
    padding: 5px 5px;
    margin-left: 10px;
    transition: 0.2s;
}

.buttonPesquisar:hover {
    background-color: #120b78;
}

.pesquisaDiv {
    background-color: white;
    color: black;
    border: solid;
    text-decoration: none;
    border-width: 1px;
    border-radius: 15px;
    border-color: rgb(0,0,0);
    padding: 5px 5px;
    padding-right: 2px;
    display: inline-block;
}

.pesquisaTextbox {
    font-family: Arial;
    color: black;
    border: none;
    outline: none;
}

.textboxDivRoundWhite {
    background-color: white;
    border: solid;
    border-radius:15px;
    font-family: Arial;
    text-decoration: none;
    color: black;
    border: none;
    outline: none;
    border-color: rgb(0,0,0);
    padding: 5px 5px;
    padding-right: 2px;
    display: inline-block;
}

.divCadastroLogin {
    font-family: Arial;
    background-color: #271eb3;
    height:75%;
    width:40%;
}

/*teste*/
.cpf{
}

.fontArial{
    font-family:Arial;
}

.margin-bottom-20{
    margin-bottom: 20px;
}

.margin-left-10 {
    margin-left: 10px;
}

.margin-right-10 {
    margin-right: 10px;
}

.padding-bottom-10 {
    padding-bottom: 10px;
}

.livros-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.pfp {
    border:solid;
    border-radius:50px;
    border-color:rgb(0,0,0,0)
}

.livro-item {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    width: 200px;
    text-align: center;
}

.livro-capa {
    width: 140px;
    height: 200px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.livro-capa-visualizacao{
    margin-right: 20px;
}

.container{
    display: flex;
}

.texto-normal {
    height: 30px;
    width: 400px;
}

.texto-grande {
    height: 150px;
    width: 400px;
}

.tamanho-fixo {
    resize: none;
    box-sizing: border-box;
}

/* PERFIL */

.profile-header {
    padding: 10px 20px;
    color: white;
    border-radius: 8px;
    margin-bottom: 20px;
}

.profile-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
    width: fit-content;
}

.profile-picture-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    overflow: hidden;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.profile-name {
    font-family: Arial;
    font-size: 22px;
    font-weight: bold;
    color: #000;
}

.profile-date {
    font-family: Arial;
    font-size: 14px;
    color: #555;
}
.profile-edit-button {
    font-size: 14px;
    background-color: #635aee; /* #635aee; */
    color: #ffffff;
    border: solid;
    border-radius: 15px;
    text-decoration: none;
    border-color: rgb(0,0,0,0);
    padding: 5px 10px;
    margin-right: 5px;
    transition: 0.1s;
}
.profile-edit-button:hover {
    background-color: #4942b1;
}

/* PAINEL DE EDIÇÃO DE PERFIL */

.edit-profile-box {
    border-radius: 12px;
    border: 1px solid #ffffff55;
    width: 400px;
    margin: 2em auto;
    padding: 20px 25px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.section-title {
    font-size: 20px;
    margin: 0;
    color: white;
}
.section-text {
    font-size: 15px;
    margin: 0;
    color: white;
}

.profile-preview {
    width: 80px !important;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid #fff3;
}

.input-file {
    color: white;
    font-size: 14px;
    margin-bottom: 10px;
}

.button-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.edit-input {
    width: 100%;
    padding: 6px 10px;
    border-radius: 6px;
    border: none;
    outline: none;
    font-family: Arial;
    font-size: 14px;
}

.alert-label {
    margin-top: 10px;
    padding: 5px 8px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    color: white;
    text-align:center;
}

/* Botões de ação perigosa */
.danger-btn {
    background-color: rgb(230, 40, 40) !important;
    color: white !important;
}

.danger-btn:hover {
    background-color: rgb(180, 0, 0) !important;
}

/* Container centralizado para formulários */
.form-card {
    background-color: #271eb3; /* cor de fundo consistente */
    width: 400px;
    margin: 5em auto; /* centraliza na tela */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: white;
    text-align: left;
}

/* Título do formulário */
.form-title {
    font-family: Arial;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}

/* Labels */
.form-label {
    font-family: Arial;
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
    color: #f0f0f0;
}

/* Inputs */
.form-input {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    outline: none;
    font-family: Arial;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Botão principal */
.form-button {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    background-color: #4C49C3;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .form-button:hover {
        background-color: #120b78;
    }

/* Mensagem de alerta */
.form-alert {
    margin-top: 15px;
    padding: 8px;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    background-color: rgb(230, 40, 40);
    color: white;
}

/* Card principal para edição de perfil */
.profile-edit-card {
    background-color: #271eb3;
    width: 450px;
    margin: 4em auto;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: white;
}

/* Título das seções */
.profile-section-title {
    font-family: Arial;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

/* Inputs */
.profile-input {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    outline: none;
    font-family: Arial;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Botões principais */
.profile-button {
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    background-color: #4C49C3;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .profile-button:hover {
        background-color: #120b78;
    }

/* Botões secundários */
.profile-button-secondary {
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    background-color: #f8f8f8;
    color: black;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .profile-button-secondary:hover {
        background-color: #adadad;
    }

/* Botão de ação perigosa */
.profile-button-danger {
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    background-color: rgb(230, 40, 40);
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .profile-button-danger:hover {
        background-color: rgb(180, 0, 0);
    }

/* Mensagem de alerta */
.profile-alert {
    margin-top: 15px;
    padding: 8px;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    background-color: rgb(230, 40, 40);
    color: white;
}

/* Navbar lateral */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100vh;
    background-color: #463ecc;
    padding: 20px;
    box-shadow: 2px 0 8px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Links da navbar */
.sidebar-link {
    background-color:white;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Arial;
    font-size: 14px;
    color: black;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

    .sidebar-link:hover {
        background-color: rgb(155, 155, 155);
    }

    /* Ícones */
    .sidebar-link i {
        font-size: 16px;
    }

/* Área de conteúdo */
.main-content {
    margin-left: 240px; /* espaço para a sidebar */
    padding: 30px;
    background-color: #f8f8f8;
    min-height: 100vh;
}

/* Usuário logado */
.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: white;
    font-family: Arial;
}

    .user-info img {
        width: 30px;
        height: 30px;
        border-radius: 50%;
    }

/* Card para exclusão de conta */
.delete-card {
    background-color: #271eb3;
    width: 450px;
    margin: 4em auto;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: white;
}

/* Título principal */
.delete-title {
    font-family: Arial;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
    color: #fff;
}

/* Texto explicativo */
.delete-text {
    font-family: Arial;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
    color: #f0f0f0;
}

/* Inputs */
.delete-input {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    outline: none;
    font-family: Arial;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Botão de exclusão */
.delete-button {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    background-color: rgb(230, 40, 40);
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .delete-button:hover {
        background-color: rgb(180, 0, 0);
    }

/* Mensagem de alerta */
.delete-alert {
    margin-top: 15px;
    padding: 8px;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    background-color: rgb(230, 40, 40);
    color: white;
}

/* Card de cadastro */
.register-card {
    background-color: #271eb3;
    width: 450px;
    margin: 4em auto;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: white;
}

/* Título */
.register-title {
    font-family: Arial;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}

/* Labels */
.register-label {
    font-family: Arial;
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
    color: #f0f0f0;
}

/* Inputs */
.register-input {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    outline: none;
    font-family: Arial;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Upload de arquivo */
.register-file {
    margin: 10px 0 20px 0;
    color: white;
    font-size: 14px;
}

/* Botão principal */
.register-button {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    background-color: #4C49C3;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .register-button:hover {
        background-color: #120b78;
    }

/* Mensagem de alerta */
.register-alert {
    margin-top: 15px;
    padding: 8px;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    background-color: rgb(230, 40, 40);
    color: white;
}

/* Card de perfil */
.user-profile-card {
    background-color: #ffffff;
    width: 450px;
    margin: 20px auto;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Foto de perfil */
.user-profile-picture {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #635aee;
}

/* Informações do usuário */
.user-profile-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.user-profile-name {
    font-family: Arial;
    font-size: 20px;
    font-weight: bold;
    color: #000;
}

.user-profile-date {
    font-family: Arial;
    font-size: 14px;
    color: #555;
}

/* Botão de edição */
.user-profile-button {
    display: block;
    margin: 20px auto 0 auto;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: bold;
    background-color: #635aee;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .user-profile-button:hover {
        background-color: #4942b1;
    }

/* Header */
.user-profile-header {
    background-color: #6c69db;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    color: white;
    margin-bottom: 20px;
}

.tableLivro {
    
}

.top-align {
    vertical-align: top;
    text-align: justify;
}

.container-flex {
    display: flex;
    flex-direction: column; /* Organiza os itens verticalmente */
    justify-content: flex-end; /* Alinha os itens ao final do eixo principal (vertical) */
    height: 200px; /* Defina uma altura para que o alinhamento inferior seja visível */
    border: 1px solid #ccc;
    padding: 10px;
}

tabela{
    text-align: left;
    width: 100%;
    margin: 100px;
}

.esquerda{
    float: left;
}

.ajustar{
    align-items: center;
}