// margin or padding

.p-xs-0 {
  @media (max-width: 575.98px) {
    padding: 0 !important;
  }
}

.m-top-120 {
  margin-top: 120px !important;

  @include media-breakpoint-down(xl) {
    margin-top: 70px !important;
  }

  @include media-breakpoint-down(md) {
    margin-top: 70px !important;
  }
}

.fs-30 {
  font-size: 1.75rem !important;
}

.fs-22 {
  font-size: 22px;
}

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

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

.mt-mb-auto {
  margin-top: auto;
  margin-bottom: auto;
}

.mt-100 {
  margin-top: 100px;
}

.mb-100 {
  margin-bottom: 100px;
}

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

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

.mr-md-30 {
  @include media-breakpoint-up(md) {
    margin-right: 80px;
  }
  @include media-breakpoint-up(lg) {
    margin-right: 200px;
  }
  @include media-breakpoint-up(xl) {
    margin-right: 300px;
  }
}


// images, icons

.icofont-edit {
  font-size: 24px;
  color: grey;
}

.icofont-trash {
  font-size: 24px;
  color: red;
}

svg {
  color: var(--text-color);
  cursor: pointer;
}

.svg-icon {
  width: 60px;
  height: 60px;
}

.svg-arrow {
  color: var(--text-color);
}

.svg-close {
  color: var(--text-color);

  &:hover {
    color: var(--gray-color)
  }
}

.add-round-icon {
  border: 1px solid var(--text-color);
  border-radius: 50%;
  cursor: pointer;
}

.svg-navbar-menu {
  width: 36px;
  height: 36px;
}

.svg-navigation-menu {
  width: 30px;
  height: 30px;
}

.svg-navbar {
  margin-left: 6px;
  width: 16px;
  height: 16px;
}

.bi-lock-fill {
  color: rgba(255, 150, 0, 1) !important;
}

.bumble-img {
  z-index: 0;
  position: absolute;
  pointer-events: none;
  user-select: none; /* basic CSS */
  -webkit-user-select: none; /* for Chrome и Safari */
  -moz-user-select: none; /* for Firefox */
  -ms-user-select: none; /* for Internet Explorer/Edge */
}

.empty-account-image-sm {
  //border: 1px solid var(--border-color);
  border-radius: 50%;
  width: var(--avatar-sm-size);
  height: var(--avatar-sm-size);
}


// colors

.text-color {
  color: var(--text-color);
}

.text-orange {
  color: var(--orange-color);
}

.blue-text-color {
  color: rgba(1, 255, 240, 1);
}

.background-color {
  background-color: var(--background-color);
}

.background-trans-black {
  background: rgba(32, 32, 32, 0.7);
}

.background-trans {
  color: var(--text-color);
  background-color: var(--background-trans);
}

.transparent {
  background-color: transparent !important;
}

.border-radius-container {
  border-radius: 32px;
  @include media-breakpoint-down(md) {
    height: 100%;
    border-radius: 0 !important;
  }
}

.border-radius-container-sm {
  border-radius: 60px;
  @include media-breakpoint-down(sm) {
    border-radius: 0 !important;
  }
}

.custom-left-border {
  @include media-breakpoint-up(md) {
    border-left: 1px solid var(--border-trans);
  }
}

.border-color {
  border: 1px solid var(--border-color);
  border-radius: 24px;
}

.green-color {
  color: #447a69;
}

.link-color {
  color: #0dcaf0;

  &:hover {
    color: #1dc9a4;
  }
}

.border-radius-20 {
  border-radius: 20px;
}

// inputs

.form-control:focus {
  border-color: var(--text-color);
  box-shadow: none;
}

.input-wrap {
  margin: 6px 0;
}

.input-underline {
  padding-left: 0;
  width: 100%;
  color: var(--text-color);
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--text-color);
  border-radius: 0;

  &:focus {
    color: var(--text-color);
    background-color: transparent;
    box-shadow: none;
  }

  &:active {
    color: var(--text-color);
    background-color: transparent;
    box-shadow: none;
  }

}

.input-border {
  //padding: 14px;
  color: var(--text-color) !important;
  border: 1px solid var(--text-color);
  background: transparent !important;

  &::placeholder {
    font-weight: 300;
    color: var(--gray-color);
  }
}

