/*****GLOBAL******/
.pos-relative {
  position: relative !important;
}




/*Loading*/
.loading1 {
  display: none;
  border: 7px solid var(--cs-bg1-light);
  border-radius: 50%;
  border-top: 7px solid var(--cs-bg2-light);
  margin: 20px 0;
  width: 50px;
  height: 50px;
  -webkit-animation: spin 1s linear infinite; /* Safari */
  animation: spin 1s linear infinite;
}
.pagination-loading1.loading1 {
  position: absolute !important;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}
.pagination-loading-mask:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: rgba(var(--ssgb-main), 0.5);
  backdrop-filter: blur(2px);
  transition: background 0.3s, backdrop-filter 0.3s;
}
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------User Registration--------*/
#verify-pending-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#verify-pending-overlay .overlay-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 100%;
}

#verify-pending-overlay button {
  margin-top: 10px;
  padding: 8px 16px;
  background: #333;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

/* Add this CSS for red outline and error messages */

input.error {
  border: 1px solid var(--cs-bg2-vib) !important;
}

.login-error-message,
.profile-error1,
.profile-error2 {
  position: relative;
  height: 0px;
  opacity: 0;
  color: var(--cs-bg2-vib);
  margin-top: 10px;
  font-size: 14px;
  overflow: hidden;
  transition: height 0.4s ease-in-out, opacity 0.3s ease-in-out;
}

.login-error-message.error,
.profile-error1.error,
.profile-error2.error  {
  height: 30px;
  opacity: 1;
}

.login-error-message.error.green,
.profile-error1.error.green,
.profile-error2.error.green {
  color: var(--cs-bg1);
}

.login-error-message.error a,
.profile-error1.error a,
.profile-error2.error a {
  color: var(--cs-bg1);
  text-decoration: underline !important;
  white-space: nowrap !important;
}



/*-------------- profile --------------*/
.media-router .media-menu-item {
  height: auto !important;
}