@import url('https://fonts.googleapis.com/css2?family=Hanken Grotesk:wght@100..900&display=swap');

/*********************** FONT Fraunces *************************/
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/Fraunces_1/static/Fraunces_72pt-Regular.ttf');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/Fraunces_1/Fraunces-Variable.ttf');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/Fraunces_1/static/Fraunces_72pt-Bold.ttf');
  font-weight: 700;
  font-style: normal;
}

.mem-widget__wrapper {
  box-shadow: 0 1px 30px 0 rgba(0, 0, 0, 0.08);
}

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

.flex {
  display: flex;
}

.flex-row {
  flex-direction: row;
}

.width-full {
  width: 100%;
}

.mem-icon-container svg {
  max-height: 100%;
}

.items-center {
  align-items: center;
}

.h-full {
  height: 100%;
}

/*********************** OLD EDITOR: BUG FIXING *************************/

.mem-edit-question .mem-widget-title__wrapper.fixedElement {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.mem-edit-question .mem-widget-title__wrapper.fixedElement.fixedAreaTop {
  border-radius: 10px 10px 0 0;
  max-width: 1180px;
  padding-top: 0;
  padding-bottom: 0;
  position: sticky;
  top: 0;
}

#btn-save-options {
  max-width: inherit !important;
  padding-right: 4px;
}

/*.mem-btn__base.mem-btn__hasIcon .mem-btn__iconWrapper {*/
/*    left: 15px;*/
/*}*/

.mem-btn__base.mem-btn__hasIcon.mem-btn-mobile__iconOnly .mem-btn__iconWrapper {
  left: 12px;
}

.mem-widget-answer-container .mem-widget-title__wrapper {
  min-height: 75px;
  max-height: 75px;
}

.mem-edit-question #btn-save-question-answer .material-icons {
  padding-left: 0;
}

.mem-form-input-group__horizontal.private-answer {
  margin-bottom: 0;
  align-items: flex-start;
}

.mem-questions .mem-btn__base .mem-btn__content {
  z-index: 2;
}

.md-modal.md-show::-webkit-scrollbar {
  display: none;
}

.md-modal.md-show {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#all-steps-main-wrapper #all-steps-container {
  display: block;
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

#all-steps-main-wrapper,
#all-steps-main-wrapper #all-steps-wrapper {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

#all-steps-main-wrapper #all-steps-container + div {
  /*display: flex;*/
  flex-direction: column;
}

@media screen and (max-width: 1100px) {
  #all-steps-main-wrapper {
    display: flex;
    flex-basis: 120px !important;
    min-height: 120px !important;
  }

  #all-steps-main-wrapper #all-steps-wrapper {
    flex-direction: column;
    height: auto !important;
  }

  #all-steps-main-wrapper #all-steps-container + div {
    text-align: center;
    width: 100%;
    flex-direction: row;
    justify-content: center;
  }
}

@media screen and (max-width: 767px) {
  .mem-widget-answer-container .mem-widget-title__wrapper {
    padding: 3px 12px;
  }

  form#question-answer .mem-analytics-home__headerActions .mem-btn_pdf-preview {
    padding: 2px 8px !important;
    height: 35px;
    width: 35px;
  }

  .mem-edit-question #question-answer .private-answer-container {
    display: none !important;
  }

  .mem-edit-question #question-answer .mem-btn__base.mem-btn__hasIcon .mem-btn__iconWrapper {
    left: 20px;
  }

  .mem-edit-question #question-answer .mem-btn__base.mem-btn__hasIcon.mem-btn__iconOnly .mem-btn__iconWrapper {
    left: 10px;
  }

  form#question-answer .mem-analytics-home__headerActions .mem-btn_answer-via-call {
    padding: 3px 6px 3px 3px !important;
    height: 40px;
    width: 40px;
  }

  form#question-answer .mem-analytics-home__headerActions .mem-btn_pdf-preview {
    padding: 4px 7px 3px 12px !important;
    height: 40px;
    width: 40px;
  }
  .mem-credits-transfer__controlls {
    margin-left: 30px;
    width: calc(100% - 30px);
  }
  .mem-contributor-details {
    padding-top: 0;
  }
  .mem-contributor-details .mem-input__inputWrapper {
    margin-bottom: 0;
  }
}

@media only screen and (max-width: 500px) {
  #question-answer .mem-question__Actions {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 0 !important;
    max-width: inherit;
    padding-bottom: 20px !important;
  }

  .mem-question__Actions #btn-save-options {
    margin: 0;
  }

  .mem-question__Actions .mem-btn-right-align {
    display: flex;
    justify-content: end;
  }

  .mem-question__Actions .mem-btn-right-align .mem-form-input-group__horizontal {
    float: inherit;
    margin: 0;
  }

  .mem-question__Actions .mem-btn-right-align .mem-form-input-group__horizontal.private-answer > div {
    margin: 0;
  }

  .mem-question__Actions .mem-upload-button__wrapper .uppy-btn.mem-btn-right {
    margin-right: 5px;
  }

  form#question-answer .mem-question-text-answer {
    padding: 0 !important;
    margin: 0 !important;
    max-width: inherit;
  }

  .mem-upload-button__wrapper .uppy-disabled.mem-btn-right,
  .mem-upload-button__wrapper .uppy-btn.mem-btn-right {
    margin-right: 5px;
  }
}

/*********************** ADD NEW BOOK INTERVIEW *************************/
.mem-add-new-book .mem-widget__wrapper.mem-widget__margin.mobile-no-container {
  min-width: 70%;
}

.mem-add-new-book #mem-step-one-interview h2,
.mem-add-new-book #mem-step-two-interview h2 {
  font-weight: 700 !important;
  color: #284556;
}

.mem-add-new-book h3,
.mem-add-new-book h3 {
  font-weight: 600 !important;
  font-size: 1.75rem;
  color: #29a599;
}

.mem-add-new-book label,
.mem-add-new-book p,
.mem-add-new-book .product-explainatory,
.mem-add-new-book .question-example {
  color: #284556;
  font-size: 1rem;
}

.mem-upgrade-package .mem-add-new-book p {
  font-family:
    'Hanken Grotesk',
    -apple-system,
    system-ui,
    Roboto,
    Arial,
    sans-serif;
}

.mem-upgrade-package .mem-widget__wrapper h4 {
  font-size: 2.25rem;
  line-height: 2.75rem;
  font-family: 'Fraunces', sans-serif;
}

body button.step {
  font-weight: 600;
}

.mem-add-new-book label.text-white-600,
.mem-add-new-book p.text-white-600,
.mem-add-new-book .question-example.text-white-600 {
  color: #f3f3f3;
}

.mem-add-new-book form#interview-step-1.account-settings-form {
  border-top: 1px solid #c2c2c2;
  margin-top: 1.5rem;
}

.mem-add-new-book form.account-settings-form label {
  font-weight: 700;
  text-transform: none;
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.mem-add-new-book form.account-settings-form .questions-interview {
  padding-top: 1rem;
}

.mem-add-new-book .questions-interview .item {
  border-radius: 10px;
  border: 2px solid #b9b9b9;
  overflow: hidden;
}

.mem-add-new-book form.account-settings-form .question-example-question-bank label {
  text-transform: none;
  font-size: 1.5rem;
  font-weight: 500 !important;
  margin-bottom: 1.5rem;
}

.mem-add-new-book .questions-interview .item.active {
  background-color: #e9f5f4;
  border-color: #23bc97;
}

.mem-add-new-book .question-database-item h3 {
  display: flex;
  align-items: center;
  margin-top: 0;
  font-size: 2rem;
  color: #284556;
  line-height: 1;
  padding: 0;
  font-weight: 700 !important;
}

.mem-add-new-book .question-database-item.active h3 {
  color: #29a599;
}

.mem-add-new-book .question-database-item h3::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #ccc;
  margin-right: 1rem;
}

.mem-add-new-book .question-database-item.active h3::before {
  border: 5px solid #29a599;
  background-color: #e9f5f4;
}

.questions-interview .fancy-radio-button.item .mem-tutorial-list-item__content {
  min-height: auto;
  padding: 10px;
  cursor: pointer;
}

.mem-add-new-book form.account-settings-form .fancy-radio-button {
  padding-top: 1rem;
}

.mem-add-new-book .fancy-radio-button .item {
  border-radius: 10px;
  border: 1px solid #b9b9b9;
  overflow: hidden;
}

.mem-add-new-book .fancy-radio-button h4::before {
  content: '';
  display: inline-block;
  width: 16px;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #ccc;
  margin-right: 1rem;
}

.mem-add-new-book .fancy-radio-button h4 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  padding: 10px 20px 10px 10px;
}

.mem-add-new-book .fancy-radio-button.active h4 {
}

.mem-add-new-book .fancy-radio-button.active h4::before {
  border: 5px solid #29a599;
  background-color: #e9f5f4;
}

.mem-add-new-book .question-database-item .mem-tutorial-list-item__cover {
  height: 260px;
}

.mem-add-new-book .question-database-item .mem-tutorial-list-item__content {
  min-height: inherit;
  padding: 1rem;
}

.mem-add-new-book .question-database-item .mem-tutorial-list-item__content p {
  color: #284556;
  font-family: 'Fraunces', sans-serif;
  margin-top: 0;
  font-size: 1.125rem;
}

.mem-add-new-book .questions-interview .item > * {
  filter: none;
  -webkit-filter: none;
}

.mem-add-new-book #selecting-tags .select2-selection.select2-selection--multiple,
.mem-add-new-book .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  padding: 0;
  background-color: transparent;
  margin-top: 0.5rem;
}

.mem-add-new-book
  .select2-container--default
  .select2-selection--multiple
  .select2-selection__rendered
  li.select2-selection__choice {
  padding: 4px 10px;
}

.mem-add-new-book #selecting-tags {
  border-bottom: 1px solid #c2c2c2;
  margin-bottom: 1.5rem;
}

