/* stylelint-disable selector-list-comma-newline-after */

@font-face {
    font-family: 'Oswald';
    src: url('/media/assets/fonts/oswald/Oswald-VariableFont_wght.ttf');
    font-weight: 700;
    font-style: normal;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Definir altura mínima da página */
}

/* Estilos para o cabeçalho */
header {
    background-color: #050a30;
    color: #fff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

header h1 {
    font-size: 24px;
}

.header-menu {
    display: flex;
}

.header-username {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-title {}

.header-title a {
    color: #fff;
    margin-left: 10px;
    text-decoration: none;
}

.header-menu a {
    color: #fff;
    margin-left: 10px;
    text-decoration: none;
}

/* Estilo para destacar o link de Gestão de Gastos */
.header-menu a.highlight-menu {
    background-color: #233dff;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.header-menu a.highlight-menu:hover {
    background-color: #3953ff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.header-buttons {
    display: flex;
}

.header-buttons button {
    margin-left: 10px;
    padding: 5px 10px;
    background-color: #233dff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Estilos para o conteúdo */
main {
    flex: 1;
    /* Ocupar o espaço restante na página */
    padding: 20px;
}

/* Estilos para o rodapé */
footer {
    background-color: #050a30;
    color: #fff;
    padding: 10px;
    text-align: center;
}

.card {
    background-color: #f1f1f1;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.card-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.card-image {
    margin: 1px 0px 15px 0px;
    width: 450px;
}

.card-button {
    padding: 5px 10px;
    background-color: #233dff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}

.site-button {
    padding: 5px 10px;
    background-color: #233dff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}

.tab {
    display: none;
}

.tab.active {
    display: block;
}

.tab-buttons {
    margin-bottom: 10px;
}

.tab-buttons button {
    padding: 5px 10px;
    background-color: #233dff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}


/* Estilos para a barra de progresso */
.progress-bar {
    width: 250px;
    background-color: white;
    border-radius: 4px;
    height: 20px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background-color: #233dff;
    transition: width 0.3s ease;
}

.progress-bar-text {
    color: #000;
    font-weight: bold;
    padding: 2px 5px;
}

/* Estilos responsivos para o menu */
@media only screen and (max-width: 600px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-menu {
        margin-top: 10px;
    }

    .header-menu a {
        margin: 5px 0;
    }

    .card-image {
        margin: 1px 0px 15px 0px;
        width: 350px;
    }

}


/*formularios*/
.formulario {
    max-width: 400px;
    margin: 0 auto;
}

.form-message {
    width: 100%;
    background-color: antiquewhite;
    border-radius: 4px;
    padding: 10px;
    margin: 5px 0px 5px 0px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.errolist {
    color: red !important;
}

.site-button-escuro {
    background-color: #050a30;
}

.site-button {
    background-color: #233dff;
}

/*popup de cookies*/
/* styles.css */
.popup-cookies {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: antiquewhite;
    padding: 20px;
    border-radius: 4px;
    z-index: 9999;
}

.popup-cookies-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-cookies-content p {
    margin: 0;
    padding-right: 10px;
}

.popup-cookies-content a {
    color: blue;
}

.errorlist {
    color: red;
}

.form-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.codigo_pix {
    margin-top: 5px;
    margin-bottom: 1px;
    max-width: 270px;
    max-height: 104px;
    overflow-y: scroll;
}

#form-doacao ul {
    padding-left: 0px;
}

#form-doacao li {
    list-style: none;
}

canvas {
    /*width: 700px !important;
    height: 360px !important;*/
}

.graficos-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.graficos {
    width: 30%;
    /* Ajuste a largura conforme necessário */
    margin-bottom: 20px;
    /* Espaçamento entre os gráficos */
}

/* Estilos para o contêiner de acesso rápido na área logada */
.acesso-rapido-container {
    margin-bottom: 30px;
}

.acesso-rapido-container .card {
    border-left: 5px solid #233dff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.acesso-rapido-container .card-title {
    color: #050a30;
    font-size: 22px;
    margin-bottom: 15px;
}

.acesso-rapido-container .site-button {
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.acesso-rapido-container .site-button:hover {
    background-color: #3953ff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Classes personalizadas para relatórios financeiros */
.bg-purple {
    background-color: #8a05be !important;
    color: #ffffff !important;
}

/* Classes específicas para relatório de gastos por categoria */
.categoria-card {
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.categoria-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.categoria-header {
    cursor: pointer;
}

.item-parcelado {
    background-color: rgba(255, 193, 7, 0.1);
}