/* 
Theme Name: COB
Template: generatepress
GitHub Theme URI: https://github.com/career-on-board/cob
Version: 5.4.4
Text Domain: cob
*/
 
/*
    Add your custom styles here
*/

.title_personal_profile {
	color: #E60D64;
	font-size: xx-large;
	font-weight: bold;
}

.gfield_required_asterisk {
	color: #E60D64;
}

input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea, .iti__country-container, .iti__selected-country
 {
	display: inline-block;
    /* height: 4.5em !important; */
    border: 1px solid #7e86aa !important;
    padding: 8px;
    font-size: 16px !important;
    line-height: normal;
    color: #051143;
    background-color: #ffffff !important;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);

}

.iti .iti__selected-country {
	background-color: white !important;
}

.cob-form {
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
  box-sizing: border-box;
}

/* Mycommunities */


.community-box {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  padding: 12px;
  display: flex;
  flex-direction: column;
   justify-content: space-between;
  align-items: stretch;
  text-align: right;
  margin: 0;
  min-height: 100%; 
  position: relative;
}

@media (max-width: 768px) {
  .community-box {
    padding: 8px;
  }
}

.community-content {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  text-align: right;
	flex-direction: row;
}

.community-logo {
  max-width: 80px;
  height: auto;
  flex-shrink: 0;
}

.community-text {
  flex-grow: 1;
}

.community-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 6px;
}

.community-audience,
.community-benefits {
  font-size: 14px;
  margin-bottom: 4px;
  color: #333;
}

.community-join-button {
  margin-top: 16px;
  padding: 8px 16px;
  background-color: #ffffff;
  color: #E60D64;
  border: 2px solid #E60D64;
  border-radius: 8px !important;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  width: 100%;
  max-width: 250px;
  align-self: center;
  white-space: nowrap;
  margin-top: auto;
  margin-bottom:3px;
}

.community-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}

.community-logo-placeholder {
  background-color: #eee;
}

.wp-block-columns {
  gap: 0;
}
.wp-block-column[style*="flex-basis:75%"] {
  padding-right: 0 !important;
}
.community-grid-title {
  text-align: right;
  margin: 0 !important;
  padding-right: 1.5rem;
  font-size: 20px;
}

.region_dropdown_class {
	width: 100%;
}

/* Container for the actions row */
.community-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  position: relative;
}

/* The 3-dot button */

.community-menu-button {
  background-color: #ccc;
  color: #555;
  border: none;
  border-radius: 6px;
  width: 42px;
  height: 38px;
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
	padding-bottom: 4px;
}


/* Wrapper for positioning */
.community-menu-wrapper {
  position: relative;
}

/* The popup menu */
.community-menu-popup {
  display: none; 
  position: absolute;
  bottom: 45px;
  right: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border-top-right-radius: 24px;
  border-top-left-radius: 0;
  border-bottom-right-radius: 24px;
  border-bottom-left-radius: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 5;
  min-width: 220px;
  padding: 8px 0;
	overflow: hidden;
}

/* Individual menu links */
.community-menu-popup a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
}

/* Hover effect */
.community-menu-popup a:hover {
  background-color: #f7f7f7;
}

.community-boxes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 20px;
}


@media (max-width: 768px) {
  .community-boxes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .community-box {
    padding: 10px;
    min-height: unset;
  }

  .community-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .community-logo {
    width: 60px;
    height: 60px;
    max-width: 60px;
    object-fit: contain;
    margin: 0 auto;
  }

  .community-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .community-name {
    font-size: 15px;
  }

  .community-audience,
  .community-benefits {
    font-size: 13px;
    margin-bottom: 2px;
  }

  .community-join-button {
    font-size: 13px;
    padding: 6px 10px;
    max-width: 100%;
  }

  .community-menu-button {
    display: none !important;
  }

  .community-actions-row {
    justify-content: center;
  }
}

.community-menu-popup a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.community-menu-popup a .menu-icon {
  height: 16px;
  width: auto;
}

.joined-communities {
  font-weight: bold;
  text-align: right;
}

.community-name a {
  color: inherit;
  text-decoration: none;
}

.community-name a:hover {
  text-decoration: underline;
}

.community-leave-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 14px;
  color: #333;
  background-color: #fff;
  border: none;
  width: 100%;
  text-align: right;
  cursor: pointer;
  border-radius: 0; 
  transition: background-color 0.2s ease;
}

.community-leave-button:hover {
  background-color: #f7f7f7;
}

.community-leave-button .menu-icon {
  height: 16px;
  width: auto;
}

.default-logo {
  width: 80px;
  height: 80px;
  margin-top: 5px;
  padding-bottom: 5px;
}

.user-joined-communities {
  padding: 0;
  list-style: none;
  direction: rtl;
  text-align: right;
}

.user-joined-communities li {
  margin-bottom: 10px;
  text-align: right;
}

.user-joined-communities li a {
  font-size: 16px;
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

.user-joined-communities li a:hover {
  text-decoration: underline;
}

.joined-communities-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
  direction: rtl;
  text-align: right;
  align-items: flex-start;
}

.joined-community-item {
  display: flex;
  flex-direction: row-reverse; 
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  gap: 12px; 
  text-align: right;
}

.joined-community-text {
  text-align: right;
  font-size: 16px;
  color: #222;
}

.joined-community-title {
  font-weight: bold;
  font-size: 16px;
}

.joined-community-logo {
  background-color: #f5f5f5;
  padding: 6px;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  margin: 0 !important;
}

.wp-block-column.is-layout-flow {
  padding-left: 20px;
}

.joined-communities-container {
  padding-left: 20px;
  text-align: right;
}

.wp-block-search__input {
    padding-left: 0 !important;
    padding-inline-start: 0 !important;
  }

.coming-soon-section img {
  width: 100%;
  height: 200px !important;
  object-fit: cover;
  opacity: 1;
  display: block;
  margin: 0 auto;
}
.coming-soon-section {
  height: 300px;
}

.coming-soon-title,
.coming-soon-subtitle {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 80px;
  color: white;
}

.coming-soon-title {
  font-size: 65px;
}
.coming-soon-subtitle {
  font-size: 22px; 
}

.wp-block-column.is-layout-flow.wp-block-column-is-layout-flow[style*="flex-basis:75%"] {
  /* background-image: url('/wp-content/uploads/2025/07/background-comingsoon.webp'); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* My communities - mobile */

@media (max-width: 782px) {
  .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow[style*="flex-basis:25%"] {
    display: none !important;
  }
}
@media (max-width: 782px) {
  .mycommunitiesMobile {
    display: none !important;
  }
}

.community-mobile-search {
  display: none;
}

@media (max-width: 768px) {
  .community-mobile-search {
    display: block !important;
  }
}

.go-to-my-communities-mobile {
  display: none;
}

@media (max-width: 768px) {
  .go-to-my-communities-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px; 
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    padding: 6px 16px;
    font-size: 16px;
    margin: 16px auto;
    width: 220px; 
    transition: all 0.2s ease-in-out;
  }

  .go-to-my-communities-mobile,
  .go-to-my-communities-mobile:focus,
  .go-to-my-communities-mobile:active,
  .go-to-my-communities-mobile:visited {
    background-color: #ffffff !important;
    color: #444444cc !important;
    border: 1px solid #7e86aa !important;
    outline: none !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075) !important;
    text-decoration: none !important;
  }

  .go-to-my-communities-icon {
    height: 1.5em;
    width: auto;
  }

  html {
    scroll-behavior: smooth;
  }
}

