* {
    padding: 0;
    margin: 0;
}

body {
    background-color: #005e52;
}

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

/* Estilos para o container principal */
.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    max-width: 900px;
    background-color: #005e52;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Cabeçalho */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    width: 100%;
    color: white;
}

.picture-container {
    position: relative;
    display: inline-block;
}

.profile-header .profile-picture {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid white;
    margin-bottom: 10px;
}

.edit-button {
    /* Posiciona logo abaixo do círculo */
    background-color: rgb(255, 255, 255);
    color: white;
    border: none;
    border-radius: 50%;
    width: 37px;
    height: 37px;
    cursor: pointer;
}

.edit-button svg {
    width: 18px;  /* Tamanho do ícone do lápis */
    height: 18px;
    fill: black;  /* Cor do ícone (branco) */
}

.edit-button:focus {
    outline: none; /* Remove a borda do foco ao clicar */
}

.edit-button:hover {
    background-color: rgb(183, 183, 183);
}


.menu {
    background: white;
    color: black;
    position: absolute;
    margin-top: 150px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    display: none; /* Esconde o menu inicialmente */
    flex-direction: column;
}


.menu button {
    background: none;
    border: none;
    padding: 5px 10px;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
}

.menu button:hover {
    background: #ddd;
}

#fileInput {
    display: none;
}

.profile-header h1 {
    margin: 10px 0;
    font-size: 1.5rem;
}

.profile-header p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Divisão de linhas */
.profile-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 20px;
    gap: 20px;
}



.first-row, .second-row {
    display: flex;
    justify-content: space-between;
}

/* Seções */
section {
    flex: 1;
    padding: 15px;
    border-radius: 8px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

section h2 {
    margin-top: 0;
    font-size: 1.2rem;
    border-bottom: 2px solid white;
    padding-bottom: 5px;
}

/* Inputs e botões */
input, select, button {
    padding: 10px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    outline: none;
}

input, select {
    background-color: white;
    color: black;
}

input:focus, select:focus {
    box-shadow: 0 0 5px #00b766;
}

.save-btn {
    background-color: #00b766;
    color: black;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.save-btn:hover {
    color: white;
    transition: 0.5s ease;
}


.editProfileForm {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.changePasswordForm {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ===== Tema Claro ===== */

body.light-theme .profile-container {
    background-color: #4b9f6f;

}

body.light-theme .save-btn {
    background-color: #6fc981;
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.2);
    color: white;
}

body.light-theme .save-btn:hover {
    background-color: #2e7c4f;
    color: white;
}