/* ===== USER BAR ===== */
#myh-user-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  padding: 8px 24px;
  background: linear-gradient(135deg, #6B4FBB, #00C2C7);
  font-size: 13px;
  color: #fff;
}

#myh-user-bar .myh-user-bar-name {
  font-weight: 500;
  color: #fff;
}

#myh-user-bar .myh-user-bar-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

#myh-user-bar .myh-user-bar-actions a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

#myh-user-bar .myh-user-bar-actions a:hover {
  color: #fff;
}

#myh-user-bar .myh-logout {
  background: rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600 !important;
}

#myh-user-bar .myh-logout:hover {
  background: rgba(255,255,255,0.35) !important;
}







/* ===== REGISTER FORM ===== */
#register-page #signup-form {
  max-width: 480px;
  margin: 0 auto;
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

/* Labels & Legends */
#signup-form label,
#signup-form legend {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
  display: block;
  padding: 0;
  float: left;
  width: 100%;
}

/* Inputs */
#signup-form input[type="text"],
#signup-form input[type="email"],
#signup-form input[type="password"] {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.2s;
  box-sizing: border-box;
  margin-top: 4px;
  margin-bottom: 4px;
}

#signup-form input:focus {
  border-color: #0073e6;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,115,230,0.1);
}

/* Fieldset reset */
#signup-form fieldset {
  border: none;
  padding: 0;
  margin: 0 0 16px 0;
}

/* Submit Button */
#signup-form .submit input[type="submit"] {
  width: 100%;
  padding: 12px;
  background: #0073e6;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 16px;
  transition: background 0.2s;
}

#signup-form .submit input[type="submit"]:hover {
  background: #005bb5;
}

/* BuddyBoss Server Error Messages */
#signup-form .bp-messages.bp-feedback.error {
  display: flex !important;
  align-items: center;
  gap: 8px;
  background: #fff5f5;
  border-left: 3px solid #e05555;
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #e05555;
}

#signup-form .bp-messages.bp-feedback.error .bp-icon {
  display: none;
}

#signup-form .bp-messages.bp-feedback.error p {
  margin: 0;
  font-size: 13px;
  color: #e05555;
}

#signup-form .bp-messages.bp-feedback.error:empty,
#signup-form .error:not(:has(p:not(:empty))) {
  display: none !important;
}

/* Checkbox */
#signup-form .input-options.checkbox-options {
  margin: 16px 0 8px;
}

#signup-form .bp-checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

#signup-form .bp-checkbox-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 0;
  cursor: pointer;
  accent-color: #0073e6;
}

#signup-form .bp-checkbox-wrap .option-label {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  color: #555;
}



/* ===== BUDDYBOSS COMMUNITY ===== */

/* Group Cards */
#buddypress .bp-list.grid .list-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #eee !important;
}

#buddypress .bp-list.grid .list-wrap:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(107,79,187,0.12);
}

/* Card Meta Text */
#buddypress .bp-list .item-meta,
#buddypress .bp-list .item p {
  font-size: 12px;
  color: #888;
}

/* Group Card Buttons - simpel */
#buddypress .bp-list .action a,
#buddypress .bp-list .action button {
  background: #fff;
  border: 1.5px solid #6B4FBB;
  color: #6B4FBB !important;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  display: inline-block;
}

#buddypress .bp-list .action a:hover,
#buddypress .bp-list .action button:hover {
  background: #6B4FBB;
  color: #fff !important;
}

/* Nav Tabs */
#buddypress #object-nav ul li a,
#buddypress #subnav ul li a {
  font-size: 13px;
  color: #555;
  transition: color 0.2s;
}

#buddypress #object-nav ul li.current a,
#buddypress #subnav ul li.current a {
  color: #6B4FBB;
  border-bottom: 2px solid #6B4FBB;
}

/* Request Access / Generic Buttons - simpel */
#buddypress .generic-button a,
#buddypress .generic-button button {
  background: #6B4FBB;
  border: none;
  border-radius: 20px;
  color: #fff !important;
  padding: 8px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
  display: inline-block;
}

#buddypress .generic-button a:hover,
#buddypress .generic-button button:hover {
  opacity: 0.85;
}

/* Send Request Button */
#buddypress .standard-form input[type="submit"] {
  background: #6B4FBB;
  border: none;
  border-radius: 20px;
  color: #fff;
  padding: 8px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

#buddypress .standard-form input[type="submit"]:hover {
  opacity: 0.85;
}

/* Group Title lesbar */
#buddypress #item-header h2,
#buddypress #item-header h2 a {
  color: #222 !important;
  text-shadow: none !important;
}

/* Textarea */
#buddypress .standard-form textarea {
  width: 100%;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

#buddypress .standard-form textarea:focus {
  border-color: #6B4FBB;
  outline: none;
  box-shadow: 0 0 0 3px rgba(107,79,187,0.1);
}

/* Search Bar */
/* Search Input margin fix */
#buddypress .bp-dir-search-form input[type="search"] {
  margin: 0 !important;
}

#buddypress .subnav-search {
  margin-bottom: 0 !important;
}

#buddypress .subnav-filters {
  margin-bottom: 0 !important;
}



#buddypress #item-header-content .group-actions-absolute {
  margin: 8px 0;
}

#buddypress #item-header-content .bp-group-meta-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

#buddypress #item-header-content .last-activity {
  font-size: 13px;
  color: #888;
  list-style: none;
}


#buddypress #item-header-content .last-activity::before,
#buddypress #item-header-content .bp-group-meta-wrap p::before {
  content: none !important;
}

#buddypress .bp-group-meta-wrap .last-activity {
  padding-left: 0 !important;
}

#buddypress .bp-group-meta-wrap .last-activity::marker {
  display: none;
}