.mem-add-new-book .question-example-question-bank {
  border-bottom: 1px solid #c2c2c2;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.mem-add-new-book .question-example {
  column-count: 1;
}

.mem-add-new-book form input,
.mem-add-new-book form textarea,
.mem-add-new-book form select {
  background: #fff;
  border-radius: 10px;
  border-color: #c2c2c2;
  font-size: 1.275rem;
  /* font-family: 'Fraunces', sans-serif; */
  font-weight: 400;
  color: #284556;
}

.mem-add-new-book form textarea.error,
.mem-add-new-book form select.error {
  border-color: red;
}

.mem-add-new-book form input.error {
  border-color: red;
}

.mem-add-new-book .step-container {
  max-width: 410px;
}

.mem-add-new-book .step-container#book-ai-toc-response {
  max-width: 700px;
}

.mem-add-new-book .interview-view-toc h2 {
  display: none;
}

.mem-add-new-book form select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 36px !important;
}

.mem-add-new-book .save.container {
  padding: 2rem 0;
}

.mem-add-new-book .mem-btn__base.mem-btn__clear {
  border: 1px solid #c2c2c2;
  font-size: 1.125rem;
  padding: 1.5rem 3rem;
  margin-right: 2rem;
  box-sizing: border-box;
}

.mem-add-new-book .mem-btn__base.mem-btn__transparent,
.mem-add-new-book .mem-btn__base.mem-btn__primary {
  font-size: 1.125rem;
  padding: 1.5rem 3rem;
}

.mem-add-new-book #selecting-tags label {
  font-weight: 500 !important;
  font-size: 1.5rem;
  text-transform: none;
  margin-bottom: 1rem;
}

.msg-headline-persist.msg-success,
.msg-headline.msg-success {
  padding: 1.5rem 1rem;
  background: #e9f5f4;
  border-radius: 5px;
  color: #23bc97;
  font-size: 1.125rem;
  max-width: 1108px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.msg-headline-persist.msg-error,
.msg-headline.msg-error {
  padding: 1.5rem 1rem;
  color: rgb(222, 106, 114);
  background: rgba(222, 106, 114, 0.17);
  border-radius: 5px;
  font-size: 1.125rem;
  max-width: 1108px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.msg-headline .mem-btn__iconWrapper {
  width: 40px;
  padding-right: 10px;
}
.mem-add-new-book #mem-step-two-interview form#interview-step-2 .container-fluid > h2 {
  font-size: 1.5rem !important;
  font-weight: 500 !important;
  border-top: 1px solid #c2c2c2;
  padding-top: 2rem;
}

.mem-add-new-book #mem-step-two-interview form#interview-step-2 .form-group > label:first-child[for='depression'] {
  font-size: 1.5rem !important;
  font-weight: 500 !important;
  border-top: 1px solid #c2c2c2;
  padding-top: 2rem;
  margin-top: 2.5rem;
}

/******************** BOOK PREVIEW CONTENT SETTINGS *********************/

/* .mem-content-title__wrapper.mem-tab-section-title {
  border-width: 2px;
  padding-bottom: 0.5rem;
} */

.book-inner-page-accordions.ui-accordion .ui-accordion-header {
  background-color: transparent;
  border-bottom: 1px solid #000;
  border-radius: 0;
  font-size: 1rem;
  margin: 0;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
}

.book-inner-page-accordions.ui-accordion .ui-accordion-header.ui-state-active {
  border: none;
  color: #29a599;
}

.book-inner-page-accordions.ui-accordion .ui-icon-triangle-1-e {
  background-position: -18px -128px;
}

.book-inner-page-accordions.ui-accordion .ui-icon-triangle-1-s {
  background-position: -50px -128px;
}

.book-inner-page-accordions.ui-accordion .ui-accordion-content {
  border-bottom: 1px solid #000;
  padding: 0 0 0.5rem 0;
}

.book-inner-page-accordions.ui-accordion .mem-form-input-group__horizontal {
  display: flex !important;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
  margin: 0;
  margin-bottom: 0.5rem;
}

.book-inner-page-accordions.ui-accordion .mem-form-input-group__horizontal:nth-child(-n + 8) {
  background: none;
  padding: 0;
}

.book-inner-page-accordions.ui-accordion .ui-accordion-content,
.book-inner-page-font-sizes {
  padding: 0 6px;
}

/*#book-preview-inner-settings-form select {*/
/*	font-size: 1rem;*/
/*	background: #fff;*/
/*	border: none;*/
/*	border-radius: 6px;*/
/*	padding: 0.5rem 0.75rem !important;*/
/*	font-family: 'Hanken Grotesk';*/
/*	font-weight: 400;*/
/*	height: auto;*/
/*	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");*/
/*	background-repeat: no-repeat;*/
/*	background-position: right 0.3rem center;*/
/*	background-size: 1em;*/
/*}*/

#book-preview-inner-settings-form
  .book-inner-page-accordions.ui-accordion
  .mem-form-input-group__horizontal
  > div:nth-of-type(3)
  select {
  padding-left: 0.5rem !important;
}

#book-preview-inner-settings-form .mem-form-input-group__horizontal > * {
  margin: 0;
}

#book-preview-inner-settings-form .mem-form-input-group__horizontal .mem-content-title__wrapper {
  font-weight: 400;
  font-size: 0.9rem;
  color: inherit;
}

.book-inner-page-accordions.ui-accordion .explanation-text p:empty {
  display: none;
}

.book-inner-page-accordions.ui-accordion .explanation-text p {
  margin: 0;
  padding: 1rem 1rem 0.5rem 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

/*.book-inner-page-accordions.ui-accordion .mem-form-input-group__horizontal .mem-input__inputWrapper .sp-replacer {*/
/*	min-height: 44px !important;*/
/*	border: none;*/
/*	background-color: #fff;*/
/*	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");*/
/*	background-repeat: no-repeat;*/
/*	background-position: right 0.25rem center;*/
/*	background-size: 1.2em;*/
/*}*/

/*.book-inner-page-accordions.ui-accordion .mem-form-input-group__horizontal .mem-input__inputWrapper .sp-replacer .sp-preview {*/
/*	background-image: none;*/
/*}*/

/*.book-inner-page-accordions.ui-accordion .mem-form-input-group__horizontal .mem-input__inputWrapper .sp-replacer .sp-preview .sp-preview-inner {*/
/*	border: 5px solid white;*/
/*	right: 22px;*/
/*}*/

/*.book-inner-page-accordions.ui-accordion .mem-form-input-group__horizontal .mem-input__inputWrapper .sp-replacer .sp-dd {*/
/*	display: none;*/
/*}*/

.book-inner-page-accordions.ui-accordion .mem-form-input-group__horizontal > .mem-form-input-group__vertical > div {
  margin-top: 0 !important;
}

.book-inner-page-accordions.ui-accordion
  .book-inner-page-font-sizes
  .mem-form-input-group__horizontal:nth-last-child(-n + 2) {
  border: 1px dashed #ccc;
}

.book-inner-page-accordions.ui-accordion
  .book-inner-page-accordions-section-container
  > .mem-form-input-group__vertical {
  border: 1px dashed #ccc;
  padding: 0 0.75rem 0.5rem 0.75rem;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.book-inner-page-accordions.ui-accordion
  .book-inner-page-accordions-section-container
  > .book-categories-layout-container {
  border: 1px dashed #ccc;
  padding: 0.5rem 0.75rem 1rem 0.75rem;
  margin-bottom: -0.75rem;
}

.book-inner-page-accordions.ui-accordion .delim-hr.mobile {
  display: none;
}

.book-inner-page-accordions.ui-accordion .mem-input__input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  width: px;
  height: 44px;
  cursor: pointer;
  border: 2px solid transparent;
  background-color: transparent;
}

.book-inner-page-accordions.ui-accordion .mem-input__input::before {
  content: 'B';
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  color: #666;
  background-color: #fff;
  border: 2px solid #fff;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Hanken Grotesk';
  font-weight: 700;
  transition: all 0.2s linear;
}

.book-inner-page-accordions.ui-accordion .mem-input__input:checked::before {
  background-color: #fff;
  border-color: #29a599;
  color: #29a599;
  transition: all 0.2s linear;
}

.book-inner-page-accordions.ui-accordion .font-alignment-left .mem-input__input::before {
  content: url('../icons/icons_tabler/align-left.svg');
}

.book-inner-page-accordions.ui-accordion .font-alignment-right .mem-input__input::before {
  content: url('../icons/icons_tabler/align-right.svg');
}

.book-inner-page-accordions.ui-accordion .font-alignment-center .mem-input__input::before {
  content: url('../icons/icons_tabler/align-center.svg');
}

.book-inner-page-accordions.ui-accordion .font-alignment-justified .mem-input__input::before {
  content: url('../icons/icons_tabler/align-justified.svg');
}

@media screen and (max-width: 600px) {
  .book-inner-page-accordions.ui-accordion .ui-accordion-header,
  #book-preview-inner-settings-form select {
    /*font-size: 1.1rem;*/
    font-size: 1rem;
  }

  .book-inner-page-accordions.ui-accordion
    .book-inner-page-accordions-section-container
    > .mem-form-input-group__vertical,
  .book-inner-page-accordions.ui-accordion
    .book-inner-page-accordions-section-container
    > .book-categories-layout-container {
    padding-top: 1rem;
  }

  .book-inner-page-accordions.ui-accordion .mem-checkbox__label.mem-checkbox__label-outside {
    white-space: normal;
    min-width: inherit;
  }

  .book-inner-page-accordions.ui-accordion .mem-form-input-group__horizontal > .mem-form-input-group__vertical > div {
    margin-bottom: 8px !important;
  }

  .book-inner-page-accordions.ui-accordion .mem-form-input-group__horizontal > .mem-flex-3 {
    flex-basis: 100%;
  }

  .book-inner-page-accordions.ui-accordion .mem-form-input-group__horizontal > .mem-flex-1.mem-block-sm-6 {
    width: 50%;
    margin-top: 0.5rem !important;
  }

  .mem-add-new-book .fancy-radio-button h4 {
    display: inline-block;
  }
}

