/* styles.css */

/* Importação das fontes DIN Neuzeit Grotesk e Avenir Light */
@import url('https://fonts.googleapis.com/css2?family=DIN+Neuzeit+Grotesk:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Avenir+Light:wght@300&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DIN Neuzeit Grotesk', sans-serif;
    background-color: #f0f4f7;
    color: #333333;
    line-height: 1.6;
}

/* Paleta de cores */
:root {
    --primary-color: #007bff; /* Azul principal */
    --secondary-color: #0056b3; /* Azul mais escuro para hover */
    --border-color: #ced4da; /* Cor das bordas */
    --background-color: #ffffff; /* Cor de fundo branca */
    --text-color: #333333; /* Cor do texto */
    --header-bg-color: #f8f9fa; /* Cor de fundo do cabeçalho */
    --row-alt-color: #f2f2f2; /* Cor alternada para linhas */
}

/* Estilo do corpo */
body {
    font-family: 'DIN Neuzeit Grotesk', sans-serif;
    margin: 0;
    background-color: #f0f4f7;
}

/* Container principal */
.container {
    max-width: 500px; /* Largura máxima do contêiner do formulário */
    margin: 20px auto;
    background-color: var(--background-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Estilos de Títulos */
h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--primary-color);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Avenir Light', sans-serif;
}

/* Estilo dos links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

a.forgot-password {
    color: var(--primary-color);
}

a.forgot-password:hover {
    text-decoration: underline;
}

/* Estilos para formulários e campos de entrada */
.input-container {
    margin-bottom: 20px;
}

input[type="email"],
input[type="password"],
input[type="submit"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px; /* Cantos levemente arredondados */
    box-sizing: border-box;
    font-size: 16px;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="submit"]:hover {
    border-color: var(--primary-color);
}

input[type="submit"] {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    cursor: pointer;
    font-weight: bold;
}

input[type="submit"]:hover {
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
}

/* Estilos para select2 */
.select2-container .select2-selection--single {
    height: 138px;
    padding: 4px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 28px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 34px;
    right: 10px;
}

/* Estilos básicos para o menu */
nav {
    background-color: var(--secondary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo {
    padding: 10px 0;
}

.logo img {
    height: 40px; /* Ajuste a altura conforme necessário */
}

.menu-container {
    display: flex;
    justify-content: center;
    flex: 1;
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.menu > .category {
    position: relative;
}

.menu > .category > a {
    padding: 15px 20px;
    color: #fff;
    font-weight: 700; /* Negrito */
    text-decoration: none; /* Remove o sublinhado */
    cursor: pointer;
    display: block;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.menu > .category > a:hover {
    background-color: #004494; /* Azul ainda mais escuro */
    transform: scale(1.05);
}

.menu .subcategory {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--secondary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 0 0 8px 8px;
    z-index: 1000;
}

.menu .subcategory .subitem > a {
    padding: 10px 20px;
    color: #fff;
    text-decoration: none; /* Remove o sublinhado */
    display: block;
    background-color: var(--secondary-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.menu .subcategory .subitem > a:hover {
    background-color: #004494;
}

.menu .items {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background-color: var(--secondary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 0 0 8px 8px;
    z-index: 1000;
}

.menu .items .item > a {
    padding: 10px 20px;
    color: #fff;
    text-decoration: none; /* Remove o sublinhado */
    display: block;
    background-color: var(--secondary-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.menu .items .item > a:hover {
    background-color: #004494;
}

.menu .subcategory .subitem:hover > .items {
    display: block;
}

.menu .category:hover > .subcategory {
    display: block;
}

/* Estilos para o conteúdo */
.content {
    padding: 20px;
    margin-top: 70px; /* Altura do menu fixo */
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.four-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.two-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.column {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.item {
    margin-bottom: 20px;
}

/* Estilos para tabela */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
}

th {
    background-color: var(--secondary-color);
    color: #fff;
    text-align: left;
}

td {
    background-color: #f9f9f9;
}

tr:nth-child(even) td {
    background-color: var(--row-alt-color);
}

/* Estilos para select2 */
.select2-container .select2-selection--single {
    height: 38px;
    padding: 4px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 28px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 34px;
    right: 10px;
}

/* Estilos para o iframe */
iframe#content-frame {
    width: 100%;
    height: 80vh; /* Ajuste conforme necessário */
    border: none;
    background-color: transparent;
}

/* Estilos para logos */
.logo {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        text-align: center;
    }
}

        .custom-file-input.selected:lang(en)::after {
            content: "" !important;
        }
        .custom-file {
            overflow: hidden;
        }
        .custom-file-input {
            white-space: nowrap;
        }
        
/* Estilos para o formulário */
.form-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.input-container {
    margin-bottom: 20px;
}

.input-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.checkbox-container {
    margin-bottom: 10px;
}

.btn {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #0056b3;
}