.wp-block-search__input {
  padding-right: 12px !important;
  padding-left: 12px !important;
}


.mobile-joined-wrapper {
  display: none;
}

@media (max-width: 768px) {
  .mobile-joined-wrapper {
    display: block;
    margin-top: 40px;
  }
	.community-join-button.joined {
  background-color: #c20b55;
  color: white;
  border-color: #c20b55;
  cursor: default;
}
}

#no-results-message {
  grid-column: 1 / -1;
  justify-self: center;
  text-align: center;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 0px;
}

/*Profile - Mobile*/
.accordion-button {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 16px;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.accordion-button:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.accordion-button img {
  width: 32px;
  height: 32px;
  margin-left: 12px;
  flex-shrink: 0;
}

.accordion-text {
  text-align: right;
  flex: 1;
}

.accordion-text .title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.accordion-text .subtitle {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
  margin-top: 4px;
}

@media (min-width: 768px) {
  .accordion-button {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .accordion-button {
    display: flex;
  }
}

@media (max-width: 767px) {
  .community-section {
    visibility: hidden;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }
}

@media (max-width: 767px) {
  .cv-block {
    visibility: hidden;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }
}


@media (max-width: 767px) {
  .skills-block {
    visibility: hidden;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }
}

@media (max-width: 767px) {
  .gb-element-825b4cb9.skills-assignment {
    margin-top: 80px;
  }
	.skills-asign-form {
    display: block !important;
  }
	.gb-container-3a930a7f {
  padding-bottom: 0 !important;
}
	.gb-container-193e93c7 {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
	
	.gb-container.gb-container-193e93c7,
.gb-container.gb-container-26de3a7a {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.gb-element-b149eef4 {
    display: none !important;
  }
	
}

@media (max-width: 767px) {
	.gb-element-825b4cb9 .select2-container {
    margin-top: 20px !important;
}
	
.site-content {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }
	
	 p.has-medium-font-size {
    padding-right: 20px;
    padding-left: 20px;
  }
  }

/* jobed-liked */

.loved-jobs-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px; 
  padding: 40px 20px;
  direction: rtl;  
  grid-template-columns: 1fr;
}

.loved-job-box {
  width: 70%;
  display: flex;
  gap: 20px;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 24px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  background-color: #f5f5f5;
}

.job-logo img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
}

.job-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.job-title {
  font-weight: bold;
  font-size: 16px;
  color: #e60d64;
  text-decoration: none;
  flex: 1;
  margin-left: 12px;
}

.unlove-button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: #e60d64;
  padding: 0;
}

.job-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.job-categories {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
}

.page-id-1977042 h1.entry-title {
  display: none !important;
}
.loved-jobs-header {
  background: linear-gradient(to bottom, #f8f8f8, #f0f0f0);
  padding: 40px 20px 20px;
  text-align: center;
  position: relative;
}

.loved-jobs-title {
  font-size: 28px;
  font-weight: bold;
  color: #374151;
  margin-bottom: 20px;
}

.toggle-search-button {
  width: 40px;
  height: 40px;
  background-color: #ec0e6d;
  border: none;
  border-radius: 2px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  transition: transform 0.3s;
}

.toggle-search-button:hover {
  background-color: #cc0c5f;
}

.toggle-search-button.open {
  transform: rotate(180deg);
}

.loved-search-wrapper {
  background-color: #ffffff;
  padding: 20px;
  border-top: 1px solid #ddd;
}


/*06/08/2025 */
.job-offer-loved-list .gb-container-link {
  display: block;
  max-width: 70%;
  margin: 0 auto 40px auto;
}
.job-offer-loved-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 40px 0;
}

.job-offer-loved-list .gb-container.alignfull {
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    column-gap: 20px;
    row-gap: 20px;
    position: relative;
    order: -1;
    padding: 15px 25px;
    margin-right: auto;
    margin-left: auto;
    border-radius: 16px;
    background-color: #f5f5f5;
}


.job-offer-wrapper .job-apply-wrapper {
  margin-top: 10px;
  justify-content: flex-end;
}

.job-apply-button {
  background-color: #E60D64;
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: 0.3s;
  margin-inline-start: 10px;
}

.job-apply-button:hover {
  background-color: #c70c57;
}

.job-apply-wrapper {
  text-align: left;
  margin-top: 15px;
	background-color: #f5f5f5;
	border-radius: 16px;
	padding-bottom: 15px;
}


.job-apply-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    flex-grow: 0;
    flex-shrink: 1;
    font-size: 18px;
    font-weight: normal;
    text-align: center;
    margin-top: auto;
    border-radius: 16px;
    border: 1px solid transparent;
    background-color: #e60d64;
    color: #fff !important;
    text-decoration: none;
    padding: 2px 4px;
    transition: background-color 0.3s ease;
    margin-left: 25px;
    margin-right: auto;
}


.job-apply-button:hover {
    background-color: #c30c56;
}

#remove-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.remove-backdrop {
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  inset: 0;
}

.remove-popup {
  position: relative;
  background: white;
  padding: 24px;
  border-radius: 12px;
  max-width: 300px;
  text-align: center;
  z-index: 1;
}

.popup-buttons {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

.popup-buttons button {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

#confirm-remove {
  background-color: #333;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 10px 24px;
  font-size: 16px;
  min-width: 80px;
  cursor: pointer;
}

#cancel-remove {
  background-color: white;
  color: #333;
  border: 2px solid #333;
  border-radius: 30px;
  padding: 10px 24px;
  font-size: 16px;
  min-width: 80px;
  cursor: pointer;
}

@media (max-width: 767px) {
  
 .job-offer-wrapper {
    padding: 16px;
    margin-bottom: 20px;
  }
 .gb-button.gb-button-9a832e59 {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 50px !important;
    height: 50px !important;
    font-size: 24px !important;
    z-index: 10;
  }

  .job-offer-wrapper {
    position: relative;
  }

  .job-offer-wrapper {
    font-size: 80%;
  }

  a.gb-button.gb-button-27dd207c.gb-button-text {
    min-width: 250px;
    padding: 2px 4px;
    font-size: 18px;
    border-radius: 16px;
    width: 100%;
    box-sizing: border-box;
    width: 70%;
    margin: 0 auto;
    display: block;
  }
	
  a.job-apply-button {
    width: 70%;
    display: block;
    margin: 12px auto 0;
  }

}

.empty-loved-jobs-box {
  text-align: center;
  padding: 40px 20px;
  border-radius: 20px;
  background-color: #f8f8f8;
  margin-top: 40px;
}

.empty-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.empty-title {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
}

.empty-description {
  font-size: 16px;
  margin-bottom: 20px;
  color: #333;
}