/*********************** ANSWERS CATEGORIES + CARDS *************************/

ul.sortable-list {
  padding: 10px !important;
  margin: 3px;
  margin-top: 0;
  background-color: rgba(194, 194, 194, 0.1);
  transition: background-color 0.3s linear;
}

#answered-questions-accordion ul.sortable-list {
  padding-top: 0 !important;
}

#answered-questions-accordion ul.sortable-list.ui-accordion-content-active {
  background-color: rgba(25, 165, 131, 0.1);
  transition: background-color 0.3s linear;
  border-radius: 0 0 10px 10px;
}

ul.sortable-list li.mem-books-users__answerItem-show-details,
ul.sortable-list li.mem-books-users__deleted_answerItem-show-details {
  padding: 0;
  margin: 0 6px 6px 6px;
}

ul.sortable-list li.mem-books-users__deleted_answerItem-show-details .mem-avatar__avatarWrapper.mem-answer__image,
ul.sortable-list li.mem-books-users__answerItem-show-details .mem-avatar__avatarWrapper.mem-answer__image {
  display: none;
}

#answered-questions-accordion .ui-accordion-header,
#answered-questions-accordion .ui-accordion-header:first-child {
  justify-content: start;
  flex-direction: row;
  margin: 3px !important;
}

#answered-questions-accordion h3.mem-answer-category {
  font-weight: 400 !important;
  transition: all 0.3s linear;
  text-transform: none !important;
  font-size: 1.125rem;
  line-height: 1.1;
  padding: 1rem;
  border-radius: 10px;
  height: auto;
  align-items: start;
}

#answered-questions-accordion h3.mem-answer-category span.ui-icon + span {
  order: 0;
  background: #fff;
  border-radius: 2rem;
  width: 22px;
  height: 22px;
  margin-top: -2px;
  margin-right: 0.75rem;
  padding-top: 2px;
  display: flex;
  font-size: 1.125rem;
  font-weight: 500;
  justify-content: center;
  align-items: center;
  color: var(--links);
  flex-shrink: 0;
}

#answered-questions-accordion h3.mem-answer-category span.ui-icon {
  order: 3;
  margin-left: auto;
}

#answered-questions-accordion h3.mem-answer-category .ui-icon-triangle-1-e {
  background-position: -65px -16px;
}

#answered-questions-accordion h3.mem-answer-category.ui-accordion-header-collapsed {
  background-color: rgba(0, 0, 0, 0.1);
}

#answered-questions-accordion h3.mem-answer-category.ui-accordion-header-active {
  background-color: rgba(25, 165, 131, 0.1);
  color: #29a599 !important;
  font-weight: 500 !important;
  margin-bottom: 0 !important;
  border-radius: 10px 10px 0 0;
}

#answered-questions-accordion h3.mem-answer-category.ui-accordion-header-active .ui-icon-triangle-1-s {
  background-position: 0 -16px;
}

#answered-questions-accordion .mem-avatar__wrapper .mem-avatar__textBottom {
  overflow: inherit;
}

ul.sortable-list li .mem-answer-meta .material-icons {
  font-size: 16px !important;
  background: #f5f5f7;
  height: 26px;
  width: 26px;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

ul.sortable-list li .images_count {
  position: absolute;
  right: -13px;
  bottom: 0;
  background: #8cd2c1;
  font-size: 13px;
  border-radius: 100%;
  color: #fff;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
}

ul.sortable-list li .card-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

ul.sortable-list li .card-header {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 0;
  position: relative;
}

ul.sortable-list li .card-header-main {
  background: #fff;
  padding: 1rem;
  border-radius: 10px 10px 0 0;
  display: flex;
  flex-direction: row;
  justify-items: center;
  align-items: center;
  position: relative;
  margin-bottom: 0;
  flex: 0 0 75%;
  z-index: 2;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.08);
}

ul.sortable-list li .card-header-main .order-handle {
  position: absolute;
  right: 30px;
  top: 15px;
}

ul.sortable-list li .card-header-main .mem-order-button svg {
  height: 18px;
  color: #284556;
}

ul.sortable-list li .card-header-date {
  background: rgba(40, 69, 86, 0.5);
  border-radius: 8px;
  color: #fff;
  padding: 8px 10px 25px 125px;
  font-size: 12px;
  width: fit-content;
  position: absolute;
  right: 0;
  top: 10px;
}

ul.sortable-list li .card-category {
  font-size: 14px;
  margin-left: 0.25rem;
}

ul.sortable-list li .card-content {
  background-color: #fff;
  padding: 1rem;
  margin-top: -20px;
  z-index: 3;
  border-radius: 0 10px 10px 10px;
  box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.08);
}

ul.sortable-list li .card-content p {
  font-weight: 600;
}

ul.sortable-list li .card-content .card-meta {
  border-top: 1px solid var(--links);
  padding-top: 8px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

ul.sortable-list li .card-content .card-meta > div {
  margin-bottom: 0;
}

ul.sortable-list li .card-content .card-meta-media .resource_value {
  position: relative;
  margin-right: 1rem;
  margin-bottom: 0;
}

ul.sortable-list li .card-content .card-meta-media .resource_value .material-icons {
  margin-left: 2px !important;
  color: #94a2ab;
}

.mem-books-users__deleted_answerItem-show-details.mem-books-users__userItem.active,
.mem-books-users__answerItem-show-details.mem-books-users__userItem.active,
.mem-books-users__userItem:hover {
  background: none transparent;
  box-shadow: none;
}

ul.sortable-list li.active .card-header-main,
ul.sortable-list li.active .card-content {
  background: #29a599;
  color: #fff;
}

ul.sortable-list li.active .card-meta-media .resource_value .material-icons {
  color: rgba(255, 255, 255, 0.5);
}

ul.sortable-list li.active .card-header-main svg path {
  fill: var(--links);
  color: #fff;
  opacity: 1;
}

ul.sortable-list li.active .card-header-main .material-icons svg,
ul.sortable-list li.active .card-content p {
  color: #fff;
}

ul.sortable-list li.active .card-header-main .material-icons svg path {
  fill: inherit;
}

ul.sortable-list li.active .card-content .card-meta {
  border-color: rgba(255, 255, 255, 0.5);
}

ul.sortable-list li.ui-sortable-placeholder {
  border: 1px dashed var(--links);
  border-radius: 10px;
}

ul.sortable-list li .card-meta-service .mem-answer_private .mem-tag__wrapper.mem-tag__fill.green {
  padding: 2px;
  background: #8cd2c1;
  border-radius: 100%;
  color: #fff;
  width: 26px;
  height: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  margin: 0 0 0 0.5rem;
}

.mem-tag__wrapper.mem-tag__fill.gray {
  background: #ffffff;
}

/*********************** CATEGORIES PAGE *************************/

ul#sortable-category-list {
  padding: 0 !important;
}

ul#sortable-category-list li.mem-books-users__categoryItem-show-details {
  background-color: #fff;
  justify-content: space-between;
  flex-direction: row;
  margin: 12px 3px;
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.1;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  height: auto;
  align-items: center;
  transition: background-color 0.2s linear;
}

ul#sortable-category-list li.mem-books-users__categoryItem-show-details:hover {
  cursor: pointer;
  background-color: rgba(25, 165, 131, 0.1);
  transition: background-color 0.2s linear;
}

ul#sortable-category-list li.mem-books-users__categoryItem-show-details.selected,
ul#sortable-category-list li.mem-books-users__categoryItem-show-details.selected:hover {
  background-color: var(--links);
  color: #fff;
}

ul#sortable-category-list li.mem-books-users__categoryItem-show-details.selected .material-icons svg,
ul#sortable-category-list li.mem-books-users__categoryItem-show-details.selected:hover .material-icons svg {
  stroke: #fff;
}

ul#sortable-category-list > li > div {
  margin-bottom: 0;
}

ul#sortable-category-list .mem-list_info {
  font-family: 'Fraunces', sans-serif;
  font-weight: 700;
}

ul#sortable-category-list .mem-list_info span {
  display: block;
  font-size: 0.95rem;
  font-family:
    'Hanken Grotesk',
    -apple-system,
    system-ui,
    Roboto,
    Arial,
    sans-serif;
  font-weight: 400;
  margin-top: 5px;
}

.mem-yearbook-category-header {
  background-color: #f5f1ed;
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
}

.mem-yearbook-category-header h4 {
  color: #284556;
  font-family: 'Fraunces', sans-serif;
  font-size: 1.75rem;
  font-weight: 700 !important;
  margin-left: 0.5rem;
}

.mem-yearbook-category-header .mem-actions {
  display: flex;
  gap: 12px;
}

