--tg-theme-accent-text-color: #a4c2e9;
--tg-color-scheme: dark;
--tg-theme-bg-color: #191c21;
--tg-theme-bottom-bar-bg-color: #191c21;
--tg-theme-button-color: #697b97;
--tg-theme-button-text-color: #ffffff;
--tg-theme-destructive-text-color: #ec3942;
--tg-theme-header-bg-color: #191c21;
--tg-theme-hint-color: #666d77;
--tg-theme-link-color: #a4c2ea;
--tg-theme-secondary-bg-color: #24272e;
--tg-theme-section-bg-color: #191c21;
--tg-theme-section-header-text-color: #a4c2ea;
--tg-theme-section-separator-color: #131519;
--tg-theme-subtitle-text-color: #666d77;
--tg-theme-text-color: #f5f5f5;
--tg-viewport-height: 100vh;
--tg-viewport-stable-height: 100vh;
overflow: auto;

.BottomSheet {
  position: fixed;
  display: flex;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  transition-property: opacity;
  justify-content: center;
  align-items: flex-end;
  color: #0f0e17;
}

.BottomSheet--modalOnDesktop {
  align-items: center;
}

.BottomSheet--modalOnDesktop .BottomSheet__draggable {
  pointer-events: none;
}


.BottomSheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.BottomSheet--open {
  pointer-events: auto;
  opacity: 1;
//* transform: translateY(0); *//
}

.BottomSheet--closed {
  transition-delay: 300ms;
  opacity: 0;
  transform: translateY(100%);
}

.BottomSheet--closed,
.BottomSheet--closed.BottomSheet--modalOnDesktop .BottomSheet__window,
.BottomSheet--closed * {
  pointer-events: none;
}

.BottomSheet__backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  transition-property: opacity;
  transition-duration: 500ms;
  pointer-events: none;
  opacity: 0;
}

.BottomSheet__backdrop--active {
  pointer-events: auto;
  opacity: 1;
  background-color: #000;
  opacity: 0.7;
}

.BottomSheet__draggable {
  transition-property: transform;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  max-width: 72rem;
}

.BottomSheet__window-wrap {
  display: flex;
  position: relative;
  z-index: 1000; /* BottomSheet должен быть над фоном */
  flex-direction: column;
  max-height: 100vh;
  background-color: #fff;
}

.BottomSheet__drag-indicator-wrap {
  display: flex;
  padding-top: 1rem;
  padding-bottom: 1rem;
  justify-content: center;
  align-items: center;
}

.BottomSheet__drag-indicator {
  width: 2.5rem;
  height: 2px;
  background-color: #0f0e17;
}

.BottomSheet__window {
  overflow-y: auto;
}

.BottomSheet__window::-webkit-scrollbar {
  display: none;
}



@keyframes slide-in-one-tap {
  from {
    transform: translateY(80px);
  }
  to {
    transform: translateY(0px);
  }
}

.trust-hide-gracefully {
  opacity: 0;
}

.trust-wallet-one-tap .hidden {
    display: none;
  }

.trust-wallet-one-tap .semibold {
    font-weight: 500;
  }

.trust-wallet-one-tap .binance-plex {
    font-family: 'Binance';
  }

.trust-wallet-one-tap .rounded-full {
    border-radius: 50%;
  }

.trust-wallet-one-tap .flex {
    display: flex;
  }

.trust-wallet-one-tap .flex-col {
    flex-direction: column;
  }

.trust-wallet-one-tap .items-center {
    align-items: center;
  }

.trust-wallet-one-tap .space-between {
    justify-content: space-between;
  }

.trust-wallet-one-tap .justify-center {
    justify-content: center;
  }

.trust-wallet-one-tap .w-full {
    width: 100%;
  }

.trust-wallet-one-tap .box {
    transition: all 0.5s cubic-bezier(0, 0, 0, 1.43);
    animation: slide-in-one-tap 0.5s cubic-bezier(0, 0, 0, 1.43);
    width: 384px;
    border-radius: 15px;
    background: #FFF;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1020;
  }