.empty-back-button {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid #e60d64;
  border-radius: 30px;
  color: #e60d64;
  background-color: white;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.empty-back-button:hover {
  background-color: #e60d64;
  color: white;
}


/*  Not Registered PopUp   */
.show_login_popup_div {
  background: white;
  padding: 1.5em;
  text-align: center;
  border-radius: 8px;
  max-width: 65%;
  margin: 1em auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.show_login_popup_image {
  width: 20%;
  height: auto;
}

.show_login_popup_div h1 {
  font-size: 2rem;
  margin-bottom: 0.5em;
}

.show_login_popup_div h2 {
  font-size: 1.5rem;
  color: #555;
  margin-bottom: 1em;
}

.show_login_popup_button {
  padding: 12px 24px;
  margin-top: 20px;
  background: #0073aa;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
  max-width: 250px;
  transition: background 0.3s ease;
}

.show_login_popup_button:hover {
  background: #005f8d;
}

/* Responsive for smaller screens */
@media (max-width: 480px) {
  .show_login_popup_div {
    padding: 1em;
    margin: 1em;
	  max-width: 80%;
	}

  .show_login_popup_div h1 {
    font-size: 1.7rem;
	font-weight: bold;
  }

  .show_login_popup_div h2 {
    font-size: 1.5rem;
	  font-weight: bold;
  }

  .show_login_popup_button {
    font-size: 1.3rem;
    padding: 10px 20px;
  }
}

/* Community Page*/

h1.entry-title {
  display: none;
}

.community-header {
  text-align: center;
}
.community-header .community-title {
  font-weight: bold;
}
#gform_wrapper_42 .gform_title {
  display: none;
}
.gform_wrapper .gfield--type-fileupload input[type="file"] { 
  display: none; 
}

.logo-upload-ui { 
  position: relative; 
  text-align: right; 
}

.logo-upload-ui .logo-circle {
  width: 120px; 
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  background: #f5f5f5;
  display: inline-block;
  vertical-align: middle;
}

.logo-upload-ui .logo-circle .logo-preview-img {
  width: 100%; 
  height: 100%;
  object-fit: cover; 
  display: block;
}

.logo-upload-ui .logo-plus {
  position: absolute; 
  bottom: -6px; 
  inset-inline-start: 86px;
  background: transparent;
  color: #E60D64;
  border: none;
  font-size: 24px;
  line-height: 1;
  box-shadow: none;
  width: auto;
  height: auto;
  border-radius: 0;
  cursor: pointer;
}

.logo-upload-ui .logo-upload-text { 
  margin-top: 8px; 
  font-weight: 600; 
}

.logo-upload-ui .logo-upload-text a { 
  color: inherit; 
  text-decoration: none; 
  cursor: pointer; 
}

.logo-upload-ui .logo-toast { 
  display: none; 
  margin-top: 8px; 
  font-weight: 600; 
  color: #1f9d55; 
}

.logo-upload-ui .logo-toast.show { 
  display: inline-block; 
}

body:has(#gform_42) .hero-logo-slot {
  position: relative;
  top: -70px;
  left: -145px;
  z-index: 2;
}

#gfield_upload_rules_42_25.gfield_description.gform_fileupload_rules {
  display: none !important;
}

h1.community-hero-title {
  font-weight: bold;
  text-align: center;
  margin: 20px;
}

p.community-hero-desc {
	text-align: center;
	font-size: 18px;
	padding-left: 40px;
	padding-right: 40px;
	margin-bottom: 0px;
}

.wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-9d6595d7 {
    margin-bottom: 0 !important;
}

#gform_submit_button_42 {
     background-color: #4FC3F7;
    color: #ffffff;
    font-weight: bold;
    border: none;
    width: 30% !important;
    padding: 8px !important;
    font-size: 16px;
    display: block;
    margin: 0 auto 20px auto;
	border-radius: 8px !important;


}


.gform_page_footer .gform_next_button {
    background-color: #ffffff !important;
    color: #4FC3F7 !important;
    font-weight: bold;
    border: 2px solid #4FC3F7 !important;
    width: 30% !important;
    padding: 8px !important;
    font-size: 16px;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 8px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center !important;
}

.gform_page_footer .gform_next_button:hover {
    background-color: #4FC3F7 !important;
    color: #ffffff !important;
}


.gform_page_footer {
  display: block !important;
  text-align: center;
}

.gform_page_footer .gform_previous_button {
    background-color: #ffffff !important;
    color: #4FC3F7 !important;
    font-weight: bold;
    border: 2px solid #4FC3F7 !important;
    width: 30% !important;
    padding: 8px !important;
    font-size: 16px;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 8px !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gform_page_footer .gform_previous_button:hover {
    background-color: #4FC3F7 !important;
    color: #ffffff !important;
}

.gf_progressbar_percentage {
    color: #1EB4E7 !important; 
}

/* logo- mobile */
@media (max-width: 767px) {
  body .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow[style*="flex-basis:25%"] {
    display: flex !important;
    flex-basis: 100% !important;
    max-width: 100% !important;
	justify-content: center !important;

  }
}


@media (max-width: 767px) {
  .hero-logo-slot {
    top: -40px !important;
    left: -145px !important; 
  }
	.hero-logo-slot {
    margin: 0 auto;
    left: 0 !important;
    right: 0 !important;
  }
	 .community-hero-title {
    margin: 0 !important;
  }
}



@keyframes gfFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.jm-dashboard-job-column.phone {
	white-space: nowrap !important;
	direction: ltr !important;
	
}

.jm-dashboard-job-column.email {
	white-space: nowrap !important;
}

.jm-dashboard-job-column.user_checkbox {
	max-width: 15px;
}

.jm-dashboard-job-column.like {
	max-width: 25px;
}
.jm-dashboard-job-column.match_precentage {
	max-width: 45px;
}

.community-contact-section h3 {
  font-weight: bold;
  margin-bottom: 8px;
	font-size: 24px;
}

.community-contact-section p {
  margin: 0;
}

.community-contact-section {
  /* background-color: #f2f2f2; */
  text-align: center;
  display: block;
  width: fit-content;
  max-width: 90%;
  padding: 16px 24px;
  border-radius: 6px;
  margin: 20px auto;
	margin-bottom: 0px;
}
#custom-alert {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
}

.custom-alert-box {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  z-index: 10000;
}

.custom-alert-btn {
  margin-top: 16px;
  background: #E60D64;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

.gb-media-1cd09624 {
  width: 100% !important;
}


/* communities created list */
.communities-created-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.communities-created-list li {
  background-color: #f2f2f2;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: all 0.2s ease;
}

.communities-created-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.communities-created-list li .community-name {
  font-size: 18px;
  color: #051143;
  margin-bottom: 6px;
  display: block;
}

.communities-created-list li .community-id {
  font-size: 14px;
  color: #666;
}

ul.communities-created-list li {
  font-weight: bold !important;
  font-size: 18px;
  color: #051143;
}

.my-created-communities h2 {
  text-align: center;
  font-weight: bold;
  font-size: 32px;
  margin-bottom: 24px;
}



/* Edit community */
#edit-community-form {
  max-width: 900px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

#edit-community-form .row {
  display: grid;
  gap: 20px;
  margin-bottom: 25px;
}

#edit-community-form .row-1 {
  grid-template-columns: 1fr 1fr;
}

#edit-community-form .row-2,
#edit-community-form .row-3 {
  grid-template-columns: 1fr;
}

#edit-community-form .row-4,
#edit-community-form .row-5 {
  grid-template-columns: 1fr 1fr;
}


#edit-community-form .row-6 {
  grid-template-columns: 1fr 1fr 1fr;
}

#edit-community-form .row-6b {
  grid-template-columns: 1fr 2fr;
}

#edit-community-form .row-7,
#edit-community-form .row-8 {
  grid-template-columns: 1fr 1fr;
}

#edit-community-form .field label {
  display: block;
  margin-bottom: 6px;
  color: #54595f;
  font-weight: normal !important;
}

#edit-community-form .field input,
#edit-community-form .field textarea,
#edit-community-form .field select {
  width: 100%;
  padding: 10px;
  border: 1px solid #7e86aa;
  border-radius: 6px;
  font-size: 14px;
  color: #051143;
  background-color: #fff;
  box-sizing: border-box;
}


#edit-community-form .field textarea {
  min-height: 120px;
  resize: vertical;
}