.mem-yearbook-category-container {
  padding: 1rem 0.5rem 1rem 1rem;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

.mem-yearbook-category-actions {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: start;
}

.mem-yearbook-category-actions.flex-col {
  flex-direction: column;
}

.mem-yearbook-category-actions .mem-actions-toggle {
  display: flex;
  align-items: center;
}

.mem-yearbook-category-actions .mem-actions-info p.text-muted {
  font-size: 0.875rem;
}

.mem-yearbook-category-actions .mem-actions-info p.text-muted .material-icons.small {
  font-size: 1rem;
}

.mem-yearbook-category-image img {
  max-width: 100%;
  border-radius: 10px;
  height: auto;
  width: 100%;
}

.mem-yearbook-category-image .mem-image-wrapper {
  position: relative;
  height: 478px;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.mem-yearbook-category-image .mem-image-wrapper .mem-actions {
  position: absolute;
  right: 1rem;
  top: 1rem;
}

.mem-yearbook-category-image .mem-image-wrapper h5 {
  position: absolute;
  left: 1rem;
  bottom: 2rem;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Fraunces', sans-serif;
  text-shadow: 0 0 3px black;
}

.mem-yearbook-category-description {
  margin-top: 2rem;
  text-align: center;
  font-weight: 600;
}

.mem-yearbook-category-description {
  background-color: #fff;
  /* box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04); */
  border-radius: 10px;
  margin-bottom: 4rem;
}

.mem-yearbook-category-description form {
  width: 100%;
  max-width: 100%;
}

.mem-yearbook-category-description .mem-widget-title__wrapper {
  background: #ededed;
  border-radius: 10px 10px 0 0;
  padding: 2px 0.25rem 2px 1rem;
}

.mem-yearbook-category-description h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: #3e3f42;
  text-transform: none;
  text-align: left;
}

.mem-yearbook-category-description .edit-answer-full-page-editor-content {
  padding: 20px;
  font-family: 'Fraunces';
  color: #3e3f42;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.8;
  text-align: left;
}

.mem-yearbook-category-description .edit-answer-full-page-editor-content .mem-answer-editor {
  font-family:
    'Hanken Grotesk',
    -apple-system,
    system-ui,
    Roboto,
    Arial,
    sans-serif;
}

/*********************** NOTIFICATIONS SLIDEOVER *************************/

.mem-Help__list .help-content-area,
.mem-notification__Bell .mem-Navigator__list {
  background-color: #f7f8fa;
  position: fixed;
  top: 62px;
  right: -420px;
  width: 400px;
  height: 100%;
  transition: all 0.3s ease-in-out;
  opacity: 1;
  visibility: visible;
  box-shadow: -4px 0 8px 0 rgba(0, 0, 0, 0.05);
  max-width: 75%;
}

.mem-Help__list .help-content-area {
  top: 69px;
}

.mem-Help__list.show .help-content-area,
.mem-notification__Bell .mem-Navigator__list.show {
  right: 0;
}

.notification-content-area .mem-books-list-item__wrapper-container {
  max-height: 100vh;
}

.mem-notification-wrapper {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  margin: 0.5rem 1.75rem 0.5rem 0.5rem;
  text-align: left;
  background-color: #fff;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.05);
}

.mem-notification-wrapper:hover {
  box-shadow: 0 2px 3px 0 rgba(155, 155, 155, 0.25);
  transition: all 0.2s ease-in-out;
}

header.mem-notification-header {
  flex-grow: 1;
  width: 100%;
}

.mem-notification-wrapper .btn.dismiss-notification {
  display: block;
  position: absolute;
  top: 12px;
  right: 12px;
}

.mem-notification-wrapper .btn.dismiss-notification .material-icons {
  font-size: 20px;
}

.mem-notification-content {
  padding: 1.5rem 0;
  max-width: 100%;
}

.notification-performer + .mem-notification-content {
  max-width: calc(100% - 65px);
}

.mem-notification-header-tag {
  background: #94bbb5;
  border: 1px solid #94bbb5;
  font-size: 0.75rem;
  color: #fff;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  text-align: center;
  line-height: 18px;
  width: fit-content;
  display: inline-block;
}

.mem-notification-header-tag.info {
  background-color: rgba(152, 195, 122, 0.17);
  color: rgb(152, 195, 122);
  border: 1px solid rgba(152, 195, 122, 0.17);
}

.mem-notification-header-tag.success {
  background-color: rgba(97, 175, 239, 0.17);
  color: rgb(97, 175, 239);
  border: 1px solid rgba(97, 175, 239, 0.17);
}

.mem-notification-header-tag.error {
  background-color: rgba(222, 106, 114, 0.17);
  color: rgb(222, 106, 114);
  border: 1px solid rgba(222, 106, 114, 0.17);
}

.mem-notification-header-tag.accent {
  background-color: rgba(209, 154, 102, 0.17);
  color: rgb(209, 154, 102);
  border: 1px solid rgba(209, 154, 102, 0.17);
}

.mem-notification-header-date {
  font-size: 0.75rem;
  display: block;
  margin-bottom: 0.5rem;
}

.mem-notification-wrapper .time-ago {
  font-size: 0.75rem;
  text-align: right;
  flex-grow: 1;
  display: block;
  width: 100%;
  border-top: 1px solid #eee;
  padding-top: 0.75rem;
  opacity: 0.7;
}

.mem-notification-header-title {
  font-size: 1rem;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #3e3f42;
}

.notification-performer {
  max-width: 65px;
  padding-bottom: 1rem;
  margin-right: 10px;
}

.notification-performer .mem-avatar__wrapper .mem-avatar__avatarWrapper.mem-avatar__avatarWrapperSmall {
  width: 40px;
  height: 40px;
  margin-top: 1.5rem;
  margin-right: 0;
}

.notification-performer .mem-avatar__wrapper .mem-avatar__avatarWrapperSmall .mem-avatar__avatar {
  width: 40px;
  height: 40px;
}

.mem-notification-wrapper a.mem-btn__base.mem-btn__primary {
  margin: 0 !important;
}

.mem-notification-content p {
  font-size: 0.9rem;
}

/*********************** WELCOME SCREEN *************************/

.mem-new-content-main__wrapper,
.mem-new-book-dashboard-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  /*overflow-y: auto;*/
}

.mem-new-page-title,
.mem-new-book-dashboard-header {
  padding: 1rem 0;
}

.mem-new-page-title h2,
.mem-new-book-dashboard-header h2 {
  font-size: 2rem;
  font-weight: bold !important;
  font-family: 'Fraunces';
  color: var(--links);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.mem-new-page-title p {
  margin: 0 !important;
  font-size: 1rem;
  color: #777;
}

.mem-new-book-dashboard-header p {
  font-size: 1.125rem;
}

.mem-new-book-dashboard-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.mem-list-card {
  display: flex;
  flex-direction: column;
  width: 90%;
  background-color: #f6f1ec;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s ease-in-out;
  margin: 5%;
}

.mem-dashboard-card {
  display: flex;
  flex-direction: column;
  height: 120px;
  width: 100%;
  background-color: #f6f1ec;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s ease-in-out;
}

.mem-dashboard-card.tour {
  height: 180px;
}

.mem-dashboard-card.categories {
  background-color: var(--links);
}

.mem-dashboard-card.headlines {
  background-color: #fef5c7;
}

.mem-dashboard-card.media {
  background-color: #acaff4;
}

.mem-dashboard-card.design {
  background-color: #344358;
}

.mem-dashboard-card.answers {
  background-color: #ff7b4c;
}

.mem-dashboard-card.book {
  background-color: #6094ff;
}

.mem-dashboard-card h5 {
  font-size: 1.5rem;
  font-family: 'Fraunces';
  line-height: 1.2;
  font-weight: bold;
  color: #fff;
  margin: 0;
}

.mem-dashboard-card p.pre-lead {
  font-size: 1.125rem;
  font-family: 'Fraunces';
  font-weight: normal;
  color: #fff;
}

.mem-list-card.headlines h5,
.mem-dashboard-card.headlines h5,
.mem-dashboard-card.headlines p.pre-lead {
  color: #344358;
}

.mem-dashboard-card.w-full {
  grid-column: span 2 / span 2;
}

.mem-dashboard-card.tour,
.mem-dashboard-card.helpdesk {
  flex-direction: row;
  gap: 1rem;
  justify-content: space-between;
}

.mem-dashboard-card.helpdesk {
  height: auto;
}

.mem-dashboard-card.tour .mem-dashboard-card-image,
.mem-dashboard-card.tour .mem-dashboard-card-content {
  width: 50%;
}

.mem-dashboard-card.tour .mem-dashboard-card-image {
  background-color: #b2a380;
  overflow: hidden;
}

.mem-dashboard-card.tour .mem-dashboard-card-image img {
  width: 101%;
  height: auto;
}

.mem-dashboard-card-icon {
  padding: 1rem;
  text-align: right;
  flex-shrink: 0;
  display: none;
}

.mem-dashboard-card-content {
  padding: 1.5rem;
  margin-top: auto;
}

.mem-list-card .mem-dashboard-card-content {
  padding: 1.5rem;
  margin-top: 0;
}

a.mem-dashboard-card:hover {
  transform: scale(1.025);
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease-in-out;
}

.mem-list-card p,
.mem-dashboard-card.tour p,
.mem-dashboard-card.helpdesk p {
  color: #344358;
  font-size: 1.125rem;
  font-family: 'Fraunces';
  font-weight: normal;
}

.mem-dashboard-card.tour span.green {
  font-weight: bold;
  color: var(--links);
}

.mem-list-card.helpdesk span,
.mem-dashboard-card.helpdesk span {
  font-weight: bold;
}

.mem-new-card-button-wrapper,
.mem-dashboard-card-button-wrapper {
  display: flex;
}

.mem-new-card-button-wrapper button,
.mem-new-card-button-wrapper a,
.mem-dashboard-card-button-wrapper a {
  background: #b2a380;
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  margin-left: auto;
  margin-right: 0;
  transition: all 0.2s ease-in-out;
}

.mem-new-card-button-wrapper .btn-bg-info {
  background: #ffcc4d;
  color: #1f4658;
  border: none;
}

.mem-new-card-button-wrapper button.btn-bg-transparent,
.mem-new-card-button-wrapper a.btn-bg-transparent {
  background: transparent;
  color: #8ea1aa;
  border: 1px solid #8ea1aa;
}

.mem-dashboard-card-button-wrapper a:hover {
  background-color: var(--links);
  transition: all 0.2s ease-in-out;
}

#texts-ai-optimization__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.editor-toolbar-item {
  display: flex;
  flex-direction: column;
  font-size: 10px;
  text-align: center;
  height: 100%;
}

.add-content-section a {
  height: 60px;
  padding: 10px;
  border-radius: 20px;
}

