/* Estilo Global */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h2 {
    color: #333;
}

img {
    margin-top: 10px;
    max-width: 150px;
    border-radius: 50%;
}

input, select, button {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    margin-top: 5px;
}

input[type="file"] {
    border: none;
    margin-top: 10px;
}

button {
    background-color: #007bff;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

.logout-btn {
    background-color: #dc3545;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    margin-top: 20px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.logout-btn:hover {
    background-color: #c82333;
}

/* Estilo para o Menu */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #007BFF; /* Cor azul */
    padding: 10px 20px;
    color: #fff;
}

.menu-left, .menu-right {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-left li, .menu-right li {
    margin-right: 20px;
}

.menu-left a, .menu-right a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

/* Estilo do menu de usuário */
.menu-right .user-info {
    display: flex;
    align-items: center;
    position: relative;
}

.menu-right .user-info p {
    margin-right: 10px;
    font-weight: bold;
}

.menu-right .avatar-dropdown img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
}

.menu-right .dropdown-menu {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 220px;
}

.menu-right .dropdown-menu li {
    padding: 10px;
    text-align: right;
}

.menu-right .dropdown-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.menu-right .dropdown-menu li:hover {
    background-color: #f0f0f0;
}

.menu-right .avatar-dropdown:hover .dropdown-menu {
    display: block;
}

.menu-right .login-link {
    display: block;
    margin-left: auto;
}

/* Estilo para Formulários */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
}

label {
    text-align: left;
    width: 100%;
    font-size: 16px;
    color: #333;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.form-group label {
    margin-bottom: 5px;
    color: #333;
}

.form-group input, .form-group select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 15px;
}

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

/* Estilo da Página de Login e Cadastro */
.login-container, .container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.login-container h2, .container h2 {
    margin: 0 0 20px;
    color: #007bff;
}

.login-form, .form {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

/* Estilo para grupos de formulários */
.form-group {
    flex: 1 1 calc(50% - 15px); /* Ajusta o tamanho dos campos para duas colunas */
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    color: #333;
}

.form-group input, .form-group select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 15px;
    display: block;
    width: 100%;
}

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

/* Ajustes para telas menores */
@media (max-width: 768px) {
    .form-group {
        flex: 1 1 100%;
    }
}