#edit-community-form .section-title {
  font-size: 18px;
  font-weight: bold;
  margin: 30px 0 15px;
  color: #051143;
  text-align: right;
}

#edit-community-form .form-actions {
  text-align: center;
  margin-top: 30px;
}

#edit-community-form .form-actions button {
  background-color: #E60D64;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#edit-community-form .form-actions button:hover {
  background-color: #c10b52;
}

.banner-wrapper {
  position: relative;
}
#community-logo-ui .logo-circle {
  margin-right: 60px;
  margin-top: -70px;
}

#edit-community-form {
  margin-top: 80px;
}

@media (min-width: 769px) {
  .logo-upload-text a {
    white-space: pre;
  }
}

#edit-community-form .section-title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #54595f;
  margin-top: 55px;
}

@media (max-width: 768px) {
  #edit-community-form .row {
    display: block;
    margin: 0 15px;
  }

  #edit-community-form .field {
    width: 100%;
    margin-bottom: 20px;
  }

  #edit-community-form input,
  #edit-community-form textarea,
  #edit-community-form select {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  #community-logo-ui {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px auto;
	margin-top: -60px !important;
	padding: 10px;
  }

  #community-logo-ui .logo-circle {
    margin: 0;
  }

  #community-logo-ui .logo-upload-text,
  #community-logo-ui .logo-toast {
    text-align: center;
    margin: 10px 0 0 0;
  }
}

#edit-community-form {
  max-width: 900px;
}

.community-contact-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: #54595f;
  margin: 10px 0 20px;
  text-align: center;
}

#edit-community-form .msr {
  position: relative;
  width: 100%;
  font-size: 14px;
  color: #333;
}

#edit-community-form .msr-trigger {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  min-height: 38px;
  cursor: text;
}

#edit-community-form .msr.open .msr-trigger {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: #999;
}

#edit-community-form .msr-badge {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

#edit-community-form .msr-badge .chip {
  background: #e9ecef;
  border-radius: 3px;
  padding: 3px 8px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #333;
}

#edit-community-form .msr-badge .chip button {
  border: none;
  background: transparent;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  color: #555;
}

#edit-community-form .msr-badge .chip button:hover {
  color: #000;
}

#edit-community-form .msr-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  border: 1px solid #ccc;
  border-top: 0;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  max-height: 220px;
  overflow-y: auto;
  display: none;
}

#edit-community-form .msr.open .msr-panel {
  display: block;
}

#edit-community-form .msr-panel label {
  display: block;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
}

#edit-community-form .msr-panel label:hover {
  background: #f1f3f5;
}

#edit-community-form .msr-panel label.active,
#edit-community-form .msr-panel label:focus {
  background: #2a6fd6;
  color: #fff;
}

#edit-community-form .msr-panel label.disabled {
  color: #999;
  background: #f8f9fa;
  cursor: not-allowed;
}

#edit-community-form .msr-badge .chip {
  background: #e9ecef;
  border-radius: 3px;
  padding: 3px 6px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #333;
}

#edit-community-form .msr-badge .chip button {
  border: none;
  background: transparent;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
  color: #777;
  padding: 0;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

#edit-community-form .msr-badge .chip button:hover {
  background: #d6d8db;
  color: #000;
}
#edit-community-form .msr-panel .msr-option {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}

#edit-community-form .msr-panel .msr-option:hover {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
}

#edit-community-form .msr-panel .msr-option.active {
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
}

.chosen-container-multi .chosen-choices {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 5px 8px !important;
  min-height: 28px;
  line-height: 1.2;
}

.gf-confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.gf-confirm-box {
  background: #fff;
  border-radius: 16px;
  padding: 30px 40px;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease-out;
}

.gf-confirm-box p {
  font-size: 18px;
  color: #051143;
  margin-bottom: 20px;
  line-height: 1.5;
}

.gf-confirm-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  background: #E60D64;
  color: #ffffff !important;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.gf-confirm-btn:hover {
  background: #c50a54;
  transform: translateY(-2px);
  color: #ffffff;

}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.community-back-btn {
  display: inline-block;
  background-color: #fff;
  color: #E60D64;
  border: 2px solid #E60D64;
  border-radius: 6px;
  padding: 12px 12px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

#community-link-container, 
.community-back-btn {
  text-align: center;
  margin-bottom: 25px;
}

.community-back-btn:hover {
  background-color: #E60D64;
  color: #fff;
}
.community-back-btn {
  margin-top: 24px;
}

/* community element */
#community-hero .community-title {
  font-weight: bold !important;
  font-size: 2em !important;
  margin-top: -30px !important;
}

.community-desc {
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  color: #54595f;
}
.community-join-toggle {
  background-color: #147af3;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.community-join-toggle:hover {
  background-color: #35c4ee;
}

.community-join-toggle.toggled {
  background-color: #fff;
  color: #53d3f7;
  border: 2px solid #53d3f7;
}

.community-join-toggle.toggled:hover {
  background-color: #e6f9fd;
}

.community-join-toggle.is-pending,
.community-join-toggle.is-pending:hover,
.community-join-toggle.is-pending:focus,
.community-join-toggle.is-pending:active {
  background-color: #53d3f7 !important;
  color: #fff !important;
  cursor: not-allowed !important;
  opacity: 0.7;
  pointer-events: none;
  box-shadow: none !important;
  transform: none !important;
}

.community-join-toggle.is-community-manager,
.community-join-toggle.is-community-manager:hover,
.community-join-toggle.is-community-manager:focus,
.community-join-toggle.is-community-manager:active {
  background-color: #6c757d !important;
  color: #fff !important;
  cursor: not-allowed !important;
  opacity: 0.7;
  pointer-events: none;
  box-shadow: none !important;
  transform: none !important;
}
.cob-community-register-btn {
  border-radius: 8px;
}

.community-links {
  direction: ltr;
  max-width: 400px;
  font-size: 16px;
  line-height: 2;
  color: #54595f;
  text-align: left;

}

.community-links .link-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 8px 0;
}
.community-links .link-row img {
  width: 22px;
  height: 22px;
  margin-right: 10px;
}

.community-links .link-row a {
  color: #54595f;
  text-decoration: none;
}
.community-links .link-row a:hover {
  text-decoration: underline;
}

.community-contact a {
  color: blue;
  font-weight: normal;
  text-decoration: none;
}

.community-benefits-wrapper {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  max-width: 1000px;
}

.benefit-box {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 15px;
  text-align: center;
  font-weight: bold;
  color: #54595f;
  width: 120px; 
  height: 90px; 
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.4;
  box-sizing: border-box;
  font-size: 16px !important;
}

body.single-community #content.site-content .site-main {
  flex: 0 1 1000px; 
}

.community-cta {
  background-color: #f5f5f5;
  padding: 30px;
  text-align: center;
  border-radius: 8px;
  max-width: 900px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.community-cta h2 {
  font-weight: bold;
  font-size: 22px;
  margin-bottom: 15px;
  color: #111;
}

.community-cta p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #333;
}

.community-cta .cta-link {
  color: #0073e6;
  text-decoration: underline;
  font-weight: 500;
}

.community-cta .cta-link:hover {
  color: #005bb5;
}

.community-title {
  text-align: center;
}

