// customize some Bootstrap variables
// Prefix for :root CSS variables

$variable-prefix:             bs- !default; // Deprecated in v5.2.0 for the shorter `$prefix`
$prefix:                      $variable-prefix !default;

$primary: #003F6A;
$light: #f2f3f8;
$muted: #969faf;
$secondary: #FF9600;
$body-color: $primary;

$complementary-1: #ffc107;
$complementary-2: #8bc34a;
$complementary-3: #3f51b5;
$complementary-4: #ff5722;
$complementary-5: #9e9e9e;
$complementary-6: #3f3f3f;
$complementary-7: #f44336;


// import Bootstrap and its default variables


// the ~ allows you to reference things in node_modules
@import "~bootstrap/scss/functions.scss";
@import "_variables.scss";
@import "~bootstrap/scss/bootstrap";

@import "~icofont/dist/icofont.css";
@import "~@fortawesome/fontawesome-free/css/all.css";

a {
  text-decoration: none;
}

// Глобальные стили инпутов убраны — перебивали Tailwind на формах (edit, registration).
// Стили задаются в шаблонах (form_input_class и т.д.).

a.footer-link:hover {
  text-decoration: underline;
}

.svg {
  height: 20px;
}

.address-link:hover {
  background-color: #01365b;
}

.btn-circle {
  width: 30px;
  height: 30px;
  padding: 6px 0px;
  border-radius: 15px;
  text-align: center;
  font-size: 12px;
  line-height: 1.42857;

  &.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    border-radius: 35px;
    font-size: 24px;
    line-height: 1.33;
  }
}


.tox-statusbar__branding {
  display: none;
}

.rounded-circle-img {
  width: 160px;
  height: 160px;
  -webkit-border-radius: 60px;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 160px;
  -moz-background-clip: padding;
  border-radius: 160px;
  background-clip: padding-box;
  background-size: cover;
  background-position: center center;
}

.page-sidebar {
  width: 400px;
}

