body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f4f4f4;
}
  /* Navbar */
  .fixed-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to right, #2A0E61, #1B1E4B);

    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

    

}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;

    
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    margin-right: 10px;
}

.logo-text a {
    text-decoration: none; /* Remove underline */
    color: white; /* Keep the same text color */
    font-weight: bold; /* Make it bold */
    font-size: 20px; /* Adjust the font size */
}

.logo-text a:hover {
    color: #c8d2dd; /* Change color on hover */
    transition: 0.3s ease-in-out;
}


.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    text-decoration: none;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    transition: color 0.3s ease-in-out, font-size 0.3s ease-in-out;
}

/* Hover Effect */
.nav-links a:hover {
    color: #ffcc00; /* Changes text color on hover */
    font-size: 19px; /* Slightly increases font size */
    text-decoration: none;
}


/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background: #cca7e7;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Container */
.container {
    margin-top: 180px;
    width: 600px;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Heading */
h2 {
    text-align: center;
    color: #6a0dad;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-bottom: 20px;
}

.profile-section img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #6a0dad;
}

/* Account Details */
.account-details p {
    font-size: 16px;
    font-weight: 500;
    color: #555;
}

.account-details input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #f4f3ff;
    transition: border-color 0.3s ease-in-out;
}

.account-details input:focus {
    border-color: #6a0dad;
    outline: none;
}

/* Buttons */
button {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    border: none;
    background: #6a0dad;
    color: white;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #5a0099;
}

/* Edit & Save Button Layout */
.button-container {
    display: flex;
    justify-content: space-between;
}

.button-container button {
    width: 48%;
}

/* Logout Button */
#logout-btn {
    background: #ffbe00;
    color: #333;
}

#logout-btn:hover {
    background: #d9a600;
}
