/**
 * Copyright © Inbank, Inc. All rights reserved.
 * See LICENSE.txt for license details.
 */
.inbank__message--small.moki {
  display: flex;
}

.mokiTitle {
  color: #21093A;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.18px;
  font-family: Inter;
  margin-right: 5px;
}
.mokiDescription {
  color: #21093A;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  font-family: Inter;
}
.inbank__tooltip.moki > svg {
  fill: none;
}
.inbank__tooltip {
  display: flex;
  align-items: center;
  margin-left: 5px;
  z-index: 0;
}
.inbank__tooltip > svg {
  width: 20px;
  height: 20px;
  fill: #21093A;
}

.inbank__tooltip--dark .tooltip-inner {
  background: #21093A;
}

.inbank__tooltip--dark .tooltip-inner::before {
    border-left-color: #21093A !important;
}

.inbank__tooltip {
  position: relative;
  cursor: pointer;
  opacity: 1;
}

.inbank__tooltip::before {
  position: absolute;
  content: ' ';
  background-color: #010101;
  width: 15px;
  height: 15px;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
}

.inbank__tooltip::after {
  content: attr(data-tippy-content);
  background-color: #010101;
  border-radius: 5px;
  color: white;
  position: absolute;
  text-align: left;
  z-index: 555;
  opacity: 0;
  pointer-events: none;
  height: auto;
  display: flex;
  align-items: center;
  padding: 0.56rem;
  min-width: 375px;
}

.inbank__tooltip:hover::before, .inbank__tooltip:hover::after {
  opacity: 1;
}

.inbank__tooltip.t-top::before {
  top: 0;
  left: 4px;
  transform: translate(-50%, 0) rotate(45deg);
}

.inbank__tooltip.t-top::after {
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
}
.inbank__tooltip.moki.t-top::after {
  left: 30%;
}

.inbank__tooltip.t-top:hover::before {
  transform: translate(0%, calc(-100% - 5px)) rotate(45deg);
}

.inbank__tooltip.t-top:hover::after {
  transform: translate(-50%, calc(-100% - 10px));
}

.inbank__tooltip.t-bottom:hover::after {
  transform: translate(-50%, calc(100% + 10px));
}
@media (max-width: 420px) {
  .inbank__tooltip.t-top:hover::after {
    transform: translate(-90%, calc(-100% - 10px));
  }
}

.no-display,
.inbank__tooltip--hidden {
  display: none !important;
}