.trust-wallet-one-tap .header {
    gap: 15px;
    border-bottom: 1px solid #E6E6E6;
    padding: 10px 18px;
  }

.trust-wallet-one-tap .header .left-items {
      gap: 15px
    }

.trust-wallet-one-tap .header .title {
      color: #1E2329;
      font-size: 18px;
      font-weight: 600;
      line-height: 28px;
    }

.trust-wallet-one-tap .header .subtitle {
      color: #474D57;
      font-size: 14px;
      line-height: 20px;
    }

.trust-wallet-one-tap .header .close {
      color: #1E2329;
      cursor: pointer;
    }

.trust-wallet-one-tap .body {
    padding: 9px 18px;
    gap: 10px;

  }

.trust-wallet-one-tap .body .right-items {
      gap: 10px;
      width: 100%;
    }

.trust-wallet-one-tap .body .right-items .wallet-title {
        color: #1E2329;
        font-size: 16px;
        font-weight: 600;
        line-height: 20px;
      }

.trust-wallet-one-tap .body .right-items .wallet-subtitle {
        color: #474D57;
        font-size: 14px;
        line-height: 20px;
      }

.trust-wallet-one-tap .connect-indicator {
    gap: 15px;
    padding: 8px 0;
  }

.trust-wallet-one-tap .connect-indicator .flow-icon {
      color: #474D57;
    }

.trust-wallet-one-tap .loading-color {
    color: #FFF;
  }

.trust-wallet-one-tap .button {
    border-radius: 50px;
    outline: 2px solid transparent;
    outline-offset: 2px;
    background-color: rgb(5, 0, 255);
    border-color: rgb(229, 231, 235);
    cursor: pointer;
    text-align: center;
    height: 45px;
  }

.trust-wallet-one-tap .button .button-text {
      color: #FFF;
      font-size: 16px;
      font-weight: 600;
      line-height: 20px;
    }

.trust-wallet-one-tap .footer {
    margin: 20px 30px;
  }

.trust-wallet-one-tap .check-icon {
    color: #FFF;
  }

@font-face {
  font-family: 'Binance';
  src: url(chrome-extension://egjidjbpglichdcondbcbdnbeeppgdph/fonts/BinancePlex-Regular.otf) format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Binance';
  src: url(chrome-extension://egjidjbpglichdcondbcbdnbeeppgdph/fonts/BinancePlex-Medium.otf) format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Binance';
  src: url(chrome-extension://egjidjbpglichdcondbcbdnbeeppgdph/fonts/BinancePlex-SemiBold.otf) format('opentype');
  font-weight: 600;
  font-style: normal;
}
:host {
  position: fixed !important;
  z-index: 2147483647 !important;
  top: 16px;
  right: 16px;
}

#container {
  border-radius: 1rem;
  padding: 12px 1rem;
  display: flex;
  flex-direction: column;
  color: #fff;
  font-family: system-ui;
  background: #1a1a1a;
  box-shadow: 0px 0px 0px 4px rgba(255, 255, 255, 0.16), 0px 16px 32px 0px rgba(0, 0, 0, 0.24);
  border: 1px solid #5c5b5b;
  cursor: move;
  width: 420px;
  transition: all 0.2s;
  position: relative;
  overflow-x: hidden;
}

#container.minimized {
  width: fit-content;
  height: 56px;
  padding: 6px;
  border-radius: 20px;
}

#container.minimized #test-rule-container,
#container.minimized #heading-container,
#container.minimized #info-container {
  display: none;
}

#rule-name {
  font-size: 12px;
  margin: 4px 0;
  font-weight: bolder;
  line-height: 1.4;
  max-width: 290px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#heading-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}

#logo-container {
  display: flex;
  align-items: center;
  gap: 6px;
}

#heading-container div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
}