.page-content {
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.bg-add {
  background-color: $gray-200;
}

.bg-highlight {
  background-color: #ffffc0;
}

.bg-gradient-highlight {
  background-image: linear-gradient(to bottom, #ffffc0, #ffffff);
}

.bg-gradient-add {
  background-image: linear-gradient(to bottom, $gray-200, #ffffff);
}

.bg-gradient-nav {
  background: $secondary;
  //border-bottom: 1px solid $gray-700;
  //background: linear-gradient(180deg, $secondary 0%, $secondary 90%, $white 100%);
}

.border-gradient {
  background-image: linear-gradient(to bottom, $gray-400, #ffffff);
  background-clip: padding-box; /* Stellt sicher, dass der Hintergrund nur innerhalb des Inhaltsbereichs angezeigt wird */
  padding: 1px; /* Gib dem Element einen Innenabstand, um den Gradienten sichtbar zu machen */
  border-width: 1px; /* Stelle die gewünschte Breite des Rands ein */
  border-style: solid;
  border-color: transparent; /* Macht den Rand transparent */
}

.select2 {
  width: 100% !important;
}

#cookiescript_link {
  position: absolute;
  top: -100px;
}

.offer-container {
  min-height: 100px;
  overflow: hidden;
  position: relative;
}

.offer-content {
  padding-top: 20px;
  padding-left: 60px;
}

.offer-triangle {
  background-color: red;
  display: inline-block;
  transform: translateX(-50%) rotate(45deg) translateX(50%) rotate(-90deg);
  transform-origin: center top;
  box-shadow: 0px -50px 0px 50px red;
  color: white;
  position: absolute;
}

.bg-white-trans {
    background-color: rgba(255, 255, 255, 0.7 );
}

.circles {
  margin-bottom: -10px;
}

.circle {
  width: 100px;
  margin: 6px 6px 20px;
  display: inline-block;
  position: relative;
  text-align: center;
  line-height: 1.2;
}

.circle canvas {
  vertical-align: top;
}

.circle strong {
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  text-align: center;
  line-height: 40px;
  font-size: 30px;
}

.circle strong i {
  font-style: normal;
  font-size: 0.6em;
  font-weight: normal;
}

.circle span {
  display: block;
  color: #aaa;
  margin-top: 12px;
}


.icon-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.size-12 {
  font-size: 12px;
}

.size-13 {
  font-size: 13px;
}

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

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

.size-18 {
  font-size: 18px;
}

#no-show-pw {
  display: none;
}

.spacer {
  height: 4px;
  background-color: $primary;
  margin-bottom: 1rem;
}

.rating {
  border: none;
  display: flex;
  flex-direction: row-reverse;
  justify-content: left;
}
.rating > input {
  display: none;
}
.rating > label:before {
  margin: 5px;
  font-size: 1.25em;
  font-family: IcoFont;
  display: inline-block;
  content: "\f000";
}
.rating > .half:before {
  content: "\f000";
  position: absolute;
}
.rating > label {
  color: #b2b2b2;
}

.icofont-ui-user {
  font-size: 60px;
}

.rating > input:checked ~ label, /* show gold star when clicked */
.rating:not(:checked) > label:hover, /* hover current star */
.rating:not(:checked) > label:hover ~ label { color: #FFD700;  } /* hover previous stars in list */
.rating > input:checked + label:hover, /* hover current star when changing rating */
.rating > input:checked ~ label:hover,
.rating > label:hover ~ input:checked ~ label, /* lighten current selection */
.rating > input:checked ~ label:hover ~ label { color: #FFED85;  }

//.rating2 {
//  border: none;
//  display: flex;
//  flex-direction: row-reverse;
//  justify-content: left;
//}
//.rating2 > input {
//  display: none;
//}
//.rating2 > label:before {
//  margin: 5px;
//  font-size: 1.25em;
//  font-family: IcoFont;
//  display: inline-block;
//  content: "\f000";
//}
//.rating2 > .half:before {
//  content: "\f000";
//  position: absolute;
//}
//.rating2 > label {
//  color: #b2b2b2;
//}
//
//.rating2 > input:checked ~ label, /* show gold star when clicked */
//.rating2:not(:checked) > label:hover, /* hover current star */
//.rating2:not(:checked) > label:hover ~ label { color: #FFD700;  } /* hover previous stars in list */
//.rating2 > input:checked + label:hover, /* hover current star when changing rating */
//.rating2 > input:checked ~ label:hover,
//.rating2 > label:hover ~ input:checked ~ label, /* lighten current selection */
//.rating2 > input:checked ~ label:hover ~ label { color: #FFED85;  }
//
//
//.rating3 {
//  border: none;
//  display: flex;
//  flex-direction: row-reverse;
//  justify-content: left;
//}
//.rating3 > input {
//  display: none;
//}
//.rating3 > label:before {
//  margin: 5px;
//  font-size: 1.25em;
//  font-family: IcoFont;
//  display: inline-block;
//  content: "\f000";
//}
//.rating3 > .half:before {
//  content: "\f000";
//  position: absolute;
//}
//.rating3 > label {
//  color: #b2b2b2;
//}
//
//.rating3 > input:checked ~ label, /* show gold star when clicked */
//.rating3:not(:checked) > label:hover, /* hover current star */
//.rating3:not(:checked) > label:hover ~ label { color: #FFD700;  } /* hover previous stars in list */
//.rating3 > input:checked + label:hover, /* hover current star when changing rating */
//.rating3 > input:checked ~ label:hover,
//.rating3 > label:hover ~ input:checked ~ label, /* lighten current selection */
//.rating3 > input:checked ~ label:hover ~ label { color: #FFED85;  }
//
//
//.rating4 {
//  border: none;
//  display: flex;
//  flex-direction: row-reverse;
//  justify-content: left;
//}
//.rating4 > input {
//  display: none;
//}
//.rating4 > label:before {
//  margin: 5px;
//  font-size: 1.25em;
//  font-family: IcoFont;
//  display: inline-block;
//  content: "\f000";
//}
//.rating4 > .half:before {
//  content: "\f000";
//  position: absolute;
//}
//.rating4 > label {
//  color: #b2b2b2;
//}
//
//.rating4 > input:checked ~ label, /* show gold star when clicked */
//.rating4:not(:checked) > label:hover, /* hover current star */
//.rating4:not(:checked) > label:hover ~ label { color: #FFD700;  } /* hover previous stars in list */
//.rating4 > input:checked + label:hover, /* hover current star when changing rating */
//.rating4 > input:checked ~ label:hover,
//.rating4 > label:hover ~ input:checked ~ label, /* lighten current selection */
//.rating4 > input:checked ~ label:hover ~ label { color: #FFED85;  }
//
//
//.rating5 {
//  border: none;
//  display: flex;
//  flex-direction: row-reverse;
//  justify-content: left;
//}
//.rating5 > input {
//  display: none;
//}
//.rating5 > label:before {
//  margin: 5px;
//  font-size: 1.25em;
//  font-family: IcoFont;
//  display: inline-block;
//  content: "\f000";
//}
//.rating5 > .half:before {
//  content: "\f000";
//  position: absolute;
//}
//.rating5 > label {
//  color: #b2b2b2;
//}
//
//.rating5 > input:checked ~ label, /* show gold star when clicked */
//.rating5:not(:checked) > label:hover, /* hover current star */
//.rating5:not(:checked) > label:hover ~ label { color: #FFD700;  } /* hover previous stars in list */
//.rating5 > input:checked + label:hover, /* hover current star when changing rating */
//.rating5 > input:checked ~ label:hover,
//.rating5 > label:hover ~ input:checked ~ label, /* lighten current selection */
//.rating5 > input:checked ~ label:hover ~ label { color: #FFED85;  }
//
//
//.rating6 {
//  border: none;
//  display: flex;
//  flex-direction: row-reverse;
//  justify-content: left;
//}
//.rating6 > input {
//  display: none;
//}
//.rating6 > label:before {
//  margin: 5px;
//  font-size: 1.25em;
//  font-family: IcoFont;
//  display: inline-block;
//  content: "\f000";
//}
//.rating6 > .half:before {
//  content: "\f000";
//  position: absolute;
//}
//.rating6 > label {
//  color: #b2b2b2;
//}
//
//.rating6 > input:checked ~ label, /* show gold star when clicked */
//.rating6:not(:checked) > label:hover, /* hover current star */
//.rating6:not(:checked) > label:hover ~ label { color: #FFD700;  } /* hover previous stars in list */
//.rating6 > input:checked + label:hover, /* hover current star when changing rating */
//.rating6 > input:checked ~ label:hover,
//.rating6 > label:hover ~ input:checked ~ label, /* lighten current selection */
//.rating6 > input:checked ~ label:hover ~ label { color: #FFED85;  }
//
//
//.rating7 {
//  border: none;
//  display: flex;
//  flex-direction: row-reverse;
//  justify-content: left;
//}
//.rating7 > input {
//  display: none;
//}
//.rating7 > label:before {
//  margin: 5px;
//  font-size: 1.25em;
//  font-family: IcoFont;
//  display: inline-block;
//  content: "\f000";
//}
//.rating7 > .half:before {
//  content: "\f000";
//  position: absolute;
//}
//.rating7 > label {
//  color: #b2b2b2;
//}
//
//.rating7 > input:checked ~ label, /* show gold star when clicked */
//.rating7:not(:checked) > label:hover, /* hover current star */
//.rating7:not(:checked) > label:hover ~ label { color: #FFD700;  } /* hover previous stars in list */
//.rating7 > input:checked + label:hover, /* hover current star when changing rating */
//.rating7 > input:checked ~ label:hover,
//.rating7 > label:hover ~ input:checked ~ label, /* lighten current selection */
//.rating7 > input:checked ~ label:hover ~ label { color: #FFED85;  }
//
//
//.rating8 {
//  border: none;
//  display: flex;
//  flex-direction: row-reverse;
//  justify-content: left;
//}
//.rating8 > input {
//  display: none;
//}
//.rating8 > label:before {
//  margin: 5px;
//  font-size: 1.25em;
//  font-family: IcoFont;
//  display: inline-block;
//  content: "\f000";
//}
//.rating8 > .half:before {
//  content: "\f000";
//  position: absolute;
//}
//.rating8 > label {
//  color: #b2b2b2;
//}
//
//.rating8 > input:checked ~ label, /* show gold star when clicked */
//.rating8:not(:checked) > label:hover, /* hover current star */
//.rating8:not(:checked) > label:hover ~ label { color: #FFD700;  } /* hover previous stars in list */
//.rating8 > input:checked + label:hover, /* hover current star when changing rating */
//.rating8 > input:checked ~ label:hover,
//.rating8 > label:hover ~ input:checked ~ label, /* lighten current selection */
//.rating8 > input:checked ~ label:hover ~ label { color: #FFED85;  }


.logo-svg {
  img {
    width: 100px;
  }
  div {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 900;
    font-size: 22px;
    line-height: 1.2;
    background: linear-gradient(to bottom, #fb9500, #b16901);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-family: "Nunito", sans-serif;
  }
}

// Левая панель auth-страниц (логин / регистрация)
.auth-left-panel {
  .auth-left-content {
    max-width: 32rem;
  }

  .auth-title-icon {
    flex-shrink: 0;
  }

  .auth-benefit-icon {
    flex-shrink: 0;
  }

  .auth-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
  }
}

.demo-picture {
  margin-top: 0;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;

  a {
    width: 48%;
    max-width: 260px;
    flex-shrink: 0;
  }

  img {
    border-radius: 16px;
    width: 100%;
    height: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-height: 120px;

  }
}

.ml-mr-auto {
  margin-left: auto;
  margin-right: auto;
}

// Контейнер контента профиля и e-card: 1000px, не перебивается .container
.profile-bcard-wrap {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

// Профиль и публичная e-card — баннер верха страницы
.profile-page .profile-header,
.bcard-page .profile-header {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

// Фоновое фото баннера: макс. 1000px по ширине, по центру
.profile-header-bg {
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1000px auto;

  @media (max-width: 1000px) {
    background-size: 100% auto;
  }
}

