body {
  background: #ffffff;
}
.profile-dashboard-olive {
  min-height: 100vh;
  background: #ffffff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem 0 2rem 0;
}
.profile-card-olive {
  background: #fff;
  border-radius: 2rem;
  box-shadow: 0 4px 32px rgba(52, 52, 52, 0.10);
  display: flex;
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
}
.profile-sidebar-olive {
  background: #fff;
  min-width: 260px;
  max-width: 300px;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-right: 4px solid #1E5359;
  box-shadow: 2px 0 12px rgba(166, 82, 63, 0.04);
}
.profile-logo-olive {
  width: 120px;
  margin: 0 auto 2rem auto;
}
.profile-logo-olive img {
  width: 100%;
  border-radius: 1rem;
}
.profile-menu-olive {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
  margin-bottom: 2.5rem;
}
.profile-menu-olive a {
  color: #1E5359;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1rem;
  border-radius: 0.7rem;
  transition: background 0.2s, color 0.2s;
}
.profile-menu-olive a.active, .profile-menu-olive a:hover {
  background: #78d2b1;
  color: #1E5359;
}
.profile-menu-olive .icon {
  font-size: 1.2rem;
}
.profile-sidebar-bottom-olive {
  margin-top: auto;
  width: 100%;
  text-align: center;
}
.profile-avatar-olive img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.5rem auto;
}
.profile-name-olive {
  font-weight: 700;
  color: #1E5359;
  margin-bottom: 0.2rem;
}
.profile-role-olive {
  color: #1E5359;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.logout-btn-olive {
  display: block;
  width: 100%;
  background: #1E5359;
  color: #fff;
  border: none;
  border-radius: 0.7rem;
  padding: 0.7rem 0;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.logout-btn-olive:hover {
  background: #7A3B2E;
}
.profile-main-olive {
  flex: 1;
  padding: 2.5rem 2.5rem 2.5rem 2rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.profile-header-olive {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.profile-welcome-olive h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1E5359;
  margin-bottom: 0.2rem;
}
.profile-date-olive {
  color: #1E5359;
  font-size: 0.95rem;
}
.profile-header-icons-olive {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.profile-header-avatar-olive img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.profile-cover-olive {
  position: relative;
  width: 100%;
  height: 350px;
  min-height: 220px;
  overflow: hidden;
  border-radius: 1.5rem;
  background: none;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 0;
}
.profile-cover-olive img#coverImagePreview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
}
.profile-cover-olive > *:not(img#coverImagePreview) {
  position: relative;
  z-index: 1;
}
.edit-cover-btn-olive {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: #1E5359;
  color: #fff;
  border: none;
  border-radius: 0.7rem;
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(52, 52, 52, 0.10);
  transition: background 0.2s;
}
.edit-cover-btn-olive:hover {
  background: #1a7f5a;
}
.profile-avatar-large-olive {
  position: absolute;
  left: 2.5rem;
  bottom: 1.5rem;
  transform: translateY(50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(52, 52, 52, 0.10);
}
.profile-avatar-large-olive img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}
.profile-username-large-olive {
  margin-left: 50px;
  margin-right: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1E5359;
  margin-bottom: 0.2rem;
  margin-top: 1.2rem;
}
.profile-bio-olive {
  margin-left: 50px;
  color: #1E5359;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  margin-right: 1rem;

  /* Ensure long bios or unbroken strings wrap instead of overflowing */
  word-wrap: break-word;
  overflow-wrap: anywhere;
  white-space: pre-line;
  max-width: 100%;
}
.profile-actions-olive {
  margin-left: 50px;
  display: flex;
  gap: 1rem;
}
.save-btn-olive {
  background: #1E5359;
  color: #fff;
  border: none;
  border-radius: 0.7rem;
  padding: 0.6rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.save-btn-olive:hover {
  background: #1a7f5a;
}
.cancel-btn-olive {
  background: #fff;
  color: #1E5359;
  border: 1.5px solid #1E5359;
  border-radius: 0.7rem;
  padding: 0.6rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cancel-btn-olive:hover {
  background: #1E5359;
  color: #fff;
}
.profile-form-olive {
  background: #fff;
  border-radius: 1.2rem;
  padding: 2rem 2rem 1.5rem 2rem;
  box-shadow: 0 2px 8px rgba(52, 52, 52, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.profile-form-row-olive {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

}
.profile-form-row-olive label {
  font-weight: 600;
  color: #1E5359;
}
.profile-form-row-olive input,
.profile-form-row-olive textarea {
  padding: 0.7rem 1rem;
  border-radius: 0.7rem;
  border: 1px solid #1E5359;
  background: #fff;
  font-size: 1rem;
  resize: none;
}
.profile-form-row-olive input:focus,
.profile-form-row-olive textarea:focus {
  outline: 2px solid #1E5359;
}


@media (max-width: 700px) {
body {
    background: #f7f7f7;
  }
.profile-dashboard-olive {
    flex-direction: column !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    align-items: flex-start !important;
  }
.profile-card-olive {
    width: 100vw !important;
    min-width: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    background: none !important;
    display: flex;
    flex-direction: column;
    align-items: stretch;
 }
.profile-sidebar-olive {
    position: relative;
    width: 92vw !important;
    max-width: 340px;
    min-width: 0 !important;
    border-radius: 1.5rem !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 2.2rem 1.2rem 1.2rem 1.2rem !important;
    margin: 1.2rem auto 1.2rem auto !important;
    background: #fff !important;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
 }
.profile-logo-olive img {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50%;
    margin-bottom: 0.7rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }
.profile-user-info-mobile {
    text-align: center;
    margin-bottom: 1.2rem;
 }
.profile-user-info-mobile .profile-name-olive {
    font-size: 1.2rem !important;
    font-weight: 700;
    color: #1E5359;
  }
.profile-user-info-mobile .profile-role-olive {
    font-size: 1rem !important;
    color: #888;
    margin-bottom: 0.2rem;
}
.profile-menu-olive {
    display: flex;
    flex-direction: column !important;
    gap: 0.5rem !important;
    width: 100%;
    margin-bottom: 1.5rem !important;
  }
.profile-menu-olive a {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-size: 1.08rem !important;
    color: #343434;
    padding: 0.7rem 1rem;
    border-radius: 0.8rem;
    transition: background 0.2s, color 0.2s;
    font-weight: 500;
    text-decoration: none;
  }
.profile-menu-olive a.active, .profile-menu-olive a:hover {
    background: #fff;
    color: #1E5359;
  }
.profile-menu-olive .icon {
    font-size: 1.3rem;
    color: #1E5359;
    width: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
  }
.profile-sidebar-bottom-olive {
    display: none;
  }
.profile-main-olive {
    width: 100vw !important;
    margin: 0 auto !important;
    padding: 0 0.5rem !important;
    background: none !important;
  }
}

/* Profile Actions */
.profile-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 18px;
}

.ig-follow-btn {
    background: #F2D50F;
    color: #333;
    border: none;
    border-radius: 8px;
    padding: 8px 28px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.ig-follow-btn:hover {
    background: #e8c409;
}

.ig-chat-btn {
    background: white;
    color: #666;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 8px 28px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ig-chat-btn:hover {
    background: #f8f9fa;
    color: #333;
    border-color: #bbb;
}

.Followers-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.Follower {
    text-align: center;
}

.Follower-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: #222;
}

.Follower-label {
    font-size: 0.95rem;
    color: #888;
    margin-top: 2px;
}

/* Profile Stats */
.profile-stats {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-count {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

/* Message Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 10% auto;
    padding: 2rem;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.close:hover {
    color: #333;
}

#messageContent {
    width: 100%;
    min-height: 100px;
    margin: 1rem 0;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
}

/* Notifications */
.notifications-dropdown {
    position: fixed;
    top: 4.5rem;
    right: 1rem;
    width: 300px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.notifications-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.notifications-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

#markAllRead {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    font-size: 0.9rem;
}

.notifications-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.notification-item.unread {
    background-color: #f0f7ff;
}

.notification-content {
    margin-bottom: 0.5rem;
}

.notification-time {
    font-size: 0.8rem;
    color: #666;
}

.my-business-btn-olive {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #e6f9f0;
  color: #1a7f5a;
  border: 1.5px solid #1a7f5a;
  border-radius: 6px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  font-size: 1rem;
  margin: 0.5rem 0 0.5rem 0;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.my-business-btn-olive:hover {
  background: #1a7f5a;
  color: #fff;
  border: 1.5px solid #1a7f5a;
}



/*
.btn-delete-account {
  background-color: #dc3545 !important;
  color: #fff !important;
  border: none;
  border-radius: 0.7rem;
  padding: 0.7rem 0;
  font-weight: 700;
  font-size: 1rem;
  width: 100%;
  margin-top: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-delete-account:hover {
  background-color: #b52a37 !important;
  color: #fff !important;
} */