p.community-short {
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  #community-info {
    text-align: center;
  }

  .wp-block-group.is-layout-flex {
    justify-content: center !important;
  }

  .community-benefits h5 {
    text-align: center;
    font-weight: bold;
    margin-top: 30px;
  }

  .wp-block-columns.is-layout-flex {
    padding: 0 15px !important;
  }
}
@media (max-width: 768px) {
  html, body {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}
.community-logo-block img.community-logo {
  width: 120px !important;
  height: 120px !important;
  max-width: 120px !important;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.community-logo-block {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  top: -70px;   
  left: -60px;  
  z-index: 10;
}

body.single-community .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow {
  margin-top: -60px !important;
}

@media (min-width: 769px) {
  #primary.content-area {
    position: relative;
  }

  .community-links {
    position: relative;
    left: 120px; 
    width: auto;
    justify-content: flex-start !important;
    text-align: left;
  }
  
body.single-community #primary.content-area {
    padding: 0 5%;
    margin: 0 auto;
    max-width: 1000px;
  }

#right-sidebar {
  display: none !important;
}

.community-info-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-right: 30px;
  direction: rtl;
  flex-wrap: nowrap;
  clear: both;
  overflow: hidden; /* Ensures wrapper contains floated/flex children */
}

.community-info-wrapper::after {
  content: "";
  display: table;
  clear: both;
}

.community-info-wrapper #community-info {
  text-align: right;
  width: 50%;
  flex: 0 0 50%;
  min-height: 1px;
}

.community-info-wrapper .community-links {
  width: 50%;
  flex: 0 0 50%;
  direction: ltr;
  min-height: 1px;
}

.community-benefits {
  clear: both;
}


}

.community-benefits h5 {
    margin-top: 30px;
  }


.community-join-container {
  text-align: center;
  margin: -45px 0 30px;
}

.community-benefits-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
}


@media (max-width: 768px) {
  .community-info-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 80px;
  }
  
  .community-info-wrapper #community-info {
    text-align: center;
    margin-bottom: 20px;
  }
}
@media (max-width: 768px) {
  .community-logo-block {
    margin-left: auto;
    margin-right: auto;
    left: auto;
    right: auto;
  }
}

@media (max-width: 1148px) {
  .community-links {
    position: static !important;
    width: 100% !important;
    margin-top: 30px !important;
    padding-top: 0 !important;
  }

  .community-info-wrapper {
    text-align: center;
    margin-bottom: 20px;
  }

  .wp-block-columns {
    display: flex;
    flex-direction: column !important;
    align-items: center !important;
  }

  .wp-block-column {
    width: 100% !important;
    max-width: 100% !important;
  }
}
@media (min-width: 769px) {
  .community-info-wrapper {
    padding-right: 30px;
  }

  .community-info-wrapper.no-links {
    padding-right: 0 !important;
    text-align: center;
  }

  .community-info-wrapper.no-links ~ .wp-block-columns .wp-block-column.is-layout-flow {
    padding-left: 0 !important;
  }
}

@media (max-width: 768px) {
  .community-info-wrapper.no-links ~ .wp-block-columns .wp-block-column.is-layout-flow {
    padding-left: 0 !important;
  }
}

/*community manager */
input.manager_password,
input.manager_mail {
  background-color: #fff !important;
  border: 1px solid #7e86aa !important;
  padding: 8px;
  font-size: 16px;
  line-height: normal;
  color: #051143;
  border-radius: 4px;
  box-shadow: none !important;
}
.password_input_container input[type="password"],
input.manager_password {
  width: 100% !important;
  box-sizing: border-box;
}
.community-manager-join {
  text-align: center;
}

.community-manager-title {
  font-weight: bold;
  font-size: 32px;
}

.community-manager-text {
  margin-top: 10px;
  font-size: 18px;
}
.community-manager-join {
  padding-left: 20px;
  padding-right: 20px;
}
.gform_wrapper .gform_button {
  background-color: #4FC3F7;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.gform_wrapper .gform_button:hover {
  background-color: #29B6F6;
}
@media (min-width: 769px) {
  .gform_wrapper .gform_button {
    margin-bottom: 20px;
  }
	button.community-join-toggle {
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .gform_wrapper .gform_button {
    margin-top: 20px;
  }
}
.link-row a {
  display: inline-block;
  max-width: 40ch;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

/*community members*/
.community-members-link-btn {
  display: inline-block;
  background-color: #fff;
  color: #E60D64;
  border: 2px solid #E60D64;
  border-radius: 6px;
  padding: 12px 12px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.community-members-link-container {
  text-align: center;
  margin-bottom: 40px;
}

.community-members-link-btn:hover {
  background-color: #E60D64;
  color: #fff;
}.community-members-list {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  max-width: 600px;
}

.community-member-item {
  padding: 10px 15px;
  border-bottom: 1px solid #ddd;
  font-size: 16px;
}

.cm-app {
  max-width: 1200px;
  margin: 0 auto;
}

.cm-actions {
  margin: 0 0 12px 0;
}

.cm-delete-selected {
  background: #f5f5f7;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  color: #232323;
}

.cm-delete-selected:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.cm-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
}

.cm-table thead th {
  background: #fafafa;
  font-weight: 700;
  text-align: right;
  padding: 10px 14px;
  border-bottom: 1px solid #e8e8e8;
  white-space: nowrap;
}

.cm-table tbody td {
  padding: 8px 14px;
  border-bottom: 1px solid #f2f2f2;
  vertical-align: middle;
}

.cm-table tbody tr:nth-child(odd) {
  background: #f2f2f5;
}

.cm-table tbody tr:nth-child(even) {
  background: #fff;
}

.cm-col-check {
  width: 44px;
  text-align: center;
}

.cm-table th:nth-child(2),
.cm-table td:nth-child(2) {
  width: 12%;
}

.cm-table th:nth-child(3),
.cm-table td:nth-child(3) {
  width: 12%;
}

.cm-table th:nth-child(4),
.cm-table td:nth-child(4) {
  width: 14%;
}

.cm-table th:nth-child(5),
.cm-table td:nth-child(5) {
  width: 14%;
}

.cm-table th:nth-child(6),
.cm-table td:nth-child(6) {
  width: 14%;
}

.cm-table th:nth-child(7),
.cm-table td:nth-child(7) {
  width: 12%;
}

.cm-table th:nth-child(8),
.cm-table td:nth-child(8) {
  width: 14%;
}

.cm-table th:nth-child(9),
.cm-table td:nth-child(9) {
  width: 10%;
}

.cm-table th:nth-child(10),
.cm-table td:nth-child(10) {
  width: 12%;
}

.cm-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
}

.cm-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.cm-badge--green {
  background: #eaf8ef;
  color: #1f7a3a;
}

.cm-badge--green::before {
  background: #1f7a3a;
}

.cm-badge--yellow {
  background: #fff5d7;
  color: #a77000;
}

.cm-badge--yellow::before {
  background: #a77000;
}

.cm-badge--blue {
  background: #eaf2ff;
  color: #245fdb;
}

.cm-badge--blue::before {
  background: #245fdb;
}

.cm-badge--purple {
  background: #f0eaff;
  color: #6a44c4;
}

.cm-badge--purple::before {
  background: #6a44c4;
}

.cm-badge--gray {
  background: #f1f3f5;
  color: #777;
}

.cm-badge--gray::before {
  background: #9aa0a6;
}

.cm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 10px;
  border: 1px solid #555;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.cm-btn--ghost {
  color: #232323;
  border-color: #555;
  background: #fff;
}

.cm-btn--ghost:hover {
  background: #ffe6f0;
}

.cm-view-link {
  white-space: nowrap;
}


th.sortable {
  position: relative;
  padding-right: 20px;
  cursor: pointer;
}

.cm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: #f5f5f5;
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}
.cm-delete-selected {
  background-color: #E60D64 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px;
  padding: 5px 20px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s ease-in-out;
}