.add-content-section a.mem-btn_highlighted {
  background: #29a599;
  color: white;
}

.add-content-section {
  max-width: max-content !important;
  background: #f2fbf9;
  border-radius: 20px;
  border: 1px solid #29a599 !important;
  padding: 0px !important;
  gap: 5px !important;
  display: flex;
  justify-content: space-between;
}

.add-content-section .tooltip,
.add-content-section svg {
  height: 100%;
  width: auto;
}

.add-content-section.desktop {
  display: flex;
}

.add-content-section.mobile {
  display: none;
}

@media screen and (max-width: 767px) {
  .mem-new-book-dashboard-header {
    padding: 2rem 0;
  }

  .mem-new-book-dashboard-header h2 {
    font-size: 2rem;
  }

  .mem-dashboard-card {
    height: 100%;
  }

  .mem-dashboard-card.tour {
    flex-direction: column;
    gap: 0;
  }

  .mem-dashboard-card.tour .mem-dashboard-card-image,
  .mem-dashboard-card.tour .mem-dashboard-card-content {
    width: 100%;
  }

  .mem-dashboard-card.tour .mem-dashboard-card-image img {
    width: 100%;
    height: auto;
    display: none;
  }

  .mem-dashboard-card h5 {
    font-size: 1.5rem;
  }

  .mem-dashboard-card p.pre-lead {
    font-size: 1.125rem;
  }

  .mem-new-book-dashboard-cards .mem-dashboard-card {
    grid-column: span 2 / span 2;
  }

  .mem-new-content-main__wrapper {
    width: 100%;
  }

  .mem-card-current-credits-balance {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .mem-card-current-credits-balance .current-credit-info {
    text-align: center;
  }

  #credits-tick {
    margin: 0 auto;
  }

  #texts-ai-optimization__container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }

  .mem-add-new-book .mem-widget__wrapper.mem-widget__margin.mobile-no-container {
    min-width: 90%;
  }

  .add-content-section a {
    height: 50px;
  }

  .add-content-section.desktop {
    display: none;
  }

  .add-content-section.mobile {
    display: flex;
  }

  .add-content-section {
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    border-radius: 12px;
  }

  .ce-popover .ce-popover__container {
    bottom: calc(var(--offset) + env(safe-area-inset-bottom) + 24px) !important;
  }

  #ai-other-optimize-options .btn {
    padding: 0 5px !important;
    font-size: 12px;
  }

  #ai-other-optimize-options .btn svg {
    width: 16px;
  }

  #changeTextWithAiOptimizedText,
  #closeModalAiOptimizedText {
    width: 100%;
  }

  #hideUploadDragAndDropArea {
    top: 0 !important;
    right: 0 !important;
  }

  .mem-second-col-panel .ajax-result-inline #content-second-2-pdf {
    height: calc(100% - 32px) !important;
  }
}

@media screen and (max-width: 540px) {
  .mem-new-book-dashboard-cards {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    column-gap: 0;
    row-gap: 1rem;
  }
}

/*********************** CONFIRMATION SCREEN *************************/

.mem-confirm-wrapper {
  margin-top: 5rem;
  display: flex;
  justify-content: center;
}

.mem-confirm-wrapper-container {
  max-width: 1400px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  align-items: start;
}

.mem-confirm-image-col {
  padding-right: 1.5rem;
  flex-grow: 1;
}

.mem-confirm-image-col img {
  width: 100%;
}

.mem-confirm-content-col-intro h2 {
  font-size: 3rem;
  font-weight: bold !important;
  font-family: 'Fraunces';
  color: var(--links);
  line-height: 1.2;
}

.mem-confirm-content-col-intro p {
  font-size: 1.75rem;
  font-weight: bold !important;
  font-family: 'Fraunces';
  margin-bottom: 4rem;
}

.mem-confirm-content-col-step {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 1rem;
}

.mem-confirm-card {
  width: 33%;
  background-color: #fff;
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
}

.mem-confirm-card.approved {
  background-color: #2f7d5211;
  border: 1px solid #cbe3d4;
}

.mem-confirm-card.printing {
  background-color: #f2a33c11;
  border: 1px solid #f0e2bd;
}

.mem-confirm-card.shipping {
  background-color: #3d7ff011;
  border: 1px solid #e8e8e8;
}

.mem-confirm-card-icon {
  padding: 1.5rem;
  flex-shrink: 0;
}

.mem-confirm-card-icon svg {
  width: 48px;
  height: 48px;
  display: block;
}

.mem-confirm-card.approved .mem-confirm-card-icon {
  color: #2f7d52;
}

.mem-confirm-card.printing .mem-confirm-card-icon {
  color: #f2a33c;
}

.mem-confirm-card.shipping .mem-confirm-card-icon {
  color: #3d7ff0;
}

.mem-confirm-card-info {
  text-align: center;
}

.mem-confirm-card-info h4 {
  font-size: 1.25rem;
  font-weight: bold !important;
  font-family: 'Fraunces';
  line-height: 1.2;
}

.mem-confirm-card-info-date {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.mem-confirm-card-info.done .mem-confirm-card-info-date {
  color: var(--links);
}

.mem-new-card-content {
  border-radius: 10px;
  padding: 15px;
}

.mem-new-card-content th,
.mem-new-card-content td {
  padding: 8px;
}

.mem-new-card-content tr:nth-child(even) {
  background-color: #f2f2f2;
}

.mem-new-card-content label {
  font-family:
    'Hanken Grotesk',
    -apple-system,
    system-ui,
    Roboto,
    Arial,
    sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

.mem-new-card-content.mem-new-card__primary {
  background-color: var(--links);
}

.mem-new-card__white {
  background-color: white;
}

.mem-card-big-title {
  font-size: 1.5rem;
  font-family:
    'Hanken Grotesk',
    -apple-system,
    system-ui,
    Roboto,
    Arial,
    sans-serif;
  line-height: 1.2;
  font-weight: bold;
  color: #fff;
  margin: 0;
}

.mem-card-title {
  font-size: 1rem;
  font-family:
    'Hanken Grotesk',
    -apple-system,
    system-ui,
    Roboto,
    Arial,
    sans-serif;
  line-height: 1.2;
  font-weight: bold;
  color: #fff;
  margin: 0;
}

.mem-card-title.accent,
.mem-card-big-title.accent {
  font-family: 'Fraunces';
}

.texts-ai-optimization__container P {
  font-family: 'Fraunces';
}

@media screen and (max-width: 1280px) {
  .mem-confirm-image-col {
    display: none;
  }
}

@media screen and (max-width: 1024px) {
  .mem-confirm-wrapper {
    margin-top: 1.5rem;
  }

  .mem-confirm-content-col-intro h2 {
    font-size: 2rem;
  }

  .mem-confirm-content-col-intro p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .mem-confirm-content-col-step {
    flex-direction: column;
    gap: 1rem;
  }

  .mem-confirm-card {
    width: 100%;
    flex-direction: row;
  }

  .mem-confirm-card-info {
    text-align: left;
  }

  .mem-confirm-card-icon {
    padding: 0 1.5rem 0 0;
  }

  .mem-confirm-card-info-date {
    font-size: 1rem;
    margin-bottom: 0;
  }
}

/*********************** DYNAMIC SIDEBAR *************************/
.no-select {
  user-select: none;
}

.mem-books__booksMenuAnimate .mem-scroll__wrapper {
  padding-right: 3px;
}

.mem-books-users__list {
  position: relative;
  flex-basis: inherit;
  width: 450px;
  min-width: 350px;
  transition: width 0.5s linear;
}

@media screen and (min-width: 1150px) {
  .mem-books-users__list.mem-books-answers__list {
    max-width: 550px;
  }
}

.mem-books-users__container .mem-books-users__detail {
  flex-basis: inherit;
}

.dragbar {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 3px;
  background-color: #d7d7d7;
  cursor: ew-resize;
  z-index: 99;
}

.dashboard-layout #toggleSidebar {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -13px;
  padding: 14px 3px;
  cursor: pointer;
  background-color: #d7d7d7;
  color: #fff;
  border: none;
  border-radius: 0 3px 3px 0;
}

/*********************** BLANK BOOK: 4 STEPS *************************/
.blank-book-steps-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 2.5em;
}

.blank-book-steps-container .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.blank-book-steps-container .step p {
  text-align: center;
  font-size: 1.125rem;
  font-weight: 500;
  color: #1f4658;
}

.mem-books-detail__propertyTable a {
  color: #29a599;
}

.book-details__settings .mem-checkbox__toggle {
  padding-bottom: 8px;
}

.book-details__settings .mem-info-icon-text {
  margin-top: 0;
  margin-left: 5px;
}

.mem-info-icon-text svg {
  width: 14px;
  max-width: 14px;
  min-width: 14px;
}

/* Delete book — a destructive action that has to stay findable without pulling
   the eye away from the settings above it. Separated by a hairline rather than
   by colour, and the explanatory note is demoted to a footnote because the
   confirmation modal already spells out the consequences with exact counts. */
.delete_mini_book {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #edeff3;
}

.delete_mini_book .mem-info-icon-text {
  margin-top: 8px;
  margin-left: 2px;
  font-size: 12px;
  line-height: 1.5;
  color: #a2a5ad;
  max-width: 420px;
}

.delete_mini_book .mem-info-icon-text svg {
  width: 12px;
  max-width: 12px;
  min-width: 12px;
}

@media screen and (max-width: 1424px) {
  .blank-book-steps-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 500px) {
  .blank-book-steps-container {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 30px;
  }
  .mem-books-users__list {
    min-width: auto;
  }
}

/*********************** BIN: BNW LAYOUT *************************/
body.mem-user-trashed-answers .mem-books-answers__list,
body.mem-user-trashed-answers .mem-books-answer__detail h1,
body.mem-user-trashed-answers .mem-avatar__wrapper .mem-avatar__avatarWrapper .mem-avatar__avatar,
body.mem-user-trashed-answers .mem-books-answer__detail img {
  filter: grayscale(100%) !important;
}