.input-hide-color-style {
  font-family: "Poppins", sans-serif;

  label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-color);
  }

  input, textarea {
    font-size: 14px;
    color: var(--text-color);
    background: var(--background-color);
    border: 0.5px solid #606060;

    &:active,
    &:focus {
      color: var(--text-color);
      background: var(--hide-input-background);
      border: 0.5px solid #606060;
    }
  }

  textarea {
    min-height: 180px;
    background: var(--hide-input-background) !important;
  }
}


.new-contact-input {

}

.input-payment {
  background: var(--background-color);

  &:active,
  &:focus {
    background: var(--background-color);
  }
}

.paymentContain {
  .input-wrap {
    position: relative;
    min-width: 100%;
    max-width: 300px;

    input {
      color: var(--text-color);
      min-width: 100%;
      padding: 28px 10px 10px 10px;
      box-sizing: border-box;

    }

    label {
      font-size: 14px;
      position: absolute;
      left: 10px;
      top: 10px;
      transition: all 0.2s ease;
      pointer-events: none;
      color: var(--gray-color);
    }
  }
}

label {
  cursor: pointer;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-background-clip: text;
  -webkit-text-fill-color: var(--text-color);
  transition: background-color 5000s ease-in-out 0s;
  box-shadow: inset 0 0 20px 20px transparent;
}


// BUTTONS

.button {
  min-width: 100px;
  padding: 8px 16px;
  color: var(--button-text-color);
  background-color: var(--button-background-color);
  border: none;
  border-radius: 38px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.2s ease-in-out;
  cursor: pointer;

  @include media-breakpoint-down(lg) {
    min-width: 80px;
    font-size: 14px;
  }

  //&:hover {
  //  transform: scale(1.03);
  //}

}

.button-gradient {
  color: var(--white-color);
  background: linear-gradient(
                  to right,
                  rgba(0, 63, 106, 1),
                  rgba(1, 255, 240, 1)
  );

  &:hover {
    color: var(--white-color) !important;
  }

  &:disabled {
    cursor: auto;
    opacity: 0.6;
    transform: none;
  }

}

.button-filled {
  color: var(--filled-button-color);
  background: var(--filled-button-background);
}

.button-delete {
  color: var(--white-color);
  background-color: #d00000;

  .icofont-trash {
    color: var(--white-color);
    font-size: inherit;
  }
}

.button-no-style {
  border: none;
  background: transparent;
}

.button-orange {
  color: #fff !important;
  background-color: var(--orange-surface) !important;

  &:disabled {
    cursor: not-allowed;
  }

  &:hover {
    background-color: var(--orange-hover) !important;
  }
}

.button-blue {
  color: var(--white-color) !important;
  background-color: var(--blue-color) !important;

  &:disabled {
    cursor: not-allowed;
  }

  &:hover {
    background-color: var(--text-color-hover) !important;
  }
}

.button-resend {
  padding: 8px 10px;
  font-weight: 400;
  font-size: 14px !important;
  background: transparent;
  color: rgb(1, 255, 240);
}

.button-login {
  color: #FFFFFF;
  background-color: transparent;
  border: 2px solid #FFFFFF;
}

.button-download {
  width: auto;
  color: white !important;
  background: gray !important;
}

.button-lg {
  padding: 12px 20px;
  font-weight: 300;
  font-size: 18px;
}

.button-custom-bank {
  border-radius: 6px;

  i {
    font-size: 48px;
    @include media-breakpoint-down(xl) {
      font-size: 48px;
    }
    @include media-breakpoint-down(lg) {
      font-size: 33px;
    }
    @include media-breakpoint-down(md) {
      font-size: 28px;
    }
  }
}

// DISPLAY

.display-none {
  display: none;
}

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

.display-flex-end {
  display: flex;
  justify-content: end;
  align-items: end;
}

.display-flex-start {
  display: flex;
  justify-content: start;
  align-items: center;
}

.display-flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.display-column-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.h-100-sm {
  @include media-breakpoint-down(sm) {
    height: 100%;
  }
}

.max-w-600 {
  max-width: 580px;
}

.overflow-visible {
  overflow: visible;
}

.max-content {
  width: max-content;
}

// TEXT

a {
  text-decoration: none;
}