.cm-delete-selected:hover {
  background-color: #c40b53 !important;
}

.cm-delete-selected:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background-color: #f5a5c1 !important;
}

/* Pending Approval Button */
.cm-pending-approval {
  background-color: #0073aa !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px;
  padding: 5px 20px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s ease-in-out;
  text-decoration: none;
  display: inline-block;
}

.cm-pending-approval:hover {
  background-color: #005a87 !important;
  color: #ffffff !important;
}

.cm-send-selected {
  background-color: #E60D64 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  padding: 5px 20px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.cm-send-selected:hover:not(:disabled) {
  background-color: #c40b53 !important;
}

.cm-send-selected:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background-color: #f5a5c1 !important;
}


.cm-selected-info {
  margin-right: 15px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.cm-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.cm-buttons .align-left {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cm-buttons .align-right {
  margin-left: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cm-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 10px 15px;
  margin-bottom: 15px;
}

.cm-actions .cm-delete-selected,
.cm-actions .cm-send-selected,
.cm-actions .cm-pending-approval {
  padding: 7px 14px;
  font-size: 14px;
  border-radius: 8px;
  line-height: 1.2;
}

.cm-search-bar #cm-search {
  padding: 6px 10px;
  font-size: 14px !important;
  width: 240px;
  background-color: #f0f4ff !important;
  border: 1px solid #c5d0fc !important;
  border-radius: 6px;
  color: #333;
  outline: none;
  box-shadow: none;
  line-height: 21px;
}

.cm-legend {
  margin-top: 20px;
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}
.cm-legend .cm-badge {
  cursor: default;
}
.cm-legend-note {
  font-size: 12px;
  color: #555;
  margin-top: 6px;
  margin-right: 28px;
  margin-bottom: 20px;
}

.cm-table-wrapper {
  width: 100%;
  overflow-x: auto;
}
.cm-table th,
.cm-table td {
  border-left: none !important;
  border-right: none !important;
}
.cm-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.cm-card {
  background: #fff;
  border: 1px solid #e7e7ea;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.cm-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.cm-card-titlebox {
  display: grid;
  gap: 4px;
}

.cm-card-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  color: #111;
}

.cm-card-email {
  font-size: 14px;
  color: #555 !important;
  text-decoration: none;
  word-break: break-all;
}

.cm-card-utilities {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cm-icon-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #e7e7ea;
  border-radius: 8px;
  background: #fff;
  color: #444;
  text-decoration: none;
}

.cm-icon-btn:hover {
  background: #f5f6f8;
}

.cm-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.cm-card-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: #111;
}

.cm-iconbox {
  display: inline-flex;
  align-items: center;
  width: auto;
  height: auto;
  padding: 0;
  margin-inline-end: 6px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.cm-row-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.cm-muted {
  color: #9aa0a6;
  margin-inline-start: 6px;
  font-size: 12px;
}

.cm-card .cm-badge {
  margin-top: 2px;
}
.cm-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.cm-search-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.cm-view-toggle {
  display: flex;
  background: #f2f2f5;
  border-radius: 6px;
  padding: 2px;
  margin-bottom: 16px;
}

.cm-view-btn {
  border: none;
  background: transparent;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #111;
}

.cm-view-btn.active {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  font-weight: 600;
  color: #111 !important;

}
.mail-icon {
  width: 16px;
  height: 16px;
  margin-left: 6px; 
  vertical-align: middle;
}
.link-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px; 
  vertical-align: middle;
}

.cm-btn.cm-btn--ghost.cm-view-link, 
.community-message-btn {
  background-color: #0073aa !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease-in-out;
  white-space: nowrap;
  gap: 4px;
}

.community-message-btn:hover {
  background-color: #005a87 !important;
}

.community-message-btn[disabled],
.community-message-btn:disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  background-color: #f5a5c1 !important;
}

/* Message button in cards view - matches table view styling */
.cm-icon-btn.cm-icon-btn--message {
  background-color: #f5f5f7 !important;
  border: 1px solid #ddd !important;
  color: #232323 !important;
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

.cm-icon-btn.cm-icon-btn--message:hover {
  background-color: #e8e8e8 !important;
}


@media (max-width: 768px) {
  .cm-table-wrapper {
    display: none !important;
  }
  .cm-cards {
    display: block !important;
	padding: 0;
  }
	.cm-card {
    margin-bottom: 16px;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    background: #fff;
  }
	body {
    padding: 0 8px;
    /*background: #f9f9f9;*/
  }

  .cm-app {
    margin: 0 auto;
  }
}
.cm-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.cm-card-utilities {
  display: flex;
  gap: 8px;
  flex-direction: row-reverse;
}	
.cm-card-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cm-icon-btn {
  padding: 2px; 
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cm-icon-btn img {
  width: 22px;  
  height: 22px;
  display: block;
  margin: 0;     
}
@media (max-width: 768px) {
  .cm-view-toggle {
    display: none !important;
  }
	.cm-search-bar {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    padding: 10px;  
  }

  .cm-search-bar input {
    width: 100%;
    max-width: 400px;
  }
}

.coming-soon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; 
  background: url('/wp-content/uploads/2025/07/background-comingsoon.webp') no-repeat center center;
  background-size: cover;
  text-align: center;
}

.coming-soon-wrapper h1 {
  font-size: 48px;
  color: white;
  font-weight: bold;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
}
.login-notice {
  text-align: center;
  margin: 80px auto;
  font-size: 20px;
}

.login-notice::before {
  content: "";
  display: block;
  width: 160px;
  height: 50px;
  margin: 0 auto 20px;
  background: url("/wp-content/uploads/2025/07/COB-logo.webp") center/contain no-repeat;
}

.login-notice h4 {
  font-size: 28px;
  margin-bottom: 15px;
}

.login-notice .login-button {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #E60D64;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

@media (max-width: 768px) {
	.sub-title {
		font-size: 20px !important;
		margin-left: 1em !important;
		margin-right: 1em !important;
		line-height: 25px !important;
	}
}

/*community banner*/
#community-banner-ui {
  position: relative;
  width: 100%;
  overflow: hidden;
}

#community-banner-ui img.banner-preview-img {
  width: 100%;
  height: 220px; /* fixed height for consistent banner size */
  object-fit: cover;
  object-position: center;
  display: block;
}

#community-banner-ui .banner-edit-btn {
  position: absolute;
  left: 20px;   /* moved from right to left */
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #fff url('https://cdn-icons-png.flaticon.com/512/1159/1159633.png') center/22px no-repeat;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background 0.3s ease;
}

#community-banner-ui .banner-edit-btn:hover {
  background-color: #f5f5f5;
}

#community-banner-ui .banner-toast {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #27ae60;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
}

#community-banner-ui .banner-toast.show {
  display: block;
}