body.mem-user-trashed-answers .mem-books-answer__detail img {
  opacity: 0.6;
}

.uppy-DashboardTab[data-uppy-acquirer-id='MobileVideoCamera'] {
  display: none !important;
}

h2.mem-headline {
  font-size: 2rem;
  font-weight: 600 !important;
  font-family: 'Fraunces', sans-serif;
  margin-bottom: 1rem;
}

#add-new-book-form {
  padding: 20px;
}

.choose-book-container {
  cursor: pointer;
}

.credits-cost-container {
  background-color: rgb(255, 255, 255);
  padding: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.choose-book-container {
  /*flex: 1;*/
}

.choose-book-wrapper {
  background-color: #ebf0f3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 20px 10px;
  border-radius: 0.5rem;
  height: 100%;
  border: 2px solid #ebf0f3;
  max-width: 195px;
  text-align: center;
  box-sizing: border-box;
}
.justify-center {
  justify-content: center;
}

.choose-book-wrapper.error {
  border: 2px solid red;
}

.choose-book-wrapper .book-type-icon {
  padding: 10px 0 15px 0;
  width: 100%;
}

.choose-book-container.active .choose-book-wrapper {
  border: 2px solid var(--links);
}

div.book-type-string {
  color: #344358;
}

.choose-book-wrapper .book-type-title {
  font-size: 1.4rem;
  font-family: 'Fraunces', sans-serif;
  font-weight: 600;
  padding: 0 20px;
  color: #344358;
}

#add-new-book-form .actions {
  margin-top: 20px;
}

#add-new-book-form .max-80pc {
  max-width: 80%;
  text-align: center;
  margin: 0 auto;
}

.item.fancy-radio-button {
  font-family: 'Hanken Grotesk', sans-serif;
}

.memory-choose-type-container {
  display: grid;
  justify-content: center;
  gap: 20px;
  justify-items: center;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.memory-choose-type-container.items-flex {
  display: flex;
}

.mem-add-new-book .questions-interview.error .item {
  border-color: red;
}

.ac-paid-options {
  margin-top: 10px;
  margin-left: 15px;
}

.ac-description p {
  color: #344358;
  font-size: 1rem;
  text-align: left;
  font-weight: 700;
}

ul.ac-paid-options li {
  margin-bottom: 0;
  text-align: left;
  font-size: 1rem;
}

.item.fancy-radio-button.add-new-book-option {
  background-color: #ebf0f3;
  width: calc(100% - 32px);
  max-width: 410px;
  border: 2px solid #ebf0f3;
}

.item.fancy-radio-button.add-new-book-option.active {
  border: 2px solid #29a599;
}

.item.fancy-radio-button.add-new-book-option.error {
  border: 2px solid red;
}

.toc.interview-view-toc ul {
  list-style: none;
  margin-left: 40px;
}

.toc.interview-view-toc .chapter {
  text-align: left;
}

.toc.interview-view-toc .chapter h3 {
  color: #3e3f42;
}

.toc.interview-view-toc .chapter ul {
  color: #3e3f42;
  font-size: 1.125rem;
  font-family: 'Fraunces', sans-serif;
}

#ai-response-loading {
  display: flex;
  padding: 20px 0;
}

.progress-bar .steps {
  align-items: end !important;
}

.progress-bar .steps .step.completed::before {
  opacity: 0 !important;
}

.dismiss-add-answer-tag .mem-tag_close svg {
  margin-top: -4px;
  width: 14px;
}

.dismiss-add-answer-tag .mem-tag_close {
  width: 20px;
  height: 20px;
}

#add-new-book-form .max-80pc {
  max-width: 80%;
  text-align: center;
  margin: 0 auto;
}

input[type='text'].transparent-input,
textarea.transparent-input,
span.transparent-input {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  padding-left: 4px !important;
  font-size: 1rem;
  color: #284556;
}

textarea.transparent-input,
span.transparent-input {
  padding-left: 0 !important;
}

input[type='text'].transparent-h4-input,
textarea.transparent-h4-input,
span.transparent-h4-input {
  font-family: 'Fraunces', sans-serif;
  font-size: 1.75rem;
  font-weight: 700 !important;
  outline: none;
  resize: none;
  /* Optional: remove box-shadow highlight in some browsers */
  box-shadow: none;
}

input[type='text'].transparent-input:focus,
input[type='text'].transparent-input:focus-visible {
  outline: none;
  box-shadow: none;
}

.pb-2 {
  padding-bottom: 1rem;
}

#mem-dashboard-layout.start .mem-second-col-panel,
#mem-dashboard-layout.start .mem-second-col-panel-loading,
#mem-dashboard-layout.loading .mem-second-col-panel {
  display: none;
}

#mem-dashboard-layout.loaded .mem-second-col-panel-start,
#mem-dashboard-layout.loaded .mem-second-col-panel-loading,
#mem-dashboard-layout.loading .mem-second-col-panel-start {
  display: none;
}

#mem-dashboard-layout.loading .mem-second-col-panel-loading {
  display: flex;
  height: 100%;
  align-items: center;
}

.mem-editor-settings .mem-input__inputWrapper .sp-replacer {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  min-height: 40px;
  border-radius: 6px;
  border: 4px solid #fff;
  outline: #d5d9dd solid 1px;
  cursor: pointer;
  background: transparent;
}

.mem-editor-settings .mem-input__inputWrapper .sp-replacer .sp-preview {
  background-image: none;
}

.mem-editor-settings .mem-input__inputWrapper .sp-replacer .sp-preview .sp-preview-inner {
  border-radius: 6px;
}

.mem-editor-settings .mem-input__inputWrapper .sp-replacer .sp-dd {
  display: none;
}

.mem-editor-settings .mem-input__input_bold {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  width: 40px;
  height: 44px;
  cursor: pointer;
  border: 2px solid transparent;
  background-color: transparent;
}

.mem-editor-settings .mem-input__input_bold::before {
  content: 'B';
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  color: #666;
  background-color: #fff;
  border: 1px solid #d5d9dd;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Hanken Grotesk';
  font-weight: 700;
  transition: all 0.2s linear;
}

.mem-editor-settings .mem-input__input_bold:checked::before {
  background-color: #fff;
  border-color: #29a599;
  border-width: 2px;
  color: #29a599;
  transition: all 0.2s linear;
}

.mem-editor-settings .mem-checkbox__wrapper.mem-checkbox__toggle {
  padding: 2px;
}

.mem-editor-settings .mem-checkbox__wrapper.mem-checkbox__toggle .mem-checkbox__label::after {
  width: 20px;
  height: 20px;
}
.mem-checkbox__wrapper.mem-checkbox__toggle .mem-checkbox__label.items-center::after {
  top: auto;
}

.mem-editor-settings .mem-checkbox__wrapper.mem-checkbox__toggle .mem-checkbox__label::before {
  width: 42px;
  height: 24px;
  margin-right: 2px;
}

/*// Glow Border Animation //*/

.animated-border-box {
  align-items: center;
  display: flex;
  justify-content: space-around;
  font-weight: bold;
}

.animated-border-box,
.animated-border-box-glow {
  max-height: 40px;
  max-width: 100px;
  height: 100%;
  width: 100%;
  position: absolute;
  overflow: hidden;
  z-index: 0;
  /* Border Radius */
  border-radius: 10px;
  text-align: center;
}

.select2-container .select2-selection--single {
  height: 32px;
}

span svg {
  max-width: 100%;
  min-width: min-content;
}

button span svg {
  max-width: min-content;
  min-width: auto;
}

.new-design .animated-border-box-glow {
  overflow: hidden;
  /* Glow Blur */
  filter: blur(20px);
}

.new-design .animated-border-box {
  animation-play-state: running;
}

.new-design .animated-border-box:before,
.new-design .animated-border-box-glow:before {
  content: '';
  z-index: -2;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  position: absolute;
  width: 99999px;
  height: 99999px;
  background-repeat: no-repeat;
  background-position: 0 0;
  /*border color, change middle color*/
  /* change speed here */
  animation: rotate 2.3s linear infinite;
}

.animated-border-box:before {
  animation-play-state: inherit !important;
}

.new-design .animation-hide.animated-border-box:before {
  display: none;
}

.new-design .animation-show.animated-border-box:before {
  display: block;
}

.new-design .animated-border-box {
  color: #f5a70b;
}

.old-design .animated-border-box {
  color: #344358;
}

.new-design .animated-border-box:before,
.new-design .animated-border-box-glow:before {
  background-image: conic-gradient(rgba(0, 0, 0, 0), #f5a70b, rgba(0, 0, 0, 0) 25%);
}

.old-design .animated-border-box:before,
.old-design .animated-border-box-glow:before {
  background-image: conic-gradient(rgba(0, 0, 0, 0), #aabacf, rgba(0, 0, 0, 0) 25%);
}

.animated-border-box:after {
  content: '';
  position: absolute;
  z-index: -1;
  /* border width */
  left: 1px;
  top: 1px;
  /* double the px from the border width left */
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  /*bg color*/
  background: #fef5c7;
  /*box border radius*/
  border-radius: 5px;
}

.new-design .animated-border-box:after {
  background: #fef5c7;
}

.old-design .animated-border-box:after {
  background: #d2dbe5;
}

.mem-select__optionList .headline {
  display: flex;
  align-items: center;
  padding: 5px;
  font-size: 1rem;
  margin: 0 10px;
  width: calc(100% - 20px);
  border-bottom: 1px solid #aabacf;
}

.mem-design-dropdown {
  cursor: pointer;
}

.mem-design-dropdown .mem-select__optionListWrapper .mem-select__optionList .mem-select__option {
  border-bottom: none !important;
}

.mem-design-dropdown .mem-select__optionListWrapper {
  border: 1px solid #aabacf;
}

.footer-mem-answer-stats .characters {
  width: max-content;
  margin: 0 auto;
}

.footer-mem-answer-stats {
  position: absolute;
  bottom: 0;
  padding: 7px 10px;
  width: 100%;
  border-top: 1px solid #aabacf;
  font-size: 0.875rem;
  background-color: #ffffff;
  z-index: 2;
  overflow-x: auto;
}

#mem-preview-notice {
  border-top: 1px solid #aabacf;
  position: absolute;
  bottom: 5px;
  width: 100%;
  text-align: center;
  padding-top: 5px;
  color: #6b6c6f;
  font-size: 0.875rem;
}

#mem-file-details .mem-attachment-info {
  padding: 15px;
  min-width: 20%;
}

