#profile-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/your-profile-image.jpg') no-repeat center center; /* Replace with your profile specific banner image */
    background-size: cover;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    position: relative;
}

#profile-hero h1 {
    font-family: 'Kaushan Script', cursive;
    font-size: 60px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

.profile-section {
    width: 80%;
    margin: auto;
    padding: 50px 0;
}

.profile-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.profile-sidebar {
    flex-basis: 300px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.profile-sidebar .profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: block;
    background: #ccc; /* Placeholder */
}

.profile-sidebar h3 {
    text-align: center;
    margin-bottom: 20px;
}

.profile-main {
    flex-grow: 1;
}

.profile-info, .profile-settings {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.profile-settings h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.profile-settings .setting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.profile-settings .setting label {
    font-weight: bold;
}

/* Simple toggle switch */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #c7a910ff;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

/* Styles for Profile Page Enhancements */

.btn-primary {
    display: inline-block;
    background: #c7a910ff;
    color: #fff;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
    transition: background 0.3s;
    margin-top: 20px;
}

.btn-primary:hover {
    background: #b39700;
}

#update-form-container {
    margin-top: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

#profile-update-form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

#profile-update-form input[type="text"],
#profile-update-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#updateStatus {
    margin-top: 15px;
    font-weight: bold;
}

#badges-container .badge-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

#badges-container .badge-item h3 {
    margin: 0;
    font-size: 1.2em;
}

#badges-container .badge-item p {
    margin: 0 0 0 15px;
    font-size: 1em;
    color: #555;
}