@import url('https://cdn.retailcrm.services/2023/fonts/Roboto.css');
@import url('https://cdn.retailcrm.services/2023/fonts/Railway.css');

h1 {
    color: #572A79;
    text-align: center;
    font-size: 30px;
    font-family: Raleway;
    font-weight: 700;
    line-height: 3.125rem;
}

h1>span {
    color: #DF542F;
}

h2 {
    color: #572A79;
    text-align: center;
    font-size: 20px;
    font-family: Raleway;
    font-weight: 600;
    line-height: 3.75rem;
}

.error {
  background-color: red;
}

/* ТАБЛИЦА */

.licenses-table {
    width: 1244px;
    margin: 0 auto;
    box-sizing: border-box;
}

.licenses-table * {
    box-sizing: inherit;
}

.licenses-table-title-above {
    text-align: center;

    color: #4B484E;
    font-size: 16px;
    font-family: Raleway;
    font-style: normal;
    font-weight: 500;
    line-height: 60px;

    margin-top: 50px;
    margin-left: 48px;
}

.flex-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.icon {
    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* Названия строк */

.row-titles {
    margin-top: 60px;
}

.row-title {
    display: flex;
    align-items: center;
    line-height: 24px;
    width: 298px;
    height: 75px;
    padding: 11px 15px;
    font-size: 16px;
    flex-shrink: 0;
    font-family: Raleway;
    color: #572A79;
    background: linear-gradient(174deg, rgba(255, 255, 255, 0.25) 0%, rgba(169, 169, 169, 0.25) 100%);
}

.row-title .icon {
  margin-right: 16px;
}

.row-title strong {
    font-weight: 600 !important;
}

/* Колонки таблицы */

.table {
    display: flex;
    gap: 22px;
    flex-direction: row;
    flex-shrink: 0;
    color: #755092;
    text-align: center;
    font-size: 20px;
    font-family: Raleway;
    font-weight: 700;
    line-height: 13.5px;
}

.col-price {
    font-size: 10px;
}

.cell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 75px;
    flex-shrink: 0;
    background: linear-gradient(180deg, #EDE9F4 0%, #E2DCEC 100%);
    font-weight: 600;
}

.cell.top-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;

  height: 59px;
  padding-top: 4px;
  border-radius: 15px 15px 0px 0px;
  background: #D1C5DD;

  font-weight: 700;
}

.cell .tooltip {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 16px;
  height: 16px;
  font-size: 9px;
}

