/* app css stylesheet */
/*MOBILE XS*/

.font-size-10{
  font-size: 10px !important;
}

.font-size-14{
  font-size: 14px !important;
}

.strong{
  font-weight: bolder !important;
}

.color-white{
  color: #fff !important;
}

.curl {
  background-color: #a60000;color: white;border-radius: 3px;padding: 0 3px;display: inline-block;
}

.completed{
  background-color: green;color: white;    border-radius: 3px;padding: 0 3px;display: inline-block;
}
@media (min-width: 768px ) and (max-width:991px) {

  body,
  .dropdown-item,
  .form-control,
  .btn {
    font-size: 22px;
  }

  .h5,
  h5 {
    font-size: 17px;
  }

  .small,
  small {
    font-size: 16px;
  }



  .input-group>.form-control,
  .input-group>.form-select {
    line-height: 30px;
  }

  .message-text {
    padding: 1rem 1.25rem;
  }


}
@media (max-width: 768px) {

  body,
  .dropdown-item,
  .form-control,
  .btn {
    font-size: 18px;
  }

  .h5,
  h5 {
    font-size: 17px;
  }

  .small,
  small {
    font-size: 16px;
  }



  .input-group>.form-control,
  .input-group>.form-select {
    line-height: 30px;
  }

  .message-text {
    padding: 1rem 1.25rem;
  }

}

.padding-left-8 {
  padding-left: 8px;
}

.menu {
  list-style: none;
  border-bottom: 0.1em solid black;
  margin-bottom: 2em;
  padding: 0 0 0.5em;
}

.subs-message-row-stripe {
  background-color: rgb(56 0 123);
}

.subs-message-row-fastspring {
  background-color: rgb(103, 51, 0);
}

.subs-message-row-mollie {
  background-color: rgb(65, 65, 65);
}

.subs-message-row-airwallex {
  background-color: rgb(10, 55, 119);
}

.subs-message-row-paypal {
  background-color: rgb(0 60 97);
}

.subs-message-canceled {
  color: rgb(206, 2, 2);
}


.menu:before {
  content: "[";
}

.menu:after {
  content: "]";
}

.menu>li {
  display: inline;
}

.menu>li+li:before {
  content: "|";
  padding-right: 0.3em;
}

@media (max-width:1200px) {
  .none-max-1200px {
    display: none;
  }

  .modal-dialog {
    margin-left: -54px;
  }
}

.max-width {
  width: 100%;
  /* Fallback for other browsers */
  width: -webkit-fill-available;
  /* Safari/WebKit specific */
  width: -moz-available;
  /* Firefox specific */
  width: stretch;
  /* Some browsers support this */
}

.hidden {
  display: none;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  /* Dark background with 70% opacity */
  display: none;
  /* Hidden by default */
  z-index: 1000;
  /* Ensure it is on top of other elements */
}

.loading-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  /* left: 0; */
  width: 100%;
  /* Fallback for other browsers */
  width: -webkit-fill-available;
  /* Safari/WebKit specific */
  width: -moz-available;
  /* Firefox specific */
  width: stretch;
  /* Some browsers support this */
  height: 100%;
  background: var(--bs-body-bg);
  /* Black background with 80% opacity */
  z-index: 1000;
}