#actions-container {
  display: flex;
  flex-direction: row;
  gap: 4px;
}

#actions-container button {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  color: #fff;
  transition: all 0.2s;
  cursor: pointer;
  border-radius: 4px;
  padding: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

#actions-container #close-button svg {
  width: 10px;
  height: 10px;
}

#actions-container button:hover {
  background: #383838;
}

#explicit-widget-container {
  background: #282828;
  border-radius: 8px;
  padding: 12px;
  margin-top: 8px;
}

#implicit-widget-container {
  padding: 0 4px;
  margin-top: 8px;
}

#rule-status-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

#test-rule-details {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
}

#info-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 6px;
  margin-top: 8px;
}

#info-icon {
  align-self: flex-start;
}

#rule-status-comment {
  align-self: center;
}

#heading-logo {
  height: 16px;
  width: 16px;
}

#logo-text {
  color: #fff;
  font-size: 11px;
  font-weight: 500;
}

#view-result-btn {
  all: unset;
  background: #1e69ff;
  color: #fff;
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 12px;
}

#view-result-btn:hover {
  cursor: pointer;
  border-color: #0f4cd9;
  background: #0f4cd9;
}

#rule-status {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 4px;
}

#rule-applied-status,
#rule-not-applied-status {
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 1px;
  font-size: 10px;
  font-weight: 500;
  margin-top: -3px;
}

#rule-applied-status {
  color: #28c07a;
}

#rule-not-applied-status {
  color: #e09400;
}

#minimized-details {
  display: none;
  pointer-events: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 3px;
}

#minimized-details.visible {
  display: flex;
  pointer-events: auto;
}

#minimized-logo svg {
  height: 16px;
  width: 16px;
}

#test-rule-minimized-btn {
  padding: 0;
  background: transparent;
  border: none;
}

#test-rule-minimized-btn span {
  padding: 6px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
#test-rule-minimized-btn span svg {
  height: 20px;
  width: 20px;
}

.secondary-text {
  font-size: 11px;
  color: #b0b0b5b3;
}

.hidden {
  display: none !important;
}

a {
  color: #9370db;
}

.warning {
  background: #5c3111;
}

.success {
  background: #104b2f;
}

#applied-rules-list {
  margin-top: 8px;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 4px;
}

#applied-rules-list::-webkit-scrollbar {
  width: 8px;
  background: transparent;
}

#applied-rules-list::-webkit-scrollbar-thumb {
  background: #353535;
  border-radius: 8px;
}

#applied-rules-list-header {
  font-size: 13px;
  color: #fff;
  font-weight: 500;
}

.applied-rule-list-item {
  border-radius: 8px;
  background: #282828;
  padding: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.25px;
  margin-top: 8px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.applied-rule-list-item:hover {
  background: #383838;
}

.applied-rule-list-item:hover .applied-rule-arrow-icon {
  opacity: 1;
}

.applied-rule-list-item:first-child {
  margin-top: 0;
}

.applied-rule-item-details {
  display: flex;
  align-items: center;
  gap: 8px;
}

.applied-rule-icon {
  align-self: center;
}

.applied-rule-icon svg {
  width: 14px;
  height: 14px;
  position: relative;
  top: 2px;
}

.applied-rule-arrow-icon {
  transform: scale(1.2);
  align-self: center;
  transition: 0.2s all;
  opacity: 0;
}

.applied-rule-name {
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#settings-button {
  position: relative;
}

#settings-button[data-tooltip]:hover::after {
  content: attr(data-tooltip);

  position: absolute;
  z-index: 1;
  right: 0px;
  top: 34px;
  width: 158px;
  max-width: 232px;
  padding: 6px 12px;
  color: #fff;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  border-radius: 4px;
  background: #000;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.16);
}

.test-rule-widget-progress-bar {
  height: 6px;
  background: #3c7ff3;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  transition: width 5s linear;
}

@import url('captcha.css');