/* Estilos específicos da página de perfil */

/* Perfil */
.profile-overview {
    text-align: center;
}

.profile-card {
    background: var(--light-background);
    border: 1px solid var(--border-color);
    padding: 1rem;
    width: 300px;
    box-sizing: border-box;
    text-align: center;
    border-radius: 10px;
    margin: 0 auto;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.edit-profile-button {
    margin-top: 1rem;
    background: var(--button-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    border-radius: 10px;
}

.edit-profile-button:hover {
    background: #347ed3;
}

.profile-details {
    margin-top: 2rem;
}

.profile-details h2 {
    text-align: center;
    margin-bottom: 1rem;
}

#profile-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

#profile-form label {
    font-size: 1rem;
}

#profile-form input,
#profile-form textarea {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: var(--light-background);
    color: var(--text-color);
}

#profile-form textarea {
    resize: vertical;
    height: 100px;
}

.save-button {
    align-self: flex-end;
    background: var(--button-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    border-radius: 10px;
}

.save-button:hover {
    background: #347ed3;
}

.recent-activities {
    margin-top: 2rem;
}

.recent-activities h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.recent-activities ul {
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.recent-activities li {
    background: var(--light-background);
    border: 1px solid var(--border-color);
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 5px;
}

/* Oculta detalhes do perfil por padrão */
.hidden {
    display: none;
}

/* Chat Dialog */
.chat-dialog {
    display: none;
    position: fixed;
    bottom: 0;
    right: 20px;
    width: 300px;
    max-width: 90%;
    background: var(--light-background);
    border: 1px solid var(--border-color);
    border-radius: 10px 10px 0 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.chat-dialog-content {
    padding: 1rem;
}

.close-button {
    float: right;
    cursor: pointer;
}

.chat-messages {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 0.5rem;
    background: #fff;
    color: black;
}

.chat-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

.chat-send-button {
    margin-top: 0.5rem;
    width: 100%;
    background: var(--button-color);
    color: white;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    border-radius: 5px;
}

.chat-send-button:hover {
    background: #347ed3;
}