.loading-spinner {
  border: 8px solid #f3f3f3;
  /* Light grey */
  border-top: 8px solid #3498db;
  /* Blue */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.conversation-card-active {
  background-color: #2787f5 !important;
}

.conversation-card-text-active {
  color: white !important;
}

.conversation-card-text-active a {
  color: white !important;
  font-weight: bold;
}

.sidebar-loading-overlay {
  top: unset;
  bottom: 0;
  height: 78%;
}

@media (max-width:1200px) {
  .sidebar-loading-overlay {
    height: 74%;
  }
}

.email-icon-text-success {
  color: green !important;
}

.email-icon-text-danger {
  color: red !important;
}

.sidebar-badge {
  /* color: white; */
  padding: 2px 5px;
  border-radius: 0.6rem;
  display: inline-block;
}

.sidebar-bg-premium {
  background-color: #a16800  !important;
}

.sidebar-bg-vip {
  background-color: #384042 !important;
}

.sidebar-bg-god {
  background-color: #3da700 !important;
}

.sidebar-bg-status-completed {
  background-color: #3da700 !important;
}

.sidebar-bg-status-pending {
  background-color: #a16800 !important;
}

.sidebar-bg-status-other {
  background-color: #c53800 !important;
}

.sidebar-bg-status-none {
  background-color: #000000 !important;
}

.support-answers-autocomplete {
  z-index: 1041;
  position: absolute;
  inset: auto auto 0px 0px;
  margin: 0px;
  bottom: 79px;
}

@media (max-width:991px) {
  .support-answers-autocomplete {
    z-index: 1041;
    position: absolute;
    inset: auto auto 0px 0px;
    margin: 0px;
    bottom: 63px;
  }
}

.closed-user-circle {
  position: relative;
  overflow: visible;
}

.closed-user-circle::after {
  content: '';
  position: absolute;
  top: -5px;
  right: -5px;
  width: 12px;
  height: 12px;
  background-color: red;
  border-radius: 50%;
}

.support-answer.highlighted {
  background-color: #2787f5 !important;
  color: white;
}

.conversations-loading-text {
  text-align: center;
  font-size: 16px;
  color: #555;
  margin-top: 10px;
  animation: fadeInOut 2s ease-in-out infinite;
}

.conversations-not-found-text {
  text-align: center;
  font-size: 16px;
  color: #555;
  margin-top: 10px;
}

.sidebar-entity-loading-text {
  text-align: center;
  font-size: 16px;
  color: #555;
  margin-top: 10px;
  animation: fadeInOut 2s ease-in-out infinite;
}

.sidebar-entity-not-found-text {
  text-align: center;
  font-size: 16px;
  color: #555;
  margin-top: 10px;
}

@keyframes fadeInOut {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}


.chat-dropdown-menu-in,
.chat-dropdown-menu-out {
  position: absolute;
  top: 100%;
  /* Position dropdown below the trigger element */
  /* right: 0; */
  /* Align dropdown to the right */
  margin: 0;
  transform: translateY(5px);
  /* Add a small vertical offset if needed */
  max-width: calc(100vw - 20px);
  /* Prevent overflow on wide screens */
  overflow-wrap: break-word;
  /* Ensure long words wrap */
}

.chat-dropdown-menu-main {
  position: absolute;
  inset: 0px 0px auto auto;
  margin: 0px;
  transform: translate(0px, 60px);
}

.pm-message-checkbox {
  width: 15px;
  height: 15px;
}

.pm-message-checkbox-container {
  width: 15px;
  height: 15px;
}

@media (max-width:1200px) {
  .chat-dropdown-menu-main {
    transform: translate(0px, 75px);
  }

  .pm-message-checkbox {
    width: 20px;
    height: 20px;
  }

  .pm-message-checkbox-container {
    width: 20px;
    height: 20px;
  }
}

/* Default styles for larger screens (above 577px) */
.email-notification-input-container {
  display: flex;
  align-items: center;
  margin: 5px;
}

.email-notification-input-container span {
  margin-right: 8px;
  /* Adjust as needed */
}

/* Styles for screens 577px and below */
@media (max-width: 577px) {
  .email-notification-input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .email-notification-input-container span {
    margin-bottom: 4px;
    /* Adjust as needed */
  }
}

.subs-message-row {
  padding:3px;
  margin-bottom: 5px !important;
}

.subs-message-gear-btn {
  border-radius: 4px;
  background: #000;
  color: #fff;
  padding-top: 3px !important;
  padding-bottom: 0 !important;
  padding-left: 4px !important;
  padding-right: 4px !important;
}

.disabled-input {
  color: #999;
  /* Gray text color */
  cursor: not-allowed;
  /* Changes cursor to indicate input is not interactable */
  opacity: 0.6;
  /* Make it slightly transparent */
  pointer-events: none;
  /* Disable clicking or interaction */
}

.red-background {
  background: red !important;
  color: white !important;
}

.color-orange {
  color: orange;
}

.color-green {
  color: #529d00;
}

.color-blue {
  color: blue;
}

.color-red {
  color: red;
}

.cancel-sub-btn {
  color: red;
  cursor: pointer;
}


/* Card styling with simple list appearance */
.survey-card {
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
}

.survey-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.survey-header h2 {
  margin: 0;
  font-size: 1.4em;
}

.survey-action-buttons button {
  background: #3b3b3b;
  border: none;
  cursor: pointer;
  margin-left: 10px;
  border-radius: 10px;
  padding: 5px 10px;
  color: white;
}

.survey-last-bg {
  background: #b87a00 !important;
  color: white !important;
}

.survey-important-bg {
  background: #200045 !important;
  color: white !important;
}

.survey-last-btn {
  background: #916000 !important;
}

.survey-important-btn {
  background: #440091 !important;
}

.survey-delete-btn {
  background: red !important;
}

.question {
  margin: 10px 0;
}

/* Question text with blue background */
.question-text {
  /*background-color: #2787f5 !important;*/
  color: white;
  padding: 8px;
  border-radius: 10px;
}

.answer-container {

  display: flex;
  justify-content: space-between; /* Distributes space between elements */
  align-items: center; /* Vertically centers the items */
}

.answer-text {
  background-color: #0072ef !important;
  color: #fff;
  border-radius: 10px;
  flex: 1; /* Allows the text to take up available space */
  margin-right: 8px; /* Optional: Adds space between text and icon */
  padding: 15px;
}

.answer-reply-icon {
  cursor: pointer;
  flex-shrink: 0; /* Prevents the icon from shrinking */
}

.reply-preview {
  white-space: normal;
  word-break: break-all;
  overflow-wrap: break-word;
}
