:root {
  --br-surface: #ffffff;
  --br-surface-2: #f7faff;
  --br-border: #e6ecf5;
  --br-text: #1f2533;
  --br-blue: #4c8dff;
  --br-green: #1fc77a;
  --br-orange: #ff8a3d;
  --br-red: #ea445a;
  --br-accent: linear-gradient(90deg, var(--br-blue) 0%, var(--br-green) 100%);
  --br-radius: 16px;
}

.background-layer.password-cards .bg-layer__1 {
  transform: scale(-1, 1);
}
.background-layer.password-cards .bg-layer__2 {
  left: 120px;
}

.add-bg__pencils::after {
  position: absolute;
  content: url(https://cdn.brainring.co.uk/public/images/bg_element__pencils.svg);
  right: -130px;
  bottom: 250px;
  z-index: -1;
}

.reviews__table {
  font-family: "Arial", sans-serif;
  font-size: 1rem;
  border-collapse: collapse;
  border-spacing: 0 5px;
  margin: 30px 0;
  width: 100%;
  min-width: 400px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.reviews__table thead {
  background-color: #4CAF50;
  color: #ffffff;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
}
.reviews__table thead th {
  padding: 15px 20px;
  font-size: 1rem;
  line-height: 1.5rem;
  border-radius: 8px 8px 0 0;
}
.reviews__table tbody tr {
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
@media screen and (min-width: 901px) {
  .reviews__table tbody tr.recommended:hover {
    background-color: #f4fff4;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  }
  .reviews__table tbody tr.not-recommended:hover {
    background-color: #fff5f5;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  }
}
.reviews__table tbody tr td {
  padding: 15px;
  font-size: 1rem;
  color: #333;
  vertical-align: middle;
  border-radius: 0;
}
.reviews__table .review-header {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}
.reviews__table .review-header strong {
  font-weight: 600;
  font-size: 1.1em;
  color: #333;
}
.reviews__table .subject-year {
  font-size: 0.95em;
  color: #F9A825;
  display: block;
  margin-top: 5px;
}
.reviews__table .review-text {
  display: inline-block;
  width: 100%;
  margin-top: 10px;
  padding: 10px 15px;
  background-color: #f1f1f1;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  word-wrap: break-word;
  transition: background-color 0.3s ease;
}
.reviews__table .review-text::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: -10px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #f1f1f1;
}
.reviews__table .review-text:hover {
  background-color: #eaeaea;
}
.reviews__table .review-text p {
  font-size: 1rem;
  line-height: 1.5;
  color: #444;
  margin: 0;
}
.reviews__table .recommend-label {
  position: absolute;
  top: 15px;
  right: 15px;
}
.reviews__table .label {
  display: inline-block;
  padding: 5px 12px;
  font-size: 0.75rem;
  border-radius: 12px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
}
.reviews__table .label.recommended {
  background-color: #4CAF50;
}
.reviews__table .label.not-recommended {
  background-color: #E53935;
}
.reviews__table .review-content {
  width: 100%;
  padding-right: 10px;
  border: 2px solid #ddd;
  position: relative;
}

.fancy-select {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  text-decoration: underline;
  -webkit-text-decoration-style: dashed;
          text-decoration-style: dashed;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  color: #ffff00;
}
.fancy-select::after {
  display: none !important;
}
.fancy-select select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: #ffff00;
  cursor: pointer !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: initial !important;
}
.fancy-select select:focus {
  outline: none;
  box-shadow: none;
}
.fancy-select select::-ms-expand {
  display: none !important;
}

/* Paginator links are styled globally (.br-paging-nav) so the reviews and
   news listings match. */
.content-background.reviews {
  padding: 10px;
}

.content .reviews-create {
  border: 1px dashed;
}

.reviews__background-content {
  position: absolute;
  right: 38px;
  z-index: 0;
}
.reviews__background-content.bottom {
  bottom: 30px;
}

.reviews__star-rating {
  width: 260px;
  border: 7px dashed #feaa3a;
  background-color: rgba(255, 188, 100, 0.1);
  padding: 20px;
  float: right;
  margin-left: 25px;
  text-align: center;
  font-size: 1rem;
}

.content__title.content__title-step-one {
  max-width: 500px;
}

.content__form-reviews {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 600px;
  width: 100%;
  min-height: 152px;
  margin: 0 auto 28px;
  padding: 31px 25px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  box-shadow: rgba(0, 0, 0, 0.05) 0 1px 2px 0;
}
.content__form-reviews label .label {
  min-width: 150px;
}
.content__form-reviews span {
  line-height: 16px;
  margin-right: 15px;
}
.content__form-reviews input {
  width: 100%;
  height: 35px;
}
.content__form-reviews input[type=checkbox] {
  min-width: 0;
  height: auto;
}
.content__form-reviews input[type=radio] {
  min-width: 0;
  height: auto;
}
.content__form-reviews .form__point {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.content__form-reviews textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.content__form-reviews-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.content__form-reviews-item span {
  line-height: 16px;
  margin-right: 15px;
}

.content__form-radio {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-evenly;
}
.content__form-radio label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}
.content__form-radio span {
  font-size: 15px;
  padding-top: 3px;
}

@media screen and (max-width: 900px) {
  .fancy-select {
    text-decoration-thickness: initial !important;
    text-underline-offset: initial !important;
  }

  .add-bg__pencils {
    margin-top: 20px;
  }

  .reviews__background-content {
    display: none !important;
  }

  .reviews__table thead th {
    font-size: 1.2rem;
    line-height: 1.6rem;
  }
  .reviews__table td {
    padding: 3px 0 !important;
  }
  .reviews__table td .text-sm {
    font-size: 1.1rem !important;
  }
  .reviews__table .review-content {
    padding: 15px 8px !important;
  }
  .reviews__table .review-text p {
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .content__form-reviews {
    max-width: 100%;
  }
}
/* ===========================================================================
   Write-a-review call to action + list paging controls.
   The button used to carry an inline `3px dashed #c5e833` border; the dashed
   lime outline read as unfinished next to the rest of the page.
   =========================================================================== */
.reviews__write-btn {
  max-width: 360px;
  height: auto;
  min-height: 52px;
  padding: 12px 26px;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 4px 14px -4px rgba(45, 130, 87, 0.45);
  letter-spacing: 0.01em;
}
.reviews__write-btn:hover {
  box-shadow: 0 8px 20px -5px rgba(45, 130, 87, 0.55);
}

.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) {
  --reviews-ui-scale: 1;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, calc(240px * var(--reviews-ui-scale))), 1fr));
  gap: calc(10px * var(--reviews-ui-scale));
  margin: 0 0 calc(16px * var(--reviews-ui-scale));
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-actions:has(> a:only-child) {
  max-width: calc(320px * var(--reviews-ui-scale));
  margin-inline: auto;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: calc(44px * var(--reviews-ui-scale));
  height: auto !important;
  max-height: none !important;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: calc(10px * var(--reviews-ui-scale)) calc(14px * var(--reviews-ui-scale));
  border: 1px solid #62a82d;
  border-radius: calc(10px * var(--reviews-ui-scale));
  font: calc(16px * var(--reviews-ui-scale))/1.35 Gilroy-Semibold, sans-serif !important;
  text-align: center;
  text-decoration: none;
  gap: calc(8px * var(--reviews-ui-scale));
  white-space: normal;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-actions a span {
  min-width: 0;
  padding: 0;
  font: inherit !important;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-actions .reviews-actions__browse {
  color: #005980;
  background: rgba(255, 255, 255, 0.8);
  border-color: #d2e3ec;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-actions .reviews-actions__browse:hover {
  background: #edf6fa;
  border-color: #33c5f3;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-actions .reviews-actions__icon {
  flex: 0 0 calc(24px * var(--reviews-ui-scale));
  width: calc(24px * var(--reviews-ui-scale)) !important;
  height: calc(24px * var(--reviews-ui-scale)) !important;
  -o-object-fit: contain;
     object-fit: contain;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-empty-state {
  padding: calc(16px * var(--reviews-ui-scale));
  margin: 0;
  color: #4b6d80;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #d9e8ef;
  border-radius: calc(12px * var(--reviews-ui-scale));
  font: calc(16px * var(--reviews-ui-scale))/1.5 Gilroy-Regular, sans-serif;
  text-align: center;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-paging__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(-webkit-max-content, 1fr) auto;
  grid-template-columns: minmax(0, 1fr) minmax(max-content, 1fr) auto;
  gap: calc(6px * var(--reviews-ui-scale)) calc(10px * var(--reviews-ui-scale));
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin: 0 0 calc(12px * var(--reviews-ui-scale)) !important;
  padding: calc(12px * var(--reviews-ui-scale));
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #d9e8ef;
  border-radius: calc(12px * var(--reviews-ui-scale));
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-paging__controls .reviews-paging__field {
  display: contents;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-paging__controls label {
  align-self: end;
  margin: 0;
  min-width: 0;
  white-space: nowrap;
  font: calc(14px * var(--reviews-ui-scale))/1.3 Gilroy-Semibold, sans-serif !important;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-paging__controls .reviews-paging__field--page > label {
  grid-column: 1;
  grid-row: 1;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-paging__controls .reviews-paging__field--page > .select {
  grid-column: 1;
  grid-row: 2;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-paging__controls .reviews-paging__field--limit > label {
  grid-column: 2;
  grid-row: 1;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-paging__controls .reviews-paging__field--limit > input {
  grid-column: 2;
  grid-row: 2;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-paging__controls .select {
  width: 100%;
  min-width: 0;
  margin: 0;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-paging__controls .select::after {
  right: calc(12px * var(--reviews-ui-scale));
  width: calc(10px * var(--reviews-ui-scale)) !important;
  height: calc(7px * var(--reviews-ui-scale)) !important;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-paging__controls select, .wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-paging__controls input {
  min-width: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: calc(44px * var(--reviews-ui-scale));
  max-height: none !important;
  margin: 0 !important;
  padding: calc(8px * var(--reviews-ui-scale)) calc(10px * var(--reviews-ui-scale)) !important;
  border: 1px solid #c9dfe9;
  border-radius: calc(8px * var(--reviews-ui-scale));
  background: #fff;
  font: calc(16px * var(--reviews-ui-scale))/1.3 Gilroy-Regular, sans-serif !important;
  color: #244b60;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-paging__controls select {
  padding-right: calc(28px * var(--reviews-ui-scale)) !important;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-paging__controls .reviews-paging__apply {
  grid-column: 3;
  grid-row: 2;
  min-width: calc(70px * var(--reviews-ui-scale));
  min-height: calc(44px * var(--reviews-ui-scale));
  width: auto;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: calc(8px * var(--reviews-ui-scale)) calc(12px * var(--reviews-ui-scale));
  border-radius: calc(8px * var(--reviews-ui-scale));
  gap: calc(6px * var(--reviews-ui-scale));
  font: calc(15px * var(--reviews-ui-scale))/1.3 Gilroy-Semibold, sans-serif !important;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-paging__controls .reviews-paging__apply span {
  font: inherit !important;
  padding: 0;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-paging__controls--page-only {
  grid-template-columns: minmax(0, 1fr);
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .br-paging-summary {
  margin: calc(8px * var(--reviews-ui-scale)) 0;
  font-size: calc(14px * var(--reviews-ui-scale)) !important;
  line-height: 1.4 !important;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews__table {
  margin-top: calc(12px * var(--reviews-ui-scale));
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) :is(.reviews-actions a, .reviews-paging__controls select, .reviews-paging__controls input, .reviews-paging__apply):focus-visible {
  outline: calc(2px * var(--reviews-ui-scale)) solid #0f8ef5;
  outline-offset: calc(3px * var(--reviews-ui-scale));
}

.wrapper--phone .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) {
  --reviews-ui-scale: var(--phone-ui-scale);
}

.wrapper .content.reviews--pupils > .content__title-image {
  margin-bottom: calc(16px * var(--reviews-ui-scale));
}

.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-paging-form {
  container: review-controls/inline-size;
  font-size: calc(16px * var(--reviews-ui-scale));
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews__table {
  min-width: 0;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0 calc(8px * var(--reviews-ui-scale));
  background: transparent;
  box-shadow: none;
  font-family: Gilroy-Regular, sans-serif;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews__table .review-content {
  border: 1px solid #d9e8ef;
  border-radius: calc(12px * var(--reviews-ui-scale));
  padding: calc(10px * var(--reviews-ui-scale)) !important;
  overflow-wrap: anywhere;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews__table .review-heading {
  display: flex;
  align-items: flex-start;
  gap: calc(10px * var(--reviews-ui-scale));
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews__table .review-author {
  flex: 1;
  min-width: 0;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews__table .recommend-label {
  position: static;
  flex: 0 1 auto;
  max-width: 50%;
  margin: 0;
  text-align: right;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews__table .recommend-label .label {
  white-space: normal;
  line-height: 1.3;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews__table .label {
  font-size: calc(12px * var(--reviews-ui-scale)) !important;
  padding: calc(5px * var(--reviews-ui-scale)) calc(10px * var(--reviews-ui-scale)) !important;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews__table .review-header {
  display: block;
  margin: 0;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews__table .review-header, .wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews__table .review-header strong {
  font: calc(16px * var(--reviews-ui-scale))/1.4 Gilroy-Semibold, sans-serif !important;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews__table .review-header strong {
  margin: 0 !important;
  min-width: 0;
  white-space: normal !important;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews__table .subject-year {
  font-size: calc(14px * var(--reviews-ui-scale)) !important;
  line-height: 1.4 !important;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews__table .review-author > .text-sm {
  font-size: calc(14px * var(--reviews-ui-scale)) !important;
  line-height: 1.4 !important;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews__table .review-text {
  padding: calc(10px * var(--reviews-ui-scale));
  margin-top: calc(6px * var(--reviews-ui-scale));
  border-radius: calc(10px * var(--reviews-ui-scale));
  box-shadow: none;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews__table .review-text::after {
  display: none;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews__table .review-text p {
  padding: 0 !important;
  font-size: calc(16px * var(--reviews-ui-scale)) !important;
  line-height: 1.5 !important;
}
.wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews__table .review-text .text-xs {
  font-size: calc(12px * var(--reviews-ui-scale)) !important;
  line-height: 1.4 !important;
  margin-top: calc(4px * var(--reviews-ui-scale));
}

.wrapper--phone .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews__table thead {
  display: none;
}

@container review-controls (max-width: 25em) {
  .wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-paging__controls:not(.reviews-paging__controls--page-only) {
    grid-template-columns: minmax(0, 1fr) minmax(-webkit-max-content, 1fr);
    grid-template-columns: minmax(0, 1fr) minmax(max-content, 1fr);
  }
  .wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-paging__controls:not(.reviews-paging__controls--page-only) .reviews-paging__apply {
    grid-column: 1/-1;
    grid-row: 3;
  }
}
.wrapper .content:has(> .reviews-write-action) > .content__title-image--plain {
  margin-bottom: calc(12px * var(--reviews-ui-scale));
}
.wrapper .content:has(> .reviews-write-action) .school-trust__headline {
  padding: 0;
}
.wrapper .content:has(> .reviews-write-action) .reviews-write-action {
  display: flex;
  justify-content: center;
  margin: calc(16px * var(--reviews-ui-scale)) 0 calc(20px * var(--reviews-ui-scale));
}
.wrapper .content:has(> .reviews-write-action) .reviews__write-btn {
  margin: 0;
  gap: calc(8px * var(--reviews-ui-scale));
}
.wrapper .content:has(> .reviews-write-action) .reviews__write-btn > img {
  flex: 0 0 calc(28px * var(--reviews-ui-scale));
  width: calc(28px * var(--reviews-ui-scale)) !important;
  height: calc(28px * var(--reviews-ui-scale)) !important;
  -o-object-fit: contain;
     object-fit: contain;
  margin: 0 !important;
}

.wrapper--phone .content:has(> .reviews-write-action) .school-trust .school-trust__headline {
  font-size: calc(18px * var(--reviews-ui-scale));
  line-height: 1.45;
}
.wrapper--phone .content:has(> .reviews-write-action) .reviews__write-btn {
  min-height: calc(48px * var(--reviews-ui-scale)) !important;
  padding: calc(12px * var(--reviews-ui-scale)) calc(16px * var(--reviews-ui-scale));
  font: calc(18px * var(--reviews-ui-scale))/1.35 Gilroy-Semibold, sans-serif !important;
  border-radius: calc(12px * var(--reviews-ui-scale));
}

.wrapper--phone .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-paging__controls label {
  font-size: calc(13px * var(--reviews-ui-scale)) !important;
  line-height: 1.25;
}
.wrapper--phone .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .br-paging-nav nav, .wrapper--phone .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .br-paging-nav nav > div {
  gap: calc(10px * var(--reviews-ui-scale));
}
.wrapper--phone .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .br-paging-nav nav > div:first-child > :is(a, span) {
  min-height: calc(44px * var(--reviews-ui-scale)) !important;
  padding: calc(9px * var(--reviews-ui-scale)) calc(14px * var(--reviews-ui-scale)) !important;
  font-size: calc(14px * var(--reviews-ui-scale)) !important;
  line-height: 1.3;
  white-space: nowrap;
  margin-left: 0;
}

@container review-controls (max-width: 25em) {
  .wrapper .content:is(.reviews, :has(> .reviews__table), :has(> .reviews-write-action)) .reviews-paging__controls {
    padding: calc(8px * var(--reviews-ui-scale));
    gap: calc(4px * var(--reviews-ui-scale)) calc(8px * var(--reviews-ui-scale));
  }
}
.wrapper .content.reviews-create {
  --reviews-ui-scale: 1;
  border: 0;
  padding: calc(16px * var(--reviews-ui-scale));
}
.wrapper .content.reviews-create .content__form {
  max-width: calc(640px * var(--reviews-ui-scale));
  margin: 0 auto;
}
.wrapper .content.reviews-create .content__form-reviews {
  max-width: none;
  min-height: 0;
  padding: calc(20px * var(--reviews-ui-scale));
  margin-bottom: calc(16px * var(--reviews-ui-scale));
  border: 1px solid #d9e8ef;
  border-radius: calc(12px * var(--reviews-ui-scale));
  color: #244b60;
  font: calc(16px * var(--reviews-ui-scale))/1.45 Gilroy-Regular, sans-serif;
}
.wrapper .content.reviews-create .content__form-reviews span, .wrapper .content.reviews-create .content__form-reviews label, .wrapper .content.reviews-create .content__form-reviews legend {
  font-size: inherit !important;
  line-height: inherit !important;
}
.wrapper .content.reviews-create .content__form-reviews .content__form-reviews-item {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  margin: 0 0 calc(18px * var(--reviews-ui-scale));
}
.wrapper .content.reviews-create .content__form-reviews .label, .wrapper .content.reviews-create .content__form-reviews .point__name {
  display: block;
  float: none;
  width: 100%;
  min-width: 0;
  padding: 0;
  margin: 0 0 calc(6px * var(--reviews-ui-scale));
  font-family: Gilroy-Semibold, sans-serif;
}
.wrapper .content.reviews-create .content__form-reviews input[type=text], .wrapper .content.reviews-create .content__form-reviews textarea {
  font: inherit !important;
  width: 100%;
  min-width: 0;
  min-height: calc(48px * var(--reviews-ui-scale));
  height: auto !important;
  padding: calc(12px * var(--reviews-ui-scale)) !important;
  border-radius: calc(8px * var(--reviews-ui-scale));
  border: 1px solid #b8cfdb;
  background: #fff;
  color: #244b60;
}
.wrapper .content.reviews-create .content__form-reviews textarea {
  min-height: calc(160px * var(--reviews-ui-scale));
  margin: 0 !important;
  resize: vertical;
}
.wrapper .content.reviews-create .content__form-reviews .content__form-radio {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: calc(6px * var(--reviews-ui-scale)) calc(16px * var(--reviews-ui-scale));
}
.wrapper .content.reviews-create .content__form-reviews .content__form-radio label {
  position: relative;
  justify-content: flex-start;
  gap: calc(8px * var(--reviews-ui-scale));
  min-height: calc(44px * var(--reviews-ui-scale));
  padding: calc(6px * var(--reviews-ui-scale)) 0;
  margin: 0;
  cursor: pointer;
}
.wrapper .content.reviews-create .content__form-reviews .content__form-radio span {
  margin: 0;
  padding: 0;
}
.wrapper .content.reviews-create .content__form-reviews .content__form-radio input[type=radio] {
  -webkit-appearance: auto;
     -moz-appearance: auto;
          appearance: auto;
  accent-color: #0f8ef5;
  flex: 0 0 calc(20px * var(--reviews-ui-scale));
  width: calc(20px * var(--reviews-ui-scale));
  height: calc(20px * var(--reviews-ui-scale)) !important;
  margin: 0;
  padding: 0 !important;
}
.wrapper .content.reviews-create .content__form-reviews .content__form-radio .custom_input_check__box {
  display: none;
}
.wrapper .content.reviews-create .content__form-reviews :is(input, textarea):focus-visible {
  outline: calc(2px * var(--reviews-ui-scale)) solid #0f8ef5;
  outline-offset: calc(2px * var(--reviews-ui-scale));
}
.wrapper .content.reviews-create button[type=submit] {
  max-width: none !important;
  min-height: calc(48px * var(--reviews-ui-scale));
  height: auto;
  padding: calc(12px * var(--reviews-ui-scale)) calc(20px * var(--reviews-ui-scale));
  font: calc(18px * var(--reviews-ui-scale))/1.3 Gilroy-Semibold, sans-serif !important;
  border-radius: calc(10px * var(--reviews-ui-scale));
}

.wrapper--phone .content.reviews-create {
  --reviews-ui-scale: var(--phone-ui-scale);
  padding: calc(12px * var(--reviews-ui-scale));
}
.wrapper--phone .content.reviews-create .content__form-reviews {
  padding: calc(16px * var(--reviews-ui-scale));
}

@media (min-width: 901px) {
  .wrapper:not(.wrapper--phone) .content.reviews-create {
    padding-right: 128px;
  }
}