.a-small-white {
  display: flex;
  color: var(--white-color);
  font-weight: 100;
  font-size: 10px;
  cursor: pointer;

  &:hover {
    text-decoration: underline 1px solid white;
  }
}
.a-small-blue {
  display: flex;
  color: var(--text-color);
  font-weight: 100;
  font-size: 10px;
  cursor: pointer;

  &:hover {
    text-decoration: underline 1px solid var(--text-color);
  }
}

.a-medium-white {
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  font-weight: 200;
  line-height: 20px;
  font-size: 16px;

  &:hover {
    text-decoration: underline 1px solid var(--white-color);
  }
}

.a-medium-blue {
  color: var(--text-color);
  text-align: center;
  font-weight: 300;
  line-height: 24px;
  font-size: 12px;

  &:hover {
    text-decoration: underline 1px solid var(--text-color);
  }
}

.p-medium-white {
  color: var(--white-color);
  font-weight: 300;
  line-height: 20px;
  font-size: 16px
}

.p-small {
  font-size: 14px;
  color: var(--text-color);
}

.font-50 {
  font-size: 50px !important;
  @include media-breakpoint-down(md) {
    font-size: 30px !important;
  }
}

.font-family {
  font-family: "Poppins", sans-serif;
}

.ghost-text {
  color: gray;
}

.image-text {
  cursor: pointer;
  user-select: none;
  border-radius: 50%;
  background: var(--orange-color);
  color: var(--white-color);
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: 500;
}


@keyframes slideDown {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideDown30 {
  0% {
    transform: translateY(-30%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.animation-out-top {
  animation: slideDown30 1.5s ease-out;
}

.custom-alert {
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 99999;
  min-width: 180px;
  animation: slideDown 1s ease-out;


  button {
    padding: 10px 10px 0 0 !important;
  }


  svg {
    margin-right: 20px;
    width: 40px;
    height: auto;
  }

  .svg-success {
    fill: green;
  }

  .svg-error {
    fill: red;
  }


}

.hover-white {
  &:hover {
    color: white !important;
  }
}

.fw-100 {
  font-weight: 100;
}

.fw-200 {
  font-weight: 200;
}

.fw-300 {
  font-weight: 300;
}

.fw-400 {
  font-weight: 400;
}

.fw-500 {
  font-weight: 500;
}

.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.fw-800 {
  font-weight: 800;
}

.f-34 {
  font-size: 34px;
}

.f-24 {
  font-size: 24px;
}

.f-22 {
  font-size: 22px;
}

.f-20 {
  font-size: 20px;
}

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

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

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

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

.f-10 {
  font-size: 10px;
}


// another classes

.h-md-auto {
  @include media-breakpoint-up(md) {
    height: auto !important;
  }
}

.h-sm-100 {
  @include media-breakpoint-down(sm) {
    height: 100%;
  }
}

.z-index-1 {
  position: relative;
  z-index: 1;
}

.border-radius-1 {
  border-radius: 8px;
}


// animation
@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-20%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(20%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutLeft {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-20%);
    opacity: 0;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(20%);
    opacity: 0;
  }
}

@keyframes navigation-menu-appear {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes navigation-price-menu-appear {
  from {
    transform: translateY(-24%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

// general classes

.page-content {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.section-navbar {
  //height: 12%;
  //min-height: 75px;
  //max-height: 90px;
  //background-color: var(--main-navbar-background-color);

  .nav-menu {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 10px 0;
    margin-bottom: 20px;

    li {
      display: flex;
      align-items: center;
      list-style: none;

      .link {
        font-family: 'Poppins', sans-serif !important;
        font-weight: 600;
        font-size: 24px;
        color: var(--orange-color);
        text-decoration: none;

        &:hover {
          color: #00378f;
        }


        img {
          margin-right: 16px;
        }
      }

      .link-active {
        color: var(--text-color) !important;
        border-bottom: 2px solid var(--text-color);
      }
    }

    .img-lock {
      margin-left: 8px;
    }
  }
}

.bottom-menu {
  justify-content: space-around;
  height: 60px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  background-color: rgba(32, 32, 32, 0.6);
  backdrop-filter: blur(1px);

  div {
    font-size: 24px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30%;
  }
}

.modal-content {
  color: var(--text-color);
  background-color: var(--navbar-background-color);
  border: 1px solid var(--border-color);
}