@keyframes rotate {
  100% {
    transform: translate(-50%, -50%) rotate(1turn);
  }
}

/*// Border Animation END//*/

@media screen and (max-width: 1024px) {
  .memory-choose-type-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    justify-items: center;
  }

  #add-new-book-form .max-sm-100pc {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  #add-new-book-form {
    padding: 0;
  }

  #add-new-book-form .max-sm-100pc {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }
}

.mem-folder-item {
  background-color: #ffffff;
}
.media-library-overlay-folder .mem-folder-item {
  background-color: #d2f5ee70;
}

@media screen and (max-width: 767px) {
  #add-new-book-form .max-sm-100pc {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .memory-choose-type-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    justify-items: center;
  }

  .choose-book-wrapper {
    max-width: 190px;
  }

  #add-new-book-form {
    padding: 5px;
  }

  #add-new-book-form.mem-form .actions {
    flex-direction: row;
  }

  .choose-book-wrapper .book-type-title {
    font-size: 1.2rem;
  }

  .toc.interview-view-toc ul {
    list-style: none;
    margin-left: 25px;
  }

  .three-buttons-actions {
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
  }

  .book-details-enna-info.mem-input-container {
    flex-direction: column;
  }

  .interview-back {
    justify-content: center;
  }
}

@media screen and (max-width: 450px) {
  .choose-book-wrapper {
    max-width: 165px;
  }
}

@media screen and (max-width: 400px) {
  .choose-book-wrapper {
    max-width: 150px;
  }
}

@media screen and (max-width: 300px) {
  .choose-book-wrapper {
    max-width: 125px;
  }
}

.mem-second-col-panel-loading #animation g path {
  stroke: #0d9e91;
}

.center-box.old-design,
.center-box.new-design {
  width: 110px !important;
}

.mem-books-users__detail .msg-headline-container {
  margin-bottom: 15px;
}
.mem-media-library .mem-books-users__detail .msg-headline-container {
  margin-bottom: 0;
}

.mem-question-answered-avatars.faded {
  position: relative;
  overflow: hidden;
}

.mem-question-answered-avatars.faded::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40px; /* Adjust width for fade length */
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to left, #fff 65%, transparent 100%);
}

.mem-tag__wrapper {
  white-space: nowrap;
}

.mem-explanation a {
  color: #29a599;
}

.mem-toggle-label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  position: relative;
  padding: 0 0 15px 0;
}

.mem-toggle-header {
  display: flex;
  gap: 10px;
  align-items: center;
}

.mem-toggle-label p {
  cursor: default;
}

.mem-editor-settings .mem-toggle-header {
  justify-content: space-between;
}

.mem-toggle-title {
  font-family:
    'Hanken Grotesk',
    -apple-system,
    system-ui,
    Roboto,
    Arial,
    sans-serif;
  font-size: 1.125rem;
  font-weight: 600 !important;
  color: #1d273b;
  margin: 0;
}

.mem-toggle-title.mem-toggle-title-small {
  font-size: 1rem;
  font-weight: 400 !important;
  color: #4f4f4f;
}

.mem-toggle-group {
  display: flex;
  flex-shrink: 0;
}

.mem-toggle-input {
  display: none;
}

.mem-toggle-slider {
  width: 42px;
  height: 24px;
  background-color: #ebeef3;
  border-radius: 12px;
  position: relative;
  flex-shrink: 0;
  transition: background-color 0.3s ease;
}

.mem-toggle-slider::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.mem-toggle-input:checked + .mem-toggle-slider {
  background-color: #0d9e91 !important;
}

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

.mem-font-settings .mem-settings-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.mem-font-settings select {
  width: 100%;
  font-size: 1rem;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 500;
  padding: 0 10px !important;
  border: 1px solid #d5d9dd;
  border-radius: 8px;
  margin-bottom: 12px;
  height: 36px !important;
}

.mem-tabs {
  display: flex;
  position: relative;
  background-color: #ebeef3;
  padding: 2px;
  border-radius: 8px;
  margin-top: 0;
}

.mem-tabs * {
  z-index: 2;
}

input[type='radio']:checked + label {
  color: #29a599;
  opacity: 1;
}

.hide-radio-buttons input[type='radio'] {
  display: none;
}

#book_inner_page_question_title_alignment-2:checked ~ .glider {
  left: calc(34% - 2px);
}

#book_inner_page_question_title_alignment-3:checked ~ .glider {
  left: calc(66% - 2px);
}

.tab {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family:
    'Hanken Grotesk',
    -apple-system,
    system-ui,
    Roboto,
    Arial,
    sans-serif;
  height: 24px;
  width: 33.33%;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.15s ease-in;
  opacity: 0.6;
}

.mem-editor-settings .glider,
.mem-editor-settings .tab {
  height: 28px;
}

.book-inner-page-font-sizes .mem-tabs,
.mem-font-settings .mem-tabs {
  width: 166px;
}

.glider {
  position: absolute;
  display: flex;
  height: 24px;
  width: 33.33%;
  background-color: white;
  z-index: 1;
  border-radius: 6px;
  transition: 0.25s ease-out;
}

.mem-font-settings .selectify-input,
.mem-tab-contents .selectify-input {
  width: 100%;
  font-size: 1rem;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 500;
  padding: 0 10px !important;
  border: 1px solid #d5d9dd;
  border-radius: 8px;
  margin-bottom: 12px;
  height: 36px !important;
}

.mem-toggle-label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  position: relative;
  padding: 0 0 15px 0;
}

.mem-toggle-header {
  display: flex;
  gap: 10px;
  align-items: center;
}

.mem-toggle-label p {
  cursor: default;
}

.mem-editor-settings .mem-toggle-header {
  justify-content: space-between;
}

.mem-editor-settings .mem-hr-settings .mem-toggle-header {
  background-color: #ebeef3;
  padding: 2px;
  border-radius: 8px;
}

.mem-toggle-label-inline.mem-toggle-label {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  display: flex;
  margin-bottom: 0;
}

.mem-toggle-label-inline.mem-toggle-label .mem-toggle-header {
  font-family:
    'Hanken Grotesk',
    -apple-system,
    system-ui,
    Roboto,
    Arial,
    sans-serif;
  font-size: 1rem;
  font-weight: 600 !important;
  color: #1d273b;
  margin: 0;
  font-weight: 600 !important;
}

.mem-toggle-label-container p {
  margin-top: 0 !important;
}

#bulk-feedback {
  padding: 1.5rem 1rem;
  border-radius: 5px;
  font-size: 1.125rem;
  margin: 0 auto;
  display: flex;
  justify-content: start;
}

#bulk-feedback.msg-success {
  background: #e9f5f4;
  color: #23bc97;
}

#bulk-feedback.msg-error {
  color: rgb(222, 106, 114);
  background: rgba(222, 106, 114, 0.17);
}

.uppy-Dashboard-Item-previewInnerWrap {
  max-height: 80%;
}

#mw-reisebuch-question-bank {
  display: none !important;
}

#shipping_phone-error {
  position: absolute;
}

.has-shipping-phone-error {
  padding-bottom: 24px;
}

.mem-input__input:disabled {
  background: rgba(231, 231, 231, 0.5);
}

input[type='text'].rpv-core__textbox {
  min-height: 10px;
}

#share-book-modal .md-modal-inner-content {
  min-height: 215px;
}

.mem-widget__margin.no-image-category-color:before {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  content: url('../icons/icons_tabler/topography.svg');
  opacity: 0.2;
}
.no-image-category-color .mem-tutorial-list-item__content {
  padding: 12px 25px;
  margin-bottom: 0;
  align-content: center;
}

.no-image-category-color .mem-tutorial-list-item__content h3 a,
.no-image-category-color .mem-tutorial-list-item__content h3 {
  margin-bottom: 0;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: bold;
}
.no-image-category-color.mem-widget__wrapper {
  box-shadow: 0 2px 7px 0 rgba(0, 0, 0, 0.08);
  height: calc(100% - 15px);
}
.no-image-category-color .mem-tutorial-list-item__extra {
  margin: 0 !important;
  background: #fff;
  padding: 5px 15px;
}
.no-image-category-color .question-expand-actions .chevron-down,
.no-image-category-color .question-expand-actions .chevron-up {
  margin-bottom: 0;
}

.no-image-category-color .mem-question-overlay-list-actions .edit-question-from-queue,
.no-image-category-color .mem-question-overlay-list-actions .delete-question-from-queue {
  background: #fff;
  padding: 5px 15px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  color: #000;
}

.no-image-category-color .mem-question-overlay-list-actions .edit-question-from-queue a,
.no-image-category-color .mem-question-overlay-list-actions .delete-question-from-queue a {
  color: #000;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.no-image-category-color .delete-question-from-queue svg,
.no-image-category-color .edit-question-from-queue svg {
  width: 17px;
  margin-right: 5px;
}
a:visited#generate-docx-btn,
a#generate-docx-btn {
  color: var(--links);
}