/* community banner - element */
.community-page-hero img {
  width: 100%;
  height: 220px !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

.community-banner-dynamic {
  position: relative;
  width: 800px;              /* same widthas .community-cta */
  height: 200px;             /* desired banner height */
  margin: 30px auto;         /* center the banner horizontally */
  border-radius: 8px;        /* match .community-cta */
  overflow: hidden;
  z-index: 1;
  display: block;
}

.community-banner-dynamic img.community-banner-img {
  width: 100%;
  height: 220px !important;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* YA 20260330 - Fix banner size */

.community-banner-dynamic {
	height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.community-banner-dynamic img.community-banner-img {
	object-fit: contain;
	object-position: center;
} 
/* YA 20260330 - Fix banner size */

.community-create-action {
  text-align: center;
  margin: 30px 0;
}

.create-community-btn {
  display: inline-block;
  background-color: #e60d64;
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 36px;
  border-radius: 6px;
  transition: background-color 0.25s ease-in-out, transform 0.2s ease-in-out;
}

.create-community-btn:hover {
  background-color: #c90b57;
  color: #fff !important;
  transform: translateY(-2px);
}
/*community manager*/
.community-register-form {
  max-width: 700px;
  margin: 0 auto;
  direction: rtl;
  font-family: inherit;
}

.community-register-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.community-register-form .form-group {
  flex: 1;
  min-width: 280px;
}

.community-register-form label {
  display: block;
  font-weight: 600;
  color: #222;
  margin-bottom: 6px;
}

.community-register-form .required {
  color: #d50064;
  margin-right: 3px;
}

.community-register-form input[type="text"],
.community-register-form input[type="email"],
.community-register-form input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  transition: all 0.2s ease;
}

.community-register-form input:focus {
  border-color: #999;
  outline: none;
}

.community-register-form .form-submit {
  text-align: center;
  margin-top: 25px;
}

.community-register-form button:hover {
  background-color: #2fb1e4;
}

.community-register-form button {
  background-color: #4cc2f0;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 12px 35px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 30px;
}
.cob-login-button-wrapper {
  text-align: center;
  margin-top: 20px;
}

.cm-login-btn.styled-button {
  display: inline-block;
  background-color: #4cc2f0;    
  color: #fff;                  
  font-weight: 700;             
  font-size: 16px;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 20px;
}

.cm-login-btn.styled-button:hover {
  background-color: #2fb1e4;
}

@media (max-width: 768px) {
  .community-register-form {
    padding-right: 15px;
    padding-left: 15px;
  }
}

.existing-user-login {
  text-align: center;
  margin: 20px auto 0;
  max-width: 600px;
}

.existing-user-login h3 {
  font-size: 20px;
  font-weight: 700; 
  color: #54595f;
  margin-bottom: 8px;
}

.existing-user-login p {
  font-size: 16px;
  color: #54595f;
  margin: 0;
  line-height: 1.6;
}
.cm-login-wrapper form.woocommerce-form.woocommerce-form-login.login {
  max-width: 500px;
  margin: 0 auto 40px;
  text-align: center;
}

.cm-login-wrapper form.woocommerce-form-login .form-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

.cm-login-wrapper form.woocommerce-form-login input.input-text {
  width: 100%;
  max-width: 400px;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f8fbff;
  font-size: 15px;
  color: #54595f;
  margin-bottom: 5px;
}

.cm-login-wrapper form.woocommerce-form-login button.button {
  background-color: #E60D64;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 12px 35px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 15px;
}

.cm-login-wrapper form.woocommerce-form-login button.button:hover {
  background-color: #c70b55;
}


.cm-login-wrapper form.woocommerce-form-login .lost_password {
  text-align: center;
  margin-top: 6px;
}

.cm-login-wrapper form.woocommerce-form-login .lost_password a {
  color: #E60D64;
  text-decoration: none;
  font-size: 14px;
}

.cm-login-wrapper form.woocommerce-form-login .form-row label {
  margin-left: 4px;
}

.cm-access-denied {
  text-align: center;
  color: #000;
  font-weight: 600;
  font-size: 18px;
  margin: 80px auto;
  direction: rtl;
}

.cm-home-btn {
  display: inline-block;
  margin-top: 20px;
  background-color: #E60D64 !important;
  color: #fff !important;
  text-decoration: none !important;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.cm-home-btn:hover,
.cm-home-btn:focus {
  background-color: #E60D64 !important;
  color: #fff !important;
  transform: scale(1.03);
}
.cm-community-title {
  font-size: 24px;
  font-weight: 700;
  margin: 25px 0;
  padding-right: 30px;
}

@media (max-width: 768px) {
  .cm-community-title {
    text-align: center;
	padding-top: 30px;
  }
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  background: #2eaf55;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-info strong {
  font-size: 14px;
  display: block;
  color: #333;
}

.user-info p {
  font-size: 13px;
  color: #777;
  margin: 0;
}

/*community elemnt*/
.community-contact-card {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.community-contact-card.fade-in {
  display: block;
  opacity: 1;
}
.community-logo-block img {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  background-color: #fff;
  padding: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.community-logo-block img:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transform: scale(1.03);
}
body.single-community .gb-container-0eafd04f {
  display: none !important;
}

.community-short {
  font-weight: 700 !important;
  color: #54595f;
}

@media (max-width: 768px) {
  #site-navigation {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    overflow: visible !important;
    z-index: 9999 !important;
  }

   #mobile-menu-control-wrapper {
    display: none !important;
   } 
}

@media (max-width: 768px) {
  #site-navigation {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    z-index: 9999 !important;
  }

  #site-navigation .inside-navigation {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  #site-navigation .inside-navigation.is-open {
    display: block !important;
    padding: 20px 16px;
  }

  .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 10000;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 6px 10px;
  }
	
	.cm-empty {
	  text-align: center;
	  font-weight: bold;
	  font-size: 24px;
	  color: #333;
	  margin: 40px 0;
	}
	
	a.cm-btn.cm-btn--ghost.cm-view-link {
		display: none !important;
	}

	/* optional: hide the old mobile wrapper if exists */
	#mobile-menu-control-wrapper {
		display: none !important;
	} 
	
	.ui-tooltip {
		display: none !important;
	}
	
	#mobile-menu{
		z-index:99;
	}
	
	#site-navigation .navigation-branding, #sticky-navigation .navigation-branding {
		margin-left: 10px !important;
	}
}



/*community dashboard */

.cmdb-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #e0e3e8;
}
.cmdb-topbar-left { 
	display: flex; 
	flex-direction: column; 
	gap: 2px; 
}
.cmdb-title { 
	margin: 0; 
	font-size: 22px; 
	font-weight: 700; 
	color: #2b2b2b; 
}
.cmdb-subtitle { 
	margin: 0; 
	font-size: 14px; 
	color: #6f7787; 
}

/* Right side */
.cmdb-topbar-right { display: flex; align-items: center; gap: 12px; }

/* Icon buttons and logo */
.cmdb-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
  outline: none;
}

.cmdb-icon-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  padding: 0px;
}

.cmdb-icon-btn:hover {
  background-color: #f4f4f4;
  transform: scale(1.05);
}

.cmdb-icon-btn:focus,
.cmdb-icon-btn:focus-visible,
.cmdb-icon-btn:active {
  outline: none !important;
  box-shadow: none !important;
}

.cmdb-logo img { 
	width: 28px; 
	height: 28px; 
	display: block; 
}

/* Notification dot */
.cmdb-bell { position: relative; }
.cmdb-badge {
  position: absolute; top: 2px; right: 2px;
  width: 8px; height: 8px;
  background: #ff9900; border-radius: 50%;
}

.cmdb-topbar--reversed { 
  display: flex;
  flex-direction: row-reverse;
}

.cmdb-topbar--reversed .cmdb-search {
  padding: 0; 
  position: relative;
}

.cmdb-topbar--reversed .cmdb-search-icon {
  right: 10px;
  left: auto;
  position: absolute;
  width: 16px;
  height: 16px;
  opacity: .7;
  top: 50%;
  transform: translateY(-50%);
}

/* Reverse the internal order of the icons group */
.cmdb-topbar--reversed .cmdb-topbar-right {
  display: flex;
  flex-direction: row-reverse; 
  align-items: center;
  gap: 12px;
}