button.button {
  width: 100%;
  height: 52px;

  color: #59A6DE;
  text-align: center;
  font-size: 16px;
  font-family: Raleway;
  font-style: normal;
  font-weight: 700;
  line-height: 13.5px;

  background: linear-gradient(white, white) padding-box,
              linear-gradient(to bottom, #E4DDED, #59A6DE) border-box;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  border: 2px solid transparent;
}

button.button:hover {
  background: #59A6DE;
  color: #FFF;
  cursor: pointer;
}

.column.selected button {
  background: #59A6DE;
  color: #FFF;
}

/* Премиум колонка */

.column.premium {
  position: relative;
}

.column.premium .crown {
  position: absolute;
  right: -25px;
  top: -6px;
  z-index: 1;

  transform: rotate(44.182deg); 

  color: #FFF;
  font-size: 39px;
  font-family: Raleway;
  font-style: normal;
  font-weight: 700;
  line-height: 13.5px;
}

.column.premium .cell {
  color: #E77609;
  background: linear-gradient(180deg, #F5E2D2 0%, #F1CEAE 100%);
}

.column.premium .cell.top-cell {
  background: #EB8B2D;
}

.column.premium .cell.top-cell .col-title {
  color: #FFF;
}

.column.premium .cell.top-cell .col-price {
  color: #A3560B;
}

.column.premium button.button {
  background: #EB8B2D;
  color: #FFF;
}

.column.premium button.button:hover {
  background: #FFF;
  color: #EB8B2D;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(to bottom, #FFFFFF, #EB8B2D) border-box;
}

.column.premium.selected button.button:hover {
  background: #EB8B2D;
  color: #FFF;
}

/* ТУЛТИПЫ */

.white-tooltip {
  position: inherit;
  border: solid 1px #8E8695;
  text-align: center;
  border-radius: 50%;
  font-size: 12px;
  margin-left: 5px;
  padding: 2px 3px 2px 6px;
  color: #8E8695 !important;
  opacity: 1;
}
.white-tooltip:hover{
  text-decoration: none;
  color: #755092 !important;
  border-color: #755092;
}

/* ФОРМА */

.licenses-form-wrapper {
  box-sizing: border-box;
  position: relative;

  width: 1043px;
  height: 535px;
  margin: 0 auto;
  padding: 0 56px;

  border-radius: 15px;
  background: linear-gradient(180deg, rgba(223, 84, 47, 0.70) 0%, rgba(223, 84, 47, 0.95) 100%);
  box-shadow: 8px 24px 41px 6px rgba(179, 59, 27, 0.26);

  margin-top: 175px;
  margin-bottom: 58px;
}

.licenses-form-wrapper * {
  box-sizing: inherit;
}

.licenses-form-title {
  color: #FFF;
  font-size: 32px;
  font-family: Raleway;
  font-weight: 700;
  line-height: 13.5px;

  padding-top: 65px;
}

.licenses-form-subtitle {
  color: #FFF;
  font-size: 24px;
  font-family: Raleway;
  font-weight: 600;
  line-height: 28px;

  margin-top: 34px;
}

.licenses-form-podrobnee {
  color: #FFF;
  font-size: 20px;
  font-family: Raleway;
  line-height: 24px;

  margin-top: 51px;
}

.licenses-form-wrapper .inputs {
  margin-top: 10px;
}

.licenses-form-wrapper input {
  width: 300px;
  height: 55px;
  flex-shrink: 0;

  border: 0;
  border-radius: 5px;
  background: #FFF;

  padding: 17px;
  margin-right: 28px;
}

.licenses-form-wrapper input[name="phone"] {
  letter-spacing: 2px;
}

.licenses-form-wrapper input:active, .licenses-form-wrapper input:focus {
  outline: none;
}

.licenses-form-wrapper button {
  display: flex;
  width: 300px;
  height: 55px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;

  background-color: #572A79;
  border: none;

  color: #FFF;
  font-size: 16px;
  font-family: Raleway;
  font-weight: 700;
  line-height: 20px;

  margin-top: 28px;

  cursor: pointer;
}

.licenses-form-wrapper button:hover {
  background-color: #755092;
}

.licenses-form-bottom-text {
  color: #FFF;
  font-size: 20px;
  font-family: Raleway;
  line-height: 24px;

  padding: 43px 0;
}

.licenses-form-wrapper .blobs {
  position: absolute;
  right: 130px;
  top: -20px;
}

.orange-blob {
  position: absolute;
  left: -73px;
  top: -41px;

  filter: drop-shadow(-3px 6px 5px rgb(0 0 0 / 0.4));
}

.purple-blob {
  position: absolute;
  filter: drop-shadow(-3px 6px 5px rgb(0 0 0 / 0.4));
}

.blob-text {
  position: absolute;
  top: 50px;
  left: 26px;

  color: #FFF;
  text-align: center;
  font-size: 18px;
  font-family: Roboto;
  line-height: 34px;

  width: 180px;
  height: 95px;

  transform: rotate(46.595deg);
}

.button-and-error {
  display: flex;
  align-items: baseline;
  gap: 33px;
}

.button-and-error .error-text, .button-and-error .server-error-text {
  font-size: 20px;
  background: rgba(255,255,255,0.5);
  color: red;
  padding: 10px 25px;
  border-radius: 5px;
  display: none;
}

/* Вопросы-ответы */

.t-col_8 {
    max-width: 1007px;
}

.question-line {
    margin-bottom: 16px;
}