.uploader-window .uppy-Dashboard,
.uploader-window .uppy-dashboard,
.uploader-window .uppy-Root {
  height: 100% !important;
}
.uploader-window .uppy-Dashboard-inner .uppy-Dashboard-innerWrap {
  min-height: 400px;
}
.uploader-window .uppy-Dashboard-inner {
  width: 750px;
  height: 100% !important;
  min-height: 400px;
}

.uploader-window .uppy-Dashboard-AddFiles,
.uploader-window .uppy-Dashboard-dropFilesHereHint {
  min-height: 400px;
  padding-top: 0;
}

.mem-answer-details p.answer-hidden {
  font-size: 1rem !important;
  font-family:
    'Hanken Grotesk',
    -apple-system,
    system-ui,
    Roboto,
    Arial,
    sans-serif !important;
}
.mem-content__item.mem-content__answer {
  margin-left: 45px !important;
}
@media screen and (max-width: 767px) {
  #share-book-modal {
    min-width: 80%;
  }

  .mem-answer-details p.answer-hidden {
    font-size: 1rem;
  }
  .mem-content__item.mem-content__answer {
    /* margin-left: 10px !important; */
  }
}

@media screen and (max-height: 700px) and (max-width: 990px) {
  #share-book-modal {
    min-width: 80%;
  }
}

.book-details-icon svg {
  margin-right: 5px;
}
.mem-books-detail__propertyTable td svg {
  margin-right: 5px;
}

.mem-wizard-buttons .mem-btn__base {
  margin-bottom: 0;
}

/* ---------------------------------------------------------------------------
   Regular page scrolling for the interview flow
   Pages: body.mem-add-new-book (add-new-book.php) and body.mem-free
   (user-interview-content.php) inside branded-empty-page-layout.php.

   The app shell is built as a fixed-height, non-scrolling frame
   (body / #root are height:100% + overflow:hidden, .mem-container-h__wrapper
   is height:100%) and ::-webkit-scrollbar is hidden globally. On these two
   pages the content is taller than the viewport, so it becomes unreachable -
   especially on Windows, where there is no overlay scroll gesture.
   Below we give only these pages a normal document scroll with native,
   visible scrollbars.
--------------------------------------------------------------------------- */
html:has(body.mem-add-new-book),
html:has(body.mem-free) {
  height: auto;
  overflow-y: auto;
}

body.mem-add-new-book,
body.mem-free {
  height: auto;
  max-height: none;
  overflow: visible;
}

body.mem-add-new-book #root,
body.mem-free #root {
  height: auto;
  min-height: 100%;
  overflow: visible;
}

body.mem-add-new-book .mem-App__app,
body.mem-free .mem-App__app {
  height: auto;
  min-height: 100%;
  overflow: visible;
}

/* the layout sets an inline height: calc(100% - 135px) on this wrapper, hence
   the !important - it has to grow with its content on these pages */
body.mem-add-new-book .mem-container-h__wrapper,
body.mem-free .mem-container-h__wrapper {
  height: auto !important;
  max-height: none;
  overflow: visible;
}

body.mem-add-new-book .mem-container-h__wrapper > .mem-layout-main__wrapperInner,
body.mem-free .mem-container-h__wrapper > .mem-layout-main__wrapperInner {
  height: auto;
  max-height: none;
  overflow: visible;
}

/* the content templates cap themselves to the (previously fixed) shell height
   with inline max-height:100% / .max-h-full - that would clip the page now
   that the shell grows with its content */
body.mem-add-new-book .mem-add-new-book,
body.mem-add-new-book .mem-books-user__splitContent,
body.mem-free .mem-add-new-book,
body.mem-free .mem-books-user__splitContent {
  height: auto;
  max-height: none !important;
  overflow: visible;
}

/* native scrollbars for the document scroller only - inner scroll areas that
   deliberately hide their scrollbar (.hide-scrollbar, modals, #all-steps-*)
   are left untouched */
html:has(body.mem-add-new-book)::-webkit-scrollbar,
html:has(body.mem-free)::-webkit-scrollbar,
body.mem-add-new-book::-webkit-scrollbar,
body.mem-free::-webkit-scrollbar {
  display: block;
  width: 10px;
  height: 10px;
}

html:has(body.mem-add-new-book)::-webkit-scrollbar-track,
html:has(body.mem-free)::-webkit-scrollbar-track,
body.mem-add-new-book::-webkit-scrollbar-track,
body.mem-free::-webkit-scrollbar-track {
  display: block;
  background: transparent;
}

html:has(body.mem-add-new-book)::-webkit-scrollbar-thumb,
html:has(body.mem-free)::-webkit-scrollbar-thumb,
body.mem-add-new-book::-webkit-scrollbar-thumb,
body.mem-free::-webkit-scrollbar-thumb {
  background: rgba(128, 128, 128, 0.4);
  border-radius: 7px;
}

html:has(body.mem-add-new-book)::-webkit-scrollbar-thumb:hover,
html:has(body.mem-free)::-webkit-scrollbar-thumb:hover,
body.mem-add-new-book::-webkit-scrollbar-thumb:hover,
body.mem-free::-webkit-scrollbar-thumb:hover {
  background: rgba(128, 128, 128, 0.6);
}
/* ---------------------------------------------------------------------------
   Video source chooser — the two options offered by the editor's video block.
   Built to sit inside the answer editor, including the narrow middle column of
   the three-column layout, so the cards stack rather than squash.
   --------------------------------------------------------------------------- */
.one-video-source-choice {
  text-align: left;
  padding: 0px 15px 8px;
}

.one-video-source-choice__title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
}

.one-video-source-choice__options {
  display: grid;
  /* Fixed-width tiles, not stretched columns: the reference is the media
     library's square add-file box, and a card that fills the row reads as a
     banner instead. auto-fill keeps them left-aligned as the column narrows. */
  grid-template-columns: 1fr 1fr;
  justify-content: start;
  gap: 16px;
  align-items: stretch;
  margin-top: 0;
}

.one-video-source-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  /* Roughly square, like the tile it is modelled on. */
  min-height: 196px;
  margin: 0;
  padding: 26px 18px;
  justify-content: center;
  background: #fbfdfd;
  border: 2px dashed #d5dbe0;
  border-radius: 14px;
  text-align: center;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.one-video-source-option:hover {
  background: #f2fbfa;
  border-color: #29a599;
  border-style: solid;
  box-shadow: 0 6px 18px rgba(41, 165, 153, 0.14);
  transform: translateY(-2px);
}

.one-video-source-option:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(41, 165, 153, 0.12);
}

/* Keyboard users get the same affordance as the mouse, and a visible ring. */
.one-video-source-option:focus-visible {
  outline: none;
  background: #f2fbfa;
  border-color: #29a599;
  border-style: solid;
  box-shadow: 0 0 0 3px rgba(41, 165, 153, 0.28);
}

/* The icon sits in a soft disc so the card reads as a tile rather than a
   button with a picture on it. */
.one-video-source-option__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e7f6f4;
  color: #29a599;
  line-height: 0;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.one-video-source-option__icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.75;
}

.one-video-source-option:hover .one-video-source-option__icon {
  background: #d8f0ed;
  transform: scale(1.06);
}

.one-video-source-option__label {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: #1f2937;
}

.one-video-source-option__hint {
  font-size: 13px;
  line-height: 1.45;
  color: #6b7280;
  max-width: 26ch;
}

/* Allowance spent: still offered, so the option can explain itself instead of
   silently disappearing, but visibly not the ready path. */
.one-video-source-option--unavailable {
  background: #fafafa;
  border-color: #e2e5e9;
}

.one-video-source-option--unavailable .one-video-source-option__icon {
  background: #f0f1f3;
  color: #9ca3af;
}

.one-video-source-option--unavailable .one-video-source-option__label {
  color: #6b7280;
}

.one-video-source-option--unavailable:hover {
  background: #f6f7f8;
  border-color: #c9ced4;
  border-style: dashed;
  box-shadow: none;
}

.one-video-source-option--unavailable:hover .one-video-source-option__icon {
  background: #e8eaec;
  transform: none;
}

.one-video-source-choice__remember {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 2px 0;
  font-size: 13px;
  color: #6b7280;
  cursor: pointer;
  user-select: none;
}

.one-video-source-choice__remember input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #29a599;
  cursor: pointer;
}

/* Undo a remembered choice, shown above whichever step was remembered. */
.one-video-source-change {
  display: inline-block;
  margin: 0 0 10px;
  padding: 0;
  background: none;
  border: 0;
  font-size: 13px;
  color: #29a599;
  text-decoration: underline;
  cursor: pointer;
}

.one-video-source-change:hover {
  color: #1f8579;
}

/* The three-column editor gives this block a narrow column; one card per row
   there is better than two squashed ones. */
@media (max-width: 640px) {
  .one-video-source-choice__options {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .one-video-source-option {
    min-height: 0;
    padding: 18px 16px;
  }

  .one-video-source-option__hint {
    max-width: none;
  }
}

/* ---------------------------------------------------------------------------
   Media library video tiles. Videos show their poster frame where one exists
   and a placeholder where it does not, with a play badge either way so a video
   reads as a video at a glance rather than as a dark photo.
   --------------------------------------------------------------------------- */
.media-library-item--video {
  background-size: cover;
  background-position: center;
  background-color: #1f2937;
}

.mem-video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #e5e7eb;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
}

.mem-video-placeholder svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.5;
}

.media-library-item__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.55);
  color: #fff;
  pointer-events: none;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.media-library-item__play svg {
  width: 22px;
  height: 22px;
  /* Filled, so it reads as a play button rather than an outline glyph. */
  fill: currentColor;
  stroke: none;
  margin-left: 2px;
}

.mem-books-grid-item__wrapper:hover .media-library-item__play {
  background: rgba(41, 165, 153, 0.9);
  transform: translate(-50%, -50%) scale(1.08);
}

.media-library-item__duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(17, 24, 39, 0.72);
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.mem-video-player video {
  border-radius: 8px;
}