.cmdb-topbar--reversed .cmdb-search input {
  padding: 3px 36px 3px 12px;
  border: 1px solid #e0e3e8 !important;

}
.cmdb-topbar--reversed .cmdb-search-icon {
  right: 10px;
  left: auto;
  position: absolute;
  width: 16px;
  height: 16px;
  opacity: .7;
  top: 50%;
  transform: translateY(-50%);
}

.cmdb-title  .cmdb-subtitle{
  direction: ltr;
  text-align: left;
}
.community-manager,
.community-manager-email {
  direction: ltr;
  text-align: left;
  unicode-bidi: bidi-override;
  font-size: 15px;
  color: #2b2b2b;
  margin: 4px 0;
}
.community-manager-email {
  color: #6f7787;
}
.cmdb-manager-box {
  display: flex;
  flex-direction: row; /* LTR layout */
  align-items: center;
  gap: 10px;
  direction: ltr;
  text-align: left;
  padding: 8px 12px;
}

.cmdb-manager-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.cmdb-manager-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

.cmdb-manager-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #2b2b2b;
}

.cmdb-manager-subtitle {
  margin: 0;
  font-size: 13px;
  color: #6f7787;
}
.cmdb-manager-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  direction: ltr;
  text-align: left;
  padding: 8px 12px;
  border: 1px solid #e0e3e8; 
  background: #fff;
  border-radius: 0;
}

/*community element -contact us*/
.community-contact-card {
  background-color: #f5f5f5;
  border-radius: 8px;
  text-align: center;
  padding: 20px 0;
  display: inline-block;
  margin: 0 auto 30px;
  max-width: 400px;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.8s ease, transform 0.8s ease;
  animation: scrollDown 0.8s ease forwards;
}

.community-contact-card.fade-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes scrollDown {
  0% {
    scroll-behavior: smooth;
  }
  100% {
    scroll-margin-top: 100vh;
  }
}

.community-contact-card .contact-title {
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 10px;
  color: #000;
}

.community-contact-card .contact-details {
  text-align: center;
}

.community-contact-card a {
  color: #0073e6;
}

.community-contact-card .contact-details p {
  margin-bottom: 6px;
  line-height: 1.4;
}
.community-join-button[disabled] {
  opacity: 0.6;
  cursor: not-allowed !important;
  filter: grayscale(40%);
  background-color: #dcdcdc !important;
  color: #666 !important;
  border: 1px solid #bcbcbc;
}

.community-join-button[disabled],
.community-join-button[disabled]:hover {
  cursor: not-allowed !important;
}
@media (max-width: 768px) {
  #community-hero .community-title {
    max-width: 85%;
    margin: 0 auto;
    text-align: center;
  }
}

@media (max-width: 768px) {
  p.community-desc {
    max-width: 85% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
	.community-desc {
  text-align: center;
}

}


/* Avatar Notification Badge */
.avatar {
  position: relative;
  display: inline-block;
}

.avatar-notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #E60D64;
  color: white;
  border-radius: 50%;
  min-width: 8px;
  height: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: bold;
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  z-index: 10;
  line-height: 1;
}

/* For larger numbers (2+ digits), make badge slightly wider */
.avatar-notification-badge:not(:empty) {
  min-width: 8px;
  padding: 0 3px;
}

/* Animation for new notifications */
@keyframes badge-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

.avatar-notification-badge {
  animation: badge-pulse 2s ease-in-out infinite;
}

/* Stop animation on hover */
.avatar:hover .avatar-notification-badge {
  animation: none;
}

.training-and-jobs-wrapper.cmdb-lang-he {
  display: none;
}

.dashboard-stats-grid--he {
  direction: rtl;
}

.dashboard-stats-grid--he .stat-box {
  text-align: right;
}

.dashboard-stats-grid--he .stat-value {
  direction: ltr;
}

.dashboard-stats-grid--he .stat-icon-inline {
  left: 20px;
  right: auto;
}

.cmdb-lang-he .learning-employment-wrapper,
.cmdb-lang-he .learning-employment-header,
.cmdb-lang-he .learning-employment-table {
  direction: rtl;
  text-align: right;
}

.cmdb-lang-he .learning-employment-table th,
.cmdb-lang-he .learning-employment-table td {
  text-align: right !important;
  direction: rtl !important;
}

.cmdb-lang-he .learning-employment-focus {
  direction: rtl !important;
  text-align: right !important;
}

.cmdb-lang-he .training-progress-box {
  direction: rtl;
  text-align: right;
}

.cmdb-lang-he .training-progress-box .training-row {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;  
  gap: 12px;
}

.cmdb-lang-he .training-progress-box .training-label {
  white-space: nowrap;
  font-size: 14px;
}

.cmdb-lang-he .training-progress-box .training-value {
  min-width: 32px;
  text-align: right;
}

.cmdb-lang-he .training-progress-box .training-bar {
 flex: 0 0 65%;
	max-width: 100%;
}

.cmdb-lang-he .training-progress-box .training-row {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-start;   
}

.cmdb-lang-he .training-progress-box .training-bar {
  flex: 0 0 65%;
  max-width: 320px;
  margin: 0 16px;
}

.cmdb-lang-he .training-progress-box .training-label {
  width: 120px;
  text-align: right;
}

.cmdb-lang-he .training-progress-box .training-value {
  width: 30px;
  text-align: left;
}

.job-opportunities-box--he .job-header {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
}

.job-opportunities-box--he .job-title {
  text-align: right;
  margin: 0;         
}

.job-opportunities-box--he .job-label {
  text-align: right;
}
.cmdb-page-header[dir="rtl"],
.cmdb-page-header.cmdb-lang-he {
  text-align: right;
}


.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;           
}

.view-all-btn .view-all-icon {
  width: 16px;        
  height: 16px;
}
a.view-all-btn:hover {
    color: #ffffff !important;
}
.job-opportunities-box--he .job-total-box {
    text-align: right;
}

.cm-page-header {
  text-align: center;
  margin: 20px 0;
}

.cm-page-title {
  font-size: 35px;
  font-weight: 700;
  color: #54595f;
  margin: 0;
}

/* Fix mobile overflow in Bezeq job cards */
@media (max-width: 767px) {
    .gb-container-cf2f9c12 {
        width: 100% !important;
    }
}

/*profile visibility*/
.profile-visibility-toggle {
  direction: rtl;
  margin-top: 30px;
  color: #4a4a4a;
}

.switch-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.switch-toggle input {
  display: none;
}

.slider {
  width: 42px;
  height: 24px;
  background: #ccc;
  border-radius: 30px;
  position: relative;
  transition: background 0.3s;
}

.slider::before {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

input:checked + .slider {
  background: #6c63ff;
}

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

.toggle-label {
  font-weight: 700;
color: #000000;
}

.toggle-description {
  font-size: 14px;
  color: #707070;
  margin: 4px 0 0 0;
}

.logo-upload-ui {
  position: relative;
}

.gfield_validation_message {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  text-align: right;
  color: #d63638;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}
.charleft.ginput_counter.gfield_description {
  text-align: right;
  direction: rtl;
}

/* Main page - Logos */
.partners_logos {
    width: 95%;
    margin: auto;
}

.partners_logos div img {
    max-height: 62px;
	  padding: 0 5px;
}

@media (max-width: 767px) {
  .partners_logos {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important; 
  }

  .partners_logos div {
    width: 30%;
    text-align: center;
  }

  .partners_logos div img {
    max-height: 80px;
    width: auto;
  }
}

.floating-btn {
	padding: 10px 14px !important;
}