/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    transition: background-color 0.3s, color 0.3s;
}

header {
    background-color: #007bff;
    padding: 20px;
    color: white;
    text-align: center;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

header nav ul li a.active {
    text-decoration: underline;
}

.profile-section {
    width: 80%;
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.profile-pic {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
}

.edit-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 10px;
}

.edit-btn:hover {
    background-color: #0056b3;
}

.settings {
    margin-top: 30px;
}

.settings h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.settings ul {
    list-style: none;
    padding: 0;
}

.settings ul li {
    margin: 10px 0;
}

.settings button {
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
}

.settings button:hover {
    background-color: #0056b3;
}

.edit-profile-form {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #f4f7fb;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.edit-profile-form input {
    padding: 10px;
    margin-bottom: 20px;
    width: 80%;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.edit-profile-form button {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.edit-profile-form button:hover {
    background-color: #0056b3;
}

footer {
    text-align: center;
    margin-top: 40px;
    font-size: 1rem;
    background-color: #007bff;
    color: white;
    padding: 10px;
}

footer p {
    margin: 0;
}

/* Dark Mode */
body.dark-mode {
    background-color: #333;
    color: white;
}

body.dark-mode header {
    background-color: #0056b3;
}

body.dark-mode .settings button {
    background-color: #0056b3;
}

body.dark-mode .edit-profile-form {
    background-color: #444;
}

body.dark-mode .edit-profile-form input {
    background-color: #555;
    color: white;
    border: 1px solid #444;
}
