﻿    /* Calculator & Forms */
    .calculator-grid { display: grid; grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr); gap: 32px; align-items: start; }
    .calculator-grid > * { min-width: 0; }
    .calc-left {
      padding: 22px;
      background:
        radial-gradient(260px 140px at 10% 0%, rgba(91,140,255,0.22), transparent 60%),
        radial-gradient(260px 140px at 90% 10%, rgba(139,92,246,0.22), transparent 60%),
        var(--grad-soft);
    }
    .calc-right {
      padding: 20px; display: flex; flex-direction: column; gap: 16px; position: relative;
      background:
        radial-gradient(260px 140px at 90% 0%, rgba(91,140,255,0.18), transparent 60%),
        radial-gradient(260px 140px at 10% 20%, rgba(139,92,246,0.18), transparent 60%),
        var(--grad-soft);
    }
    .calc-left .exchange-form { gap: 16px; }
    .calc-left .calc-tabs { padding: 6px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); gap: 6px; }
    .calc-left .calc-tabs .currency-btn {
      border: none; background: rgba(255,255,255,0.04); color: #e2e8ff; font-weight: 700; border-radius: 12px;
      padding: 12px 10px;
    }
    .calc-left .calc-tabs .currency-btn.active { color: #fff; }
    .calc-left .form-group {
      background: var(--surface-2); border: 1px solid rgba(255,255,255,.05); border-radius: 16px; padding: 14px;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
    }
    .calc-left .form-group,
    .calc-left .input-group {
      width: 100%;
      max-width: 100%;
      min-width: 0;
    }
    .calc-left .form-group { margin-bottom: 0; }
    .calc-left .form-label { font-size: 12px; color: #cbd5e1; }
    .calc-left .input-group { background: var(--surface); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 6px; }
    .calc-left .form-input { font-size: 14px; }
    .calc-left .input-suffix {
      border-left: 0; background: rgba(255,255,255,0.06); border-radius: 10px; padding: 8px 12px; color: #fff;
    }
    .calc-left .custom-select-container { width: 100%; }
    .calc-left .custom-select-trigger {
      height: 44px; background: var(--surface); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 0 14px;
    }
    .calc-rate-row {
      display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
      background: var(--surface-2); border: 1px solid rgba(255,255,255,.06); border-radius: 16px; padding: 14px;
    }
    .calc-rate-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 12px; }
    .calc-rate-info {
      width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center;
      font-size: 11px; font-weight: 700; color: #0a0d14; background: var(--accent-3);
      cursor: help;
      position: relative;
      outline: none;
    }
    .calc-rate-tooltip {
      position: absolute;
      left: 50%;
      bottom: calc(100% + 10px);
      transform: translateX(-50%) translateY(6px);
      min-width: 190px;
      max-width: 220px;
      padding: 12px 14px;
      border-radius: 12px;
      background: #232734;
      color: #fff;
      font-size: 13px;
      line-height: 1.3;
      font-weight: 700;
      text-align: center;
      box-shadow: 0 10px 24px rgba(0,0,0,0.35);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
      z-index: 20;
    }
    .calc-rate-tooltip::after {
      content: "";
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      border-left: 7px solid transparent;
      border-right: 7px solid transparent;
      border-top: 7px solid #232734;
    }
    .calc-rate-info:hover .calc-rate-tooltip,
    .calc-rate-info:focus-visible .calc-rate-tooltip {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) translateY(0);
    }
    .calc-rate-value { font-weight: 700; font-size: 14px; color: #e2e8f0; }
    .calc-rate-time { font-size: 12px; color: var(--accent-3); text-align: right; }
    .calc-rate-status {
      grid-column: 1 / -1;
      margin-top: -4px;
      font-size: 12px;
      line-height: 1.35;
      color: var(--text-dim);
    }
    .calc-rate-status.is-ok { color: #86efac; }
    .calc-rate-status.is-stale { color: #fde68a; }
    .calc-rate-status.is-error { color: #fca5a5; }
    .calc-amount { gap: 12px; }
    .swap-divider { display: grid; place-items: center; margin: -4px 0; }
    .swap-icon {
      width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 16px;
      background: #12141a; color: var(--accent-3); border: 1px solid rgba(34,211,238,.4);
    }
    .promo-banner {
      position: relative; border-radius: 18px; overflow: hidden; min-height: 210px;
      background: linear-gradient(110deg, rgba(10,13,20,0.92) 0%, rgba(10,13,20,0.2) 60%), url("https://images.pexels.com/photos/6770610/pexels-photo-6770610.jpeg?auto=compress&cs=tinysrgb&w=1600") center/cover no-repeat;
      border: 1px solid rgba(255,255,255,.08);
      padding: 24px;
    }
    .promo-content { max-width: 60%; }
    .promo-title { font-size: 24px; font-weight: 900; line-height: 1.2; margin-bottom: 10px; }
    .promo-text { color: var(--text-dim); font-size: 13px; line-height: 1.5; margin-bottom: 16px; }
    .promo-btn { padding: 10px 16px; }
    .promo-banner-section { padding-bottom: 10px; }
    .promo-banner-standalone { margin: 0; }
    .promo-banner-online {
      background: linear-gradient(110deg, rgba(8,14,30,0.94) 0%, rgba(8,14,30,0.32) 58%), url("../assets/images/mainban.jpeg") center/cover no-repeat;
      border-color: rgba(88, 182, 255, 0.42);
    }
    @media (min-width: 1024px) {
      .promo-banner-online {
        display: flex;
        align-items: stretch;
      }
      .promo-banner-online .promo-content {
        display: flex;
        flex-direction: column;
        min-height: 100%;
      }
      .promo-banner-online .promo-btn {
        margin-top: auto;
        align-self: flex-start;
      }
    }
    .promo-badge-new {
      position: absolute;
      top: 14px;
      right: 14px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 70px;
      padding: 6px 10px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.35);
      background: linear-gradient(90deg, #22c55e, #16a34a);
      color: #ffffff;
      font-size: 12px;
      font-weight: 800;
      line-height: 1;
      letter-spacing: 0.01em;
      box-shadow: 0 8px 22px rgba(22, 163, 74, 0.35);
      z-index: 2;
    }
    .promo-banner-tg {
      /* Replace this image URL when the final Telegram banner asset is ready. */
      background: linear-gradient(110deg, rgba(8,16,40,0.94) 0%, rgba(8,16,40,0.25) 58%), url("../assets/images/vkbanner.jpeg") center/cover no-repeat;
      border-color: rgba(106, 192, 255, 0.35);
    }
    .tg-channel-btn {
      --tg-round: 24px;
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      min-height: 50px;
      padding: 0;
      border: none;
      border-radius: var(--tg-round);
      background:
        radial-gradient(80% 100% at 50% 100%, rgba(168, 85, 247, 0.36) 0%, rgba(168, 85, 247, 0) 72%),
        linear-gradient(180deg, #7d5cf7 0%, #4f7cff 100%);
      box-shadow:
        0 16px 32px rgba(37, 99, 235, 0.24),
        inset 0 1px 0 rgba(255,255,255,0.14);
      text-decoration: none;
      transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
    }
    .tg-channel-btn::before,
    .tg-channel-btn::after {
      content: "";
      position: absolute;
      z-index: 0;
      transition: all 0.45s ease-in-out;
      pointer-events: none;
    }
    .tg-channel-btn::before {
      display: none;
    }
    .tg-channel-btn::after {
      inset: 3px;
      border-radius: calc(var(--tg-round) - 3px);
      background:
        radial-gradient(80% 100% at 50% 100%, rgba(205, 109, 255, 0.26) 0%, rgba(205, 109, 255, 0) 72%),
        linear-gradient(180deg, #8560fb 0%, #5a79ff 100%);
    }
    .tg-channel-btn:hover {
      transform: translateY(-1px);
      filter: brightness(1.03);
      box-shadow: 0 18px 38px rgba(37, 99, 235, 0.3);
    }
    .tg-channel-btn:active {
      transform: scale(0.97);
    }
    .tg-channel-btn__fold {
      position: absolute;
      top: 0;
      right: 0;
      z-index: 1;
      width: 1rem;
      height: 1rem;
      display: inline-block;
      background: radial-gradient(100% 75% at 55%, rgba(196, 181, 253, 0.95) 0%, rgba(196, 181, 253, 0) 100%);
      box-shadow: 0 0 3px rgba(0,0,0,0.2);
      border-bottom-left-radius: 0.5rem;
      border-top-right-radius: var(--tg-round);
      transition: all 0.45s ease-in-out;
    }
    .tg-channel-btn__fold::after {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      width: 150%;
      height: 150%;
      transform: rotate(45deg) translateX(0) translateY(-18px);
      background: rgba(239, 246, 255, 0.95);
      pointer-events: none;
    }
    .tg-channel-btn:hover .tg-channel-btn__fold {
      margin-top: -1rem;
      margin-right: -1rem;
    }
    .tg-channel-btn__points {
      position: absolute;
      inset: 0;
      z-index: 1;
      overflow: hidden;
      pointer-events: none;
    }
    .tg-channel-btn__point {
      position: absolute;
      bottom: -10px;
      width: 2px;
      height: 2px;
      border-radius: 9999px;
      background: rgba(255,255,255,0.95);
      pointer-events: none;
      animation: tg-floating-points infinite ease-in-out;
    }
    @keyframes tg-floating-points {
      0% { transform: translateY(0); }
      85% { opacity: 0; }
      100% { transform: translateY(-55px); opacity: 0; }
    }
    .tg-channel-btn__point:nth-child(1) { left: 10%; opacity: 1; animation-duration: 2.35s; animation-delay: 0.2s; }
    .tg-channel-btn__point:nth-child(2) { left: 30%; opacity: 0.7; animation-duration: 2.5s; animation-delay: 0.5s; }
    .tg-channel-btn__point:nth-child(3) { left: 25%; opacity: 0.8; animation-duration: 2.2s; animation-delay: 0.1s; }
    .tg-channel-btn__point:nth-child(4) { left: 44%; opacity: 0.6; animation-duration: 2.05s; }
    .tg-channel-btn__point:nth-child(5) { left: 50%; opacity: 1; animation-duration: 1.9s; }
    .tg-channel-btn__point:nth-child(6) { left: 75%; opacity: 0.5; animation-duration: 1.5s; animation-delay: 1.5s; }
    .tg-channel-btn__point:nth-child(7) { left: 88%; opacity: 0.9; animation-duration: 2.2s; animation-delay: 0.2s; }
    .tg-channel-btn__point:nth-child(8) { left: 58%; opacity: 0.8; animation-duration: 2.25s; animation-delay: 0.2s; }
    .tg-channel-btn__point:nth-child(9) { left: 98%; opacity: 0.6; animation-duration: 2.6s; animation-delay: 0.1s; }
    .tg-channel-btn__point:nth-child(10) { left: 65%; opacity: 1; animation-duration: 2.5s; animation-delay: 0.2s; }
    .tg-channel-btn__inner {
      position: relative;
      z-index: 2;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      min-height: 50px;
      padding: 12px 18px;
      color: #ffffff;
      font-size: 15px;
      font-weight: 700;
      line-height: 1.25;
    }
    .tg-channel-btn__icon {
      width: 18px;
      height: 18px;
      flex: 0 0 auto;
      transition: fill 0.1s linear;
    }
    .tg-channel-btn:hover .tg-channel-btn__icon {
      fill: rgba(255,255,255,0.12);
      animation: tg-dasharray 1s linear forwards, tg-filled 0.1s linear forwards 0.95s;
    }
    .tg-channel-btn__label {
      white-space: nowrap;
    }
    @keyframes tg-dasharray {
      from { stroke-dasharray: 0 0 0 0; }
      to { stroke-dasharray: 68 68 0 0; }
    }
    @keyframes tg-filled {
      to { fill: white; }
    }
    .calc-accordions { display: grid; gap: 12px; }
    .calc-accordion {
      background: var(--surface-2); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 0; overflow: hidden;
    }
    .calc-accordion summary {
      list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 700; position: relative;
    }
    .calc-accordion summary::-webkit-details-marker { display: none; }
    .calc-accordion summary::after {
      content: "▾"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--text-dim);
      transition: transform .2s ease;
    }
    .calc-accordion[open] summary::after { transform: translateY(-50%) rotate(180deg); }
    .calc-accordion-body { padding: 0 18px 16px 18px; font-size: 13px; line-height: 1.5; }
    .calc-accordion-text { margin: 0; }
    .faq-partners-grid {
      margin-top: 12px;
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
    }
    .faq-partner-card {
      width: 104px;
      min-height: 44px;
      border: none;
      border-radius: 0;
      background: none;
      box-shadow: none;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0;
      transition: transform .18s ease;
    }
    .faq-partner-card::before {
      content: "";
      position: absolute;
      left: 50%;
      top: 50%;
      width: 100%;
      height: 100%;
      transform: translate(-50%, -50%);
      border-radius: 8px;
      background: linear-gradient(135deg, rgba(5, 8, 14, 0.96) 0%, rgba(2, 4, 9, 0.98) 100%);
      box-shadow: inset 0 0 0 1px rgba(36, 47, 69, 0.9);
      pointer-events: none;
      z-index: 0;
    }
    .faq-partner-card:hover {
      transform: translateY(-1px);
      background: none;
    }
    .faq-partner-card:hover::before {
      box-shadow: inset 0 0 0 1px rgba(57, 74, 108, 0.95);
    }
    .faq-partner-card-exnode::before {
      background: linear-gradient(135deg, rgba(243, 247, 255, 0.98) 0%, rgba(232, 239, 252, 0.98) 100%);
      box-shadow: inset 0 0 0 1px rgba(156, 176, 211, 0.85);
    }
    .faq-partner-card-exnode:hover::before {
      background: linear-gradient(135deg, rgba(252, 254, 255, 0.98) 0%, rgba(236, 244, 255, 0.98) 100%);
      box-shadow: inset 0 0 0 1px rgba(158, 180, 220, 0.9);
    }
    .faq-partner-card-abcex::before {
      background: linear-gradient(135deg, rgba(252, 252, 255, 0.98) 0%, rgba(238, 243, 255, 0.98) 100%);
      box-shadow: inset 0 0 0 1px rgba(160, 178, 214, 0.85);
    }
    .faq-partner-card-abcex:hover::before {
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.99) 0%, rgba(242, 246, 255, 0.99) 100%);
      box-shadow: inset 0 0 0 1px rgba(170, 188, 222, 0.92);
    }
    .faq-partner-card-kursexpert::before {
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(236, 246, 255, 0.98) 100%);
      box-shadow: inset 0 0 0 1px rgba(150, 176, 214, 0.86);
    }
    .faq-partner-card-kursexpert:hover::before {
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.99) 0%, rgba(242, 249, 255, 0.99) 100%);
      box-shadow: inset 0 0 0 1px rgba(160, 188, 224, 0.94);
    }
    .faq-partner-card-sumo::before {
      background: linear-gradient(135deg, rgba(247, 252, 255, 0.98) 0%, rgba(229, 242, 255, 0.98) 100%);
      box-shadow: inset 0 0 0 1px rgba(144, 181, 220, 0.88);
    }
    .faq-partner-card-sumo:hover::before {
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.99) 0%, rgba(237, 248, 255, 0.99) 100%);
      box-shadow: inset 0 0 0 1px rgba(119, 166, 212, 0.95);
    }
    .faq-partner-card-bestchange::before {
      background:
        radial-gradient(circle at 18% 18%, rgba(190, 220, 116, 0.3), transparent 36%),
        linear-gradient(135deg, rgba(38, 48, 31, 0.98) 0%, rgba(14, 20, 16, 0.99) 54%, rgba(61, 74, 43, 0.98) 100%);
      box-shadow:
        inset 0 0 0 1px rgba(166, 196, 94, 0.46),
        inset 0 -12px 24px rgba(0, 0, 0, 0.22);
    }
    .faq-partner-card-bestchange:hover::before {
      background:
        radial-gradient(circle at 18% 18%, rgba(202, 233, 126, 0.36), transparent 36%),
        linear-gradient(135deg, rgba(45, 57, 35, 0.99) 0%, rgba(17, 24, 18, 0.99) 54%, rgba(71, 87, 49, 0.99) 100%);
      box-shadow:
        inset 0 0 0 1px rgba(182, 214, 105, 0.62),
        inset 0 -12px 24px rgba(0, 0, 0, 0.2);
    }
    .faq-partner-card img {
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: 72px;
      height: 30px;
      object-fit: contain;
      display: block;
      filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
    }
    .faq-partner-card-exnode img {
      width: auto;
      max-width: 66px;
      height: 31px;
      filter: none;
    }
    .faq-partner-card-kursexpert img {
      width: 100px;
      max-width: 82px;
      height: 31px;
      filter: none;
    }
    .faq-partner-card-sumo img {
      width: 100%;
      max-width: 88px;
      height: auto;
      filter: none;
    }
    .faq-partner-card-bestchange img {
      width: 96px;
      max-width: 96px;
      height: auto;
      border-radius: 2px;
      filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.34));
    }
    .partner-logo-abcex {
      position: relative;
      z-index: 1;
      display: inline-flex;
      align-items: baseline;
      font-weight: 900;
      letter-spacing: -0.06em;
      line-height: 1;
      text-transform: uppercase;
      white-space: nowrap;
    }
    .partner-logo-abcex-dark {
      color: #20243c;
    }
    .partner-logo-abcex-accent {
      color: #1d78ea;
    }
    .partner-logo-abcex-faq {
      font-size: 22px;
    }
    @media (max-width: 640px) {
      .faq-partners-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(112px, 1fr));
        gap: 12px 14px;
        align-items: center;
      }
      .faq-partner-card {
        width: 100%;
        min-height: 52px;
      }
      .faq-partner-card img {
        max-width: 82px;
        height: 32px;
      }
      .faq-partner-card-exnode img {
        max-width: 76px;
      }
      .faq-partner-card-kursexpert img {
        max-width: 88px;
      }
      .faq-partner-card-sumo img {
        max-width: 104px;
      }
      .faq-partner-card-bestchange img {
        width: 112px;
        max-width: 112px;
      }
      .partner-logo-abcex-faq {
        font-size: 25px;
      }
    }
    .calc-hidden-rates {
      position: absolute; width: 1px; height: 1px; margin: -1px; border: 0; padding: 0;
      clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
    }
    @media (max-width: 768px) {
      .promo-content { max-width: 100%; }
      .promo-banner { min-height: 180px; }
      .promo-banner-section { padding-bottom: 10px; }
      .tg-channel-btn {
        width: 100%;
      }
      .tg-channel-btn__inner {
        padding: 12px 16px;
      }
      .tg-channel-btn__label {
        white-space: normal;
        text-align: center;
      }
      .promo-badge-new {
        top: 10px;
        right: 10px;
        min-width: 64px;
        padding: 5px 9px;
        font-size: 11px;
      }
    }
    @media (max-width: 640px) {
      .calc-left { overflow: hidden; }
    }
    .calc-section {
      background:
        radial-gradient(700px 300px at 10% 10%, rgba(91,140,255,0.2), transparent 60%),
        radial-gradient(800px 340px at 90% 20%, rgba(139,92,246,0.2), transparent 60%);
    }
    @media (max-width: 1200px) { .calculator-grid { grid-template-columns: 1fr; gap: 24px; } }
    @media (min-width: 481px) and (max-width: 640px) { .calculator-grid { grid-template-columns: 1fr; gap: 20px; } .calculator-grid > * { min-width: 0; } }

    .rates-section { display: flex; flex-direction: column; height: 100%; }
    .rates-display { display: flex; flex-direction: column; gap: 16px; flex: 1; }
    .rate-item { padding: 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); flex: 1; display: flex; flex-direction: column; justify-content: center; }
    .rate-label { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
    .rate-value { display: flex; align-items: center; justify-content: space-between; font-size: 20px; font-weight: 900; margin-bottom: 8px; }
    .rate-sub { font-size: 12px; color: var(--text-dim); }
    .rate-info { margin-top: 20px; padding: 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface-2); }
    .rate-info h4 { margin: 0 0 12px 0; font-size: 16px; font-weight: 700; }
    .rate-info p { margin: 0 0 8px 0; font-size: 13px; color: var(--text-dim); line-height: 1.4; }
    .rate-info p:last-child { margin-bottom: 0; }

    .exchange-form { display: flex; flex-direction: column; gap: 20px; height: 100%; }
    .currency-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface-2); }
    .currency-btn { padding: 12px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); font-weight: 600; font-size: 14px; cursor: pointer; transition: all 0.2s ease; text-align: center; }
    .currency-btn:hover { background: rgba(91,140,255,0.12); border-color: var(--border-strong); }
    .currency-btn.active { color: white; border-color: transparent; }
    .currency-btn.active#buyBtn { background-color: var(--accent); }
    .currency-btn.active#sellBtn { background-color: var(--accent-2); }

    .amount-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
    @media (max-width: 640px) { .amount-row { grid-template-columns: 1fr; gap: 12px; } }

    /* New form margins from request */
    .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
    .form-label { font-weight: 600; font-size: 13px; color: var(--text); }
    .input-group { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); transition: border-color 0.2s ease; }
    .input-group:focus-within { border-color: var(--accent); }
    
    /* 2. РРЎРџР РђР’Р›Р•РќРР•: РЎРєСЂС‹С‚РёРµ СЃС‚СЂРµР»РѕС‡РµРє РІ input type=number */
    .form-input { flex: 1; padding: 12px 14px; border: none; background: transparent; color: var(--text); font-size: 15px; outline: none; min-width: 0; }
    .form-input::placeholder { color: var(--text-dim); }
    
    /* Chrome, Safari, Edge, Opera */
    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }
    /* Firefox */
    input[type=number] {
      -moz-appearance: textfield;
    }

    .input-suffix { padding: 0 14px; font-weight: 600; color: var(--text-dim); border-left: 1px solid var(--border); font-size: 14px; }
    
    .telegram-wrapper { position: relative; }
    .telegram-at { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-dim); font-weight: 700; font-size: 16px; z-index: 1; pointer-events: none; user-select: none; display: flex; align-items: center; justify-content: center; height: 100%; }
    .telegram-wrapper .form-input { padding-left: 36px; }

    .exchange-form .checkbox-group {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 16px;
      text-align: left;
    }
    .exchange-form .checkbox-custom {
      width: 20px;
      height: 20px;
      border: 1px solid var(--border);
      background: var(--surface);
      border-radius: 2px !important;
      display: grid;
      place-items: center;
      cursor: pointer;
      flex: 0 0 20px;
      margin-top: 0;
    }
    .exchange-form .checkbox-custom.checked {
      background: var(--accent);
      border-color: var(--accent);
    }
    .exchange-form .checkbox-custom svg {
      width: 14px;
      height: 14px;
      color: white;
      display: none;
    }
    .exchange-form .checkbox-custom.checked svg {
      display: block;
    }
    .exchange-form .checkbox-label {
      font-size: 13px;
      color: var(--text-dim);
      line-height: 1.4;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 2px;
    }
    .exchange-form .terms-service-link {
      color: var(--accent);
      text-decoration: underline;
      text-underline-offset: 2px;
    }
    .exchange-form .terms-service-link:hover {
      color: var(--text);
    }

    .form-actions { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
    .form-submit-btn { width: 100%; justify-content: center; padding: 14px 20px; }
    .exchange-form .form-error,
    .calc-left .form-error {
      display: none;
      margin-top: 4px;
      color: #ff5d6c;
      font-size: 15px;
      font-weight: 800;
      line-height: 1.45;
      text-align: left;
    }
    .exchange-form .form-error.active,
    .calc-left .form-error.active {
      display: block;
    }
    .form-terms { font-size: 11px; color: var(--text-dim); text-align: center; margin: 0; line-height: 1.4; }
    .terms-link { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 2px; font-weight: 600; transition: color 0.2s ease; }
    .terms-link:hover { color: var(--accent-2); text-decoration-thickness: 3px; }

    .usdt-wrap { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--card); box-shadow: inset 0 3px 10px rgba(0,0,0,.35), 0 4px 12px rgba(0,0,0,.25); transition: box-shadow .4s ease; flex: 0 0 46px; }
    .usdt-wrap svg { width: 32px; height: 32px; cursor: default; pointer-events: none; }
    .usdt-wrap.glow-buy { box-shadow: 0 0 14px rgba(16,185,129,.65), inset 0 3px 10px rgba(0,0,0,.35); }
    .usdt-wrap.glow-sell { box-shadow: 0 0 14px rgba(239,68,68,.65), inset 0 3px 10px rgba(0,0,0,.35); }
    .buy-title { color: var(--accent); font-weight: 800; } .sell-title { color: var(--accent-2); font-weight: 800; }
    .usdt-icon { width: 28px; height: 28px; flex-shrink: 0; }
    .usdt-icon:hover { filter: drop-shadow(0 0 6px rgba(38, 161, 123, 0.7)); transform: scale(1.05); transition: all 0.3s ease; cursor: pointer; }
    
    @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } }
    .usdt-icon.animate { animation: pulse 0.6s ease; }
    
    #rateBuyStat + .l { color: var(--accent); font-weight: 600; }
    #rateSellStat + .l { color: var(--accent-2); font-weight: 600; }

