.tinr-app-update-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 7, 18, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tinr-app-update-card {
  width: min(410px, 100%);
  padding: 28px 24px 22px;
  border: 1px solid var(--tinr-border, rgba(148, 163, 184, 0.22));
  border-radius: 22px;
  color: var(--tinr-text, #111827);
  background:
    radial-gradient(circle at 50% 0%, rgba(250, 204, 21, 0.12), transparent 210px),
    var(--tinr-surface, #ffffff);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  text-align: center;
}

html[data-theme="dark"] .tinr-app-update-card {
  color: #f8fafc;
  background:
    radial-gradient(circle at 50% 0%, rgba(250, 204, 21, 0.11), transparent 210px),
    #0b1220;
  border-color: rgba(148, 163, 184, 0.16);
}

.tinr-app-update-card__icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 18px;
  color: #111827;
  background: linear-gradient(135deg, #fde047, #facc15);
  box-shadow: 0 14px 30px rgba(250, 204, 21, 0.2);
  font-size: 30px;
  font-weight: 900;
}

.tinr-app-update-card__eyebrow {
  display: inline-block;
  margin-bottom: 7px;
  color: #ca8a04;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

html[data-theme="dark"] .tinr-app-update-card__eyebrow {
  color: #facc15;
}

.tinr-app-update-card__title {
  margin: 0;
  font-size: 25px;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.tinr-app-update-card__version {
  margin: 7px 0 0;
  color: var(--tinr-muted, #64748b);
  font-size: 13px;
  font-weight: 700;
}

html[data-theme="dark"] .tinr-app-update-card__version {
  color: #94a3b8;
}

.tinr-app-update-card__notes {
  max-height: 130px;
  overflow-y: auto;
  margin: 18px 0 0;
  padding: 13px 14px;
  border: 1px solid var(--tinr-border, #e2e8f0);
  border-radius: 13px;
  color: var(--tinr-muted, #475569);
  background: rgba(148, 163, 184, 0.07);
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
  white-space: pre-line;
}

html[data-theme="dark"] .tinr-app-update-card__notes {
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.14);
  background: rgba(148, 163, 184, 0.055);
}

.tinr-app-update-card__update-btn,
.tinr-app-update-card__later-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.tinr-app-update-card__update-btn {
  margin-top: 20px;
  border: 1px solid rgba(250, 204, 21, 0.4);
  color: #111827;
  background: linear-gradient(135deg, #fde047, #facc15);
  box-shadow: 0 12px 28px rgba(250, 204, 21, 0.15);
}

.tinr-app-update-card__update-btn:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.tinr-app-update-card__later-btn {
  margin-top: 8px;
  border: 1px solid var(--tinr-border, #e2e8f0);
  color: var(--tinr-text, #111827);
  background: transparent;
}

html[data-theme="dark"] .tinr-app-update-card__later-btn {
  color: #f8fafc;
  border-color: rgba(148, 163, 184, 0.16);
}

.tinr-app-update-card__required {
  margin: 12px 0 0;
  color: #dc2626;
  font-size: 10.5px;
  font-weight: 750;
  line-height: 1.45;
}

html[data-theme="dark"] .tinr-app-update-card__required {
  color: #fb7185;
}

@media (max-width: 480px) {
  .tinr-app-update-overlay {
    padding: 14px;
  }

  .tinr-app-update-card {
    padding: 24px 18px 19px;
    border-radius: 18px;
  }

  .tinr-app-update-card__title {
    font-size: 23px;
  }
}
/* ==========================================================
   TradeINR Professional Global Alert
   Replaces browser-native window.alert() visually.
   Unique scope: tinr-professional-alert*
   ========================================================== */

.tinr-professional-alert {
  position: fixed;
  inset: 0;
  z-index: 2147483000;

  display: grid;
  place-items: center;

  padding: 20px;
}

.tinr-professional-alert__backdrop {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  margin: 0;
  padding: 0;

  border: 0;
  background: rgba(3, 7, 18, .64);

  cursor: default;

  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.tinr-professional-alert__card {
  position: relative;
  z-index: 1;

  width: min(430px, 100%);

  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 15px;

  padding: 22px;

  border: 1px solid var(--tinr-border);
  border-radius: 20px;

  color: var(--tinr-text);
  background:
    radial-gradient(circle at 0 0, rgba(250, 204, 21, .07), transparent 180px),
    var(--tinr-surface);

  box-shadow:
    0 32px 90px rgba(0, 0, 0, .30),
    0 0 0 1px rgba(255, 255, 255, .02);

  animation: tinrProfessionalAlertIn .19s ease-out;
}

html[data-theme="light"] .tinr-professional-alert__card {
  box-shadow:
    0 30px 80px rgba(15, 23, 42, .19),
    0 0 0 1px rgba(255, 255, 255, .72);
}

@keyframes tinrProfessionalAlertIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.975);
  }

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

.tinr-professional-alert__icon {
  width: 52px;
  height: 52px;

  display: grid;
  place-items: center;

  border-radius: 15px;

  font-size: 19px;
}

.tinr-professional-alert__icon--success {
  color: var(--tinr-success);
  border: 1px solid color-mix(in srgb, var(--tinr-success) 25%, transparent);
  background: color-mix(in srgb, var(--tinr-success) 10%, transparent);
}

.tinr-professional-alert__icon--warning {
  color: var(--tinr-yellow);
  border: 1px solid rgba(250, 204, 21, .25);
  background: rgba(250, 204, 21, .09);
}

.tinr-professional-alert__icon--error {
  color: var(--tinr-danger);
  border: 1px solid color-mix(in srgb, var(--tinr-danger) 25%, transparent);
  background: color-mix(in srgb, var(--tinr-danger) 9%, transparent);
}

.tinr-professional-alert__icon--info {
  color: var(--tinr-info);
  border: 1px solid color-mix(in srgb, var(--tinr-info) 25%, transparent);
  background: color-mix(in srgb, var(--tinr-info) 9%, transparent);
}

.tinr-professional-alert__content {
  min-width: 0;
}

.tinr-professional-alert__eyebrow {
  display: block;

  margin-bottom: 4px;

  color: var(--tinr-yellow);

  font-size: 8px;
  font-weight: 850;
  letter-spacing: .13em;
}

.tinr-professional-alert__content h2 {
  margin: 0;

  color: var(--tinr-text);

  font-size: 20px;
  font-weight: 850;
  letter-spacing: -.03em;
}

.tinr-professional-alert__content p {
  margin: 8px 0 0;

  color: var(--tinr-text-soft);

  font-size: 12px;
  font-weight: 550;
  line-height: 1.6;

  white-space: pre-line;
  overflow-wrap: anywhere;
}

.tinr-professional-alert__ok {
  grid-column: 1 / -1;

  min-height: 44px;

  margin-top: 3px;
  padding: 0 16px;

  border: 1px solid rgba(250, 204, 21, .35);
  border-radius: 11px;

  color: #111827;
  background: linear-gradient(135deg, #fde047, #facc15);

  cursor: pointer;

  font: inherit;
  font-size: 11px;
  font-weight: 850;

  box-shadow: 0 10px 24px rgba(250, 204, 21, .12);
}

.tinr-professional-alert__ok:hover {
  filter: brightness(1.02);
  transform: translateY(-1px);
}

.tinr-professional-alert__ok:active {
  transform: translateY(0);
}

@media (max-width: 520px) {
  .tinr-professional-alert {
    padding: 14px;
  }

  .tinr-professional-alert__card {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;

    padding: 18px;

    border-radius: 17px;
  }

  .tinr-professional-alert__icon {
    width: 44px;
    height: 44px;

    border-radius: 13px;

    font-size: 16px;
  }

  .tinr-professional-alert__content h2 {
    font-size: 18px;
  }

  .tinr-professional-alert__content p {
    font-size: 11.5px;
  }
}
/* ==========================================================
   TradeINR User Theme Bridge
   Only applies inside .tinr-user-theme-surface.
   It fixes remaining legacy user pages that still contain
   hard-coded dark colors without touching admin pages.
   ========================================================== */

.tinr-user-theme-surface {
  min-height: 100%;
  color: var(--tinr-text);
  background: var(--tinr-bg);
}

/* ----------------------------------------------------------
   User Dashboard / Profile / API section
   ---------------------------------------------------------- */
.tinr-user-theme-surface .dashboard-page {
  min-height: 100vh !important;
  color: var(--tinr-text) !important;
  background: var(--tinr-bg) !important;
}

.tinr-user-theme-surface .dashboard-sidebar {
  color: var(--tinr-text) !important;
  background: var(--tinr-surface) !important;
  border-color: var(--tinr-border) !important;
}

.tinr-user-theme-surface .dashboard-sidebar h3 {
  color: var(--tinr-muted) !important;
  opacity: 1 !important;
}

.tinr-user-theme-surface .dashboard-sidebar .item {
  color: var(--tinr-text) !important;
}

.tinr-user-theme-surface .dashboard-sidebar .item:hover {
  background: var(--tinr-hover-bg) !important;
}

.tinr-user-theme-surface .dashboard-sidebar .active {
  color: #111827 !important;
  background: linear-gradient(135deg, #fde047, #facc15) !important;
}

.tinr-user-theme-surface .dashboard-sidebar .logout {
  color: var(--tinr-danger) !important;
  background: color-mix(in srgb, var(--tinr-danger) 7%, transparent) !important;
}

.tinr-user-theme-surface .dashboard-content {
  color: var(--tinr-text) !important;
  background: var(--tinr-bg) !important;
}

.tinr-user-theme-surface .profile-box,
.tinr-user-theme-surface .form-card,
.tinr-user-theme-surface .trading-card,
.tinr-user-theme-surface .volume-card {
  color: var(--tinr-text) !important;
  background: var(--tinr-surface) !important;
  border: 1px solid var(--tinr-border) !important;
  box-shadow: 0 10px 28px var(--tinr-shadow) !important;
}

.tinr-user-theme-surface .profile-box h1,
.tinr-user-theme-surface .profile-box h2,
.tinr-user-theme-surface .profile-box h3,
.tinr-user-theme-surface .profile-box h4,
.tinr-user-theme-surface .trading-card h1,
.tinr-user-theme-surface .trading-card h2,
.tinr-user-theme-surface .volume-card h1,
.tinr-user-theme-surface .volume-card h2 {
  color: var(--tinr-text) !important;
}

.tinr-user-theme-surface .profile-row,
.tinr-user-theme-surface .profile-row strong,
.tinr-user-theme-surface .api-key-result,
.tinr-user-theme-surface .api-key-item {
  color: var(--tinr-text) !important;
}

.tinr-user-theme-surface .profile-row span,
.tinr-user-theme-surface .api-key-item span,
.tinr-user-theme-surface .secret-warning {
  color: var(--tinr-muted) !important;
}

.tinr-user-theme-surface .form-card input,
.tinr-user-theme-surface .profile-box input,
.tinr-user-theme-surface .profile-box select,
.tinr-user-theme-surface .profile-box textarea {
  color: var(--tinr-text) !important;
  background: var(--tinr-surface-soft) !important;
  border-color: var(--tinr-border) !important;
}

.tinr-user-theme-surface .profile-box button:not(.api-otp-close):not(.copy-api-btn),
.tinr-user-theme-surface .form-card button {
  border-color: var(--tinr-border);
}

/* API OTP popup */
.tinr-user-theme-surface .api-otp-overlay {
  background: rgba(3, 7, 18, .62) !important;
}

.tinr-user-theme-surface .api-otp-modal {
  color: var(--tinr-text) !important;
  background: var(--tinr-surface) !important;
  border-color: var(--tinr-border) !important;
  box-shadow: 0 28px 70px var(--tinr-shadow-strong) !important;
}

.tinr-user-theme-surface .api-otp-modal h3 {
  color: var(--tinr-text) !important;
}

.tinr-user-theme-surface .api-otp-text,
.tinr-user-theme-surface .api-otp-note {
  color: var(--tinr-muted) !important;
}

.tinr-user-theme-surface .api-otp-input {
  color: var(--tinr-text) !important;
  background: var(--tinr-surface-soft) !important;
  border-color: var(--tinr-border) !important;
}

/* ----------------------------------------------------------
   Registered Help / Support
   ---------------------------------------------------------- */
.tinr-user-theme-surface .form-container-help-for-registered {
  color: var(--tinr-text) !important;
  background: var(--tinr-surface) !important;
  border-color: var(--tinr-border) !important;
  box-shadow: 0 12px 34px var(--tinr-shadow) !important;
}

.tinr-user-theme-surface .form-title-help-for-registered,
.tinr-user-theme-surface .ticket-history-title {
  color: var(--tinr-text) !important;
}

.tinr-user-theme-surface .label-help-for-registered {
  color: var(--tinr-text-soft) !important;
}

.tinr-user-theme-surface .input-help-for-registered,
.tinr-user-theme-surface .textarea-help-for-registered {
  color: var(--tinr-text) !important;
  background: var(--tinr-surface-soft) !important;
  border-color: var(--tinr-border) !important;
}

.tinr-user-theme-surface .file-input-help-for-registered {
  color: var(--tinr-text) !important;
}

.tinr-user-theme-surface .pending-status-box {
  color: var(--tinr-text) !important;
  background: rgba(250, 204, 21, .07) !important;
}

.tinr-user-theme-surface .ticket-table-wrapper {
  background: var(--tinr-surface) !important;
  border-color: var(--tinr-border) !important;
  box-shadow: 0 10px 28px var(--tinr-shadow) !important;
}

.tinr-user-theme-surface .ticket-history-table thead {
  background: var(--tinr-surface-soft) !important;
}

.tinr-user-theme-surface .ticket-history-table th {
  color: var(--tinr-muted) !important;
  background: var(--tinr-surface-soft) !important;
  border-color: var(--tinr-border) !important;
}

.tinr-user-theme-surface .ticket-history-table td {
  color: var(--tinr-text) !important;
  background: var(--tinr-surface) !important;
  border-color: var(--tinr-border) !important;
}

.tinr-user-theme-surface .ticket-history-table tbody tr:hover td {
  background: var(--tinr-hover-bg) !important;
}

.tinr-user-theme-surface .no-ticket-cell,
.tinr-user-theme-surface .no-image-text {
  color: var(--tinr-muted) !important;
}

/* ----------------------------------------------------------
   Small reusable legacy elements
   ---------------------------------------------------------- */
.tinr-user-theme-surface .layout {
  color: var(--tinr-text);
  background: var(--tinr-bg);
}

.tinr-user-theme-surface .layout > .sidebar {
  color: var(--tinr-text) !important;
  background: var(--tinr-surface) !important;
  border-color: var(--tinr-border) !important;
}

@media (max-width: 768px) {
  .tinr-user-theme-surface .dashboard-sidebar {
    border-bottom-color: var(--tinr-border) !important;
  }

  .tinr-user-theme-surface .dashboard-sidebar .item {
    background: var(--tinr-surface-soft) !important;
  }

  .tinr-user-theme-surface .dashboard-sidebar .active {
    background: linear-gradient(135deg, #fde047, #facc15) !important;
  }
}


/* ==========================================================
   V3 — COMPLETE USER/PUBLIC THEME BRIDGE
   Scoped under .tinr-user-theme-surface so admin-dashboard
   styling is not touched.
   ========================================================== */

/* ---------- Common legacy form controls ---------- */
.tinr-user-theme-surface input:not([type="checkbox"]):not([type="radio"]),
.tinr-user-theme-surface select,
.tinr-user-theme-surface textarea {
  color: var(--tinr-text);
  border-color: var(--tinr-border);
}

html[data-theme="light"] .tinr-user-theme-surface input:not([type="checkbox"]):not([type="radio"]),
html[data-theme="light"] .tinr-user-theme-surface select,
html[data-theme="light"] .tinr-user-theme-surface textarea {
  color-scheme: light;
}

html[data-theme="dark"] .tinr-user-theme-surface input:not([type="checkbox"]):not([type="radio"]),
html[data-theme="dark"] .tinr-user-theme-surface select,
html[data-theme="dark"] .tinr-user-theme-surface textarea {
  color-scheme: dark;
}

/* ==========================================================
   BANK
   ========================================================== */
.tinr-user-theme-surface .bank-page {
  color: var(--tinr-text) !important;
  background:
    radial-gradient(circle at 50% 0, rgba(250, 204, 21, .06), transparent 320px),
    var(--tinr-bg) !important;
}

.tinr-user-theme-surface .bank-card,
.tinr-user-theme-surface .bank-details-card {
  color: var(--tinr-text) !important;
  background: var(--tinr-card) !important;
  border: 1px solid var(--tinr-border) !important;
  box-shadow: 0 12px 32px var(--tinr-shadow) !important;
}

.tinr-user-theme-surface .form-group-in-bank label,
.tinr-user-theme-surface .bank-row span {
  color: var(--tinr-muted) !important;
}

.tinr-user-theme-surface .form-group-in-bank input,
.tinr-user-theme-surface .form-group-in-bank select {
  color: var(--tinr-text) !important;
  background: var(--tinr-input) !important;
  border: 1px solid var(--tinr-border) !important;
}

.tinr-user-theme-surface .bank-row {
  border-color: var(--tinr-border) !important;
}

.tinr-user-theme-surface .bank-row strong {
  color: var(--tinr-text) !important;
}

/* ==========================================================
   CHANGE PASSWORD
   ========================================================== */
.tinr-user-theme-surface .change-container {
  min-height: 100vh !important;
  color: var(--tinr-text) !important;
  background: var(--tinr-bg) !important;
}

.tinr-user-theme-surface .change-card {
  color: var(--tinr-text) !important;
  background: var(--tinr-card) !important;
  border: 1px solid var(--tinr-border) !important;
  box-shadow: 0 16px 40px var(--tinr-shadow) !important;
}

.tinr-user-theme-surface .change-card input {
  color: var(--tinr-text) !important;
  background: var(--tinr-input) !important;
  border: 1px solid var(--tinr-border) !important;
}

/* ==========================================================
   USER KYC
   ========================================================== */
.tinr-user-theme-surface .kyc-container {
  color: var(--tinr-text) !important;
  background: var(--tinr-bg) !important;
}

.tinr-user-theme-surface .kyc-card {
  color: var(--tinr-text) !important;
  background: var(--tinr-card) !important;
  border: 1px solid var(--tinr-border) !important;
  box-shadow: 0 12px 32px var(--tinr-shadow) !important;
}

.tinr-user-theme-surface .kyc-card input,
.tinr-user-theme-surface .kyc-card select,
.tinr-user-theme-surface .kyc-card textarea {
  color: var(--tinr-text) !important;
  background: var(--tinr-input) !important;
  border-color: var(--tinr-border) !important;
}

/* ==========================================================
   HELP DESK
   ========================================================== */
.tinr-user-theme-surface .helpdesk-page,
.tinr-user-theme-surface .helpdesk-container {
  color: var(--tinr-text) !important;
  background: var(--tinr-bg) !important;
}

.tinr-user-theme-surface .helpdesk-form,
.tinr-user-theme-surface .support-info,
.tinr-user-theme-surface .message-box {
  color: var(--tinr-text) !important;
  background: var(--tinr-card) !important;
  border-color: var(--tinr-border) !important;
  box-shadow: 0 10px 28px var(--tinr-shadow) !important;
}

.tinr-user-theme-surface .helpdesk-form input,
.tinr-user-theme-surface .helpdesk-form textarea {
  color: var(--tinr-text) !important;
  background: var(--tinr-input) !important;
  border-color: var(--tinr-border) !important;
}

/* ==========================================================
   REFER & EARN
   ========================================================== */
.tinr-user-theme-surface .refer-page,
.tinr-user-theme-surface .refer-container {
  color: var(--tinr-text) !important;
  background: var(--tinr-bg) !important;
}

.tinr-user-theme-surface .refer-card,
.tinr-user-theme-surface .status-container,
.tinr-user-theme-surface .status-box {
  color: var(--tinr-text) !important;
  background: var(--tinr-card) !important;
  border-color: var(--tinr-border) !important;
  box-shadow: 0 10px 28px var(--tinr-shadow) !important;
}

.tinr-user-theme-surface .refer-title,
.tinr-user-theme-surface .refer-card h1,
.tinr-user-theme-surface .refer-card h2,
.tinr-user-theme-surface .refer-card h3 {
  color: var(--tinr-text) !important;
}

.tinr-user-theme-surface .refer-sub,
.tinr-user-theme-surface .refer-row span {
  color: var(--tinr-muted) !important;
}

.tinr-user-theme-surface .refer-input {
  color: var(--tinr-text) !important;
  background: var(--tinr-input) !important;
  border-color: var(--tinr-border) !important;
}

.tinr-user-theme-surface .refer-page .table {
  color: var(--tinr-text) !important;
  background: var(--tinr-card) !important;
  border-color: var(--tinr-border) !important;
}

/* ==========================================================
   STATIC INFORMATION / POLICY PAGES
   ========================================================== */
.tinr-user-theme-surface .about-new-container,
.tinr-user-theme-surface .terms-container,
.tinr-user-theme-surface .privacy-container,
.tinr-user-theme-surface .refund-container,
.tinr-user-theme-surface .aml-container,
.tinr-user-theme-surface .risk-container,
.tinr-user-theme-surface .contact-container,
.tinr-user-theme-surface .disclaimer-container {
  color: var(--tinr-text) !important;
  background: var(--tinr-bg) !important;
}

.tinr-user-theme-surface .about-new-hero,
.tinr-user-theme-surface .terms-header,
.tinr-user-theme-surface .refund-header,
.tinr-user-theme-surface .aml-header,
.tinr-user-theme-surface .risk-hero,
.tinr-user-theme-surface .contact-hero,
.tinr-user-theme-surface .disclaimer-hero,
.tinr-user-theme-surface .fees-header {
  color: var(--tinr-text) !important;
  background:
    radial-gradient(circle at 50% 0, rgba(250, 204, 21, .08), transparent 320px),
    var(--tinr-bg-soft) !important;
}

.tinr-user-theme-surface .about-new-hero h1,
.tinr-user-theme-surface .about-new-hero p,
.tinr-user-theme-surface .terms-header h1,
.tinr-user-theme-surface .terms-header p,
.tinr-user-theme-surface .refund-header h1,
.tinr-user-theme-surface .refund-header p,
.tinr-user-theme-surface .aml-header h1,
.tinr-user-theme-surface .aml-header p,
.tinr-user-theme-surface .risk-hero h1,
.tinr-user-theme-surface .risk-hero p,
.tinr-user-theme-surface .contact-hero h1,
.tinr-user-theme-surface .contact-hero p,
.tinr-user-theme-surface .disclaimer-hero h1,
.tinr-user-theme-surface .disclaimer-hero p,
.tinr-user-theme-surface .fees-header h1,
.tinr-user-theme-surface .fees-header p {
  color: var(--tinr-text) !important;
}

.tinr-user-theme-surface .about-block,
.tinr-user-theme-surface .feature-card,
.tinr-user-theme-surface .terms-section,
.tinr-user-theme-surface .privacy-card,
.tinr-user-theme-surface .privacy-section,
.tinr-user-theme-surface .refund-section,
.tinr-user-theme-surface .aml-section,
.tinr-user-theme-surface .risk-card,
.tinr-user-theme-surface .fees-section,
.tinr-user-theme-surface .contact-card,
.tinr-user-theme-surface .email-box,
.tinr-user-theme-surface .disclaimer-section {
  color: var(--tinr-text) !important;
  background: var(--tinr-card) !important;
  border: 1px solid var(--tinr-border) !important;
  box-shadow: 0 10px 28px var(--tinr-shadow) !important;
}

.tinr-user-theme-surface .about-block p,
.tinr-user-theme-surface .feature-card p,
.tinr-user-theme-surface .terms-section p,
.tinr-user-theme-surface .privacy-card p,
.tinr-user-theme-surface .privacy-section p,
.tinr-user-theme-surface .refund-section p,
.tinr-user-theme-surface .aml-section p,
.tinr-user-theme-surface .risk-card p,
.tinr-user-theme-surface .fees-section p,
.tinr-user-theme-surface .contact-card p,
.tinr-user-theme-surface .disclaimer-section p,
.tinr-user-theme-surface .intro,
.tinr-user-theme-surface .privacy-intro,
.tinr-user-theme-surface .refund-intro,
.tinr-user-theme-surface .aml-intro,
.tinr-user-theme-surface .risk-intro,
.tinr-user-theme-surface .fees-intro {
  color: var(--tinr-text-soft) !important;
}

.tinr-user-theme-surface .about-warning,
.tinr-user-theme-surface .warning,
.tinr-user-theme-surface .refund-warning,
.tinr-user-theme-surface .aml-warning,
.tinr-user-theme-surface .risk-warning,
.tinr-user-theme-surface .contact-warning,
.tinr-user-theme-surface .disclaimer-warning {
  color: var(--tinr-text) !important;
  background: rgba(250, 204, 21, .08) !important;
  border-color: rgba(250, 204, 21, .28) !important;
}

/* Trading fee table */
.tinr-user-theme-surface .fees-table {
  color: var(--tinr-text) !important;
  background: var(--tinr-card) !important;
  border-color: var(--tinr-border) !important;
}

.tinr-user-theme-surface .fees-table th {
  color: var(--tinr-muted) !important;
  background: var(--tinr-card-soft) !important;
  border-color: var(--tinr-border) !important;
}

.tinr-user-theme-surface .fees-table td {
  color: var(--tinr-text) !important;
  background: var(--tinr-card) !important;
  border-color: var(--tinr-border) !important;
}

/* ==========================================================
   API DOCUMENTATION
   ========================================================== */
.tinr-user-theme-surface .api-docs {
  min-height: 100vh !important;
  color: var(--tinr-text) !important;
  background: var(--tinr-bg) !important;
}

.tinr-user-theme-surface .api-docs .sidebar {
  color: var(--tinr-text) !important;
  background: var(--tinr-card) !important;
  border-right: 1px solid var(--tinr-border) !important;
}

.tinr-user-theme-surface .api-docs .item {
  color: var(--tinr-text-soft) !important;
  border-radius: 8px;
}

.tinr-user-theme-surface .api-docs .item:hover {
  background: var(--tinr-hover-bg) !important;
}

.tinr-user-theme-surface .api-docs .item.active {
  color: #111827 !important;
  background: linear-gradient(135deg, #fde047, #facc15) !important;
}

.tinr-user-theme-surface .api-docs .content {
  color: var(--tinr-text) !important;
  background: var(--tinr-bg) !important;
}

.tinr-user-theme-surface .api-docs .tabs button {
  color: var(--tinr-text) !important;
  background: var(--tinr-card) !important;
  border-color: var(--tinr-border) !important;
}

.tinr-user-theme-surface .api-docs .code-box {
  color: var(--tinr-text-soft) !important;
  background: var(--tinr-code-bg) !important;
  border: 1px solid var(--tinr-border) !important;
}

/* ==========================================================
   TP / SL
   ========================================================== */
.tinr-user-theme-surface .tpsl-page {
  color: var(--tinr-text) !important;
  background: var(--tinr-bg) !important;
}

.tinr-user-theme-surface .tpsl-card,
.tinr-user-theme-surface .liquidation-box,
.tinr-user-theme-surface .tpsl-info-grid {
  color: var(--tinr-text) !important;
  background: var(--tinr-card) !important;
  border-color: var(--tinr-border) !important;
  box-shadow: 0 10px 28px var(--tinr-shadow) !important;
}

.tinr-user-theme-surface .tpsl-input-box,
.tinr-user-theme-surface .tpsl-input-row input {
  color: var(--tinr-text) !important;
  background: var(--tinr-input) !important;
  border-color: var(--tinr-border) !important;
}

.tinr-user-theme-surface .back-btn {
  color: var(--tinr-text) !important;
}

/* ==========================================================
   LEGACY ORDERS
   ========================================================== */
.tinr-user-theme-surface .orders-container {
  min-height: 100vh !important;
  color: var(--tinr-text) !important;
  background: var(--tinr-bg) !important;
}

.tinr-user-theme-surface .orders-container h2,
.tinr-user-theme-surface .orders-title {
  color: var(--tinr-text) !important;
}

.tinr-user-theme-surface .orders-table {
  color: var(--tinr-text) !important;
  background: var(--tinr-card) !important;
  border: 1px solid var(--tinr-border) !important;
}

.tinr-user-theme-surface .orders-table thead {
  background: var(--tinr-card-soft) !important;
}

.tinr-user-theme-surface .orders-table th {
  color: var(--tinr-yellow) !important;
  border-color: var(--tinr-border) !important;
}

.tinr-user-theme-surface .orders-table td {
  color: var(--tinr-text) !important;
  background: var(--tinr-card) !important;
  border-color: var(--tinr-border) !important;
}

.tinr-user-theme-surface .orders-mobile-row,
.tinr-user-theme-surface .orders-action-box {
  color: var(--tinr-text) !important;
  background: var(--tinr-card) !important;
  border-color: var(--tinr-border) !important;
}

/* ==========================================================
   LEGACY PROFILE MENU fallback
   ========================================================== */
.tinr-user-theme-surface .profile-page {
  color: var(--tinr-text) !important;
  background: var(--tinr-bg) !important;
}

.tinr-user-theme-surface .profile-menu-card {
  color: var(--tinr-text) !important;
  background: var(--tinr-card) !important;
  border-color: var(--tinr-border) !important;
  box-shadow: 0 12px 32px var(--tinr-shadow) !important;
}

.tinr-user-theme-surface .profile-header,
.tinr-user-theme-surface .profile-item,
.tinr-user-theme-surface .profile-submenu {
  border-color: var(--tinr-border) !important;
}

.tinr-user-theme-surface .profile-title,
.tinr-user-theme-surface .profile-subitem {
  color: var(--tinr-muted) !important;
}

.tinr-user-theme-surface .profile-item {
  color: var(--tinr-text) !important;
  background: transparent !important;
}

.tinr-user-theme-surface .profile-item:hover {
  background: var(--tinr-hover-bg) !important;
}

/* ==========================================================
   USER DETAILS route (not admin dashboard wrapper)
   ========================================================== */
.tinr-user-theme-surface .admin-user-details-container-in-userdetails {
  color: var(--tinr-text) !important;
  background: var(--tinr-bg) !important;
}

.tinr-user-theme-surface .userdetails-profile-box-in-userdetails,
.tinr-user-theme-surface .userdetails-trading-card-in-userdetails,
.tinr-user-theme-surface .userdetails-volume-card-in-userdetails {
  color: var(--tinr-text) !important;
  background: var(--tinr-card) !important;
  border-color: var(--tinr-border) !important;
  box-shadow: 0 10px 28px var(--tinr-shadow) !important;
}

.tinr-user-theme-surface .userdetails-profile-row-in-userdetails {
  border-color: var(--tinr-border) !important;
}

.tinr-user-theme-surface .userdetails-profile-row-in-userdetails span {
  color: var(--tinr-muted) !important;
}

.tinr-user-theme-surface .userdetails-profile-row-in-userdetails strong,
.tinr-user-theme-surface .userdetails-header-in-userdetails {
  color: var(--tinr-text) !important;
}

/* ==========================================================
   Mobile cleanup for legacy user pages
   ========================================================== */
@media (max-width: 768px) {
  .tinr-user-theme-surface .bank-page,
  .tinr-user-theme-surface .change-container,
  .tinr-user-theme-surface .helpdesk-page,
  .tinr-user-theme-surface .refer-page,
  .tinr-user-theme-surface .about-new-container,
  .tinr-user-theme-surface .terms-container,
  .tinr-user-theme-surface .privacy-container,
  .tinr-user-theme-surface .refund-container,
  .tinr-user-theme-surface .aml-container,
  .tinr-user-theme-surface .risk-container,
  .tinr-user-theme-surface .contact-container,
  .tinr-user-theme-surface .disclaimer-container,
  .tinr-user-theme-surface .tpsl-page,
  .tinr-user-theme-surface .orders-container,
  .tinr-user-theme-surface .profile-page {
    padding-bottom: calc(var(--tinr-mobile-bottom-nav-height, 76px) + 20px) !important;
  }

  .tinr-user-theme-surface .api-docs {
    min-height: 100dvh !important;
  }

  .tinr-user-theme-surface .api-docs .sidebar {
    width: 100% !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--tinr-border) !important;
  }
}
/* ==========================================================
   TradeINR Premium Public Header V6
   Scoped only to tinr-public-header*
   ========================================================== */

.tinr-public-header {
  --th-bg: rgba(255, 255, 255, .965);
  --th-surface: #ffffff;
  --th-surface-soft: #f8fafc;
  --th-text: #101828;
  --th-text-soft: #344054;
  --th-muted: #667085;
  --th-border: rgba(15, 23, 42, .09);
  --th-gold: #eab308;
  --th-gold-2: #facc15;
  --th-green: #059669;
  --th-blue: #2563eb;
  --th-violet: #7c3aed;
  --th-red: #dc3545;
  --th-shadow: rgba(15, 23, 42, .10);

  --tinr-header-height: 78px;

  position: sticky;
  top: 0;
  z-index: 5000;

  width: 100%;
  height: var(--tinr-header-height);
  min-height: var(--tinr-header-height);

  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;

  padding: 0 26px;
  box-sizing: border-box;

  color: var(--th-text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .985), var(--th-bg));
  border-bottom: 1px solid var(--th-border);

  box-shadow:
    0 10px 32px var(--th-shadow),
    inset 0 -1px 0 rgba(255, 255, 255, .7);

  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
}

html[data-theme="dark"] .tinr-public-header {
  --th-bg: rgba(7, 16, 29, .965);
  --th-surface: #0b1423;
  --th-surface-soft: #111c2d;
  --th-text: #f8fafc;
  --th-text-soft: #d7dfeb;
  --th-muted: #8fa0b7;
  --th-border: rgba(148, 163, 184, .15);
  --th-gold: #facc15;
  --th-gold-2: #ffe36a;
  --th-green: #22d3a0;
  --th-blue: #60a5fa;
  --th-violet: #a78bfa;
  --th-red: #fb7185;
  --th-shadow: rgba(0, 0, 0, .32);

  background:
    linear-gradient(180deg, rgba(10, 19, 34, .985), var(--th-bg));

  box-shadow:
    0 12px 34px var(--th-shadow),
    inset 0 -1px 0 rgba(255, 255, 255, .018);
}

.tinr-public-header *,
.tinr-public-header *::before,
.tinr-public-header *::after {
  box-sizing: border-box;
}

/* ---------------- BRAND ---------------- */

.tinr-public-header__logo {
  width: fit-content;
  min-width: 0;
  height: 56px;

  display: inline-flex;
  align-items: center;

  margin: 0;
  padding: 0;

  border: 0;
  background: transparent;

  cursor: pointer;
  font: inherit;

  -webkit-tap-highlight-color: transparent;
}

.tinr-public-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.tinr-public-header__brand-mark {
  position: relative;
  width: 44px;
  height: 34px;
  flex: 0 0 44px;
  filter: drop-shadow(0 6px 10px rgba(5, 150, 105, .14));
}

.tinr-public-header__brand-mark i {
  position: absolute;
  display: block;
  height: 9px;
  border-radius: 3px;
  transform: rotate(-48deg) skewX(-12deg);
}

.tinr-public-header__brand-mark i:nth-child(1) {
  left: 2px;
  bottom: 3px;
  width: 24px;
  background: linear-gradient(135deg, #34d399, #059669);
}

.tinr-public-header__brand-mark i:nth-child(2) {
  left: 15px;
  bottom: 13px;
  width: 25px;
  background: linear-gradient(135deg, #2dd4bf, #10b981);
}

.tinr-public-header__brand-mark i:nth-child(3) {
  right: 1px;
  top: 2px;
  width: 19px;
  background: linear-gradient(135deg, #fde047, #eab308);
  box-shadow: 0 5px 12px rgba(234, 179, 8, .20);
}

.tinr-public-header__brand-copy {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.tinr-public-header__brand-name {
  display: flex;
  align-items: baseline;
  gap: 8px;

  white-space: nowrap;
  line-height: 1;
}

.tinr-public-header__brand-name b,
.tinr-public-header__brand-name em {
  font-style: normal;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .17em;
}

.tinr-public-header__brand-name b {
  color: var(--th-text);
}

.tinr-public-header__brand-name em {
  color: var(--th-gold);
}

.tinr-public-header__brand-copy small {
  color: var(--th-muted);
  font-size: 6.3px;
  font-weight: 650;
  letter-spacing: .18em;
  white-space: nowrap;
}

/* ---------------- NAV ---------------- */

.tinr-public-header__nav {
  min-width: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(15px, 2vw, 28px);
}

.tinr-public-header__nav-item {
  position: relative;

  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;

  margin: 0;
  padding: 0 3px;

  border: 0;
  outline: 0;

  color: var(--th-text) !important;
  background: transparent;

  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;

  transition:
    color .16s ease,
    transform .16s ease;
}

.tinr-public-header__nav-item::after {
  content: "";

  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;

  height: 2px;

  border-radius: 999px;

  background:
    linear-gradient(90deg, var(--th-gold), var(--th-gold-2));

  box-shadow: 0 0 14px rgba(250, 204, 21, .18);

  transition:
    left .18s ease,
    right .18s ease;
}

.tinr-public-header__nav-item:hover,
.tinr-public-header__nav-item--active {
  color: color-mix(in srgb, var(--th-gold) 82%, var(--th-text)) !important;
}

.tinr-public-header__nav-item:hover::after,
.tinr-public-header__nav-item--active::after {
  left: 0;
  right: 0;
}

.tinr-public-header__nav-item:active {
  transform: scale(.97);
}

.tinr-public-header__chevron {
  width: 12px;
  height: 12px;
  transition: transform .16s ease;
}

.tinr-public-header__chevron--open {
  transform: rotate(180deg);
}

.tinr-public-header__dropdown-wrap,
.tinr-public-header__profile-wrap {
  position: relative;
}

/* ---------------- PREMIUM MENUS ---------------- */

.tinr-public-header__dropdown,
.tinr-public-header__profile-menu {
  position: absolute;
  top: calc(100% + 13px);

  overflow: hidden;

  border: 1px solid var(--th-border);
  border-radius: 18px;

  color: var(--th-text);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--th-surface-soft) 42%, transparent), transparent 86px),
    var(--th-surface);

  box-shadow:
    0 24px 64px var(--th-shadow),
    inset 0 1px 0 rgba(255, 255, 255, .4);

  backdrop-filter: blur(24px) saturate(1.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
}

html[data-theme="dark"] .tinr-public-header__dropdown,
html[data-theme="dark"] .tinr-public-header__profile-menu {
  box-shadow:
    0 28px 72px rgba(0, 0, 0, .40),
    inset 0 1px 0 rgba(255, 255, 255, .018);
}

.tinr-public-header__dropdown {
  left: 50%;
  width: 310px;
  padding: 10px;
  transform: translateX(-50%);
}

.tinr-public-header__profile-menu {
  right: 0;
  width: 342px;
  max-height: min(690px, calc(100vh - 96px));
  overflow-y: auto;
  padding: 10px;

  scrollbar-width: thin;
  scrollbar-color: rgba(100, 116, 139, .34) transparent;
}

.tinr-public-header__dropdown-head {
  display: grid;
  gap: 2px;

  padding: 7px 8px 11px;

  border-bottom: 1px solid var(--th-border);
}

.tinr-public-header__dropdown-head span {
  color: var(--th-gold);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .12em;
}

.tinr-public-header__dropdown-head strong {
  color: var(--th-text);
  font-size: 15px;
  font-weight: 860;
}

.tinr-public-header__menu-grid,
.tinr-public-header__profile-grid,
.tinr-public-header__profile-transactions,
.tinr-public-header__profile-footer {
  display: grid;
  gap: 5px;
}

.tinr-public-header__menu-grid {
  padding-top: 7px;
}

.tinr-public-header__profile-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 7px 0 4px;
}

.tinr-public-header__dropdown button,
.tinr-public-header__profile-menu button {
  width: 100%;
  min-width: 0;
  min-height: 48px;

  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;

  margin: 0;
  padding: 7px 8px;

  border: 1px solid transparent;
  border-radius: 11px;

  color: var(--th-text) !important;
  background: transparent;

  cursor: pointer;
  font: inherit;
  text-align: left;

  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;

  transition:
    transform .16s ease,
    border-color .16s ease,
    background .16s ease,
    box-shadow .16s ease;
}

.tinr-public-header__dropdown button:hover,
.tinr-public-header__profile-menu button:hover {
  border-color: var(--th-border);

  background:
    linear-gradient(135deg, rgba(250, 204, 21, .055), transparent 52%),
    var(--th-surface-soft);

  transform: translateX(2px);
}

.tinr-public-header__dropdown button:active,
.tinr-public-header__profile-menu button:active {
  transform: scale(.985);
}

.tinr-public-header__menu-icon {
  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  border: 1px solid var(--th-border);
  border-radius: 10px;

  background: var(--th-surface-soft);

  transition:
    transform .16s ease,
    box-shadow .16s ease;
}

.tinr-public-header__menu-icon svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.7;
}

.tinr-public-header__dropdown button:hover .tinr-public-header__menu-icon,
.tinr-public-header__profile-menu button:hover .tinr-public-header__menu-icon {
  transform: translateY(-1px);
}

.tinr-public-header__menu-icon--gold {
  color: var(--th-gold);
  border-color: rgba(234, 179, 8, .17);
  background: rgba(250, 204, 21, .065);
}

.tinr-public-header__menu-icon--green {
  color: var(--th-green);
  border-color: color-mix(in srgb, var(--th-green) 18%, transparent);
  background: color-mix(in srgb, var(--th-green) 7%, transparent);
}

.tinr-public-header__menu-icon--blue {
  color: var(--th-blue);
  border-color: color-mix(in srgb, var(--th-blue) 18%, transparent);
  background: color-mix(in srgb, var(--th-blue) 7%, transparent);
}

.tinr-public-header__menu-icon--violet {
  color: var(--th-violet);
  border-color: color-mix(in srgb, var(--th-violet) 18%, transparent);
  background: color-mix(in srgb, var(--th-violet) 7%, transparent);
}

.tinr-public-header__menu-icon--red {
  color: var(--th-red);
  border-color: color-mix(in srgb, var(--th-red) 18%, transparent);
  background: color-mix(in srgb, var(--th-red) 7%, transparent);
}

.tinr-public-header__menu-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.tinr-public-header__menu-copy strong {
  overflow: hidden;

  color: var(--th-text);

  font-size: 9.5px;
  font-weight: 810;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.tinr-public-header__menu-copy small {
  color: var(--th-muted);
  font-size: 7px;
  font-weight: 620;
  line-height: 1.25;
}

/* ---------------- ACTIONS ---------------- */

.tinr-public-header__actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.tinr-public-header__theme,
.tinr-public-header__profile {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;

  display: grid;
  place-items: center;

  margin: 0;
  padding: 0;

  border: 1px solid var(--th-border);
  border-radius: 13px;

  color: var(--th-gold);
  background:
    linear-gradient(180deg, var(--th-surface), var(--th-surface-soft));

  cursor: pointer;
  font-size: 19px;

  box-shadow:
    0 7px 18px var(--th-shadow),
    inset 0 1px 0 rgba(255, 255, 255, .6);

  transition:
    transform .16s ease,
    border-color .16s ease,
    box-shadow .16s ease;
}

html[data-theme="dark"] .tinr-public-header__theme,
html[data-theme="dark"] .tinr-public-header__profile {
  box-shadow:
    0 8px 20px rgba(0, 0, 0, .22),
    inset 0 1px 0 rgba(255, 255, 255, .02);
}

.tinr-public-header__theme:hover,
.tinr-public-header__profile:hover {
  transform: translateY(-2px);
  border-color: rgba(234, 179, 8, .34);
}

.tinr-public-header__avatar {
  width: 28px;
  height: 28px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(234, 179, 8, .32);
  border-radius: 9px;

  color: #111827;
  background: linear-gradient(145deg, #ffe66a, #facc15 55%, #eab308);

  font-size: 11px;
  font-weight: 900;

  box-shadow: 0 5px 12px rgba(234, 179, 8, .16);
}

/* ---------------- PROFILE MENU ---------------- */

.tinr-public-header__profile-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 10px;

  padding: 7px 7px 12px;

  border-bottom: 1px solid var(--th-border);
}

.tinr-public-header__profile-avatar {
  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(234, 179, 8, .30);
  border-radius: 13px;

  color: #111827;
  background: linear-gradient(145deg, #ffe66a, #facc15 55%, #eab308);

  font-size: 15px;
  font-weight: 900;
}

.tinr-public-header__profile-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.tinr-public-header__profile-copy small {
  color: var(--th-muted);
  font-size: 7.5px;
  font-weight: 700;
}

.tinr-public-header__profile-copy strong {
  overflow: hidden;

  color: var(--th-text);

  font-size: 11px;
  font-weight: 850;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.tinr-public-header__profile-grid button {
  grid-template-columns: 30px minmax(0, 1fr);
  min-height: 55px;
  padding: 7px;
}

.tinr-public-header__profile-grid .tinr-public-header__menu-icon {
  width: 30px;
  height: 30px;
}

.tinr-public-header__profile-grid .tinr-public-header__menu-icon svg {
  width: 15px;
  height: 15px;
}

.tinr-public-header__profile-section {
  margin: 5px 0;
  padding: 7px 0;

  border-top: 1px solid var(--th-border);
  border-bottom: 1px solid var(--th-border);
}

.tinr-public-header__profile-section-title {
  display: flex;
  align-items: center;
  gap: 7px;

  padding: 4px 7px 8px;

  color: var(--th-muted);

  font-size: 7.5px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.tinr-public-header__profile-section-title svg {
  width: 13px;
  height: 13px;
  color: var(--th-gold);
}

.tinr-public-header__profile-transactions button {
  min-height: 42px;
  grid-template-columns: 30px minmax(0, 1fr);
  padding-block: 5px;
}

.tinr-public-header__profile-transactions .tinr-public-header__menu-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.tinr-public-header__profile-transactions .tinr-public-header__menu-icon svg {
  width: 14px;
  height: 14px;
}

.tinr-public-header__profile-footer {
  grid-template-columns: 1fr 1fr;
  padding-top: 2px;
}

.tinr-public-header__profile-footer button {
  grid-template-columns: 30px minmax(0, 1fr);
  min-height: 52px;
}

.tinr-public-header__profile-footer .tinr-public-header__menu-icon {
  width: 30px;
  height: 30px;
}

.tinr-public-header__logout {
  margin-top: 6px !important;

  border-color: color-mix(in srgb, var(--th-red) 17%, transparent) !important;

  background: color-mix(in srgb, var(--th-red) 5%, transparent) !important;
}

.tinr-public-header__logout .tinr-public-header__menu-copy strong {
  color: var(--th-red);
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 1180px) {
  .tinr-public-header {
    grid-template-columns: 220px minmax(0, 1fr) auto;
    gap: 14px;
    padding-inline: 18px;
  }

  .tinr-public-header__brand-name b,
  .tinr-public-header__brand-name em {
    font-size: 17px;
  }

  .tinr-public-header__brand-mark {
    width: 38px;
    flex-basis: 38px;
  }

  .tinr-public-header__nav {
    gap: 14px;
  }

  .tinr-public-header__nav-item {
    font-size: 11px;
  }
}

@media (max-width: 980px) {
  .tinr-public-header {
    grid-template-columns: 195px minmax(0, 1fr) auto;
    padding-inline: 13px;
  }

  .tinr-public-header__brand-copy small {
    display: none;
  }

  .tinr-public-header__nav {
    gap: 10px;
  }

  .tinr-public-header__nav-item {
    font-size: 10px;
  }
}

/* Mobile app navigation owns the mobile viewport. */
@media (max-width: 768px) {
  .tinr-public-header {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tinr-public-header *,
  .tinr-public-header *::before,
  .tinr-public-header *::after {
    transition-duration: .001ms !important;
  }
}


/* ==========================================================
   ORIGINAL TRADEINR LOGO RESTORE V7
   Uses:
   - Light: ../TradeINRLight.svg
   - Dark:  ../logofinal.png
   ========================================================== */

.tinr-public-header__logo {
  width: 235px !important;
  max-width: 235px !important;
  height: 64px !important;
  justify-content: flex-start !important;
  overflow: visible !important;
}

.tinr-public-header__logo-image {
  display: block !important;
  width: auto !important;
  height: 52px !important;
  max-width: 225px !important;
  object-fit: contain !important;
  object-position: left center !important;
  user-select: none;
  -webkit-user-drag: none;
  filter: none !important;
}

@media (max-width: 1180px) {
  .tinr-public-header__logo {
    width: 210px !important;
    max-width: 210px !important;
  }

  .tinr-public-header__logo-image {
    height: 47px !important;
    max-width: 202px !important;
  }
}

@media (max-width: 980px) {
  .tinr-public-header__logo {
    width: 185px !important;
    max-width: 185px !important;
  }

  .tinr-public-header__logo-image {
    height: 43px !important;
    max-width: 178px !important;
  }
}


/* ==========================================================
   LIGHT MODE ORIGINAL LOGO SIZE FIX V8
   TradeINRLight.svg has more internal whitespace than dark logo,
   so light mode needs a larger visual scale.
   ========================================================== */

html[data-theme="light"] .tinr-public-header__logo {
  width: 100% !important;
  max-width: 155px !important;
  overflow: visible !important;
}

html[data-theme="light"] .tinr-public-header__logo-image {
  width: 445px !important;
  max-width: 445px !important;
  height: 150px !important;
  object-fit: contain !important;
  object-position: left center !important;
  transform: scale(1.08);
  transform-origin: left center;
}

@media (max-width: 1180px) {
  html[data-theme="light"] .tinr-public-header__logo {
    width: 228px !important;
    max-width: 228px !important;
  }

  html[data-theme="light"] .tinr-public-header__logo-image {
    width: 218px !important;
    max-width: 218px !important;
    height: 54px !important;
    transform: scale(1.06);
  }
}

@media (max-width: 980px) {
  html[data-theme="light"] .tinr-public-header__logo {
    width: 198px !important;
    max-width: 198px !important;
  }

  html[data-theme="light"] .tinr-public-header__logo-image {
    width: 190px !important;
    max-width: 190px !important;
    height: 49px !important;
    transform: scale(1.05);
  }
}
:root,
html[data-theme="light"] {
  color-scheme: light;

  --tinr-bg: #f4f7fb;
  --tinr-bg-soft: #eef3f8;
  --tinr-surface: #ffffff;
  --tinr-surface-soft: #f8fafc;
  --tinr-surface-raised: #ffffff;

  --tinr-text: #101828;
  --tinr-text-soft: #344054;
  --tinr-muted: #667085;

  --tinr-border: #dfe5ee;
  --tinr-border-strong: #cbd5e1;

  --tinr-header-bg: rgba(255, 255, 255, .97);
  --tinr-header-text: #172033;
  --tinr-dropdown-bg: rgba(255, 255, 255, .99);
  --tinr-hover-bg: #f1f5f9;

  --tinr-primary: #eab308;
  --tinr-yellow: #eab308;
  --tinr-success: #059669;
  --tinr-danger: #e11d48;
  --tinr-info: #2563eb;

  --tinr-shadow: rgba(15, 23, 42, .10);
  --tinr-shadow-strong: rgba(15, 23, 42, .18);
}

html[data-theme="dark"] {
  color-scheme: dark;

  --tinr-bg: #030712;
  --tinr-bg-soft: #07101d;
  --tinr-surface: #0b1220;
  --tinr-surface-soft: #111b2d;
  --tinr-surface-raised: #121d30;

  --tinr-text: #f8fafc;
  --tinr-text-soft: #d7dfeb;
  --tinr-muted: #94a3b8;

  --tinr-border: rgba(148, 163, 184, .16);
  --tinr-border-strong: rgba(148, 163, 184, .24);

  --tinr-header-bg: rgba(12, 22, 40, .97);
  --tinr-header-text: #f8fafc;
  --tinr-dropdown-bg: rgba(12, 22, 40, .99);
  --tinr-hover-bg: rgba(148, 163, 184, .09);

  --tinr-primary: #facc15;
  --tinr-yellow: #facc15;
  --tinr-success: #22d3a0;
  --tinr-danger: #fb7185;
  --tinr-info: #60a5fa;

  --tinr-shadow: rgba(0, 0, 0, .30);
  --tinr-shadow-strong: rgba(0, 0, 0, .48);
}

html,
body,
#root {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--tinr-bg);
  color: var(--tinr-text);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  transition:
    background-color .2s ease,
    color .2s ease;
}

#root {
  min-height: 100vh;
}

::selection {
  color: #111827;
  background: rgba(250, 204, 21, .72);
}


/* Shared aliases for legacy public/user pages */
:root,
html[data-theme="light"] {
  --tinr-card: #ffffff;
  --tinr-card-soft: #f8fafc;
  --tinr-input: #ffffff;
  --tinr-code-bg: #eef2f7;
}

html[data-theme="dark"] {
  --tinr-card: #0b1220;
  --tinr-card-soft: #111b2d;
  --tinr-input: #07101c;
  --tinr-code-bg: #050b14;
}
.hero {
  height: 75vh;
  background: radial-gradient(circle at top,
      #1e293b,
      #020617);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 140px;
  text-align: center;
  position: relative;
  /* padding: 20px; */
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 100px 20px 40px;
  }
}

.hero h1 {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.2;
}

.hero h1 span {
  color: #facc15;
  /* yellow */
}

.hero p {
  margin-top: 20px;
  max-width: 600px;
  font-size: 15px;
  opacity: 0.8;
}

.hero button {
  margin-top: 40px;
  padding: 12px 36px;
  background: transparent;
  border: 1px solid white;
  border-radius: 30px;
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.hero button:hover {
  background: white;
  color: black;
}

.news {
  position: absolute;
  bottom: 30px;
  right: 40px;
  font-size: 14px;
  color: #facc15;
  cursor: pointer;
}






















































/* ================= MOBILE (<= 768px) ================= */
@media (max-width: 768px) {

  .hero {
    height: 75vh;
    /* 🔥 important */
    padding: 100px 20px 60px;
    /* header space + spacing */
  }

  .hero h1 {
    font-size: 28px;
    /* smaller heading */
    line-height: 1.3;
  }

  .hero p {
    font-size: 13px;
    max-width: 100%;
  }

  .hero button {
    padding: 10px 24px;
    font-size: 13px;
  }

  .news {
    position: static;
    /* 🔥 fix overlap issue */
    margin-top: 30px;
  }
}


/* ================= TABLET (769px - 1024px) ================= */
@media (max-width: 1024px) {

  .hero {
    padding: 120px 40px 80px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 14px;
  }
}/* ==========================================================
   TradeINR Login
   Unique scope: tinr-login-*
   Premium Dark + Light Theme
   ========================================================== */

.tinr-login-page {
  --tl-bg: #030712;
  --tl-bg-2: #07101d;
  --tl-panel: #0b1220;
  --tl-panel-soft: #101929;
  --tl-input: #07101c;
  --tl-border: rgba(148, 163, 184, .14);
  --tl-border-strong: rgba(148, 163, 184, .24);
  --tl-text: #f8fafc;
  --tl-muted: #8f9bad;
  --tl-yellow: #facc15;
  --tl-yellow-deep: #eab308;
  --tl-green: #22d3a0;
  --tl-red: #fb6471;
  --tl-cyan: #22c7ee;
  --tl-shadow: 0 30px 90px rgba(0, 0, 0, .42);

  min-height: 100vh;
  width: 100%;
  display: grid;
  place-items: center;
  padding: 118px 24px 72px;
  overflow-x: hidden;
  color: var(--tl-text);
  background:
    radial-gradient(circle at 13% 8%, rgba(250, 204, 21, .07), transparent 26rem),
    radial-gradient(circle at 88% 22%, rgba(37, 99, 235, .10), transparent 32rem),
    linear-gradient(145deg, var(--tl-bg), var(--tl-bg-2));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tinr-login-page *,
.tinr-login-page *::before,
.tinr-login-page *::after {
  box-sizing: border-box;
}

.tinr-login-page button,
.tinr-login-page input {
  font: inherit;
}

/* ---------------- SHELL ---------------- */
.tinr-login-shell {
  width: min(1040px, 100%);
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr);
  overflow: hidden;
  border: 1px solid var(--tl-border);
  border-radius: 28px;
  background: rgba(8, 15, 27, .82);
  box-shadow: var(--tl-shadow);
  backdrop-filter: blur(18px);
}

/* ---------------- BRAND PANEL ---------------- */
.tinr-login-brand-panel {
  position: relative;
  isolation: isolate;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  border-right: 1px solid var(--tl-border);
  background:
    linear-gradient(160deg, rgba(16,25,42,.96), rgba(6,12,22,.96));
}

.tinr-login-brand-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(rgba(148,163,184,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.72), transparent 88%);
}

.tinr-login-brand-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(4px);
}

.tinr-login-brand-orb--one {
  top: -90px;
  left: -80px;
  width: 270px;
  height: 270px;
  background: radial-gradient(circle, rgba(250,204,21,.16), transparent 66%);
}

.tinr-login-brand-orb--two {
  right: -130px;
  bottom: -140px;
  width: 390px;
  height: 390px;
  background: radial-gradient(circle, rgba(37,99,235,.18), transparent 68%);
}

.tinr-login-brand-content {
  position: relative;
  z-index: 2;
  margin: auto 0;
}

.tinr-login-brand-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
  padding: 7px 10px;
  border: 1px solid rgba(250,204,21,.17);
  border-radius: 999px;
  color: var(--tl-yellow);
  background: rgba(250,204,21,.055);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .11em;
}

.tinr-login-brand-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tl-yellow);
  box-shadow: 0 0 0 4px rgba(250,204,21,.07);
}

.tinr-login-brand-title {
  max-width: 500px;
  margin: 0;
  color: var(--tl-text);
  font-size: clamp(36px, 4.2vw, 55px);
  font-weight: 860;
  line-height: 1.02;
  letter-spacing: -.055em;
}

.tinr-login-brand-title span {
  color: var(--tl-yellow);
}

.tinr-login-brand-copy {
  max-width: 500px;
  margin: 20px 0 28px;
  color: var(--tl-muted);
  font-size: 14px;
  line-height: 1.7;
}

.tinr-login-brand-grid {
  display: grid;
  gap: 10px;
}

.tinr-login-brand-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(430px, 100%);
  padding: 11px 12px;
  border: 1px solid rgba(148,163,184,.10);
  border-radius: 13px;
  background: rgba(255,255,255,.018);
}

.tinr-login-brand-stat-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(250,204,21,.12);
  border-radius: 10px;
  color: var(--tl-yellow);
  background: rgba(250,204,21,.05);
  font-size: 15px;
  font-weight: 850;
}

.tinr-login-brand-stat > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.tinr-login-brand-stat strong {
  color: var(--tl-text);
  font-size: 11px;
  font-weight: 800;
}

.tinr-login-brand-stat > div > span {
  color: var(--tl-muted);
  font-size: 9.5px;
  line-height: 1.35;
}

.tinr-login-brand-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  color: var(--tl-muted);
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.tinr-login-brand-footer span:first-child {
  color: var(--tl-text);
  font-weight: 850;
}

/* ---------------- LOGIN CARD ---------------- */
.tinr-login-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px 42px;
  background:
    radial-gradient(circle at 100% 0%, rgba(34,199,238,.055), transparent 18rem),
    rgba(8, 15, 27, .94);
}

.tinr-login-card-top {
  margin-bottom: 24px;
}

.tinr-login-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--tl-yellow);
  font-size: 8.5px;
  font-weight: 850;
  letter-spacing: .12em;
}

.tinr-login-title {
  margin: 0;
  color: var(--tl-text);
  font-size: 33px;
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.tinr-login-subtitle {
  margin: 9px 0 0;
  color: var(--tl-muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.tinr-login-inline-link {
  margin-left: 5px;
  padding: 0;
  border: 0;
  color: var(--tl-yellow);
  background: transparent;
  cursor: pointer;
  font-size: inherit;
  font-weight: 800;
}

.tinr-login-inline-link:hover {
  text-decoration: underline;
}

/* ---------------- FORM ---------------- */
.tinr-login-form {
  display: grid;
  gap: 14px;
}

.tinr-login-field {
  display: grid;
  gap: 7px;
}

.tinr-login-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tinr-login-label {
  color: #c9d3df;
  font-size: 10px;
  font-weight: 750;
}

.tinr-login-forgot-mini {
  padding: 0;
  border: 0;
  color: var(--tl-muted);
  background: transparent;
  cursor: pointer;
  font-size: 9.5px;
  font-weight: 650;
}

.tinr-login-forgot-mini:hover {
  color: var(--tl-yellow);
}

.tinr-login-input-wrap {
  position: relative;
  min-width: 0;
}

.tinr-login-input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--tl-border);
  border-radius: 12px;
  outline: 0;
  color: var(--tl-text);
  background: var(--tl-input);
  font-size: 13px;
  font-weight: 600;
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.tinr-login-input--password {
  padding-right: 48px;
}

.tinr-login-input::placeholder {
  color: #617086;
  font-weight: 500;
}

.tinr-login-input:hover {
  border-color: var(--tl-border-strong);
}

.tinr-login-input:focus {
  border-color: rgba(250,204,21,.50);
  box-shadow: 0 0 0 3px rgba(250,204,21,.07);
}

.tinr-login-eye-btn {
  position: absolute;
  top: 50%;
  right: 9px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  padding: 0;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--tl-muted);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
}

.tinr-login-eye-btn:hover {
  color: var(--tl-text);
  border-color: var(--tl-border);
  background: rgba(255,255,255,.025);
}

.tinr-login-captcha {
  overflow-x: auto;
  padding: 2px 0;
}

.tinr-login-submit {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 2px;
  padding: 0 18px;
  border: 1px solid rgba(250,204,21,.42);
  border-radius: 12px;
  color: #0b1016;
  background: linear-gradient(135deg, #ffe66d, var(--tl-yellow) 58%, var(--tl-yellow-deep));
  box-shadow:
    0 12px 28px rgba(250,204,21,.16),
    inset 0 1px 0 rgba(255,255,255,.34);
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 850;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.tinr-login-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow:
    0 15px 34px rgba(250,204,21,.22),
    inset 0 1px 0 rgba(255,255,255,.40);
}

.tinr-login-submit:active:not(:disabled) {
  transform: scale(.99);
}

.tinr-login-submit:disabled {
  cursor: not-allowed;
  opacity: .56;
  filter: saturate(.55);
}

/* ---------------- RESET ---------------- */
.tinr-login-reset-warning {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 11px;
  margin-top: 16px;
  padding: 13px;
  border: 1px solid rgba(251,100,113,.17);
  border-radius: 12px;
  background: rgba(251,100,113,.055);
}

.tinr-login-reset-icon {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  grid-row: 1 / span 2;
  border: 1px solid rgba(251,100,113,.20);
  border-radius: 9px;
  color: var(--tl-red);
  background: rgba(251,100,113,.07);
  font-size: 13px;
  font-weight: 900;
}

.tinr-login-reset-copy {
  min-width: 0;
}

.tinr-login-reset-copy strong {
  color: var(--tl-red);
  font-size: 10.5px;
  font-weight: 800;
}

.tinr-login-reset-copy p {
  margin: 3px 0 0;
  color: var(--tl-muted);
  font-size: 9px;
  line-height: 1.45;
}

.tinr-login-reset-btn {
  grid-column: 2;
  width: fit-content;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(251,100,113,.20);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #ef5c68, #dc2626);
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
}

/* ---------------- DIVIDER / SECONDARY ---------------- */
.tinr-login-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin: 19px 0 13px;
}

.tinr-login-divider > span {
  height: 1px;
  background: var(--tl-border);
}

.tinr-login-divider small {
  color: var(--tl-muted);
  font-size: 8px;
}

.tinr-login-secondary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tinr-login-secondary-btn {
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--tl-border);
  border-radius: 10px;
  color: var(--tl-muted);
  background: rgba(255,255,255,.02);
  cursor: pointer;
  font-size: 9.5px;
  font-weight: 750;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.tinr-login-secondary-btn:hover {
  color: var(--tl-text);
  border-color: rgba(250,204,21,.22);
  background: rgba(250,204,21,.04);
}

/* ---------------- TERMS ---------------- */
.tinr-login-terms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin: 17px 0 0;
  color: var(--tl-muted);
  text-align: center;
  font-size: 8.5px;
  line-height: 1.55;
}

.tinr-login-terms button {
  padding: 0;
  border: 0;
  color: var(--tl-muted);
  background: transparent;
  cursor: pointer;
  font-size: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 2px;
}

.tinr-login-terms button:hover {
  color: var(--tl-yellow);
  text-decoration-color: currentColor;
}

/* ==========================================================
   LIGHT THEME
   ========================================================== */
html[data-theme="light"] .tinr-login-page {
  --tl-bg: #f4f7fb;
  --tl-bg-2: #eef3f8;
  --tl-panel: #ffffff;
  --tl-panel-soft: #f8fafc;
  --tl-input: #ffffff;
  --tl-border: rgba(15,23,42,.11);
  --tl-border-strong: rgba(15,23,42,.20);
  --tl-text: #111827;
  --tl-muted: #64748b;
  --tl-yellow: #d6a800;
  --tl-yellow-deep: #b98a00;
  --tl-green: #059669;
  --tl-red: #dc2626;
  --tl-cyan: #0891b2;
  --tl-shadow: 0 26px 70px rgba(15,23,42,.12);

  background:
    radial-gradient(circle at 13% 8%, rgba(234,179,8,.09), transparent 26rem),
    radial-gradient(circle at 88% 22%, rgba(37,99,235,.055), transparent 32rem),
    linear-gradient(145deg, var(--tl-bg), var(--tl-bg-2));
}

html[data-theme="light"] .tinr-login-shell {
  background: rgba(255,255,255,.92);
}

html[data-theme="light"] .tinr-login-brand-panel {
  background:
    linear-gradient(160deg, rgba(255,255,255,.98), rgba(246,249,252,.98));
}

html[data-theme="light"] .tinr-login-brand-panel::before {
  background:
    linear-gradient(rgba(15,23,42,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.035) 1px, transparent 1px);
  background-size: 34px 34px;
}

html[data-theme="light"] .tinr-login-brand-stat {
  background: rgba(255,255,255,.74);
}

html[data-theme="light"] .tinr-login-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(8,145,178,.045), transparent 18rem),
    rgba(255,255,255,.96);
}

html[data-theme="light"] .tinr-login-label {
  color: #475569;
}

html[data-theme="light"] .tinr-login-input::placeholder {
  color: #94a3b8;
}

html[data-theme="light"] .tinr-login-eye-btn:hover {
  background: #f8fafc;
}

html[data-theme="light"] .tinr-login-submit {
  color: #111827;
}

html[data-theme="light"] .tinr-login-secondary-btn {
  background: #f8fafc;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 900px) {
  .tinr-login-page {
    padding-inline: 18px;
  }

  .tinr-login-shell {
    width: min(620px, 100%);
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .tinr-login-brand-panel {
    min-height: 260px;
    padding: 30px;
    border-right: 0;
    border-bottom: 1px solid var(--tl-border);
  }

  .tinr-login-brand-content {
    margin: 0;
  }

  .tinr-login-brand-title {
    max-width: 520px;
    font-size: 35px;
  }

  .tinr-login-brand-copy {
    max-width: 500px;
    margin: 13px 0 18px;
  }

  .tinr-login-brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .tinr-login-brand-stat {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 9px;
  }

  .tinr-login-brand-footer {
    display: none;
  }

  .tinr-login-card {
    padding: 36px 34px;
  }
}

@media (max-width: 600px) {
  .tinr-login-page {
    place-items: start center;
    min-height: 100svh;
    padding: 88px 10px 92px;
  }

  .tinr-login-shell {
    width: 100%;
    border-radius: 18px;
  }

  .tinr-login-brand-panel {
    min-height: 0;
    padding: 22px 18px 20px;
  }

  .tinr-login-brand-badge {
    margin-bottom: 11px;
    padding: 5px 8px;
    font-size: 7.5px;
  }

  .tinr-login-brand-title {
    max-width: 340px;
    font-size: 27px;
  }

  .tinr-login-brand-copy {
    max-width: 360px;
    margin: 10px 0 0;
    font-size: 11px;
    line-height: 1.55;
  }

  .tinr-login-brand-grid {
    display: none;
  }

  .tinr-login-card {
    padding: 26px 18px 24px;
  }

  .tinr-login-card-top {
    margin-bottom: 19px;
  }

  .tinr-login-title {
    font-size: 27px;
  }

  .tinr-login-subtitle {
    font-size: 10.5px;
  }

  .tinr-login-input {
    min-height: 48px;
    font-size: 16px;
  }

  .tinr-login-submit {
    min-height: 48px;
  }

  .tinr-login-secondary-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .tinr-login-page {
    padding-inline: 7px;
  }

  .tinr-login-brand-title {
    font-size: 24px;
  }

  .tinr-login-card {
    padding-inline: 14px;
  }

  .tinr-login-label-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

@media (hover: none) {
  .tinr-login-submit:hover:not(:disabled) {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tinr-login-page *,
  .tinr-login-page *::before,
  .tinr-login-page *::after {
    transition-duration: .01ms !important;
  }
}

/* Hide legacy Microsoft password reveal control only inside login */
.tinr-login-input[type="password"]::-ms-reveal,
.tinr-login-input[type="password"]::-ms-clear {
  display: none;
}
/* ==========================================================
   TradeINR Assets V3
   Root geometry fixed: no content-box overflow / side shift.
   Unique scope: tinr-assets-*
   ========================================================== */

.tinr-assets-page {
  --ta-bg: #030712;
  --ta-panel: #0b1220;
  --ta-panel-soft: #0f1929;
  --ta-border: rgba(148, 163, 184, .15);
  --ta-border-strong: rgba(148, 163, 184, .22);
  --ta-text: #f8fafc;
  --ta-text-soft: #d7dfeb;
  --ta-muted: #8fa0b6;
  --ta-yellow: #facc15;
  --ta-cyan: #22d3ee;
  --ta-green: #22d3a0;
  --ta-red: #fb7185;
  --ta-shadow: rgba(0, 0, 0, .25);

  box-sizing: border-box;

  width: 100%;
  max-width: 100%;
  min-height: calc(100vh - var(--tinr-header-height, 76px));

  margin: 0;
  padding: 32px 18px 110px;

  overflow-x: hidden;

  color: var(--ta-text);

  background:
    radial-gradient(
      circle at 86% 5%,
      rgba(37, 99, 235, .07),
      transparent 26rem
    ),
    radial-gradient(
      circle at 12% 8%,
      rgba(250, 204, 21, .035),
      transparent 24rem
    ),
    var(--ta-bg);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

html[data-theme="light"] .tinr-assets-page {
  --ta-bg: #f4f7fb;
  --ta-panel: #ffffff;
  --ta-panel-soft: #f8fafc;
  --ta-border: rgba(15, 23, 42, .10);
  --ta-border-strong: rgba(15, 23, 42, .15);
  --ta-text: #111827;
  --ta-text-soft: #334155;
  --ta-muted: #64748b;
  --ta-yellow: #d7a900;
  --ta-cyan: #0891b2;
  --ta-green: #059669;
  --ta-red: #dc3545;
  --ta-shadow: rgba(15, 23, 42, .075);

  background:
    radial-gradient(
      circle at 86% 5%,
      rgba(37, 99, 235, .055),
      transparent 26rem
    ),
    radial-gradient(
      circle at 10% 4%,
      rgba(234, 179, 8, .07),
      transparent 22rem
    ),
    var(--ta-bg);
}

.tinr-assets-page *,
.tinr-assets-page *::before,
.tinr-assets-page *::after {
  box-sizing: border-box;
}

.tinr-assets-shell {
  width: min(1160px, 100%);
  max-width: 100%;
  min-width: 0;

  margin: 0 auto;
}

/* ==========================================================
   TOTAL ASSETS HERO
   ========================================================== */

.tinr-assets-balance-card {
  position: relative;
  isolation: isolate;

  width: 100%;
  min-width: 0;
  min-height: 170px;

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

  overflow: hidden;

  margin: 0;
  padding: 28px 20px;

  border: 1px solid var(--ta-border);
  border-radius: 20px;

  background:
    linear-gradient(
      145deg,
      rgba(12, 21, 36, .98),
      rgba(7, 14, 26, .985)
    );

  box-shadow:
    0 18px 46px var(--ta-shadow),
    inset 0 1px rgba(255, 255, 255, .018);
}

html[data-theme="light"]
  .tinr-assets-balance-card {
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, .99),
      rgba(248, 250, 252, .99)
    );

  box-shadow:
    0 15px 38px rgba(15, 23, 42, .065);
}

.tinr-assets-balance-card::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: -2;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(250, 204, 21, .025),
      transparent
    );
}

.tinr-assets-glow-ring {
  position: absolute;
  z-index: -1;

  top: 50%;
  left: 50%;

  width: 270px;
  height: 270px;

  border: 1px solid rgba(250, 204, 21, .07);
  border-radius: 50%;

  background:
    radial-gradient(
      circle at 50% 42%,
      rgba(250, 204, 21, .035),
      rgba(8, 14, 28, .88) 62%
    );

  box-shadow:
    0 0 80px rgba(250, 204, 21, .05),
    inset 0 0 55px rgba(0, 0, 0, .22);

  transform: translate(-50%, -50%);

  pointer-events: none;
}

html[data-theme="light"]
  .tinr-assets-glow-ring {
  border-color: rgba(202, 138, 4, .08);

  background:
    radial-gradient(
      circle at 50% 42%,
      rgba(250, 204, 21, .08),
      rgba(226, 232, 240, .70) 66%
    );

  box-shadow:
    0 0 72px rgba(234, 179, 8, .08),
    inset 0 0 55px rgba(148, 163, 184, .08);
}

.tinr-assets-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  margin: 0 0 8px;

  color: var(--ta-muted);

  font-size: 13px;
  font-weight: 760;
}

.tinr-assets-heading .tinr-assets-label-icon {
  margin: 0;

  color: var(--ta-cyan);

  font-size: 13px;
}

.tinr-assets-total-value {
  max-width: 100%;

  color: var(--ta-text);

  font-size: clamp(35px, 4vw, 48px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.035em;

  font-variant-numeric: tabular-nums;

  overflow-wrap: anywhere;
}

/* ==========================================================
   MINI STATS
   ========================================================== */

.tinr-assets-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;

  margin-top: 14px;
}

.tinr-assets-mini-card {
  position: relative;

  min-width: 0;
  min-height: 102px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  overflow: hidden;

  padding: 18px 20px;

  border: 1px solid var(--ta-border);
  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      rgba(15, 25, 42, .96),
      rgba(8, 15, 27, .96)
    );

  box-shadow:
    0 10px 28px rgba(0, 0, 0, .13);

  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

html[data-theme="light"]
  .tinr-assets-mini-card {
  background:
    linear-gradient(
      145deg,
      #ffffff,
      #f8fafc
    );

  box-shadow:
    0 9px 25px rgba(15, 23, 42, .045);
}

.tinr-assets-mini-card::before {
  content: "";

  position: absolute;
  top: 0;
  left: 17px;
  right: 17px;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(250, 204, 21, .42),
      transparent
    );

  opacity: .48;
}

.tinr-assets-mini-card:hover {
  transform: translateY(-2px);
  border-color: rgba(250, 204, 21, .24);
}

.tinr-assets-mini-card p {
  margin: 0 0 7px;

  color: var(--ta-muted);

  font-size: 10px;
  font-weight: 750;
}

.tinr-assets-mini-card h3 {
  margin: 0;

  color: var(--ta-text);

  font-size: clamp(19px, 2.3vw, 27px);
  font-weight: 850;
  line-height: 1.15;

  font-variant-numeric: tabular-nums;

  overflow-wrap: anywhere;
}

/* ==========================================================
   BREAKDOWN CARD
   ========================================================== */

.tinr-assets-summary {
  position: relative;

  width: 100%;
  min-width: 0;

  overflow: hidden;

  margin-top: 14px;
  padding: 7px;

  border: 1px solid var(--ta-border);
  border-radius: 18px;

  background:
    linear-gradient(
      160deg,
      rgba(12, 20, 34, .98),
      rgba(7, 13, 24, .98)
    );

  box-shadow:
    0 15px 38px rgba(0, 0, 0, .14);
}

html[data-theme="light"]
  .tinr-assets-summary {
  background:
    linear-gradient(
      160deg,
      #ffffff,
      #f8fafc
    );

  box-shadow:
    0 12px 32px rgba(15, 23, 42, .05);
}

.tinr-assets-summary::before {
  content: "";

  position: absolute;
  top: 0;
  left: 0;

  width: 34%;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      var(--ta-yellow),
      transparent
    );

  opacity: .55;
}

.tinr-assets-row {
  position: relative;

  min-width: 0;
  min-height: 60px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;

  padding: 11px 13px;

  border-radius: 11px;

  color: var(--ta-text-soft);

  font-size: 11.5px;

  transition:
    background .16s ease,
    transform .16s ease;
}

.tinr-assets-row + .tinr-assets-row {
  margin-top: 2px;
}

.tinr-assets-row > span:first-child {
  min-width: 0;

  display: flex;
  align-items: center;

  color: var(--ta-muted);

  font-weight: 680;
}

.tinr-assets-row > span:last-child {
  min-width: 0;

  color: var(--ta-text);

  font-weight: 820;
  text-align: right;

  font-variant-numeric: tabular-nums;
}

.tinr-assets-card-row:hover {
  background: rgba(255, 255, 255, .03);
  transform: translateX(2px);
}

html[data-theme="light"]
  .tinr-assets-card-row:hover {
  background: rgba(15, 23, 42, .03);
}

.tinr-assets-label-icon {
  flex: 0 0 auto;

  margin-right: 9px;

  color: #6789b2;

  font-size: 12px;
}

.tinr-assets-progress {
  width: calc(100% - 26px);
  height: 3px;

  overflow: hidden;

  margin: -2px 13px 7px;

  border-radius: 999px;

  background: rgba(148, 163, 184, .13);
}

.tinr-assets-progress-fill {
  height: 100%;
  max-width: 100%;

  border-radius: inherit;

  transition: width .5s ease;
}

.tinr-assets-progress-blue {
  background:
    linear-gradient(
      90deg,
      #eab308,
      #fde047
    );

  box-shadow:
    0 0 9px rgba(250, 204, 21, .18);
}

.tinr-assets-pnl-row {
  margin-top: 4px;

  border: 1px solid rgba(34, 211, 160, .11);

  background:
    linear-gradient(
      90deg,
      rgba(34, 211, 160, .045),
      transparent 58%
    );
}

html[data-theme="light"]
  .tinr-assets-pnl-row {
  border-color: rgba(5, 150, 105, .12);

  background:
    linear-gradient(
      90deg,
      rgba(5, 150, 105, .055),
      transparent 58%
    );
}

.tinr-assets-profit {
  color: var(--ta-green) !important;
}

.tinr-assets-loss {
  color: var(--ta-red) !important;
}

.tinr-assets-pending-value {
  color: var(--ta-yellow) !important;
}

/* ==========================================================
   ACTIONS
   ========================================================== */

.tinr-assets-wallet-text {
  margin: 14px 0 0;
}

.tinr-assets-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;

  margin-top: 0;
}

.tinr-assets-action-card {
  position: relative;

  min-width: 0;
  min-height: 108px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  overflow: hidden;

  padding: 17px 18px;

  border: 1px solid var(--ta-border);
  border-radius: 16px;

  cursor: pointer;

  background:
    linear-gradient(
      145deg,
      #0c1626,
      #08101c
    );

  box-shadow:
    0 9px 26px rgba(0, 0, 0, .11);

  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

html[data-theme="light"]
  .tinr-assets-action-card {
  background:
    linear-gradient(
      145deg,
      #ffffff,
      #f8fafc
    );

  box-shadow:
    0 9px 25px rgba(15, 23, 42, .045);
}

.tinr-assets-action-card::before {
  content: "";

  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 0;

  width: 2px;

  border-radius: 999px;
}

.tinr-assets-action-deposit::before {
  background: var(--ta-green);
}

.tinr-assets-action-withdraw::before {
  background: var(--ta-yellow);
}

.tinr-assets-action-card::after {
  content: "";

  position: absolute;
  right: -58px;
  bottom: -78px;

  width: 170px;
  height: 170px;

  border-radius: 50%;

  opacity: .055;
}

.tinr-assets-action-deposit::after {
  background: var(--ta-green);
}

.tinr-assets-action-withdraw::after {
  background: var(--ta-yellow);
}

.tinr-assets-action-card:hover {
  transform: translateY(-2px);
  border-color: rgba(250, 204, 21, .22);

  box-shadow:
    0 14px 32px var(--ta-shadow);
}

.tinr-assets-action-left {
  position: relative;
  z-index: 1;

  min-width: 0;

  display: flex;
  align-items: center;
  gap: 12px;
}

.tinr-assets-action-icon {
  width: 44px;
  height: 44px;

  flex: 0 0 44px;

  display: grid;
  place-items: center;

  border: 1px solid var(--ta-border);
  border-radius: 12px;

  background: rgba(148, 163, 184, .055);

  font-size: 18px;
}

.tinr-assets-deposit-icon {
  color: var(--ta-green);
}

.tinr-assets-withdraw-icon {
  color: var(--ta-yellow);
}

.tinr-assets-action-card h3 {
  margin: 0 0 4px;

  color: var(--ta-text);

  font-size: 14px;
  font-weight: 830;
}

.tinr-assets-action-card p {
  margin: 0;

  color: var(--ta-muted);

  font-size: 9px;
  line-height: 1.4;
}

.tinr-assets-action-arrow {
  position: relative;
  z-index: 1;

  flex: 0 0 auto;

  color: var(--ta-muted);

  font-size: 23px;
}

/* ==========================================================
   TABLET / MOBILE
   ========================================================== */

@media (max-width: 768px) {
  .tinr-assets-page {
    min-height: 100dvh;

    padding:
      14px
      9px
      calc(var(--tinr-mobile-bottom-nav-height, 88px) + 18px);
  }

  .tinr-assets-balance-card {
    min-height: 156px;

    border-radius: 17px;
  }

  .tinr-assets-glow-ring {
    width: 245px;
    height: 245px;
  }

  .tinr-assets-total-value {
    font-size: clamp(33px, 10vw, 43px);
  }

  .tinr-assets-mini-grid {
    gap: 8px;

    margin-top: 9px;
  }

  .tinr-assets-mini-card {
    min-height: 86px;

    padding: 13px;

    border-radius: 14px;
  }

  .tinr-assets-mini-card p {
    font-size: 8.5px;
  }

  .tinr-assets-mini-card h3 {
    font-size: clamp(17px, 5vw, 22px);
  }

  .tinr-assets-summary {
    margin-top: 9px;

    border-radius: 15px;
  }

  .tinr-assets-row {
    min-height: 54px;

    gap: 8px;

    padding: 9px 10px;

    font-size: 10.5px;
  }

  .tinr-assets-progress {
    width: calc(100% - 20px);

    margin-inline: 10px;
  }

  .tinr-assets-actions {
    gap: 8px;
  }

  .tinr-assets-action-card {
    min-height: 105px;

    padding: 13px;
  }
}

@media (max-width: 520px) {
  .tinr-assets-heading {
    font-size: 12px;
  }

  .tinr-assets-mini-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .tinr-assets-row {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(82px, auto);

    font-size: 9.8px;
  }

  .tinr-assets-label-icon {
    margin-right: 7px;

    font-size: 10px;
  }

  .tinr-assets-actions {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .tinr-assets-action-card {
    min-height: 116px;

    justify-content: center;

    padding: 12px 8px;

    text-align: center;
  }

  .tinr-assets-action-left {
    width: 100%;

    flex-direction: column;
    justify-content: center;
    gap: 7px;
  }

  .tinr-assets-action-icon {
    width: 40px;
    height: 40px;

    flex-basis: 40px;

    font-size: 16px;
  }

  .tinr-assets-action-card h3 {
    margin-bottom: 2px;

    font-size: 12px;
  }

  .tinr-assets-action-card p {
    font-size: 7.8px;
  }

  .tinr-assets-action-arrow {
    display: none;
  }
}

@media (max-width: 350px) {
  .tinr-assets-mini-grid,
  .tinr-assets-actions {
    grid-template-columns: 1fr;
  }
}

@media (hover: none) {
  .tinr-assets-mini-card:hover,
  .tinr-assets-card-row:hover,
  .tinr-assets-action-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tinr-assets-page *,
  .tinr-assets-page *::before,
  .tinr-assets-page *::after {
    transition: none !important;
  }
}
/* ==========================================================
   TradeINR Deposit
   Unique scope: tinr-deposit-*
   Dark + Light theme
   ========================================================== */

.tinr-deposit-page {
  /* Dark theme tokens */
  --td-bg: #0b1220;
  --td-bg-2: #111c2e;
  --td-card: #0f1a2d;
  --td-card-soft: #121d30;
  --td-input: #08111f;
  --td-text: #f8fafc;
  --td-muted: #94a3b8;
  --td-border: #243249;
  --td-border-soft: rgba(148,163,184,.13);
  --td-yellow: #facc15;
  --td-yellow-2: #eab308;
  --td-green: #22d3a0;
  --td-red: #fb6471;
  --td-cyan: #22c7ee;
  --td-button-text: #081018;
  --td-shadow: 0 18px 45px rgba(0,0,0,.32);

  width: 100%;

  /* fixed header = around 70px */
  min-height: calc(100vh - 70px);
  margin-top: 70px;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 35px 20px 60px;

  color: var(--td-text);

  background:
    radial-gradient(
      circle at 12% 5%,
      rgba(250, 204, 21, 0.05),
      transparent 24rem
    ),
    radial-gradient(
      circle at 88% 18%,
      rgba(59, 130, 246, 0.07),
      transparent 27rem
    ),
    linear-gradient(
      135deg,
      var(--td-bg),
      var(--td-bg-2)
    );
}

.tinr-deposit-content {
  width: min(900px, 100%);

  display: flex;
  align-items: flex-start;
  justify-content: center;

  gap: 40px;
}

.tinr-deposit-page *,
.tinr-deposit-page *::before,
.tinr-deposit-page *::after {
  box-sizing: border-box;
}

.tinr-deposit-card {
  /* width: min(430px, 100%);
  min-width: 0; */
  height: auto;
  margin: 10px;
  padding: 30px;
  border: 1px solid var(--td-border);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(15,26,45,.98), rgba(8,15,27,.98));
  box-shadow: var(--td-shadow);
  color: var(--td-text);
}

.tinr-deposit-card h2 {
  margin: 0 0 22px;
  color: var(--td-text);
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.tinr-deposit-limit {
  margin-bottom: 11px;
  color: var(--td-muted);
  text-align: center;
  font-size: 12.5px;
  font-weight: 650;
}

/* Balance */
.tinr-deposit-balance {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 17px;
  padding: 16px;
  border: 1px solid rgba(34,211,160,.24);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(34,211,160,.08), rgba(34,211,160,.025));
}

.tinr-deposit-balance-label {
  margin-bottom: 5px;
  color: var(--td-muted);
  font-size: 12px;
  font-weight: 650;
}

.tinr-deposit-balance-amount {
  color: var(--td-green);
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* Status */
.tinr-deposit-status {
  margin: 0 0 16px;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.tinr-deposit-status--pending {
  color: var(--td-yellow);
  border: 1px solid rgba(250,204,21,.16);
  background: rgba(250,204,21,.055);
}

.tinr-deposit-status--approved {
  color: var(--td-green);
  border: 1px solid rgba(34,211,160,.16);
  background: rgba(34,211,160,.055);
}

.tinr-deposit-status--rejected {
  color: var(--td-red);
  border: 1px solid rgba(251,100,113,.16);
  background: rgba(251,100,113,.055);
}

/* Inputs */
.tinr-deposit-input {
  width: 100%;
  min-height: 48px;
  margin-bottom: 14px;
  padding: 0 14px;
  border: 1px solid var(--td-border);
  border-radius: 11px;
  outline: none;
  background: var(--td-input);
  color: var(--td-text);
  font: inherit;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.tinr-deposit-input::placeholder {
  color: #64748b;
}

.tinr-deposit-input:focus {
  border-color: rgba(250,204,21,.55);
  box-shadow: 0 0 0 3px rgba(250,204,21,.08);
}

.tinr-deposit-file {
  min-height: auto;
  padding: 10px;
  color: var(--td-muted);
}

.tinr-deposit-file::file-selector-button {
  margin-right: 10px;
  padding: 8px 11px;
  border: 1px solid var(--td-border);
  border-radius: 8px;
  background: var(--td-card-soft);
  color: var(--td-text);
  cursor: pointer;
}

/* Buttons */
.tinr-deposit-submit,
.tinr-deposit-bank-toggle {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  color: #081018;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.tinr-deposit-submit {
  background: linear-gradient(135deg, #ffe66d 0%, var(--td-yellow) 55%, var(--td-yellow-2) 100%);
  color: var(--td-button-text) !important;
  -webkit-text-fill-color: var(--td-button-text);
  border: 1px solid rgba(250,204,21,.45);
  box-shadow:
    0 10px 26px rgba(250,204,21,.18),
    inset 0 1px 0 rgba(255,255,255,.32);
}

.tinr-deposit-submit:hover {
  background: linear-gradient(135deg, #fff08a 0%, #facc15 55%, #e5aa00 100%);
  color: #071018 !important;
  -webkit-text-fill-color: #071018;
  box-shadow:
    0 14px 30px rgba(250,204,21,.24),
    inset 0 1px 0 rgba(255,255,255,.38);
}

.tinr-deposit-bank-toggle {
  display: none;
  margin-top: 10px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.tinr-deposit-submit:hover,
.tinr-deposit-bank-toggle:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

/* Bank details */
.tinr-deposit-bank-details {
  background: linear-gradient(155deg, rgba(15,26,45,.98), rgba(8,15,27,.98));
}

.tinr-deposit-bank-details h2 {
  color: var(--td-yellow);
  font-size: 22px;
  border-bottom: 1px solid var(--td-border);
  padding-bottom: 12px;
}

.tinr-deposit-bank-grid {
  display: grid;
  gap: 9px;
}

.tinr-deposit-bank-item {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--td-border-soft);
  border-radius: 10px;
  background: rgba(2,6,23,.46);
  transition: background .2s ease, border-color .2s ease;
}

.tinr-deposit-bank-item:hover {
  background: rgba(255,255,255,.045);
  border-color: rgba(250,204,21,.16);
}

.tinr-deposit-bank-item span:first-child {
  color: var(--td-muted);
  font-size: 12px;
  font-weight: 650;
}

.tinr-deposit-bank-item span:last-child {
  min-width: 0;
  color: var(--td-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

.tinr-deposit-instructions {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--td-border-soft);
  border-left: 3px solid var(--td-yellow);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
}

.tinr-deposit-instructions p {
  margin: 0 0 9px;
  color: #cbd5e1;
  font-size: 12.5px;
  line-height: 1.62;
}

.tinr-deposit-instructions p:last-child {
  margin-bottom: 0;
}

/* ==========================================================
   LIGHT THEME
   ========================================================== */
html[data-theme="light"] .tinr-deposit-page {
  --td-bg: #f4f7fb;
  --td-bg-2: #eef2f7;
  --td-card: #ffffff;
  --td-card-soft: #f8fafc;
  --td-input: #ffffff;
  --td-text: #111827;
  --td-muted: #64748b;
  --td-border: #dce3ec;
  --td-border-soft: rgba(15,23,42,.09);
  --td-yellow: #d6a800;
  --td-green: #059669;
  --td-red: #dc2626;
  --td-cyan: #0891b2;
  --td-shadow: 0 16px 42px rgba(15,23,42,.09);

  background:
    radial-gradient(circle at 12% 5%, rgba(234,179,8,.08), transparent 24rem),
    radial-gradient(circle at 88% 18%, rgba(37,99,235,.055), transparent 27rem),
    linear-gradient(135deg, var(--td-bg), var(--td-bg-2));
}

html[data-theme="light"] .tinr-deposit-card,
html[data-theme="light"] .tinr-deposit-bank-details {
  background: linear-gradient(155deg, #ffffff, #f8fafc);
  border-color: var(--td-border);
}

html[data-theme="light"] .tinr-deposit-balance {
  border-color: rgba(5,150,105,.18);
  background: linear-gradient(145deg, rgba(5,150,105,.08), rgba(5,150,105,.025));
}

html[data-theme="light"] .tinr-deposit-input {
  background: #ffffff;
  color: #111827;
}

html[data-theme="light"] .tinr-deposit-input::placeholder {
  color: #94a3b8;
}

html[data-theme="light"] .tinr-deposit-file {
  color: #64748b;
}

html[data-theme="light"] .tinr-deposit-file::file-selector-button {
  background: #f8fafc;
  color: #111827;
  border-color: #dce3ec;
}

html[data-theme="light"] .tinr-deposit-bank-item {
  background: #f8fafc;
  border-color: rgba(15,23,42,.08);
}

html[data-theme="light"] .tinr-deposit-bank-item:hover {
  background: #f1f5f9;
  border-color: rgba(202,138,4,.18);
}

html[data-theme="light"] .tinr-deposit-bank-item span:first-child {
  color: #64748b;
}

html[data-theme="light"] .tinr-deposit-bank-item span:last-child {
  color: #111827;
}

html[data-theme="light"] .tinr-deposit-instructions {
  background: #f8fafc;
  border-color: rgba(15,23,42,.08);
  border-left-color: var(--td-yellow);
}

html[data-theme="light"] .tinr-deposit-instructions p {
  color: #475569;
}

html[data-theme="light"] .tinr-deposit-status--pending {
  color: #8a6800;
  background: rgba(234,179,8,.09);
  border-color: rgba(202,138,4,.18);
}

html[data-theme="light"] .tinr-deposit-status--approved {
  color: #047857;
  background: rgba(5,150,105,.07);
  border-color: rgba(5,150,105,.15);
}

html[data-theme="light"] .tinr-deposit-status--rejected {
  color: #b91c1c;
  background: rgba(220,38,38,.06);
  border-color: rgba(220,38,38,.14);
}

/* ==========================================================
   MOBILE
   ========================================================== */
@media (max-width: 768px) {
  .tinr-deposit-page {
    min-height: 100vh;

    /* mobile me desktop header hidden hai */
    margin-top: 0;

    align-items: flex-start;

    padding: 30px 15px 94px;
  }

  .tinr-deposit-content {
    width: 100%;
    flex-direction: column;
    gap: 14px;
  }

  .tinr-deposit-card {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
  }

  .tinr-deposit-bank-details {
    display: none;
  }

  .tinr-deposit-bank-details.tinr-deposit-bank-details--show {
    display: block;
  }

  .tinr-deposit-bank-toggle {
    display: block;
  }

  .tinr-deposit-input[type="number"],
  .tinr-deposit-input[type="text"] {
    min-height: 50px;
    font-size: 16px;
  }

  .tinr-deposit-card h2 {
    font-size: 21px;
  }
}

@media (max-width: 480px) {
  .tinr-deposit-page {
    padding-inline: 10px;
  }

  .tinr-deposit-card {
    padding: 18px 14px;
    border-radius: 15px;
  }

  .tinr-deposit-bank-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .tinr-deposit-bank-item span:last-child {
    text-align: left;
  }
}

@media (hover: none) {
  .tinr-deposit-submit:hover,
  .tinr-deposit-bank-toggle:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tinr-deposit-page *,
  .tinr-deposit-page *::before,
  .tinr-deposit-page *::after {
    transition-duration: .01ms !important;
  }
}

/* Deposit CTA contrast — Light theme */
html[data-theme="light"] .tinr-deposit-submit {
  background: linear-gradient(135deg, #ffdf52 0%, #f5c400 58%, #d9a400 100%);
  color: #111827 !important;
  -webkit-text-fill-color: #111827;
  border-color: rgba(180,130,0,.30);
  box-shadow: 0 10px 24px rgba(180,130,0,.14);
}

html[data-theme="light"] .tinr-deposit-submit:hover {
  background: linear-gradient(135deg, #ffe66d 0%, #facc15 58%, #e2ae00 100%);
  color: #111827 !important;
  -webkit-text-fill-color: #111827;
}

/* File button contrast */
html[data-theme="dark"] .tinr-deposit-file::file-selector-button {
  background: #111c2e;
  color: #f8fafc;
  border-color: #2a3a54;
}

/* ==========================================================
   TradeINR Withdraw
   Unique scope: tinr-withdraw-*
   Dark + Light theme
   ========================================================== */

.tinr-withdraw-page {
  --tw-bg: #030712;
  --tw-bg-2: #07101d;
  --tw-panel: #0b1220;
  --tw-panel-soft: #0f1929;
  --tw-input: #07101c;
  --tw-border: rgba(148, 163, 184, .15);
  --tw-border-strong: rgba(148, 163, 184, .24);
  --tw-text: #f8fafc;
  --tw-muted: #8f9bad;
  --tw-yellow: #facc15;
  --tw-green: #22d3a0;
  --tw-red: #fb6471;
  --tw-cyan: #22c7ee;
  --tw-shadow: 0 24px 70px rgba(0, 0, 0, .34);

  width: 100%;
  min-height: 100vh;
  padding: 112px 20px 100px;
  color: var(--tw-text);
  background:
    radial-gradient(circle at 18% 5%, rgba(250, 204, 21, .055), transparent 25rem),
    radial-gradient(circle at 86% 20%, rgba(37, 99, 235, .075), transparent 28rem),
    linear-gradient(160deg, var(--tw-bg), var(--tw-bg-2));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tinr-withdraw-page *,
.tinr-withdraw-page *::before,
.tinr-withdraw-page *::after {
  box-sizing: border-box;
}

.tinr-withdraw-shell {
  width: min(680px, 100%);
  margin: 0 auto;
}

/* ---------- Hero ---------- */
.tinr-withdraw-hero {
  margin-bottom: 24px;
  text-align: center;
}

.tinr-withdraw-eyebrow,
.tinr-withdraw-card-kicker {
  display: inline-block;
  color: var(--tw-yellow);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tinr-withdraw-eyebrow {
  margin-bottom: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(250, 204, 21, .18);
  border-radius: 999px;
  background: rgba(250, 204, 21, .055);
}

.tinr-withdraw-title {
  margin: 0;
  color: var(--tw-text);
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.tinr-withdraw-subtitle {
  max-width: 560px;
  margin: 12px auto 0;
  color: var(--tw-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ---------- Status ---------- */
.tinr-withdraw-status {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 13px;
  font-size: 13px;
  line-height: 1.55;
}

.tinr-withdraw-status strong {
  display: block;
  margin-bottom: 3px;
}

.tinr-withdraw-status p {
  margin: 0;
  color: inherit;
  opacity: .85;
}

.tinr-withdraw-status--approved {
  color: var(--tw-green);
  border: 1px solid rgba(34, 211, 160, .16);
  background: rgba(34, 211, 160, .055);
}

.tinr-withdraw-status--rejected {
  color: var(--tw-red);
  border: 1px solid rgba(251, 100, 113, .16);
  background: rgba(251, 100, 113, .055);
}

/* ---------- Main card ---------- */
.tinr-withdraw-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--tw-border);
  border-radius: 22px;
  background:
    linear-gradient(150deg, rgba(15, 25, 41, .98), rgba(7, 13, 23, .98));
  box-shadow: var(--tw-shadow);
}

.tinr-withdraw-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(250, 204, 21, .52), transparent);
  opacity: .6;
}

.tinr-withdraw-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.tinr-withdraw-card-head h2,
.tinr-withdraw-otp-head h3 {
  margin: 5px 0 0;
  color: var(--tw-text);
  font-weight: 800;
  letter-spacing: -.025em;
}

.tinr-withdraw-card-head h2 {
  font-size: 21px;
}

.tinr-withdraw-otp-head h3 {
  font-size: 16px;
}

.tinr-withdraw-secure-badge {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid rgba(34, 211, 160, .16);
  border-radius: 999px;
  color: var(--tw-green);
  background: rgba(34, 211, 160, .05);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}

/* ---------- Balance ---------- */
.tinr-withdraw-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 17px 18px;
  border: 1px solid rgba(34, 211, 160, .16);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(34, 211, 160, .07), rgba(34, 211, 160, .02));
}

.tinr-withdraw-balance-label {
  color: var(--tw-muted);
  font-size: 12px;
  font-weight: 650;
}

.tinr-withdraw-balance-amount {
  color: var(--tw-green);
  font-size: 21px;
  font-weight: 820;
  font-variant-numeric: tabular-nums;
}

/* ---------- Form ---------- */
.tinr-withdraw-form {
  display: grid;
  gap: 18px;
}

.tinr-withdraw-field {
  min-width: 0;
}

.tinr-withdraw-label {
  display: block;
  margin: 0 0 8px;
  color: #c7d0dd;
  font-size: 12px;
  font-weight: 700;
}

.tinr-withdraw-input-wrap {
  position: relative;
}

.tinr-withdraw-input-prefix {
  position: absolute;
  top: 50%;
  left: 15px;
  z-index: 1;
  transform: translateY(-50%);
  color: var(--tw-muted);
  font-size: 14px;
  pointer-events: none;
}

.tinr-withdraw-input,
.tinr-withdraw-select {
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid var(--tw-border);
  border-radius: 12px;
  outline: none;
  background: var(--tw-input);
  color: var(--tw-text);
  font: inherit;
  font-size: 14px;
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.tinr-withdraw-input--amount {
  padding-left: 34px;
}

.tinr-withdraw-input::placeholder {
  color: #667386;
}

.tinr-withdraw-input:focus,
.tinr-withdraw-select:focus {
  border-color: rgba(250, 204, 21, .55);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, .075);
}

.tinr-withdraw-input:disabled,
.tinr-withdraw-select:disabled {
  cursor: not-allowed;
  opacity: .62;
  background: rgba(148, 163, 184, .045);
}

.tinr-withdraw-select option {
  background: var(--tw-panel);
  color: var(--tw-text);
}

.tinr-withdraw-limit {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  color: var(--tw-muted);
  font-size: 11px;
  font-weight: 600;
}

/* ---------- OTP ---------- */
.tinr-withdraw-otp {
  margin-top: 2px;
  padding: 18px;
  border: 1px solid var(--tw-border);
  border-radius: 15px;
  background: rgba(255, 255, 255, .02);
}

.tinr-withdraw-otp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.tinr-withdraw-verified,
.tinr-withdraw-unverified {
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.tinr-withdraw-verified {
  color: var(--tw-green);
  border: 1px solid rgba(34, 211, 160, .16);
  background: rgba(34, 211, 160, .055);
}

.tinr-withdraw-unverified {
  color: var(--tw-yellow);
  border: 1px solid rgba(250, 204, 21, .16);
  background: rgba(250, 204, 21, .05);
}

.tinr-withdraw-otp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.tinr-withdraw-otp-input {
  text-align: center;
  letter-spacing: .08em;
}

/* ---------- Buttons ---------- */
.tinr-withdraw-btn {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 820;
  cursor: pointer;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    filter .2s ease,
    background .2s ease;
}

.tinr-withdraw-btn:hover:not(:disabled) {
  transform: translateY(-2px);
}

.tinr-withdraw-btn:disabled {
  cursor: not-allowed;
  opacity: .6;
}

.tinr-withdraw-btn--otp {
  color: #090d12;
  background: linear-gradient(135deg, #ffe45c, var(--tw-yellow));
  box-shadow: 0 10px 24px rgba(250, 204, 21, .13);
}

.tinr-withdraw-btn--verify {
  margin-top: 10px;
  color: #06100c;
  background: linear-gradient(135deg, #31e6b3, var(--tw-green));
}

.tinr-withdraw-btn--resend {
  min-height: 42px;
  margin-top: 9px;
  color: #dce3ee;
  border: 1px solid var(--tw-border);
  background: #121c2c;
}

.tinr-withdraw-btn--submit {
  margin-top: 2px;
  color: #090d12;
  background: linear-gradient(135deg, #ffe45c, #eab308);
  box-shadow: 0 13px 30px rgba(250, 204, 21, .16);
}

.tinr-withdraw-btn--submit span {
  font-size: 17px;
  transition: transform .2s ease;
}

.tinr-withdraw-btn--submit:hover span {
  transform: translateX(3px);
}

.tinr-withdraw-footnote {
  margin: 16px auto 0;
  color: var(--tw-muted);
  text-align: center;
  font-size: 11px;
  line-height: 1.6;
}

/* ---------- Pending state ---------- */
.tinr-withdraw-pending-card {
  width: min(460px, 100%);
  margin: 12vh auto 0;
  padding: 38px 26px;
  border: 1px solid var(--tw-border);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(15,25,41,.98), rgba(7,13,23,.98));
  box-shadow: var(--tw-shadow);
  text-align: center;
}

.tinr-withdraw-pending-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border: 1px solid rgba(250,204,21,.16);
  border-radius: 18px;
  background: rgba(250,204,21,.055);
  font-size: 26px;
}

.tinr-withdraw-pending-card h2 {
  margin: 0 0 9px;
  font-size: 24px;
}

.tinr-withdraw-pending-card p {
  margin: 0;
  color: var(--tw-muted);
  font-size: 13px;
}

/* ==========================================================
   LIGHT THEME
   ========================================================== */

html[data-theme="light"] .tinr-withdraw-page {
  --tw-bg: #f4f7fb;
  --tw-bg-2: #eef3f8;
  --tw-panel: #ffffff;
  --tw-panel-soft: #f8fafc;
  --tw-input: #ffffff;
  --tw-border: rgba(15, 23, 42, .11);
  --tw-border-strong: rgba(15, 23, 42, .20);
  --tw-text: #111827;
  --tw-muted: #64748b;
  --tw-yellow: #d6a800;
  --tw-green: #059669;
  --tw-red: #dc2626;
  --tw-cyan: #0891b2;
  --tw-shadow: 0 22px 60px rgba(15, 23, 42, .10);

  background:
    radial-gradient(circle at 18% 5%, rgba(234, 179, 8, .08), transparent 25rem),
    radial-gradient(circle at 86% 20%, rgba(37, 99, 235, .055), transparent 28rem),
    linear-gradient(160deg, var(--tw-bg), var(--tw-bg-2));
}

html[data-theme="light"] .tinr-withdraw-eyebrow {
  color: #806100;
  border-color: rgba(202, 138, 4, .20);
  background: rgba(234, 179, 8, .09);
}

html[data-theme="light"] .tinr-withdraw-card,
html[data-theme="light"] .tinr-withdraw-pending-card {
  background: linear-gradient(150deg, #ffffff, #f8fafc);
  border-color: var(--tw-border);
}

html[data-theme="light"] .tinr-withdraw-label {
  color: #475569;
}

html[data-theme="light"] .tinr-withdraw-input,
html[data-theme="light"] .tinr-withdraw-select {
  color: #111827;
  background: #ffffff;
}

html[data-theme="light"] .tinr-withdraw-input::placeholder {
  color: #94a3b8;
}

html[data-theme="light"] .tinr-withdraw-input:disabled,
html[data-theme="light"] .tinr-withdraw-select:disabled {
  color: #64748b;
  background: #f1f5f9;
}

html[data-theme="light"] .tinr-withdraw-select option {
  color: #111827;
  background: #ffffff;
}

html[data-theme="light"] .tinr-withdraw-balance {
  border-color: rgba(5, 150, 105, .16);
  background: linear-gradient(135deg, rgba(5,150,105,.075), rgba(5,150,105,.02));
}

html[data-theme="light"] .tinr-withdraw-otp {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, .09);
}

html[data-theme="light"] .tinr-withdraw-btn--resend {
  color: #334155;
  border-color: rgba(15, 23, 42, .11);
  background: #ffffff;
}

html[data-theme="light"] .tinr-withdraw-status--approved {
  color: #047857;
  border-color: rgba(5,150,105,.15);
  background: rgba(5,150,105,.07);
}

html[data-theme="light"] .tinr-withdraw-status--rejected {
  color: #b91c1c;
  border-color: rgba(220,38,38,.14);
  background: rgba(220,38,38,.06);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 768px) {
  .tinr-withdraw-page {
    padding: 34px 14px 100px;
  }

  .tinr-withdraw-shell {
    width: min(560px, 100%);
  }

  .tinr-withdraw-card {
    padding: 22px;
    border-radius: 18px;
  }

  .tinr-withdraw-card-head {
    margin-bottom: 18px;
  }

  .tinr-withdraw-title {
    font-size: 32px;
  }

  .tinr-withdraw-subtitle {
    font-size: 13px;
  }

  .tinr-withdraw-pending-card {
    margin-top: 15vh;
  }
}

@media (max-width: 520px) {
  .tinr-withdraw-page {
    padding-inline: 10px;
  }

  .tinr-withdraw-hero {
    margin-bottom: 18px;
  }

  .tinr-withdraw-card {
    padding: 18px 14px;
    border-radius: 16px;
  }

  .tinr-withdraw-card-head {
    align-items: center;
  }

  .tinr-withdraw-card-head h2 {
    font-size: 18px;
  }

  .tinr-withdraw-secure-badge {
    font-size: 9px;
  }

  .tinr-withdraw-balance {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    padding: 14px;
  }

  .tinr-withdraw-balance-amount {
    font-size: 20px;
  }

  .tinr-withdraw-otp {
    padding: 14px;
  }

  .tinr-withdraw-otp-grid {
    grid-template-columns: 1fr;
  }

  .tinr-withdraw-otp-head {
    align-items: flex-start;
  }

  .tinr-withdraw-input,
  .tinr-withdraw-select {
    min-height: 50px;
    font-size: 16px;
  }

  .tinr-withdraw-btn {
    min-height: 48px;
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .tinr-withdraw-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .tinr-withdraw-secure-badge {
    align-self: flex-start;
  }
}

@media (hover: none) {
  .tinr-withdraw-btn:hover:not(:disabled) {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tinr-withdraw-page *,
  .tinr-withdraw-page *::before,
  .tinr-withdraw-page *::after {
    transition-duration: .01ms !important;
  }
}

/* ==========================================================
   COMPACT WITHDRAW CARD
   Reduces vertical height without changing width/theme.
   ========================================================== */
.tinr-withdraw-hero {
  margin-bottom: 16px;
}

.tinr-withdraw-eyebrow {
  margin-bottom: 8px;
  padding: 6px 10px;
}

.tinr-withdraw-subtitle {
  margin-top: 8px;
}

.tinr-withdraw-card {
  padding: 22px 24px;
}

.tinr-withdraw-card-head {
  margin-bottom: 15px;
}

.tinr-withdraw-balance {
  margin-bottom: 16px;
  padding: 13px 16px;
}

.tinr-withdraw-form {
  gap: 13px;
}

.tinr-withdraw-label {
  margin-bottom: 6px;
}

.tinr-withdraw-input,
.tinr-withdraw-select {
  min-height: 44px;
}

.tinr-withdraw-limit {
  margin-top: 5px;
}

.tinr-withdraw-otp {
  padding: 14px;
}

.tinr-withdraw-otp-head {
  margin-bottom: 10px;
}

.tinr-withdraw-btn {
  min-height: 44px;
}

.tinr-withdraw-btn--verify {
  margin-top: 8px;
}

.tinr-withdraw-btn--resend {
  min-height: 40px;
  margin-top: 7px;
}

.tinr-withdraw-footnote {
  margin-top: 12px;
}

@media (max-width: 520px) {
  .tinr-withdraw-card {
    padding: 16px 13px;
  }

  .tinr-withdraw-balance {
    margin-bottom: 14px;
  }

  .tinr-withdraw-form {
    gap: 12px;
  }

  .tinr-withdraw-otp {
    padding: 12px;
  }
}

/* ==========================================================
   MOBILE COMPACT RESPONSIVE
   Keeps the same Light/Dark design while reducing height.
   ========================================================== */
@media (max-width: 768px) {
  .tinr-withdraw-page {
    padding: 24px 14px 92px;
  }

  .tinr-withdraw-shell {
    width: min(540px, 100%);
  }

  .tinr-withdraw-hero {
    margin-bottom: 14px;
  }

  .tinr-withdraw-title {
    font-size: 28px;
  }

  .tinr-withdraw-subtitle {
    margin-top: 7px;
    font-size: 12.5px;
    line-height: 1.5;
  }

  .tinr-withdraw-card {
    padding: 18px;
    border-radius: 16px;
  }

  .tinr-withdraw-card-head {
    margin-bottom: 13px;
  }

  .tinr-withdraw-card-head h2 {
    font-size: 18px;
  }

  .tinr-withdraw-balance {
    margin-bottom: 13px;
    padding: 12px 14px;
  }

  .tinr-withdraw-balance-amount {
    font-size: 19px;
  }

  .tinr-withdraw-form {
    gap: 11px;
  }

  .tinr-withdraw-input,
  .tinr-withdraw-select {
    min-height: 43px;
    font-size: 15px;
  }

  .tinr-withdraw-limit {
    margin-top: 4px;
    font-size: 10.5px;
  }

  .tinr-withdraw-otp {
    padding: 12px;
  }

  .tinr-withdraw-otp-head {
    margin-bottom: 9px;
  }

  .tinr-withdraw-btn {
    min-height: 43px;
  }

  .tinr-withdraw-footnote {
    margin-top: 10px;
  }
}

@media (max-width: 520px) {
  .tinr-withdraw-page {
    padding: 18px 10px 88px;
  }

  .tinr-withdraw-hero {
    margin-bottom: 12px;
  }

  .tinr-withdraw-eyebrow {
    margin-bottom: 7px;
    padding: 5px 8px;
    font-size: 8.5px;
  }

  .tinr-withdraw-title {
    font-size: 25px;
  }

  .tinr-withdraw-subtitle {
    max-width: 340px;
    font-size: 12px;
  }

  .tinr-withdraw-card {
    padding: 15px 12px;
    border-radius: 15px;
  }

  .tinr-withdraw-card-head {
    gap: 10px;
    margin-bottom: 11px;
  }

  .tinr-withdraw-card-head h2 {
    font-size: 17px;
  }

  .tinr-withdraw-secure-badge {
    padding: 5px 7px;
    font-size: 8px;
  }

  .tinr-withdraw-balance {
    flex-direction: row;
    align-items: center;
    margin-bottom: 11px;
    padding: 11px 12px;
  }

  .tinr-withdraw-balance-label {
    font-size: 10.5px;
  }

  .tinr-withdraw-balance-amount {
    font-size: 18px;
  }

  .tinr-withdraw-label {
    margin-bottom: 5px;
    font-size: 11px;
  }

  .tinr-withdraw-input,
  .tinr-withdraw-select {
    min-height: 42px;
    font-size: 14px;
  }

  .tinr-withdraw-otp {
    padding: 11px;
  }

  .tinr-withdraw-otp-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
  }

  .tinr-withdraw-otp-input {
    min-width: 0;
    padding-inline: 8px;
    font-size: 13px;
  }

  .tinr-withdraw-btn {
    min-height: 42px;
    font-size: 12.5px;
  }

  .tinr-withdraw-btn--verify {
    margin-top: 7px;
  }

  .tinr-withdraw-btn--resend {
    min-height: 38px;
    margin-top: 6px;
  }

  .tinr-withdraw-footnote {
    font-size: 10px;
    line-height: 1.45;
  }
}

@media (max-width: 390px) {
  .tinr-withdraw-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .tinr-withdraw-balance {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }

  .tinr-withdraw-otp-grid {
    grid-template-columns: 1fr;
  }

  .tinr-withdraw-title {
    font-size: 23px;
  }
}

/* ==========================================================
   TradeINR Bank Page — Premium Light / Dark
   Unique scope: tinr-bank-*
   ========================================================== */

.tinr-bank-page {
  --tb-bg: #f4f7fb;
  --tb-surface: #ffffff;
  --tb-surface-soft: #f8fafc;
  --tb-text: #101828;
  --tb-text-soft: #344054;
  --tb-muted: #667085;
  --tb-border: #dfe5ee;
  --tb-yellow: #eab308;
  --tb-green: #059669;
  --tb-red: #dc3545;
  --tb-orange: #d97706;
  --tb-shadow: 0 18px 48px rgba(15, 23, 42, .08);

  width: 100%;
  min-height: 100vh;
  padding: 28px 16px calc(var(--tinr-mobile-bottom-nav-height, 76px) + 32px);
  color: var(--tb-text);
  background:
    radial-gradient(circle at 12% 0%, rgba(250, 204, 21, .09), transparent 24rem),
    radial-gradient(circle at 100% 20%, rgba(37, 99, 235, .05), transparent 28rem),
    var(--tb-bg);
}

html[data-theme="dark"] .tinr-bank-page {
  --tb-bg: #030712;
  --tb-surface: #0b1220;
  --tb-surface-soft: #111b2d;
  --tb-text: #f8fafc;
  --tb-text-soft: #d7dfeb;
  --tb-muted: #94a3b8;
  --tb-border: rgba(148, 163, 184, .16);
  --tb-yellow: #facc15;
  --tb-green: #22d3a0;
  --tb-red: #fb7185;
  --tb-orange: #f59e0b;
  --tb-shadow: 0 20px 55px rgba(0, 0, 0, .30);
}

.tinr-bank-page *,
.tinr-bank-page *::before,
.tinr-bank-page *::after {
  box-sizing: border-box;
}

.tinr-bank-shell {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.tinr-bank-header {
  margin-bottom: 18px;
}

.tinr-bank-back {
  min-height: 35px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 15px;
  padding: 0 11px;
  border: 1px solid var(--tb-border);
  border-radius: 10px;
  color: var(--tb-text-soft);
  background: var(--tb-surface);
  cursor: pointer;
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  box-shadow: 0 5px 16px var(--tb-shadow);
}

.tinr-bank-back svg {
  width: 15px;
  height: 15px;
}

.tinr-bank-heading {
  display: grid;
  gap: 5px;
}

.tinr-bank-eyebrow,
.tinr-bank-section-title > div > span,
.tinr-bank-form-card__head > div:last-child > span {
  color: var(--tb-yellow);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .11em;
}

.tinr-bank-heading h1 {
  margin: 0;
  color: var(--tb-text);
  font-size: clamp(29px, 4vw, 40px);
  line-height: 1.05;
  font-weight: 880;
  letter-spacing: -.04em;
}

.tinr-bank-heading p {
  max-width: 650px;
  margin: 2px 0 0;
  color: var(--tb-muted);
  font-size: 11px;
  line-height: 1.6;
}

/* Existing accounts */
.tinr-bank-existing {
  margin-bottom: 16px;
}

.tinr-bank-section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.tinr-bank-section-title h2 {
  margin: 3px 0 0;
  color: var(--tb-text);
  font-size: 18px;
  font-weight: 850;
}

.tinr-bank-count {
  padding: 5px 9px;
  border: 1px solid var(--tb-border);
  border-radius: 999px;
  color: var(--tb-muted);
  background: var(--tb-surface);
  font-size: 8px;
  font-weight: 800;
}

.tinr-bank-account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tinr-bank-account-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--tb-border);
  border-radius: 16px;
  background: var(--tb-surface);
  box-shadow: 0 10px 28px var(--tb-shadow);
}

.tinr-bank-account-card--approved {
  border-color: color-mix(in srgb, var(--tb-green) 25%, var(--tb-border));
}

.tinr-bank-account-card--pending {
  border-color: color-mix(in srgb, var(--tb-orange) 25%, var(--tb-border));
}

.tinr-bank-account-card--rejected {
  border-color: color-mix(in srgb, var(--tb-red) 25%, var(--tb-border));
}

.tinr-bank-account-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--tb-border);
}

.tinr-bank-account-card__icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--tb-surface-soft);
  color: var(--tb-text-soft);
}

.tinr-bank-account-card--approved .tinr-bank-account-card__icon {
  color: var(--tb-green);
  background: color-mix(in srgb, var(--tb-green) 9%, transparent);
}

.tinr-bank-account-card--pending .tinr-bank-account-card__icon {
  color: var(--tb-orange);
  background: color-mix(in srgb, var(--tb-orange) 9%, transparent);
}

.tinr-bank-account-card--rejected .tinr-bank-account-card__icon {
  color: var(--tb-red);
  background: color-mix(in srgb, var(--tb-red) 9%, transparent);
}

.tinr-bank-account-card__icon svg {
  width: 18px;
  height: 18px;
}

.tinr-bank-account-card__head > div:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.tinr-bank-account-card__label {
  color: var(--tb-muted);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.tinr-bank-account-card__head strong {
  color: var(--tb-text);
  font-size: 12px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.tinr-bank-account-card__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  padding-top: 12px;
}

.tinr-bank-account-card__details > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.tinr-bank-account-card__details--wide {
  grid-column: 1 / -1;
}

.tinr-bank-account-card__details span {
  color: var(--tb-muted);
  font-size: 7px;
  font-weight: 750;
}

.tinr-bank-account-card__details strong {
  color: var(--tb-text-soft);
  font-size: 9px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.tinr-bank-account-card__status-copy {
  margin: 12px 0 0;
  color: var(--tb-muted);
  font-size: 9px;
  line-height: 1.5;
}

.tinr-bank-delete-request {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--tb-red) 25%, transparent);
  border-radius: 9px;
  color: var(--tb-red);
  background: color-mix(in srgb, var(--tb-red) 6%, transparent);
  cursor: pointer;
  font: inherit;
  font-size: 8px;
  font-weight: 800;
}

/* Form */
.tinr-bank-form-card {
  width: min(680px, 100%);
  margin: 0 auto;
  padding: 20px;
  border: 1px solid var(--tb-border);
  border-radius: 18px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--tb-surface-soft) 45%, transparent), transparent 100px),
    var(--tb-surface);
  box-shadow: var(--tb-shadow);
}

.tinr-bank-form-card__head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 17px;
}

.tinr-bank-form-card__icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(234, 179, 8, .18);
  border-radius: 11px;
  color: var(--tb-yellow);
  background: rgba(250, 204, 21, .06);
}

.tinr-bank-form-card__icon svg {
  width: 19px;
  height: 19px;
}

.tinr-bank-form-card__head h2 {
  margin: 3px 0 0;
  color: var(--tb-text);
  font-size: 19px;
  font-weight: 860;
}

.tinr-bank-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tinr-bank-field {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.tinr-bank-field > span {
  color: var(--tb-muted);
  font-size: 8px;
  font-weight: 800;
}

.tinr-bank-field input {
  width: 100%;
  height: 43px;
  padding: 0 11px;
  border: 1px solid var(--tb-border);
  border-radius: 10px;
  outline: none;
  color: var(--tb-text);
  background: var(--tb-surface-soft);
  font: inherit;
  font-size: 10px;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.tinr-bank-field input::placeholder {
  color: var(--tb-muted);
  opacity: .7;
}

.tinr-bank-field input:focus {
  border-color: rgba(234, 179, 8, .42);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, .08);
}

.tinr-bank-submit {
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  border: 1px solid rgba(234, 179, 8, .30);
  border-radius: 10px;
  color: #111827;
  background: linear-gradient(135deg, #fde047, #facc15);
  cursor: pointer;
  font: inherit;
  font-size: 9.5px;
  font-weight: 900;
  box-shadow: 0 9px 22px rgba(250, 204, 21, .12);
}

.tinr-bank-message {
  margin: 11px 0 0;
  color: var(--tb-text-soft);
  font-size: 9px;
  text-align: center;
}

/* Modal */
.tinr-bank-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(3, 7, 18, .66);
  backdrop-filter: blur(8px);
}

.tinr-bank-modal {
  position: relative;
  width: min(420px, 100%);
  padding: 23px;
  border: 1px solid var(--tb-border);
  border-radius: 18px;
  color: var(--tb-text);
  background: var(--tb-surface);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
}

.tinr-bank-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--tb-border);
  border-radius: 9px;
  color: var(--tb-muted);
  background: var(--tb-surface-soft);
  cursor: pointer;
}

.tinr-bank-modal__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 12px;
  color: var(--tb-red);
  background: color-mix(in srgb, var(--tb-red) 8%, transparent);
}

.tinr-bank-modal h3 {
  margin: 0 0 6px;
  color: var(--tb-text);
  font-size: 18px;
  font-weight: 860;
}

.tinr-bank-modal p {
  margin: 0 0 12px;
  color: var(--tb-muted);
  font-size: 9.5px;
  line-height: 1.55;
}

.tinr-bank-modal textarea {
  width: 100%;
  min-height: 105px;
  resize: vertical;
  padding: 11px;
  border: 1px solid var(--tb-border);
  border-radius: 10px;
  outline: none;
  color: var(--tb-text);
  background: var(--tb-surface-soft);
  font: inherit;
  font-size: 10px;
}

.tinr-bank-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.tinr-bank-modal__actions button {
  min-height: 39px;
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  font-size: 8.5px;
  font-weight: 850;
}

.tinr-bank-modal__cancel {
  border: 1px solid var(--tb-border);
  color: var(--tb-text-soft);
  background: var(--tb-surface-soft);
}

.tinr-bank-modal__confirm {
  border: 1px solid color-mix(in srgb, var(--tb-red) 25%, transparent);
  color: #fff;
  background: linear-gradient(135deg, #f87171, #dc3545);
}

.tinr-bank-modal__actions button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .tinr-bank-page {
    padding: 12px 8px calc(var(--tinr-mobile-bottom-nav-height, 76px) + 20px);
  }

  .tinr-bank-header {
    margin-bottom: 14px;
  }

  .tinr-bank-back {
    margin-bottom: 12px;
  }

  .tinr-bank-heading h1 {
    font-size: 27px;
  }

  .tinr-bank-heading p {
    font-size: 10px;
  }

  .tinr-bank-account-grid,
  .tinr-bank-form-grid {
    grid-template-columns: 1fr;
  }

  .tinr-bank-form-card {
    padding: 16px;
    border-radius: 15px;
  }

  .tinr-bank-account-card {
    padding: 14px;
  }

  .tinr-bank-field input {
    height: 44px;
  }
}
/* ==========================================================
   Dashboard Sidebar
   ========================================================== */

.tinr-dashboard-sidebar {
  position: sticky;
  top: var(--tinr-header-height, 76px);
  align-self: start;
  min-height: calc(100vh - var(--tinr-header-height, 76px));
  padding: 24px 16px;
  border-right: 1px solid var(--tud-border);
  background: color-mix(in srgb, var(--tud-surface) 96%, transparent);
  box-shadow: 10px 0 30px rgba(15, 23, 42, .025);
}

.tinr-dashboard-sidebar__heading {
  display: grid;
  gap: 3px;
  margin-bottom: 18px;
  padding: 0 9px 14px;
  border-bottom: 1px solid var(--tud-border);
}

.tinr-dashboard-sidebar__heading span {
  color: var(--tud-yellow);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .11em;
}

.tinr-dashboard-sidebar__heading strong {
  color: var(--tud-text);
  font-size: 15px;
  font-weight: 820;
}

.tinr-dashboard-sidebar__nav {
  display: grid;
  gap: 7px;
}

.tinr-dashboard-sidebar__item,
.tinr-dashboard-sidebar__logout {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 720;
  text-align: left;
  transition:
    background .16s ease,
    border-color .16s ease,
    color .16s ease,
    transform .16s ease;
}

.tinr-dashboard-sidebar__item {
  color: var(--tud-text-soft);
  background: transparent;
}

.tinr-dashboard-sidebar__item:hover {
  border-color: var(--tud-border);
  background: var(--tud-surface-soft);
  transform: translateX(2px);
}

.tinr-dashboard-sidebar__item--active {
  color: #111827;
  border-color: rgba(234, 179, 8, .28);
  background: linear-gradient(135deg, #fde047, #facc15);
  box-shadow: 0 8px 18px rgba(250, 204, 21, .12);
}

.tinr-dashboard-sidebar__icon {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  font-size: 14px;
}

.tinr-dashboard-sidebar__item:not(.tinr-dashboard-sidebar__item--active)
.tinr-dashboard-sidebar__icon {
  color: var(--tud-muted);
  background: var(--tud-surface-soft);
}

.tinr-dashboard-sidebar__logout {
  margin-top: 22px;
  color: var(--tud-red);
  border-color: rgba(220, 53, 69, .12);
  background: rgba(220, 53, 69, .055);
}

html[data-theme="dark"] .tinr-dashboard-sidebar__logout {
  border-color: rgba(251, 113, 133, .15);
  background: rgba(251, 113, 133, .065);
}

@media (max-width: 768px) {
  .tinr-dashboard-sidebar {
    position: static;
    min-height: 0;
    padding: 10px 8px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--tud-border);
    box-shadow: none;
  }

  .tinr-dashboard-sidebar__heading {
    display: none;
  }

  .tinr-dashboard-sidebar__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .tinr-dashboard-sidebar__item,
  .tinr-dashboard-sidebar__logout {
    min-height: 46px;
    justify-content: center;
    padding: 0 8px;
    border-color: var(--tud-border);
    background: var(--tud-surface);
    font-size: 9.5px;
    text-align: center;
  }

  .tinr-dashboard-sidebar__item:hover {
    transform: none;
  }

  .tinr-dashboard-sidebar__item--active {
    color: #111827;
    border-color: rgba(234, 179, 8, .30);
    background: linear-gradient(135deg, #fde047, #facc15);
  }

  .tinr-dashboard-sidebar__icon {
    display: none;
  }

  .tinr-dashboard-sidebar__logout {
    width: 100%;
    margin-top: 10px;
    color: var(--tud-red);
  }
}
/* ==========================================================
   Profile / API Keys
   Unique scope: tinr-profile-*
   ========================================================== */

.tinr-profile-page {
  width: min(760px, 100%);
  margin: 0 auto;
  color: var(--tud-text);
}

.tinr-profile-card {
  width: 100%;
  margin-bottom: 14px;
  padding: 20px;
  border: 1px solid var(--tud-border);
  border-radius: 17px;
  color: var(--tud-text);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--tud-surface-soft) 42%, transparent), transparent 86px),
    var(--tud-surface);
  box-shadow: 0 10px 28px var(--tud-shadow);
}

.tinr-profile-card h2,
.tinr-profile-card h4 {
  margin: 0 0 13px;
  color: var(--tud-text);
}

.tinr-profile-card h2 {
  font-size: 16px;
  font-weight: 850;
}

.tinr-profile-card h4 {
  font-size: 12px;
}

.tinr-profile-card > button:not(.tinr-profile-copy-btn) {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(234, 179, 8, .28);
  border-radius: 9px;
  color: #111827;
  background: linear-gradient(135deg, #fde047, #facc15);
  cursor: pointer;
  font: inherit;
  font-size: 9px;
  font-weight: 850;
}

.tinr-profile-row {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--tud-border);
  color: var(--tud-text-soft);
  font-size: 10px;
}

.tinr-profile-row:last-child {
  border-bottom: 0;
}

.tinr-profile-row > span {
  min-width: 0;
  color: var(--tud-muted);
  overflow-wrap: anywhere;
}

.tinr-profile-row strong {
  color: var(--tud-text);
  text-align: right;
  overflow-wrap: anywhere;
}

.tinr-profile-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tud-text-soft);
}

.tinr-profile-row input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--tud-green);
}

.tinr-profile-card--metric {
  text-align: center;
}

.tinr-profile-card--metric h2 {
  color: var(--tud-muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.tinr-profile-metric-value {
  color: var(--tud-green);
  font-size: clamp(23px, 5vw, 31px);
  font-weight: 900;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}

.tinr-profile-api-result {
  display: grid;
  gap: 9px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--tud-border);
  border-radius: 12px;
  background: var(--tud-surface-soft);
}

.tinr-profile-api-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tinr-profile-api-item p {
  margin: 0 0 2px;
  color: var(--tud-muted);
  font-size: 8px;
}

.tinr-profile-api-item span {
  color: var(--tud-text);
  font-size: 9px;
  overflow-wrap: anywhere;
}

.tinr-profile-copy-btn {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 9px;
  border: 1px solid var(--tud-border);
  border-radius: 8px;
  color: var(--tud-text);
  background: var(--tud-surface);
  cursor: pointer;
  font: inherit;
  font-size: 8px;
  font-weight: 800;
}

.tinr-profile-secret-warning {
  color: var(--tud-red);
  font-size: 8px;
}

/* OTP */
.tinr-profile-apiotp-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(3, 7, 18, .66);
  backdrop-filter: blur(7px);
}

.tinr-profile-apiotp-modal {
  position: relative;
  width: min(400px, 100%);
  padding: 26px 22px;
  border: 1px solid var(--tud-border);
  border-radius: 18px;
  color: var(--tud-text);
  background: var(--tud-surface);
  box-shadow: 0 25px 70px rgba(0, 0, 0, .32);
  text-align: center;
}

.tinr-profile-apiotp-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid var(--tud-border);
  border-radius: 50%;
  color: var(--tud-text);
  background: var(--tud-surface-soft);
  cursor: pointer;
}

.tinr-profile-apiotp-icon {
  font-size: 28px;
}

.tinr-profile-apiotp-modal h3 {
  margin: 9px 0 6px;
  color: var(--tud-text);
  font-size: 18px;
}

.tinr-profile-apiotp-text,
.tinr-profile-apiotp-note {
  color: var(--tud-muted);
  font-size: 9px;
  line-height: 1.55;
}

.tinr-profile-apiotp-input {
  width: 100%;
  height: 44px;
  margin: 12px 0 8px;
  padding: 0 12px;
  border: 1px solid var(--tud-border);
  border-radius: 10px;
  outline: none;
  color: var(--tud-text);
  background: var(--tud-surface-soft);
  font: inherit;
  text-align: center;
  letter-spacing: .15em;
}

.tinr-profile-apiotp-verify {
  width: 100%;
  min-height: 42px;
  margin-top: 9px;
  border: 0;
  border-radius: 10px;
  color: #111827;
  background: linear-gradient(135deg, #fde047, #facc15);
  cursor: pointer;
  font: inherit;
  font-size: 9px;
  font-weight: 850;
}

.tinr-profile-apiotp-success {
  color: var(--tud-green);
  font-size: 9px;
}

.tinr-profile-apiotp-error {
  color: var(--tud-red);
  font-size: 9px;
}

.tinr-profile-page > p {
  margin: 8px 2px 14px;
  color: var(--tud-text-soft);
  font-size: 10px;
}

@media (max-width: 768px) {
  .tinr-profile-page {
    width: 100%;
  }

  .tinr-profile-card {
    padding: 16px;
    border-radius: 15px;
  }

  .tinr-profile-row {
    align-items: flex-start;
  }
}
.form-card-in-change-email {
  width: 100%;
  max-width: 420px;

  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid #1e293b;
  border-radius: 18px;
  padding: 28px;
  font-size: 17px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transition: 0.3s;
}

.form-card-in-change-email input {
  width: 100%;
  margin-top: 6px;
  margin-bottom: 25px;
  padding: 14px;

  border-radius: 12px;
  border: 1px solid #1e293b;
  background: #020617;
  color: white;

  outline: none;
  transition: 0.3s;
}


@media (max-width: 768px) {

  .form-card-in-change-email {
    transform: translateY(-60px);
  }

}/* ==========================================================
   Change Password
   ========================================================== */

.tinr-change-password-card {
  width: min(520px, 100%);
  margin: 0 auto;
  padding: 22px;
  border: 1px solid var(--tud-border);
  border-radius: 18px;
  color: var(--tud-text);
  background: var(--tud-surface);
  box-shadow: 0 12px 32px var(--tud-shadow);
}

.tinr-change-password-card h2 {
  margin: 0 0 5px;
  color: var(--tud-text);
  font-size: 21px;
  font-weight: 860;
}

.tinr-change-password-sub {
  margin: 0 0 18px;
  color: var(--tud-muted);
  font-size: 9.5px;
  line-height: 1.55;
}

.tinr-change-password-card > label {
  display: block;
  margin: 10px 0 6px;
  color: var(--tud-muted);
  font-size: 8px;
  font-weight: 800;
}

.tinr-change-password-input-wrap {
  position: relative;
}

.tinr-change-password-card input {
  width: 100%;
  height: 43px;
  margin: 0 0 5px;
  padding: 0 40px 0 11px;
  border: 1px solid var(--tud-border);
  border-radius: 10px;
  outline: none;
  color: var(--tud-text);
  background: var(--tud-surface-soft);
  font: inherit;
  font-size: 10px;
}

.tinr-change-password-card > input {
  padding-right: 11px;
}

.tinr-change-password-card input:focus {
  border-color: rgba(234, 179, 8, .38);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, .07);
}

.tinr-change-password-eye {
  position: absolute;
  top: 50%;
  right: 12px;
  display: grid;
  place-items: center;
  color: var(--tud-muted);
  cursor: pointer;
  transform: translateY(-50%);
}

.tinr-change-password-otp-btn,
.tinr-change-password-card > button:not(.tinr-change-password-save),
.tinr-change-password-save {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--tud-border);
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  font-size: 9px;
  font-weight: 850;
}

.tinr-change-password-otp-btn {
  margin: 10px 0;
  color: var(--tud-text);
  background: var(--tud-surface-soft);
}

.tinr-change-password-card > button:not(.tinr-change-password-save):not(.tinr-change-password-otp-btn) {
  color: var(--tud-text);
  background: var(--tud-surface-soft);
}

.tinr-change-password-save {
  width: 100%;
  margin-top: 14px;
  color: #111827;
  border-color: rgba(234, 179, 8, .30);
  background: linear-gradient(135deg, #fde047, #facc15);
}

.tinr-change-password-card button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

@media (max-width: 768px) {
  .tinr-change-password-card {
    padding: 16px;
    border-radius: 15px;
  }
}
/* ==========================================================
   TradeINR API Documentation V3
   Complete endpoint access on mobile + readable code.
   Unique scope: tinr-api-docs*
   ========================================================== */

.tinr-api-docs {
  --api-surface: var(--tud-surface, #ffffff);
  --api-surface-soft: var(--tud-surface-soft, #f8fafc);
  --api-text: var(--tud-text, #101828);
  --api-text-soft: var(--tud-text-soft, #344054);
  --api-muted: var(--tud-muted, #667085);
  --api-border: var(--tud-border, #dfe5ee);
  --api-yellow: var(--tud-yellow, #eab308);
  --api-green: var(--tud-green, #059669);
  --api-red: var(--tud-red, #dc3545);
  --api-blue: var(--tud-blue, #2563eb);
  --api-shadow: var(--tud-shadow, rgba(15, 23, 42, .08));

  width: 100%;
  max-width: 100%;
  min-width: 0;

  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  align-items: start;

  border: 1px solid var(--api-border);
  border-radius: 20px;

  color: var(--api-text);
  background: var(--api-surface);

  box-shadow: 0 14px 36px var(--api-shadow);

  overflow: visible;
}

.tinr-api-docs *,
.tinr-api-docs *::before,
.tinr-api-docs *::after {
  box-sizing: border-box;
}

/* ---------- Navigation ---------- */

.tinr-api-docs__nav {
  min-width: 0;

  padding: 18px 12px;

  border-right: 1px solid var(--api-border);
  border-radius: 20px 0 0 20px;

  background:
    linear-gradient(
      180deg,
      rgba(250, 204, 21, .035),
      transparent 120px
    ),
    var(--api-surface-soft);
}

.tinr-api-docs__nav-heading {
  padding: 2px 7px 14px;
  border-bottom: 1px solid var(--api-border);
}

.tinr-api-docs__nav-heading > span,
.tinr-api-docs__eyebrow {
  color: var(--api-yellow);

  font-size: 7.5px;
  font-weight: 900;
  letter-spacing: .12em;
}

.tinr-api-docs__nav-heading h2 {
  margin: 4px 0 5px;

  color: var(--api-text);

  font-size: 17px;
  line-height: 1.15;
  font-weight: 880;
  letter-spacing: -.025em;
}

.tinr-api-docs__nav-heading p {
  margin: 0;

  color: var(--api-muted);

  font-size: 8px;
  line-height: 1.5;
}

.tinr-api-docs__nav-list {
  display: grid;
  gap: 6px;

  margin-top: 12px;
}

.tinr-api-docs__nav-item {
  width: 100%;
  min-width: 0;
  min-height: 45px;

  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 8px;

  margin: 0;
  padding: 7px 8px;

  border: 1px solid transparent;
  border-radius: 10px;

  color: var(--api-text-soft);
  background: transparent;

  cursor: pointer;
  font: inherit;
  text-align: left;

  transition:
    background .16s ease,
    border-color .16s ease,
    transform .16s ease;
}

.tinr-api-docs__nav-item:hover {
  border-color: var(--api-border);
  background: var(--api-surface);
  transform: translateX(2px);
}

.tinr-api-docs__nav-item--active {
  border-color: rgba(234, 179, 8, .30);
  background:
    linear-gradient(
      135deg,
      rgba(250, 204, 21, .13),
      rgba(250, 204, 21, .055)
    );
}

.tinr-api-docs__method-dot {
  min-height: 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 6px;

  border-radius: 6px;

  font-size: 6.8px;
  font-weight: 900;
  letter-spacing: .03em;
}

.tinr-api-docs__method-dot--get,
.tinr-api-docs__method--get {
  color: #047857;
  background: rgba(5, 150, 105, .10);
  border-color: rgba(5, 150, 105, .18);
}

.tinr-api-docs__method-dot--post,
.tinr-api-docs__method--post {
  color: #1d4ed8;
  background: rgba(37, 99, 235, .10);
  border-color: rgba(37, 99, 235, .18);
}

.tinr-api-docs__method-dot--delete,
.tinr-api-docs__method--delete {
  color: #c2410c;
  background: rgba(234, 88, 12, .10);
  border-color: rgba(234, 88, 12, .18);
}

html[data-theme="dark"]
  .tinr-api-docs__method-dot--get,
html[data-theme="dark"]
  .tinr-api-docs__method--get {
  color: #34d399;
}

html[data-theme="dark"]
  .tinr-api-docs__method-dot--post,
html[data-theme="dark"]
  .tinr-api-docs__method--post {
  color: #93c5fd;
}

html[data-theme="dark"]
  .tinr-api-docs__method-dot--delete,
html[data-theme="dark"]
  .tinr-api-docs__method--delete {
  color: #fb923c;
}

.tinr-api-docs__nav-copy {
  min-width: 0;

  color: inherit;

  font-size: 8.5px;
  font-weight: 760;
  line-height: 1.3;

  overflow-wrap: anywhere;
}

.tinr-api-docs__mobile-picker {
  display: none;
}

/* ---------- Content ---------- */

.tinr-api-docs__content {
  min-width: 0;

  padding: 24px;
}

.tinr-api-docs__content-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;

  margin-bottom: 15px;
}

.tinr-api-docs__content-head h2 {
  margin: 5px 0 0;

  color: var(--api-text);

  font-size: clamp(21px, 2.2vw, 29px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -.035em;
}

.tinr-api-docs__method {
  flex: 0 0 auto;

  min-height: 30px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 10px;

  border: 1px solid transparent;
  border-radius: 8px;

  font-size: 8px;
  font-weight: 900;
  letter-spacing: .045em;
}

.tinr-api-docs__endpoint {
  display: grid;
  gap: 6px;

  margin-bottom: 14px;
  padding: 11px 12px;

  border: 1px solid var(--api-border);
  border-radius: 11px;

  background: var(--api-surface-soft);
}

.tinr-api-docs__endpoint > span {
  color: var(--api-muted);

  font-size: 7.5px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tinr-api-docs__endpoint code {
  color: var(--api-text);

  font-family:
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    Menlo,
    monospace;
  font-size: 9px;
  line-height: 1.45;

  overflow-wrap: anywhere;
}

.tinr-api-docs__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  margin-bottom: 10px;
}

.tinr-api-docs__tabs {
  display: inline-flex;
  gap: 4px;

  padding: 4px;

  border: 1px solid var(--api-border);
  border-radius: 10px;

  background: var(--api-surface-soft);
}

.tinr-api-docs__lang {
  min-height: 31px;

  padding: 0 11px;

  border: 0;
  border-radius: 7px;

  color: var(--api-muted);
  background: transparent;

  cursor: pointer;
  font: inherit;
  font-size: 8px;
  font-weight: 850;
}

.tinr-api-docs__lang--active {
  color: #111827;
  background: linear-gradient(135deg, #fde047, #facc15);
  box-shadow: 0 5px 12px rgba(250, 204, 21, .12);
}

.tinr-api-docs__copy {
  min-height: 35px;

  padding: 0 11px;

  border: 1px solid var(--api-border);
  border-radius: 9px;

  color: var(--api-text);
  background: var(--api-surface);

  cursor: pointer;
  font: inherit;
  font-size: 8px;
  font-weight: 850;
}

/* ---------- Code ---------- */

.tinr-api-docs__code {
  width: 100%;
  min-width: 0;
  max-width: 100%;

  overflow-x: auto;
  overflow-y: visible;

  padding: 15px;

  border: 1px solid var(--api-border);
  border-radius: 14px;

  background: #07101d;
}

html[data-theme="light"] .tinr-api-docs__code {
  background: #eef3f8;
}

.tinr-api-docs__code pre {
  min-width: max-content;

  margin: 0;

  color: #45d99a;

  font-family:
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    Menlo,
    monospace;
  font-size: 9px;
  line-height: 1.6;

  white-space: pre;
  tab-size: 2;
}

html[data-theme="light"]
  .tinr-api-docs__code pre {
  color: #047857;
}

/* ---------- Tablet ---------- */

@media (max-width: 980px) {
  .tinr-api-docs {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .tinr-api-docs__content {
    padding: 19px;
  }
}

/* ---------- Mobile ---------- */

@media (max-width: 768px) {
  .tinr-api-docs {
    display: block;

    border-radius: 16px;

    overflow: visible;
  }

  .tinr-api-docs__nav {
    padding: 12px;

    border-right: 0;
    border-bottom: 1px solid var(--api-border);
    border-radius: 16px 16px 0 0;
  }

  .tinr-api-docs__nav-heading {
    padding: 2px 2px 10px;
  }

  .tinr-api-docs__nav-heading h2 {
    font-size: 16px;
  }

  .tinr-api-docs__nav-heading p {
    display: none;
  }

  /* All endpoints are now always reachable from this select.
     No hidden horizontal tab strip. */
  .tinr-api-docs__mobile-picker {
    display: grid;
    gap: 5px;

    margin-top: 10px;
  }

  .tinr-api-docs__mobile-picker > span {
    color: var(--api-muted);

    font-size: 7px;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .tinr-api-docs__mobile-picker select {
    width: 100%;
    height: 43px;

    padding: 0 11px;

    border: 1px solid var(--api-border);
    border-radius: 10px;
    outline: none;

    color: var(--api-text);
    background: var(--api-surface);

    font: inherit;
    font-size: 10px;
    font-weight: 750;
  }

  .tinr-api-docs__nav-list {
    display: none;
  }

  .tinr-api-docs__content {
    padding: 16px 11px 19px;
  }

  .tinr-api-docs__content-head {
    align-items: center;

    margin-bottom: 12px;
  }

  .tinr-api-docs__content-head h2 {
    font-size: 20px;
  }

  .tinr-api-docs__method {
    min-height: 27px;

    padding-inline: 8px;

    font-size: 7px;
  }

  .tinr-api-docs__endpoint {
    padding: 10px;

    border-radius: 10px;
  }

  .tinr-api-docs__endpoint code {
    font-size: 8px;
  }

  .tinr-api-docs__toolbar {
    gap: 7px;
  }

  .tinr-api-docs__tabs {
    min-width: 0;
  }

  .tinr-api-docs__lang {
    padding-inline: 9px;
  }

  .tinr-api-docs__copy {
    flex: 0 0 auto;

    min-height: 34px;
  }

  /* Key mobile fix:
     code wraps inside the viewport instead of disappearing to the right. */
  .tinr-api-docs__code {
    overflow: visible;

    padding: 12px 10px;

    border-radius: 12px;
  }

  .tinr-api-docs__code pre {
    min-width: 0;
    max-width: 100%;

    color: #34d399;

    font-size: 7.7px;
    line-height: 1.58;

    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  html[data-theme="light"]
    .tinr-api-docs__code pre {
    color: #047857;
  }
}

/* Extra small */
@media (max-width: 380px) {
  .tinr-api-docs__content {
    padding-inline: 9px;
  }

  .tinr-api-docs__toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .tinr-api-docs__tabs,
  .tinr-api-docs__copy {
    width: 100%;
  }

  .tinr-api-docs__tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
/* ==========================================================
   Set Preferences
   Existing page-specific prefix retained.
   ========================================================== */

.sp-wrap-in-setpreference {
  width: 100%;
  color: var(--tud-text);
}

.sp-header-in-setpreference {
  margin-bottom: 18px;
}

.sp-header-in-setpreference > span {
  color: var(--tud-yellow);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .12em;
}

.sp-title-in-setpreference {
  margin: 4px 0 5px;
  color: var(--tud-text);
  font-size: clamp(27px, 4vw, 36px);
  font-weight: 880;
  letter-spacing: -.04em;
}

.sp-header-in-setpreference p {
  margin: 0;
  color: var(--tud-muted);
  font-size: 10px;
}

.sp-tabs-in-setpreference {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.sp-tab-in-setpreference {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid var(--tud-border);
  border-radius: 9px;
  color: var(--tud-text-soft);
  background: var(--tud-surface);
  cursor: pointer;
  font: inherit;
  font-size: 8.5px;
  font-weight: 800;
}

.sp-tab-active-in-setpreference {
  color: #111827;
  border-color: rgba(234, 179, 8, .28);
  background: linear-gradient(135deg, #fde047, #facc15);
}

.sp-tab-disabled-in-setpreference {
  cursor: not-allowed;
  opacity: .52;
}

.sp-tab-disabled-in-setpreference small {
  padding: 2px 5px;
  border-radius: 999px;
  color: var(--tud-muted);
  background: var(--tud-surface-soft);
  font-size: 6px;
}

.sp-box-in-setpreference {
  width: 100%;
  min-height: 360px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--tud-border);
  border-radius: 18px;
  background: var(--tud-surface);
  box-shadow: 0 12px 32px var(--tud-shadow);
}

@media (max-width: 768px) {
  .sp-header-in-setpreference {
    padding: 0 2px;
  }

  .sp-tabs-in-setpreference {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sp-tab-in-setpreference {
    justify-content: center;
    padding-inline: 7px;
    text-align: center;
  }

  .sp-box-in-setpreference {
    min-height: 0;
    padding: 11px;
    border-radius: 15px;
  }
}
/* ==========================================================
   Set Leverage
   Existing page-specific prefix retained.
   ========================================================== */

.sl-wrap-in-setpreference {
  position: relative;
  width: min(470px, 100%);
  margin: 0 auto;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--tud-border);
  border-radius: 17px;
  color: var(--tud-text);
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 211, 160, .08), transparent 190px),
    var(--tud-surface-soft);
}

.sl-title-in-setpreference {
  margin: 0 0 18px;
  color: var(--tud-text);
  font-size: 23px;
  font-weight: 880;
  letter-spacing: -.035em;
}

.sl-current-in-setpreference {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  padding: 0 14px;
  border: 1px solid var(--tud-border);
  border-radius: 12px;
  color: var(--tud-muted);
  background: var(--tud-surface);
  font-size: 9.5px;
  font-weight: 720;
}

.sl-current-in-setpreference span {
  color: var(--tud-green);
  font-size: 21px;
  font-weight: 900;
}

.sl-label-in-setpreference {
  display: block;
  margin-bottom: 6px;
  color: var(--tud-muted);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.sl-select-in-setpreference {
  width: 100%;
  height: 44px;
  margin-bottom: 14px;
  padding: 0 12px;
  border: 1px solid var(--tud-border);
  border-radius: 10px;
  outline: none;
  color: var(--tud-text);
  background: var(--tud-surface);
  font: inherit;
  font-size: 10px;
}

.sl-select-in-setpreference:focus {
  border-color: rgba(34, 211, 160, .40);
  box-shadow: 0 0 0 3px rgba(34, 211, 160, .08);
}

.sl-btn-in-setpreference {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(5, 150, 105, .28);
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #20c997, #059669);
  cursor: pointer;
  font: inherit;
  font-size: 9.5px;
  font-weight: 850;
}

@media (max-width: 768px) {
  .sl-wrap-in-setpreference {
    padding: 16px;
    border-radius: 14px;
  }

  .sl-title-in-setpreference {
    font-size: 20px;
  }
}
/* ==========================================================
   Favorite Coins
   Existing page-specific prefix retained.
   ========================================================== */

.fc-wrap-in-favoritecoins {
  width: 100%;
}

.fc-title-in-favoritecoins {
  margin: 0 0 16px;
  color: var(--tud-text);
  font-size: 24px;
  font-weight: 850;
}

.fc-mainbox-in-favoritecoins {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr);
  gap: 12px;
}

.fc-listbox-in-favoritecoins,
.fc-selectedbox-in-favoritecoins {
  min-width: 0;
  border: 1px solid var(--tud-border);
  border-radius: 14px;
  color: var(--tud-text);
  background: var(--tud-surface-soft);
}

.fc-listbox-in-favoritecoins {
  height: 430px;
  overflow-y: auto;
  padding: 11px;
}

.fc-listbox-in-favoritecoins > p:first-child {
  margin: 3px 5px 10px;
  color: var(--tud-text);
  font-size: 11px;
  font-weight: 850;
}

.fc-item-in-favoritecoins {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 5px;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  background: var(--tud-surface);
}

.fc-item-in-favoritecoins:hover {
  border-color: var(--tud-border);
}

.fc-active-in-favoritecoins {
  border-color: rgba(5, 150, 105, .26);
  background: rgba(5, 150, 105, .07);
}

.fc-check-in-favoritecoins {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  display: grid;
  place-items: center;
  border: 1px solid var(--tud-green);
  border-radius: 5px;
  color: #ffffff;
  font-size: 8px;
}

.fc-checkactive-in-favoritecoins {
  background: var(--tud-green);
}

.fc-coinname-in-favoritecoins {
  margin: 0;
  color: var(--tud-text);
  font-size: 9.5px;
  font-weight: 800;
}

.fc-selectedbox-in-favoritecoins {
  min-height: 430px;
  padding: 16px;
}

.fc-selectedtitle-in-favoritecoins {
  margin: 0 0 12px;
  color: var(--tud-text);
  font-size: 14px;
  font-weight: 850;
}

.fc-selectedlist-in-favoritecoins {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.fc-selectedcoin-in-favoritecoins {
  padding: 7px 10px;
  border: 1px solid rgba(5, 150, 105, .22);
  border-radius: 8px;
  color: var(--tud-green);
  background: rgba(5, 150, 105, .07);
  font-size: 8.5px;
  font-weight: 850;
}

.fc-empty-in-favoritecoins {
  color: var(--tud-muted);
  font-size: 9px;
}

@media (max-width: 768px) {
  .fc-mainbox-in-favoritecoins {
    grid-template-columns: 1fr;
  }

  .fc-listbox-in-favoritecoins {
    height: 310px;
  }

  .fc-selectedbox-in-favoritecoins {
    min-height: 150px;
  }
}
/* ==========================================================
   KYC
   ========================================================== */

.tinr-kyc-page {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0;
}

.tinr-kyc-card {
  width: min(520px, 100%);
  padding: 22px;
  border: 1px solid var(--tud-border);
  border-radius: 18px;
  color: var(--tud-text);
  background: var(--tud-surface);
  box-shadow: 0 12px 32px var(--tud-shadow);
}

.tinr-kyc-card h2 {
  margin: 0 0 16px;
  color: var(--tud-text);
  font-size: 21px;
  font-weight: 860;
}

.tinr-kyc-card p {
  color: var(--tud-text-soft);
  font-size: 10px;
  line-height: 1.55;
}

.tinr-kyc-card label {
  display: block;
  margin: 12px 0 6px;
  color: var(--tud-muted);
  font-size: 8px;
  font-weight: 800;
}

.tinr-kyc-card input[type="file"] {
  width: 100%;
  min-height: 43px;
  padding: 7px;
  border: 1px dashed var(--tud-border);
  border-radius: 10px;
  color: var(--tud-muted);
  background: var(--tud-surface-soft);
  font-size: 8px;
}

.tinr-kyc-card input[type="file"]::file-selector-button {
  min-height: 29px;
  margin-right: 8px;
  padding: 0 9px;
  border: 1px solid var(--tud-border);
  border-radius: 7px;
  color: var(--tud-text);
  background: var(--tud-surface);
  cursor: pointer;
  font: inherit;
  font-size: 8px;
  font-weight: 800;
}

.tinr-kyc-submit {
  width: 100%;
  min-height: 43px;
  margin-top: 15px;
  border: 1px solid rgba(234, 179, 8, .28);
  border-radius: 10px;
  color: #111827;
  background: linear-gradient(135deg, #fde047, #facc15);
  cursor: pointer;
  font: inherit;
  font-size: 9.5px;
  font-weight: 850;
}

@media (max-width: 768px) {
  .tinr-kyc-card {
    padding: 16px;
    border-radius: 15px;
  }
}
/* ==========================================================
   TradeINR User Dashboard
   Unique scope: tinr-user-dashboard*
   ========================================================== */

.tinr-user-dashboard {
  --tud-bg: #f4f7fb;
  --tud-surface: #ffffff;
  --tud-surface-soft: #f8fafc;
  --tud-text: #101828;
  --tud-text-soft: #344054;
  --tud-muted: #667085;
  --tud-border: #dfe5ee;
  --tud-yellow: #eab308;
  --tud-green: #059669;
  --tud-red: #dc3545;
  --tud-blue: #2563eb;
  --tud-shadow: rgba(15, 23, 42, .08);

  width: 100%;
  min-height: calc(100vh - var(--tinr-header-height, 76px));
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  color: var(--tud-text);
  background:
    radial-gradient(circle at 74% 0%, rgba(37, 99, 235, .05), transparent 25rem),
    radial-gradient(circle at 20% 12%, rgba(250, 204, 21, .05), transparent 22rem),
    var(--tud-bg);
}

html[data-theme="dark"] .tinr-user-dashboard {
  --tud-bg: #030712;
  --tud-surface: #0b1220;
  --tud-surface-soft: #111b2d;
  --tud-text: #f8fafc;
  --tud-text-soft: #d7dfeb;
  --tud-muted: #94a3b8;
  --tud-border: rgba(148, 163, 184, .16);
  --tud-yellow: #facc15;
  --tud-green: #22d3a0;
  --tud-red: #fb7185;
  --tud-blue: #60a5fa;
  --tud-shadow: rgba(0, 0, 0, .28);
}

.tinr-user-dashboard *,
.tinr-user-dashboard *::before,
.tinr-user-dashboard *::after {
  box-sizing: border-box;
}

.tinr-user-dashboard__content {
  min-width: 0;
  padding: 28px;
}

.tinr-user-dashboard__content-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

@media (max-width: 900px) {
  .tinr-user-dashboard {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .tinr-user-dashboard__content {
    padding: 22px 18px;
  }
}

@media (max-width: 768px) {
  .tinr-user-dashboard {
    min-height: 100dvh;
    display: block;
    padding-bottom: calc(var(--tinr-mobile-bottom-nav-height, 76px) + 12px);
  }

  .tinr-user-dashboard__content {
    padding: 14px 8px 18px;
  }

  .tinr-user-dashboard__content-inner {
    width: 100%;
  }
}
/* ==========================================================
   TradeINR Register
   Unique scope: tinr-register-*
   Premium Dark + Light Theme
   ========================================================== */

.tinr-register-page {
  --tr-bg: #030712;
  --tr-bg-2: #07101d;
  --tr-panel: #0b1220;
  --tr-panel-soft: #101929;
  --tr-input: #07101c;
  --tr-border: rgba(148, 163, 184, .14);
  --tr-border-strong: rgba(148, 163, 184, .24);
  --tr-text: #f8fafc;
  --tr-muted: #8f9bad;
  --tr-yellow: #facc15;
  --tr-yellow-deep: #eab308;
  --tr-green: #22d3a0;
  --tr-red: #fb6471;
  --tr-cyan: #22c7ee;
  --tr-shadow: 0 30px 90px rgba(0,0,0,.42);

  min-height: 100vh;
  width: 100%;
  display: grid;
  place-items: center;
  padding: 118px 24px 72px;
  overflow-x: hidden;
  color: var(--tr-text);
  background:
    radial-gradient(circle at 12% 8%, rgba(250,204,21,.07), transparent 27rem),
    radial-gradient(circle at 88% 24%, rgba(37,99,235,.10), transparent 32rem),
    linear-gradient(145deg, var(--tr-bg), var(--tr-bg-2));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tinr-register-page *,
.tinr-register-page *::before,
.tinr-register-page *::after {
  box-sizing: border-box;
}

.tinr-register-page button,
.tinr-register-page input {
  font: inherit;
}

/* ---------------- SHELL ---------------- */
.tinr-register-shell {
  width: min(1120px, 100%);
  min-height: 710px;
  display: grid;
  grid-template-columns: minmax(0, .90fr) minmax(520px, 1.10fr);
  overflow: hidden;
  border: 1px solid var(--tr-border);
  border-radius: 28px;
  background: rgba(8,15,27,.84);
  box-shadow: var(--tr-shadow);
  backdrop-filter: blur(18px);
}

/* ---------------- BRAND PANEL ---------------- */
.tinr-register-brand-panel {
  position: relative;
  isolation: isolate;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  border-right: 1px solid var(--tr-border);
  background: linear-gradient(160deg, rgba(16,25,42,.98), rgba(6,12,22,.98));
}

.tinr-register-brand-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(rgba(148,163,184,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 88%);
}

.tinr-register-brand-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(4px);
}

.tinr-register-brand-orb--one {
  top: -100px;
  left: -90px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(250,204,21,.17), transparent 68%);
}

.tinr-register-brand-orb--two {
  right: -140px;
  bottom: -150px;
  width: 410px;
  height: 410px;
  background: radial-gradient(circle, rgba(37,99,235,.20), transparent 69%);
}

.tinr-register-brand-content {
  position: relative;
  z-index: 2;
  margin: auto 0;
}

.tinr-register-brand-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
  padding: 7px 10px;
  border: 1px solid rgba(250,204,21,.17);
  border-radius: 999px;
  color: var(--tr-yellow);
  background: rgba(250,204,21,.055);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .10em;
}

.tinr-register-brand-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tr-yellow);
  box-shadow: 0 0 0 4px rgba(250,204,21,.07);
}

.tinr-register-brand-title {
  max-width: 480px;
  margin: 0;
  color: var(--tr-text);
  font-size: clamp(36px, 4vw, 53px);
  font-weight: 860;
  line-height: 1.03;
  letter-spacing: -.052em;
}

.tinr-register-brand-title span {
  color: var(--tr-yellow);
}

.tinr-register-brand-copy {
  max-width: 470px;
  margin: 20px 0 28px;
  color: var(--tr-muted);
  font-size: 14px;
  line-height: 1.7;
}

.tinr-register-brand-grid {
  display: grid;
  gap: 10px;
}

.tinr-register-brand-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(420px,100%);
  padding: 11px 12px;
  border: 1px solid rgba(148,163,184,.10);
  border-radius: 13px;
  background: rgba(255,255,255,.018);
}

.tinr-register-brand-stat-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(250,204,21,.12);
  border-radius: 10px;
  color: var(--tr-yellow);
  background: rgba(250,204,21,.05);
  font-size: 15px;
  font-weight: 850;
}

.tinr-register-brand-stat > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.tinr-register-brand-stat strong {
  color: var(--tr-text);
  font-size: 11px;
  font-weight: 800;
}

.tinr-register-brand-stat > div > span {
  color: var(--tr-muted);
  font-size: 9.5px;
  line-height: 1.35;
}

.tinr-register-brand-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  color: var(--tr-muted);
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.tinr-register-brand-footer span:first-child {
  color: var(--tr-text);
  font-weight: 850;
}

/* ---------------- CARD ---------------- */
.tinr-register-card {
  min-width: 0;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  padding: 42px;
  background:
    radial-gradient(circle at 100% 0%, rgba(34,199,238,.055), transparent 18rem),
    rgba(8,15,27,.95);
  scrollbar-width: thin;
  scrollbar-color: var(--tr-border-strong) transparent;
}

.tinr-register-card::-webkit-scrollbar {
  width: 6px;
}

.tinr-register-card::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--tr-border-strong);
}

.tinr-register-card-top {
  margin-bottom: 24px;
}

.tinr-register-eyebrow,
.tinr-register-section-kicker {
  display: inline-block;
  color: var(--tr-yellow);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .11em;
}

.tinr-register-eyebrow {
  margin-bottom: 8px;
}

.tinr-register-title {
  margin: 0;
  color: var(--tr-text);
  font-size: 33px;
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.tinr-register-title span {
  color: var(--tr-yellow);
}

.tinr-register-subtitle {
  margin: 9px 0 0;
  color: var(--tr-muted);
  font-size: 11.5px;
  line-height: 1.5;
}

/* ---------------- FORM ---------------- */
.tinr-register-form {
  display: grid;
  gap: 15px;
}

.tinr-register-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.tinr-register-field {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.tinr-register-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tinr-register-label {
  color: #c9d3df;
  font-size: 10px;
  font-weight: 750;
}

.tinr-register-optional {
  color: var(--tr-muted);
  font-size: 8.5px;
  font-weight: 650;
}

.tinr-register-input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--tr-border);
  border-radius: 12px;
  outline: 0;
  color: var(--tr-text);
  background: var(--tr-input);
  font-size: 13px;
  font-weight: 600;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.tinr-register-input::placeholder {
  color: #617086;
  font-weight: 500;
}

.tinr-register-input:hover:not(:disabled) {
  border-color: var(--tr-border-strong);
}

.tinr-register-input:focus {
  border-color: rgba(250,204,21,.50);
  box-shadow: 0 0 0 3px rgba(250,204,21,.07);
}

.tinr-register-input:disabled {
  cursor: not-allowed;
  opacity: .68;
}

.tinr-register-input--locked {
  color: var(--tr-yellow) !important;
  border-color: rgba(250,204,21,.22) !important;
  background: rgba(250,204,21,.055) !important;
  cursor: not-allowed;
  font-weight: 700;
}

/* ---------------- PASSWORD ---------------- */
.tinr-register-password-wrap {
  position: relative;
}

.tinr-register-input--password {
  padding-right: 48px;
}

.tinr-register-eye-btn {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  padding: 0;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--tr-muted);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
}

.tinr-register-eye-btn:hover {
  color: var(--tr-text);
  border-color: var(--tr-border);
  background: rgba(255,255,255,.025);
}

/* ---------------- VERIFICATION ---------------- */
.tinr-register-verification-block {
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--tr-border);
  border-radius: 14px;
  background: rgba(255,255,255,.018);
}

.tinr-register-verification-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tinr-register-verification-head > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.tinr-register-verification-head strong {
  color: var(--tr-text);
  font-size: 11px;
  font-weight: 800;
}

.tinr-register-status {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 7.5px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tinr-register-status--pending {
  color: var(--tr-yellow);
  border: 1px solid rgba(250,204,21,.15);
  background: rgba(250,204,21,.055);
}

.tinr-register-status--verified {
  color: var(--tr-green);
  border: 1px solid rgba(34,211,160,.16);
  background: rgba(34,211,160,.055);
}

.tinr-register-otp-panel {
  display: grid;
  gap: 9px;
}

.tinr-register-otp-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.tinr-register-otp-btn,
.tinr-register-resend-btn {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.tinr-register-otp-btn {
  width: 100%;
  border: 1px solid rgba(56,189,248,.18);
  color: var(--tr-cyan);
  background: rgba(56,189,248,.055);
}

.tinr-register-otp-btn--verify {
  color: var(--tr-green);
  border-color: rgba(34,211,160,.18);
  background: rgba(34,211,160,.055);
}

.tinr-register-resend-btn {
  border: 1px solid var(--tr-border);
  color: var(--tr-muted);
  background: transparent;
}

.tinr-register-otp-btn:hover:not(:disabled),
.tinr-register-resend-btn:hover {
  transform: translateY(-1px);
}

.tinr-register-otp-btn:disabled {
  cursor: not-allowed;
  opacity: .55;
  transform: none;
}

/* ---------------- SUBMIT ---------------- */
.tinr-register-submit {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 3px;
  padding: 0 18px;
  border: 1px solid rgba(250,204,21,.40);
  border-radius: 12px;
  color: #0b1016;
  background: linear-gradient(135deg,#ffe66d,var(--tr-yellow) 58%,var(--tr-yellow-deep));
  box-shadow:
    0 12px 28px rgba(250,204,21,.16),
    inset 0 1px 0 rgba(255,255,255,.34);
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 850;
  transition: transform .18s ease, box-shadow .18s ease;
}

.tinr-register-submit:hover {
  transform: translateY(-2px);
  box-shadow:
    0 15px 34px rgba(250,204,21,.22),
    inset 0 1px 0 rgba(255,255,255,.40);
}

/* ---------------- LOGIN LINK ---------------- */
.tinr-register-login-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 1px;
  color: var(--tr-muted);
  font-size: 9.5px;
}

.tinr-register-login-link button {
  padding: 0;
  border: 0;
  color: var(--tr-yellow);
  background: transparent;
  cursor: pointer;
  font-size: inherit;
  font-weight: 800;
}

.tinr-register-login-link button:hover {
  text-decoration: underline;
}

/* ==========================================================
   LIGHT THEME
   ========================================================== */
html[data-theme="light"] .tinr-register-page {
  --tr-bg: #f4f7fb;
  --tr-bg-2: #eef3f8;
  --tr-panel: #ffffff;
  --tr-panel-soft: #f8fafc;
  --tr-input: #ffffff;
  --tr-border: rgba(15,23,42,.11);
  --tr-border-strong: rgba(15,23,42,.20);
  --tr-text: #111827;
  --tr-muted: #64748b;
  --tr-yellow: #d6a800;
  --tr-yellow-deep: #b98a00;
  --tr-green: #059669;
  --tr-red: #dc2626;
  --tr-cyan: #0284c7;
  --tr-shadow: 0 26px 70px rgba(15,23,42,.12);

  color-scheme: light;
  color: #111827;
  background:
    radial-gradient(circle at 12% 8%, rgba(234,179,8,.09), transparent 27rem),
    radial-gradient(circle at 88% 24%, rgba(37,99,235,.055), transparent 32rem),
    linear-gradient(145deg, var(--tr-bg), var(--tr-bg-2));
}

html[data-theme="light"] .tinr-register-shell {
  background: rgba(255,255,255,.93);
}

html[data-theme="light"] .tinr-register-brand-panel {
  background: linear-gradient(160deg, rgba(255,255,255,.99), rgba(246,249,252,.99));
}

html[data-theme="light"] .tinr-register-brand-panel::before {
  background:
    linear-gradient(rgba(15,23,42,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.035) 1px, transparent 1px);
  background-size: 34px 34px;
}

html[data-theme="light"] .tinr-register-brand-stat {
  background: rgba(255,255,255,.80);
}

html[data-theme="light"] .tinr-register-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(8,145,178,.045), transparent 18rem),
    rgba(255,255,255,.98);
}

html[data-theme="light"] .tinr-register-label {
  color: #475569;
}

html[data-theme="light"] .tinr-register-input {
  color: #111827 !important;
  background: #ffffff !important;
}

html[data-theme="light"] .tinr-register-input::placeholder {
  color: #94a3b8;
}

html[data-theme="light"] .tinr-register-verification-block {
  background: #f8fafc;
}

html[data-theme="light"] .tinr-register-eye-btn:hover {
  background: #f8fafc;
}

html[data-theme="light"] .tinr-register-submit {
  color: #111827;
}

html[data-theme="light"] .tinr-register-input--locked {
  color: #8a6a00 !important;
  border-color: rgba(202,138,4,.22) !important;
  background: rgba(234,179,8,.08) !important;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 980px) {
  .tinr-register-page {
    padding-inline: 18px;
  }

  .tinr-register-shell {
    width: min(680px,100%);
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .tinr-register-brand-panel {
    min-height: 260px;
    padding: 30px;
    border-right: 0;
    border-bottom: 1px solid var(--tr-border);
  }

  .tinr-register-brand-content {
    margin: 0;
  }

  .tinr-register-brand-title {
    max-width: 560px;
    font-size: 35px;
  }

  .tinr-register-brand-copy {
    margin: 13px 0 18px;
  }

  .tinr-register-brand-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 7px;
  }

  .tinr-register-brand-stat {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 9px;
  }

  .tinr-register-brand-footer {
    display: none;
  }

  .tinr-register-card {
    max-height: none;
    padding: 36px 34px;
    overflow: visible;
  }
}

@media (max-width: 600px) {
  .tinr-register-page {
    place-items: start center;
    min-height: 100svh;
    padding: 88px 10px 92px;
  }

  .tinr-register-shell {
    width: 100%;
    border-radius: 18px;
  }

  .tinr-register-brand-panel {
    min-height: 0;
    padding: 22px 18px 20px;
  }

  .tinr-register-brand-badge {
    margin-bottom: 11px;
    padding: 5px 8px;
    font-size: 7.5px;
  }

  .tinr-register-brand-title {
    max-width: 340px;
    font-size: 27px;
  }

  .tinr-register-brand-copy {
    max-width: 360px;
    margin: 10px 0 0;
    font-size: 11px;
    line-height: 1.55;
  }

  .tinr-register-brand-grid {
    display: none;
  }

  .tinr-register-card {
    padding: 26px 18px 24px;
  }

  .tinr-register-title {
    font-size: 27px;
  }

  .tinr-register-subtitle {
    font-size: 10.5px;
  }

  .tinr-register-row {
    grid-template-columns: 1fr;
  }

  .tinr-register-input {
    min-height: 48px;
    font-size: 16px;
  }

  .tinr-register-verification-head {
    align-items: flex-start;
  }

  .tinr-register-otp-actions {
    grid-template-columns: 1fr;
  }

  .tinr-register-submit {
    min-height: 48px;
  }
}

@media (max-width: 380px) {
  .tinr-register-page {
    padding-inline: 7px;
  }

  .tinr-register-card {
    padding-inline: 14px;
  }

  .tinr-register-brand-title {
    font-size: 24px;
  }
}

@media (hover: none) {
  .tinr-register-submit:hover,
  .tinr-register-otp-btn:hover:not(:disabled),
  .tinr-register-resend-btn:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tinr-register-page *,
  .tinr-register-page *::before,
  .tinr-register-page *::after {
    transition-duration: .01ms !important;
  }
}

/* Hide legacy Microsoft password reveal control only inside Register */
.tinr-register-input[type="password"]::-ms-reveal,
.tinr-register-input[type="password"]::-ms-clear {
  display: none;
}

/* ==========================================================
   PAGE HEIGHT / SCROLL FIX
   Whole page scrolls naturally; Register card no longer gets
   squeezed into an internal scrollbar on desktop.
   ========================================================== */

.tinr-register-page {
  min-height: 100vh;
  height: auto;
  place-items: start center;
  overflow-x: hidden;
  overflow-y: visible;
  padding-top: 112px;
  padding-bottom: 56px;
}

.tinr-register-shell {
  min-height: 0;
  height: auto;
  align-items: stretch;
  overflow: hidden;
}

.tinr-register-brand-panel {
  min-height: 690px;
}

.tinr-register-card {
  max-height: none;
  height: auto;
  overflow: visible;
  padding: 34px 38px 36px;
}

.tinr-register-card-top {
  margin-bottom: 20px;
}

.tinr-register-form {
  gap: 12px;
}

.tinr-register-verification-block {
  gap: 8px;
  padding: 11px 12px;
}

.tinr-register-input {
  min-height: 45px;
}

.tinr-register-otp-btn,
.tinr-register-resend-btn {
  min-height: 37px;
}

.tinr-register-submit {
  min-height: 47px;
}

/* Medium desktop / short laptop screens */
@media (min-width: 981px) and (max-height: 820px) {
  .tinr-register-page {
    padding-top: 98px;
    padding-bottom: 34px;
  }

  .tinr-register-shell {
    width: min(1080px, 100%);
  }

  .tinr-register-brand-panel {
    min-height: 640px;
    padding: 38px;
  }

  .tinr-register-brand-title {
    font-size: clamp(33px, 3.5vw, 47px);
  }

  .tinr-register-brand-copy {
    margin: 16px 0 22px;
  }

  .tinr-register-brand-grid {
    gap: 8px;
  }

  .tinr-register-brand-stat {
    padding: 9px 10px;
  }

  .tinr-register-card {
    padding: 28px 34px 30px;
  }

  .tinr-register-card-top {
    margin-bottom: 16px;
  }

  .tinr-register-title {
    font-size: 30px;
  }

  .tinr-register-form {
    gap: 10px;
  }

  .tinr-register-verification-block {
    padding: 10px 11px;
  }

  .tinr-register-input {
    min-height: 43px;
  }

  .tinr-register-submit {
    min-height: 45px;
  }
}

/* Tablet/mobile already stacks; keep natural document scrolling */
@media (max-width: 980px) {
  .tinr-register-page {
    place-items: start center;
    overflow-y: visible;
  }

  .tinr-register-shell {
    overflow: hidden;
  }

  .tinr-register-brand-panel {
    min-height: 0;
  }

  .tinr-register-card {
    max-height: none;
    overflow: visible;
  }
}

/* ==========================================================
   TradeINR Premium Admin Sidebar V8
   ========================================================== */

.tinr-admin-sidebar {
  position: sticky;
  top: 0;
  z-index: 80;

  width: 246px;
  min-width: 246px;
  height: 100vh;

  display: flex;
  flex-direction: column;

  overflow-y: auto;

  padding: 12px 10px 14px;

  border-right: 1px solid var(--ta-border);

  background:
    radial-gradient(circle at 15% 0%, rgba(250, 204, 21, .06), transparent 16rem),
    var(--ta-sidebar);

  box-shadow: 10px 0 30px rgba(0, 0, 0, .065);
}

.tinr-admin-sidebar-brand {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 9px;

  margin-bottom: 13px;
  padding: 9px;

  border: 1px solid var(--ta-border);
  border-radius: 14px;

  background:
    linear-gradient(145deg, rgba(250, 204, 21, .045), transparent 56%),
    var(--ta-surface);

  box-shadow: var(--ta-shadow-sm);
}

.tinr-admin-sidebar-brandmark {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(234, 179, 8, .27);
  border-radius: 11px;

  color: #111827;

  background:
    linear-gradient(145deg, #ffe76a, #facc15 56%, #eab308);

  box-shadow: 0 8px 18px rgba(234, 179, 8, .16);

  font-size: 16px;
  font-weight: 900;
}

.tinr-admin-sidebar-brandcopy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.tinr-admin-sidebar-brandcopy strong {
  color: var(--ta-text);
  font-size: 11px;
  font-weight: 880;
}

.tinr-admin-sidebar-brandcopy span {
  overflow: hidden;
  color: var(--ta-muted);
  font-size: 6.5px;
  font-weight: 720;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tinr-admin-sidebar-theme {
  width: 32px;
  height: 32px;

  display: grid;
  place-items: center;

  padding: 0;

  border: 1px solid var(--ta-border);
  border-radius: 9px;

  color: var(--ta-yellow);
  background: var(--ta-surface-soft);

  cursor: pointer;
}

.tinr-admin-sidebar-theme svg {
  width: 15px;
  height: 15px;
}

.tinr-admin-sidebar-section {
  display: grid;
  gap: 3px;
  margin-bottom: 9px;
}

.tinr-admin-sidebar-section__label {
  padding: 6px 10px 4px;

  color: var(--ta-muted);

  font-size: 6.5px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.tinr-admin-sidebar-item {
  width: 100%;
  min-height: 38px;

  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 7px;

  margin: 0;
  padding: 4px 8px;

  border: 1px solid transparent;
  border-radius: 9px;

  color: var(--ta-muted);
  background: transparent;

  cursor: pointer;
  font: inherit;
  text-align: left;

  transition:
    color .16s ease,
    background .16s ease,
    border-color .16s ease,
    transform .16s ease;
}

.tinr-admin-sidebar-item__icon {
  width: 28px;
  height: 28px;

  display: grid;
  place-items: center;

  border: 1px solid transparent;
  border-radius: 8px;

  color: currentColor;
  background: transparent;
}

.tinr-admin-sidebar-item__icon svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.7;
}

.tinr-admin-sidebar-item__label {
  min-width: 0;
  overflow: hidden;

  font-size: 9.2px;
  font-weight: 760;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.tinr-admin-sidebar-item:hover {
  color: var(--ta-text);
  border-color: var(--ta-border);
  background: var(--ta-hover);
  transform: translateX(2px);
}

.tinr-admin-sidebar-item:hover .tinr-admin-sidebar-item__icon {
  color: var(--ta-yellow);
  border-color: rgba(250, 204, 21, .12);
  background: rgba(250, 204, 21, .045);
}

.tinr-admin-sidebar-item--active {
  color: var(--ta-text);

  border-color: rgba(250, 204, 21, .18);

  background:
    linear-gradient(90deg, rgba(250, 204, 21, .10), rgba(250, 204, 21, .028));

  box-shadow:
    inset 3px 0 0 var(--ta-yellow);
}

.tinr-admin-sidebar-item--active .tinr-admin-sidebar-item__icon {
  color: var(--ta-yellow);
  border-color: rgba(250, 204, 21, .14);
  background: rgba(250, 204, 21, .055);
}

.tinr-admin-sidebar-spacer {
  flex: 1;
  min-height: 8px;
}

.tinr-admin-sidebar-item--logout {
  margin-top: 8px;
  color: var(--ta-danger);

  border-color: color-mix(in srgb, var(--ta-danger) 13%, transparent);
  background: color-mix(in srgb, var(--ta-danger) 3%, transparent);
}

.tinr-admin-sidebar-item--logout:hover {
  color: var(--ta-danger);
  border-color: color-mix(in srgb, var(--ta-danger) 23%, transparent);
  background: color-mix(in srgb, var(--ta-danger) 7%, transparent);
}

@media (max-width: 900px) {
  .tinr-admin-sidebar {
    position: sticky;
    top: 0;

    width: 100%;
    min-width: 0;
    height: auto;

    flex-direction: row;
    align-items: center;
    gap: 5px;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 7px 8px;

    border-right: 0;
    border-bottom: 1px solid var(--ta-border);

    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  }

  .tinr-admin-sidebar-brand {
    min-width: 190px;
    margin: 0 5px 0 0;
    padding: 6px 7px;
  }

  .tinr-admin-sidebar-section {
    display: contents;
  }

  .tinr-admin-sidebar-section__label,
  .tinr-admin-sidebar-spacer {
    display: none;
  }

  .tinr-admin-sidebar-item {
    width: auto;
    min-width: max-content;
    min-height: 37px;

    display: flex;

    padding: 4px 9px;
  }

  .tinr-admin-sidebar-item:hover {
    transform: none;
  }

  .tinr-admin-sidebar-item--logout {
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .tinr-admin-sidebar-brand {
    min-width: 78px;
    grid-template-columns: 34px 30px;
  }

  .tinr-admin-sidebar-brandmark {
    width: 34px;
    height: 34px;
  }

  .tinr-admin-sidebar-brandcopy {
    display: none;
  }

  .tinr-admin-sidebar-item__label {
    font-size: 8.5px;
  }
}
.tinr-admin-admin-kyc-container{
  padding:30px;
  color:white;
}

.tinr-admin-admin-kyc-title{
  font-size:42px;
  font-weight:700;
  margin-bottom:25px;
}

.tinr-admin-toolbar-in-admin-kyc{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:25px;
}

.tinr-admin-limit-select-in-admin-kyc{
  width:90px;
  height:48px;
  background:#101d38;
  border:1px solid #233a63;
  border-radius:12px;
  color:white;
  padding:0 12px;
}

.tinr-admin-search-input-in-admin-kyc{
  width:280px;
  height:48px;
  background:#101d38;
  border:1px solid #233a63;
  border-radius:12px;
  color:white;
  padding:0 15px;
}

.tinr-admin-date-input-in-admin-kyc{
  width:180px;
  height:48px;
  background:#101d38;
  border:1px solid #233a63;
  border-radius:12px;
  color:white;
  padding:0 15px;
}

.tinr-admin-date-input-in-admin-kyc::-webkit-calendar-picker-indicator{
  filter:invert(1);
}

.tinr-admin-excel-btn-in-admin-kyc,
.tinr-admin-pdf-btn-in-admin-kyc{
  height:48px;
  min-width:90px;
  border:none;
  border-radius:12px;
  background:#25d9ff;
  color:black;
  font-weight:700;
  cursor:pointer;
}

.tinr-admin-table-wrapper-in-admin-kyc{
  background:#08152e;
  border-radius:16px;
  overflow:hidden;
  border:1px solid #182e4f;
}

.tinr-admin-admin-kyc-table{
  width:100%;
  border-collapse:collapse;
}

.tinr-admin-admin-kyc-table thead{
  background:#1c2948;
}

.tinr-admin-admin-kyc-table th{
  padding:16px;
  text-align:left;
  color:#ffe600;
  font-size:14px;
}

.tinr-admin-admin-kyc-table td{
  padding:16px;
  border-top:1px solid #162745;
  color:white;
}

.tinr-admin-admin-kyc-table tbody tr:hover{
  background:#102040;
}

.tinr-admin-admin-kyc-table a{
  color:#4ec9ff;
  text-decoration:none;
}

.tinr-admin-admin-kyc-table a:hover{
  text-decoration:underline;
}

.tinr-admin-pagination-container{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:20px;
  margin-top:25px;
}

.tinr-admin-pagination-container button{
  background:#25d9ff;
  border:none;
  color:black;
  font-weight:700;
  padding:10px 20px;
  border-radius:10px;
  cursor:pointer;
}

.tinr-admin-pagination-container button:disabled{
  opacity:.4;
  cursor:not-allowed;
}

.tinr-admin-status-approved{
  color:#00ff88;
  font-weight:700;
}

.tinr-admin-status-pending{
  color:#ffc107;
  font-weight:700;
}

.tinr-admin-status-rejected{
  color:#ff4d4f;
  font-weight:700;
}

.tinr-admin-action-btn-approve{
  background:#00d26a;
  border:none;
  padding:8px 14px;
  border-radius:8px;
  color:white;
  cursor:pointer;
  margin-right:8px;
}

.tinr-admin-action-btn-reject{
  background:#ff4d4f;
  border:none;
  padding:8px 14px;
  border-radius:8px;
  color:white;
  cursor:pointer;
}/* ==========================================================
   TradeINR Admin Deposit Requests
   Scope: tinr-admin-*-in-admindeposit
   Uses shared AdminTheme variables for Light + Dark mode.
   ========================================================== */

.tinr-admin-admindeposit-wrapper-in-admindeposit {
  width: 100%;
  min-width: 0;
  padding: 22px;
  color: var(--ta-text, #f8fafc);
}

.tinr-admin-admindeposit-title-in-admindeposit {
  margin: 0 0 18px;
  color: var(--ta-text, #f8fafc) !important;
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -.035em;
}

/* ---------------- FILTER / EXPORT TOOLBAR ---------------- */
.tinr-admin-report-toolbar-in-admindeposit {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px;
  flex-wrap: wrap;
  border: 1px solid var(--ta-border, rgba(148,163,184,.14));
  border-radius: 14px;
  background: var(--ta-surface, #0d1625);
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.tinr-admin-report-limit-in-admindeposit,
.tinr-admin-report-search-in-admindeposit,
.tinr-admin-report-date-in-admindeposit {
  height: 42px;
  min-height: 42px !important;
  border: 1px solid var(--ta-border, rgba(148,163,184,.14)) !important;
  border-radius: 10px !important;
  color: var(--ta-text, #f8fafc) !important;
  background: var(--ta-input, #091321) !important;
  box-shadow: none !important;
}

.tinr-admin-report-limit-in-admindeposit {
  width: 90px;
  padding: 0 10px;
}

.tinr-admin-report-search-in-admindeposit {
  width: min(270px, 100%);
  padding: 0 14px;
}

.tinr-admin-report-date-in-admindeposit {
  width: 180px;
  padding: 0 12px;
}

.tinr-admin-report-excel-btn-in-admindeposit,
.tinr-admin-report-pdf-btn-in-admindeposit {
  min-width: 86px;
  height: 42px;
  border: 1px solid rgba(34,211,160,.22) !important;
  border-radius: 10px;
  color: #07120d !important;
  background: linear-gradient(135deg, #51e7be, var(--ta-green, #22d3a0)) !important;
  box-shadow: 0 8px 20px rgba(34,211,160,.12);
  cursor: pointer;
  font-weight: 800;
}

.tinr-admin-report-excel-btn-in-admindeposit:hover,
.tinr-admin-report-pdf-btn-in-admindeposit:hover {
  filter: brightness(1.03);
}

/* ---------------- GRID TABLE ---------------- */
.tinr-admin-admindeposit-table-in-admindeposit {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--ta-border-strong, rgba(148,163,184,.24)) transparent;
}

.tinr-admin-admindeposit-table-in-admindeposit::-webkit-scrollbar {
  height: 7px;
}

.tinr-admin-admindeposit-table-in-admindeposit::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--ta-border-strong, rgba(148,163,184,.24));
}

/*
  Keep columns readable instead of squeezing action controls.
  The table scrolls horizontally on smaller admin screens.
*/
.tinr-admin-admindeposit-header-in-admindeposit,
.tinr-admin-admindeposit-row-in-admindeposit {
  min-width: 1580px;
  display: grid;
  grid-template-columns:
    92px
    180px
    145px
    105px
    105px
    155px
    135px
    170px
    145px
    220px;
  gap: 10px;
  align-items: center;
}

.tinr-admin-admindeposit-header-in-admindeposit {
  position: sticky;
  top: 0;
  z-index: 3;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--ta-border, rgba(148,163,184,.14));
  border-radius: 12px;
  color: var(--ta-muted, #93a1b5);
  background: var(--ta-surface-raised, #142033);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.tinr-admin-admindeposit-header-in-admindeposit > div {
  min-width: 0;
  color: var(--ta-muted, #93a1b5) !important;
}

.tinr-admin-admindeposit-row-in-admindeposit {
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid var(--ta-border, rgba(148,163,184,.14));
  border-radius: 12px;
  color: var(--ta-text, #f8fafc);
  background: var(--ta-surface, #0d1625);
  box-shadow: 0 8px 22px rgba(0,0,0,.045);
  transition:
    transform .16s ease,
    border-color .16s ease,
    background .16s ease;
}

.tinr-admin-admindeposit-row-in-admindeposit:hover {
  border-color: var(--ta-border-strong, rgba(148,163,184,.24));
  background: var(--ta-surface-soft, #111c2d);
  transform: translateY(-1px);
}

.tinr-admin-admindeposit-row-in-admindeposit > div {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: var(--ta-text, #f8fafc) !important;
  font-size: 11px;
  line-height: 1.45;
}

/* ---------------- STATUS ---------------- */
.tinr-admin-deposit-status-in-admindeposit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid var(--ta-border, rgba(148,163,184,.14));
  border-radius: 999px;
  color: var(--ta-muted, #93a1b5) !important;
  background: var(--ta-surface-soft, #111c2d);
  font-size: 8.5px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tinr-admin-deposit-status-in-admindeposit--pending {
  color: #b98900 !important;
  border-color: rgba(250,204,21,.24);
  background: rgba(250,204,21,.08);
}

.tinr-admin-deposit-status-in-admindeposit--approved {
  color: var(--ta-green, #22d3a0) !important;
  border-color: rgba(34,211,160,.22);
  background: rgba(34,211,160,.07);
}

.tinr-admin-deposit-status-in-admindeposit--rejected {
  color: var(--ta-danger, #fb6471) !important;
  border-color: rgba(251,100,113,.22);
  background: rgba(251,100,113,.07);
}

/* ---------------- RECEIPT ---------------- */
.tinr-admin-receipt-actions-in-admindeposit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.tinr-admin-view-btn-in-admindeposit,
.tinr-admin-download-btn-in-admindeposit {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid rgba(96,165,250,.20);
  border-radius: 8px;
  color: var(--ta-blue, #60a5fa) !important;
  background: rgba(96,165,250,.07) !important;
  text-decoration: none;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.tinr-admin-view-btn-in-admindeposit:hover,
.tinr-admin-download-btn-in-admindeposit:hover {
  border-color: rgba(96,165,250,.38);
  background: rgba(96,165,250,.12) !important;
}

/* ---------------- ADMIN NOTE / ACTIONS ---------------- */
.tinr-admin-note-input-in-admindeposit {
  width: 100%;
  min-height: 72px !important;
  padding: 9px 10px;
  border: 1px solid var(--ta-border, rgba(148,163,184,.14)) !important;
  border-radius: 9px !important;
  color: var(--ta-text, #f8fafc) !important;
  background: var(--ta-input, #091321) !important;
  font-size: 10px;
  line-height: 1.4;
  resize: vertical;
}

.tinr-admin-action-buttons-in-admindeposit {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 7px;
}

.tinr-admin-approve-btn-in-admindeposit,
.tinr-admin-reject-btn-in-admindeposit {
  min-width: 0;
  min-height: 34px;
  padding: 0 8px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 9px;
  font-weight: 850;
  white-space: nowrap;
}

.tinr-admin-approve-btn-in-admindeposit {
  color: var(--ta-green, #22d3a0) !important;
  border: 1px solid rgba(34,211,160,.22) !important;
  background: rgba(34,211,160,.08) !important;
}

.tinr-admin-reject-btn-in-admindeposit {
  color: var(--ta-danger, #fb6471) !important;
  border: 1px solid rgba(251,100,113,.22) !important;
  background: rgba(251,100,113,.07) !important;
}

/* ---------------- PREVIEW MODAL ---------------- */
.tinr-admin-preview-overlay-in-admindeposit {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  background: rgba(2,6,23,.76);
  backdrop-filter: blur(7px);
}

.tinr-admin-preview-image-in-admindeposit {
  max-width: min(1000px, 94vw);
  max-height: 88vh;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0,0,0,.40);
}

.tinr-admin-preview-frame-in-admindeposit {
  width: min(1100px, 94vw);
  height: 86vh;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0,0,0,.40);
}

/* ---------------- PAGINATION ---------------- */
.tinr-admin-pagination-container-in-admindeposit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.tinr-admin-pagination-btn-in-admindeposit {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--ta-border, rgba(148,163,184,.14)) !important;
  border-radius: 9px;
  color: var(--ta-text, #f8fafc) !important;
  background: var(--ta-surface-soft, #111c2d) !important;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.tinr-admin-pagination-btn-in-admindeposit:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.tinr-admin-pagination-text-in-admindeposit {
  color: var(--ta-muted, #93a1b5) !important;
  font-size: 11px;
  font-weight: 750;
}

/* ==========================================================
   LIGHT THEME POLISH
   ========================================================== */
html[data-theme="light"] .tinr-admin-admindeposit-wrapper-in-admindeposit {
  color: #111827;
}

html[data-theme="light"] .tinr-admin-admindeposit-header-in-admindeposit {
  background: #f1f5f9;
}

html[data-theme="light"] .tinr-admin-admindeposit-row-in-admindeposit {
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15,23,42,.045);
}

html[data-theme="light"] .tinr-admin-admindeposit-row-in-admindeposit:hover {
  background: #f8fafc;
}

html[data-theme="light"] .tinr-admin-report-toolbar-in-admindeposit {
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15,23,42,.045);
}

html[data-theme="light"] .tinr-admin-deposit-status-in-admindeposit--approved {
  color: #047857 !important;
}

html[data-theme="light"] .tinr-admin-deposit-status-in-admindeposit--rejected {
  color: #dc2626 !important;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 900px) {
  .tinr-admin-admindeposit-wrapper-in-admindeposit {
    padding: 14px;
  }

  .tinr-admin-report-toolbar-in-admindeposit {
    align-items: stretch;
  }

  .tinr-admin-report-search-in-admindeposit {
    flex: 1 1 220px;
  }
}

@media (max-width: 600px) {
  .tinr-admin-admindeposit-wrapper-in-admindeposit {
    padding: 10px;
  }

  .tinr-admin-admindeposit-title-in-admindeposit {
    font-size: 20px;
  }

  .tinr-admin-report-toolbar-in-admindeposit {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 8px;
    padding: 9px;
  }

  .tinr-admin-report-limit-in-admindeposit {
    width: 100%;
  }

  .tinr-admin-report-search-in-admindeposit {
    width: 100%;
  }

  .tinr-admin-report-date-in-admindeposit {
    width: 100%;
  }

  .tinr-admin-report-excel-btn-in-admindeposit,
  .tinr-admin-report-pdf-btn-in-admindeposit {
    width: 100%;
    min-width: 0;
  }
}

@media (hover: none) {
  .tinr-admin-admindeposit-row-in-admindeposit:hover,
  .tinr-admin-report-excel-btn-in-admindeposit:hover,
  .tinr-admin-report-pdf-btn-in-admindeposit:hover {
    transform: none;
  }
}


/* ==========================================================
   V8 DESKTOP FIT / PREMIUM OVERRIDE
   Keeps Action column visible on a standard admin desktop.
   ========================================================== */

.tinr-admin-admindeposit-wrapper-in-admindeposit {
  padding: 0 !important;
}

.tinr-admin-admindeposit-title-in-admindeposit {
  margin-bottom: 14px !important;
  font-size: 27px !important;
}

.tinr-admin-report-toolbar-in-admindeposit {
  padding: 10px !important;
  border-radius: 13px !important;
  box-shadow: var(--ta-shadow-sm) !important;
}

.tinr-admin-admindeposit-header-in-admindeposit,
.tinr-admin-admindeposit-row-in-admindeposit {
  min-width: 1360px !important;

  grid-template-columns:
    78px
    165px
    130px
    90px
    100px
    145px
    120px
    150px
    125px
    185px !important;

  gap: 8px !important;
}

.tinr-admin-admindeposit-row-in-admindeposit {
  min-height: 58px !important;
  padding-block: 8px !important;
}

.tinr-admin-note-input-in-admindeposit {
  min-height: 56px !important;
}

.tinr-admin-action-buttons-in-admindeposit {
  gap: 5px !important;
}

.tinr-admin-approve-btn-in-admindeposit,
.tinr-admin-reject-btn-in-admindeposit {
  min-height: 31px !important;
  font-size: 8px !important;
}

@media (max-width: 900px) {
  .tinr-admin-admindeposit-wrapper-in-admindeposit {
    padding: 0 !important;
  }
}
.tinr-admin-adminbank-wrapper-in-adminbank {
  padding: 20px;
  color: white;
}

.tinr-admin-adminbank-title-in-adminbank {
  margin-bottom: 20px;
}

.tinr-admin-adminbank-table-in-adminbank {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-x: auto;
}

.tinr-admin-adminbank-header-in-adminbank,
.tinr-admin-adminbank-row-in-adminbank {

  display: grid;

  grid-template-columns:
    100px 150px 300px 140px 180px 160px 120px 150px 80px;

  gap: 1px;

  align-items: start;

  min-width: 1000px;
}

.tinr-admin-adminbank-header-in-adminbank {
  background: #1a2338;
  padding: 12px;
  border-radius: 10px;
  font-weight: 700;
}

.tinr-admin-adminbank-row-in-adminbank {
  background: #111827;
  padding: 12px;
  border-radius: 10px;
}

.tinr-admin-adminbank-row-in-adminbank>div {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.tinr-admin-action-buttons-in-adminbank {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tinr-admin-approve-btn-in-adminbank {
  background: #16a34a;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.tinr-admin-reject-btn-in-adminbank {
  background: #dc2626;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.tinr-admin-delete-reason-in-adminbank {
  margin-bottom: 8px;
  color: #fbbf24;
}

.tinr-admin-status-approved-in-adminbank {
  color: #22c55e;
  font-weight: 700;
}

.tinr-admin-status-rejected-in-adminbank {
  color: #ef4444;
  font-weight: 700;
}

.tinr-admin-status-pending-in-adminbank {
  color: #f59e0b;
  font-weight: 700;
}

.tinr-admin-status-deletepending-in-adminbank {
  color: #f97316;
  font-weight: 700;
}



/* =========================
   FILTER TOOLBAR
========================= */

.tinr-admin-report-controls-in-adminbank {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tinr-admin-report-select-in-adminbank {
  width: 90px;
  height: 42px;
  background: #101827;
  border: 1px solid #2d4266;
  border-radius: 10px;
  color: white;
  padding: 0 10px;
}

.tinr-admin-report-search-in-adminbank {
  width: 260px;
  height: 42px;
  background: #101827;
  border: 1px solid #2d4266;
  border-radius: 10px;
  color: white;
  padding: 0 15px;
}

.tinr-admin-report-date-in-adminbank {
  width: 180px;
  height: 42px;
  background: #101827;
  border: 1px solid #2d4266;
  border-radius: 10px;
  color: white;
  padding: 0 15px;

  color-scheme: dark;
}

.tinr-admin-report-date-in-adminbank::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

/* =========================
   EXPORT BUTTONS
========================= */

.tinr-admin-excel-btn-in-adminbank,
.tinr-admin-pdf-btn-in-adminbank {

  height: 42px;
  min-width: 90px;

  border: none;
  border-radius: 10px;

  background: #22d3ee;

  color: #000;

  font-weight: 700;

  cursor: pointer;
}

.tinr-admin-excel-btn-in-adminbank:hover,
.tinr-admin-pdf-btn-in-adminbank:hover {
  opacity: .9;
}

/* =========================
   PAGINATION
========================= */

.tinr-admin-pagination-in-adminbank {

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 20px;

  margin-top: 25px;
}

.tinr-admin-pagination-in-adminbank button {

  background: #22d3ee;

  color: #000;

  border: none;

  padding: 10px 18px;

  border-radius: 10px;

  font-weight: 600;

  cursor: pointer;
}

.tinr-admin-pagination-in-adminbank button:disabled {

  opacity: .5;

  cursor: not-allowed;
}

.tinr-admin-pagination-in-adminbank span {

  color: white;

  font-size: 16px;

  font-weight: 600;
}.tinr-admin-adminwithdraw-wrapper-in-adminwithdraw {
  padding: 20px;
  color: white;
}

.tinr-admin-adminwithdraw-title-in-adminwithdraw {
  margin-bottom: 20px;
}

.tinr-admin-adminwithdraw-table-in-adminwithdraw {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-x: auto;
}

.tinr-admin-adminwithdraw-header-in-adminwithdraw,
.tinr-admin-adminwithdraw-row-in-adminwithdraw {

  display: grid;

  grid-template-columns:
    80px 280px 100px 100px 100px 120px 120px 120px 120px 120px 120px;

  gap: 12px;

  align-items: start;

  min-width: 1500px;
}

.tinr-admin-adminwithdraw-header-in-adminwithdraw {
  background: #1a2338;
  padding: 12px;
  border-radius: 10px;
  font-weight: 700;
}

.tinr-admin-adminwithdraw-row-in-adminwithdraw {
  background: #111827;
  padding: 12px;
  border-radius: 10px;
}

.tinr-admin-adminwithdraw-row-in-adminwithdraw>div {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.tinr-admin-note-input-in-adminwithdraw {
  width: 100%;
  min-height: 70px;
  padding: 8px;
}

.tinr-admin-action-buttons-in-adminwithdraw {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.tinr-admin-approve-btn-in-adminwithdraw {
  background: #16a34a;
  color: white;
  border: none;
  padding: 1px 0px;
  border-radius: 6px;
  cursor: pointer;
}

.tinr-admin-reject-btn-in-adminwithdraw {
  background: #dc2626;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.tinr-admin-status-approved-in-adminwithdraw {
  color: #22c55e;
  font-weight: 700;
}

.tinr-admin-status-rejected-in-adminwithdraw {
  color: #ef4444;
  font-weight: 700;
}

.tinr-admin-status-pending-in-adminwithdraw {
  color: #f59e0b;
  font-weight: 700;
}



.tinr-admin-report-toolbar-in-adminwithdraw {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tinr-admin-report-limit-in-adminwithdraw,
.tinr-admin-report-search-in-adminwithdraw,
.tinr-admin-report-date-in-adminwithdraw {
  height: 42px;
  background: #101a33;
  border: 1px solid #2e426e;
  border-radius: 10px;
  color: #fff;
  padding: 0 14px;
}

.tinr-admin-report-limit-in-adminwithdraw {
  width: 90px;
}

.tinr-admin-report-search-in-adminwithdraw {
  width: 260px;
}

.tinr-admin-report-date-in-adminwithdraw {
  width: 190px;
}

.tinr-admin-report-excel-btn-in-adminwithdraw,
.tinr-admin-report-pdf-btn-in-adminwithdraw {
  height: 42px;
  padding: 0 30px;
  border: none;
  border-radius: 12px;
  background: #22d3ee;
  font-weight: 600;
  cursor: pointer;
}

.tinr-admin-pagination-container-in-adminwithdraw {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
}

.tinr-admin-pagination-btn-in-adminwithdraw {
  background: #0891b2;
  border: none;
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
}

.tinr-admin-pagination-btn-in-adminwithdraw:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.tinr-admin-pagination-text-in-adminwithdraw {
  color: #fff;
  font-weight: 600;
}

.tinr-admin-report-date-in-adminwithdraw::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}.tinr-admin-admin-container {
  padding: 20px;
  color: white;
}

/* Title */
.tinr-admin-admin-title {
  font-size: 26px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Wrapper for scroll */
.tinr-admin-table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
}

/* Table */
.tinr-admin-admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #0b132b;
  border-radius: 12px;
  overflow: hidden;
}

/* Header */
.tinr-admin-admin-table thead {
  background: #1c2541;
}

.tinr-admin-admin-table th {
  padding: 14px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  color: #cbd5e1;
}

/* Rows */
.tinr-admin-admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #1c2541;
  font-size: 14px;
}

/* Hover effect */
.tinr-admin-admin-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
  transition: 0.2s;
}

/* Special columns */
.tinr-admin-username {
  color: #38bdf8;
  font-weight: 500;
}

.tinr-admin-email {
  color: #94a3b8;
}

.tinr-admin-assets {
  color: #22c55e;
  font-weight: 600;
}

.tinr-admin-volume {
  color: #00ff9d;
  font-weight: bold;
}

/* Loading & error */
.tinr-admin-loading {
  color: #38bdf8;
}

.tinr-admin-error {
  color: red;
}

/* ================= Toolbar ================= */

.tinr-admin-toolbar-in-admin-users {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

/* ================= Select ================= */

.tinr-admin-limit-select-in-admin-users {
  width: 90px;
  height: 42px;

  background: #111827;
  color: #fff;

  border: 1px solid #334155;
  border-radius: 10px;

  padding: 0 12px;
  cursor: pointer;
}

.tinr-admin-limit-select-in-admin-users:focus {
  outline: none;
  border-color: #22d3ee;
}

.tinr-admin-limit-select-in-admin-users option {
  background: #111827;
  color: #fff;
}

/* ================= Search ================= */

.tinr-admin-search-input-in-admin-users {
  width: 260px;
  height: 42px;

  background: #111827;
  color: #fff;

  border: 1px solid #334155;
  border-radius: 10px;

  padding: 0 15px;
}

.tinr-admin-search-input-in-admin-users::placeholder {
  color: #94a3b8;
}

.tinr-admin-search-input-in-admin-users:focus {
  outline: none;
  border-color: #22d3ee;
}

/* ================= Date ================= */

.tinr-admin-date-input-in-admin-users {
  width: 180px;
  height: 42px;

  background: #111827;
  color: #fff;

  border: 1px solid #334155;
  border-radius: 10px;

  padding: 0 12px;
}

.tinr-admin-date-input-in-admin-users:focus {
  outline: none;
  border-color: #22d3ee;
}

/* Calendar icon white */

.tinr-admin-date-input-in-admin-users::-webkit-calendar-picker-indicator {
  filter: brightness(0) invert(1);
  opacity: 1;
  cursor: pointer;
}

/* ================= Buttons ================= */

.tinr-admin-excel-btn-in-admin-users,
.tinr-admin-pdf-btn-in-admin-users {
  height: 42px;
  min-width: 90px;

  border: none;
  border-radius: 10px;

  background: #22d3ee;
  color: #000;

  font-weight: 700;
  cursor: pointer;

  transition: all 0.2s ease;
}

.tinr-admin-excel-btn-in-admin-users:hover,
.tinr-admin-pdf-btn-in-admin-users:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

/* ================= Pagination ================= */

.tinr-admin-pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;

  gap: 15px;
  margin-top: 20px;
}

.tinr-admin-pagination-container button {
  background: #22d3ee;
  color: #000;

  border: none;
  border-radius: 8px;

  padding: 8px 18px;

  font-weight: 700;
  cursor: pointer;
}

.tinr-admin-pagination-container button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.tinr-admin-pagination-container span {
  color: #fff;
  font-weight: 600;
}


/* =========================================
   EDIT USER CONTACT
========================================= */

.tinr-admin-edit-user-contact-btn {
  border: none;
  outline: none;
  padding: 7px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  background: #1677ff;
  color: #ffffff;
  transition: 0.2s ease;
}

.tinr-admin-edit-user-contact-btn:hover {
  background: #095dcc;
  transform: translateY(-1px);
}


/* =========================================
   MODAL OVERLAY
========================================= */

.tinr-admin-edit-user-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 99999;

  padding: 20px;
}


/* =========================================
   MODAL
========================================= */

.tinr-admin-edit-user-modal {
  width: 100%;
  max-width: 470px;

  background: #111827;

  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 14px;

  padding: 22px;

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.45);

  color: #ffffff;
}


/* =========================================
   HEADER
========================================= */

.tinr-admin-edit-user-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 18px;
}

.tinr-admin-edit-user-modal-header h3 {
  margin: 0;

  font-size: 20px;
  font-weight: 700;
}


.tinr-admin-edit-user-close-btn {
  border: none;
  background: transparent;

  color: #ffffff;

  font-size: 28px;

  cursor: pointer;

  line-height: 1;
}


/* =========================================
   USER INFO
========================================= */

.tinr-admin-edit-user-info {
  background: rgba(255, 255, 255, 0.05);

  border-radius: 10px;

  padding: 12px 14px;

  margin-bottom: 20px;
}

.tinr-admin-edit-user-info p {
  margin: 6px 0;

  font-size: 13px;

  color: #d1d5db;
}


/* =========================================
   FORM
========================================= */

.tinr-admin-edit-user-form {
  display: flex;
  flex-direction: column;
}

.tinr-admin-edit-user-form label {
  margin-bottom: 7px;

  font-size: 13px;

  font-weight: 600;

  color: #d1d5db;
}

.tinr-admin-edit-user-form input {
  width: 100%;

  box-sizing: border-box;

  padding: 11px 12px;

  margin-bottom: 16px;

  border-radius: 8px;

  border: 1px solid #374151;

  background: #1f2937;

  color: #ffffff;

  outline: none;

  font-size: 14px;
}

.tinr-admin-edit-user-form input:focus {
  border-color: #1677ff;

  box-shadow:
    0 0 0 2px rgba(22, 119, 255, 0.15);
}


/* =========================================
   BUTTONS
========================================= */

.tinr-admin-edit-user-modal-actions {
  display: flex;

  justify-content: flex-end;

  gap: 10px;

  margin-top: 5px;
}

.tinr-admin-edit-user-cancel-btn,
.tinr-admin-edit-user-update-btn {
  border: none;

  padding: 10px 18px;

  border-radius: 8px;

  cursor: pointer;

  font-size: 14px;

  font-weight: 600;
}

.tinr-admin-edit-user-cancel-btn {
  background: #374151;

  color: #ffffff;
}

.tinr-admin-edit-user-cancel-btn:hover {
  background: #4b5563;
}


.tinr-admin-edit-user-update-btn {
  background: #1677ff;

  color: #ffffff;
}

.tinr-admin-edit-user-update-btn:hover {
  background: #095dcc;
}

.tinr-admin-edit-user-cancel-btn:disabled,
.tinr-admin-edit-user-update-btn:disabled {
  opacity: 0.6;

  cursor: not-allowed;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

  .tinr-admin-edit-user-modal {
    max-width: 100%;

    padding: 18px;

    border-radius: 12px;
  }

  .tinr-admin-edit-user-modal-header h3 {
    font-size: 18px;
  }

  .tinr-admin-edit-user-modal-actions {
    width: 100%;
  }

  .tinr-admin-edit-user-cancel-btn,
  .tinr-admin-edit-user-update-btn {
    flex: 1;
  }

}

/* 📱 Responsive */
@media (max-width: 768px) {
  .tinr-admin-admin-title {
    font-size: 20px;
  }

  .tinr-admin-admin-table th,
  .tinr-admin-admin-table td {
    padding: 10px;
    font-size: 12px;
  }
}.tinr-admin-container {
    padding: 30px;
    color: white;
}

.tinr-admin-tabs {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #222;
    margin-bottom: 20px;
}

.tinr-admin-tab {
    cursor: pointer;
    padding-bottom: 10px;
}

.tinr-admin-tab.active {
    border-bottom: 2px solid yellow;
}.tinr-admin-listContainer {
    max-height: 70vh;
    overflow-y: auto;
    border: 1px solid #222;
}

.tinr-admin-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid #222;
}

.tinr-admin-btn {
    padding: 6px 16px;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 4px;
}

.tinr-admin-btn.on {
    background: #0ecb81;
}

.tinr-admin-btn.off {
    background: #f6465d;
}

.tinr-admin-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

.tinr-admin-col {
    flex: 1;
}

.tinr-admin-digitInput {
    width: 80px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #444;
    background: #0b1220;
    color: white;
}.tinr-admin-listContainer {
    max-height: 70vh;
    overflow-y: auto;
    border: 1px solid #222;
}

.tinr-admin-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid #222;
}

.tinr-admin-btn {
    padding: 6px 16px;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 4px;
}

.tinr-admin-btn.active {
    background: #0ecb81;
}

.tinr-admin-btn.blocked {
    background: #f6465d;
}.tinr-admin-wallet-table-container{
    margin-top:20px;
}

.tinr-admin-wallet-table{
    width:100%;
    border-collapse:collapse;
    background:#0f1722;
    border-radius:8px;
    overflow:hidden;
}

/* HEADER */

.tinr-admin-wallet-table thead{
    background:#111827;
}

.tinr-admin-wallet-table th{
    padding:14px;
    text-align:left;
    color:#facc15;
    font-weight:600;
    border-bottom:1px solid #2a3441;
}

/* BODY */

.tinr-admin-wallet-table td{
    padding:12px;
    border-bottom:1px solid #1e293b;
    color:#e5e7eb;
}

/* ROW HOVER */

.tinr-admin-wallet-table tbody tr:hover{
    background:#172033;
    transition:0.2s;
}

/* TOTAL COLUMN */

.tinr-admin-total-col{
    color:#22c55e;
    font-weight:600;
}

/* TOTAL ROW */

.tinr-admin-total-row{
    background:#111827;
    font-weight:600;
}

.tinr-admin-total-row td{
    padding:14px;
    color:#facc15;
    font-size:15px;
}

.tinr-admin-total-assets{
    color:#22c55e;
    font-size:16px;
    font-weight:700;
}.tinr-admin-wallet-adjustment-container{
    max-width:700px;
    margin-top:20px;
}

.tinr-admin-wallet-adjustment-container h3{
    color:#facc15;
    margin-bottom:20px;
}

.tinr-admin-adjustment-form{
    background:#0f172a;
    padding:25px;
    border-radius:10px;
    border:1px solid #1e293b;
}

/* FORM GROUP */

.tinr-admin-form-group{
    margin-bottom:18px;
    display:flex;
    flex-direction:column;
}

.tinr-admin-form-group label{
    margin-bottom:6px;
    color:#cbd5f5;
}

/* INPUTS */

.tinr-admin-form-group input,
.tinr-admin-form-group select,
.tinr-admin-form-group textarea{

    padding:10px;
    border-radius:6px;
    border:1px solid #334155;
    background:#020617;
    color:white;
}

.tinr-admin-form-group input:focus,
.tinr-admin-form-group select:focus,
.tinr-admin-form-group textarea:focus{
    outline:none;
    border:1px solid #facc15;
}

/* BUTTON */

.tinr-admin-adjust-btn{
    width:100%;
    padding:12px;
    background:#22c55e;
    border:none;
    color:white;
    font-weight:600;
    border-radius:6px;
    cursor:pointer;
}

.tinr-admin-adjust-btn:hover{
    background:#16a34a;
}

/* RESPONSIVE */

@media(max-width:600px){

.tinr-admin-adjustment-form{
    padding:15px;
}

.tinr-admin-adjust-btn{
    font-size:14px;
}

}.tinr-admin-admin-orders-container {
    margin-top: 20px;
}


/* TABLE */

.tinr-admin-orders-table {
    width: 100%;
    border-collapse: collapse;
    background: #0f172a;
    border-radius: 8px;
}

.tinr-admin-orders-table th {
    padding: 14px;
    color: #facc15;
    text-align: left;
}

.tinr-admin-orders-table td {
    padding: 12px;
    border-bottom: 1px solid #1e293b;
}

.tinr-admin-orders-table tbody tr:hover {
    background: #172033;
}

/* LONG SHORT */

.tinr-admin-long {
    color: #22c55e;
    font-weight: 600;
}

.tinr-admin-short {
    color: #ef4444;
    font-weight: 600;
}

.tinr-admin-top-bar-in-admin-open-orders {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.tinr-admin-title-in-admin-open-orders {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
}

.tinr-admin-top-controls-in-admin-open-orders {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.tinr-admin-search-box-in-admin-open-orders {
    width: 260px;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #334155;
    background: #111827;
    color: white;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

.tinr-admin-search-box-in-admin-open-orders:focus {
    border-color: #22d3ee;
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.3);
}

.tinr-admin-date-group-in-admin-open-orders {
    display: flex;
    align-items: center;
    gap: 12px;

    background: #111827;
    padding: 8px 14px;
    border-radius: 12px;
    border: 1px solid #334155;
}

.tinr-admin-date-label-in-admin-open-orders {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

.tinr-admin-date-input-in-admin-open-orders {
    padding: 6px;
    background: transparent;
    color: white;
    border: none;
    outline: none;
    font-size: 14px;
}

.tinr-admin-date-input-in-admin-open-orders::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.tinr-admin-excel-btn-in-admin-open-orders,
.tinr-admin-pdf-btn-in-admin-open-orders {
    padding: 11px 24px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #22d3ee, #06b6d4);
    color: #000;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
}

.tinr-admin-excel-btn-in-admin-open-orders:hover,
.tinr-admin-pdf-btn-in-admin-open-orders:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(34, 211, 238, 0.3);
}


.tinr-admin-limit-select-in-admin-open-orders {
    height: 45px;
    min-width: 90px;

    background: #111827;
    color: white;

    border: 1px solid #334155;
    border-radius: 10px;

    padding: 0 12px;

    outline: none;
    cursor: pointer;
}

.tinr-admin-limit-select-in-admin-open-orders option {
    background: #111827;
    color: white;
}

.tinr-admin-pagination-container-in-admin-open-orders {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;

    margin-top: 25px;
}

.tinr-admin-pagination-container-in-admin-open-orders button {
    padding: 10px 18px;

    border: none;
    border-radius: 8px;

    background: linear-gradient(
        135deg,
        #68b6c2,
        #77c2cf
    );

    color: black;
    font-weight: 700;

    cursor: pointer;
}

.tinr-admin-pagination-container-in-admin-open-orders button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tinr-admin-pagination-container-in-admin-open-orders span {
    color: white;
    font-weight: 600;
}

@media(max-width:768px) {

    .tinr-admin-top-bar-in-admin-open-orders {
        flex-direction: column;
        align-items: flex-start;
    }

    .tinr-admin-top-controls-in-admin-open-orders {
        width: 100%;
        gap: 12px;
    }

    .tinr-admin-search-box-in-admin-open-orders {
        width: 100%;
    }

}.tinr-admin-report-positions-container {
  width: 100%;
  padding: 20px;
  background: #0b1220;
  border-radius: 10px;
}

.tinr-admin-report-title {
  font-size: 18px;
  margin-bottom: 15px;
  color: #fff;
}

.tinr-admin-report-table-header,
.tinr-admin-report-table-row {

  display: grid;
  grid-template-columns:
    1fr 2.2fr 1.3fr 1fr 1fr 1.2fr 1fr 1fr 1fr 1fr 1fr;

  padding: 12px 0;
  align-items: center;
}

.tinr-admin-report-table-header {
  font-size: 13px;
  opacity: .6;
  border-bottom: 1px solid #1e2a45;
}

.tinr-admin-report-table-row {

  border-bottom: 1px solid #1e2a45;
  font-size: 14px;
}

.tinr-admin-report-table-row:hover {
  background: #101a2f;
}

.tinr-admin-profit {
  color: #1ecb81;
  font-weight: 600;
}

.tinr-admin-loss {
  color: #f6465d;
  font-weight: 600;
}


.tinr-admin-limit-select-in-admin-open-positions {
  height: 45px;
  min-width: 90px;

  background: #111827;
  color: white;

  border: 1px solid #334155;
  border-radius: 10px;

  padding: 0 12px;
  cursor: pointer;
}

.tinr-admin-limit-select-in-admin-open-positions option {
  background: #111827;
  color: white;
}

.tinr-admin-pagination-container-in-admin-open-positions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
}

.tinr-admin-pagination-container-in-admin-open-positions button {
  padding: 10px 18px;
  border: none;
  border-radius: 8px;

  background: linear-gradient(135deg,
      #22d3ee,
      #06b6d4);

  color: black;
  font-weight: 700;
  cursor: pointer;
}

.tinr-admin-pagination-container-in-admin-open-positions button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.tinr-admin-pagination-container-in-admin-open-positions span {
  color: white;
  font-weight: 600;
}


.tinr-admin-report-toolbar-in-admin-open-positions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.tinr-admin-search-input-in-admin-open-positions {
  width: 260px;
  height: 42px;

  background: #111827;
  border: 1px solid #334155;
  border-radius: 10px;

  color: white;
  padding: 0 15px;
}

.tinr-admin-date-input-in-admin-open-positions {
  width: 180px;
  height: 42px;

  background: #111827;
  border: 1px solid #334155;
  border-radius: 10px;

  color: white;
  padding: 0 12px;
}

.tinr-admin-excel-btn-in-admin-open-positions,
.tinr-admin-pdf-btn-in-admin-open-positions {
  height: 42px;
  padding: 0 24px;

  border: none;
  border-radius: 10px;

  background: #22d3ee;
  color: black;
  font-weight: 700;

  cursor: pointer;
}

/* responsive */

@media(max-width:1200px) {

  .tinr-admin-report-table-header,
  .tinr-admin-report-table-row {

    grid-template-columns:
      1fr 1fr 1fr 1fr 1fr 1fr;

  }

}.tinr-admin-top-bar-in-admin-fundingfee{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:25px;
  flex-wrap:wrap;
}

.tinr-admin-title-in-admin-fundingfee{
  font-size:32px;
  font-weight:700;
  color:#ffffff;
}

.tinr-admin-top-controls-in-admin-fundingfee{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

.tinr-admin-search-box-in-admin-fundingfee{
  width:260px;
  padding:12px 15px;
  border-radius:10px;
  border:1px solid #334155;
  background:#111827;
  color:white;
  font-size:14px;
  outline:none;
  transition:0.3s;
}

.tinr-admin-search-box-in-admin-fundingfee:focus{
  border-color:#22d3ee;
  box-shadow:0 0 10px rgba(34,211,238,0.3);
}

.tinr-admin-date-group-in-admin-fundingfee{
  display:flex;
  align-items:center;
  gap:12px;

  background:#111827;
  padding:8px 14px;
  border-radius:12px;
  border:1px solid #334155;
}

.tinr-admin-date-label-in-admin-fundingfee{
  color:#ffffff;
  font-size:14px;
  font-weight:600;
}

.tinr-admin-date-input-in-admin-fundingfee{
  padding:6px;
  background:transparent;
  color:white;
  border:none;
  outline:none;
  font-size:14px;
}

.tinr-admin-date-input-in-admin-fundingfee::-webkit-calendar-picker-indicator{
  filter:invert(1);
  cursor:pointer;
}

.tinr-admin-excel-btn-in-admin-fundingfee,
.tinr-admin-pdf-btn-in-admin-fundingfee{
  padding:11px 24px;
  border:none;
  border-radius:10px;
  background:linear-gradient(135deg,#22d3ee,#06b6d4);
  color:#000;
  font-weight:700;
  cursor:pointer;
  transition:0.3s;
  font-size:14px;
}

.tinr-admin-excel-btn-in-admin-fundingfee:hover,
.tinr-admin-pdf-btn-in-admin-fundingfee:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 15px rgba(34,211,238,0.3);
}


.tinr-admin-admin-table-in-admin-fundingfee{
  width:100%;
  border-collapse:collapse;
  background:#0f172a;
  border-radius:14px;
  overflow:hidden;
}

.tinr-admin-admin-table-in-admin-fundingfee thead{
  background:#1e293b;
}

.tinr-admin-admin-table-in-admin-fundingfee th{
  padding:16px;
  text-align:left;
  color:#facc15;
  font-size:15px;
  font-weight:700;
}

.tinr-admin-admin-table-in-admin-fundingfee td{
  padding:14px 16px;
  border-bottom:1px solid #1e293b;
  color:#ffffff;
  font-size:14px;
  font-weight:500;
}

.tinr-admin-admin-table-in-admin-fundingfee tbody tr{
  transition:0.3s;
}

.tinr-admin-admin-table-in-admin-fundingfee tbody tr:hover{
  background:#172033;
}

/* .tinr-admin-admin-fundingfee-container-in-admin-fundingfee{
  margin-top:0px;
} */


/* LIMIT SELECT */

.tinr-admin-limit-select-in-admin-fundingfee {
  height: 38px;
  min-width: 90px;

  background: #111b2e;
  color: #fff;

  border: 1px solid #2b3955;
  border-radius: 10px;

  padding: 0 12px;

  font-size: 14px;
  outline: none;
  cursor: pointer;

  transition: all 0.3s ease;
}

.tinr-admin-limit-select-in-admin-fundingfee:hover {
  border-color: #00d4ff;
}

.tinr-admin-limit-select-in-admin-fundingfee:focus {
  border-color: #00d4ff;
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
}

.tinr-admin-limit-select-in-admin-fundingfee option {
  background: #111b2e;
  color: #fff;
}

@media(max-width:768px){

.tinr-admin-top-bar-in-admin-fundingfee{
flex-direction:column;
align-items:flex-start;
}

.tinr-admin-top-controls-in-admin-fundingfee{
width:100%;
gap:12px;
}

.tinr-admin-search-box-in-admin-fundingfee{
width:100%;
}

}/* Container */
.tinr-admin-admin-report-table-in-admin-tradingfeereport {
  width: 100%;
  padding: 20px;
  color: #fff;
}

/* Title */
.tinr-admin-admin-report-table-in-admin-tradingfeereport h3 {
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 600;
}

/* Table Wrapper */
.tinr-admin-table-wrapper-in-admin-tradingfeereport {
  overflow-x: auto;
  background: #0b1220;
  border-radius: 10px;
  border: 1px solid #1f2a44;
}

/* Table */
.tinr-admin-table-wrapper-in-admin-tradingfeereport table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

/* Header */
.tinr-admin-table-wrapper-in-admin-tradingfeereport thead {
  background: #111a2e;
}

.tinr-admin-table-wrapper-in-admin-tradingfeereport th {
  padding: 12px 10px;
  text-align: left;
  font-weight: 600;
  color: #9fb3ff;
  border-bottom: 1px solid #1f2a44;
}

/* Rows */
.tinr-admin-table-wrapper-in-admin-tradingfeereport td {
  padding: 10px;
  border-bottom: 1px solid #1f2a44;
}

/* Zebra Effect */
.tinr-admin-table-wrapper-in-admin-tradingfeereport tbody tr:nth-child(even) {
  background: #0f172a;
}

/* Hover */
.tinr-admin-table-wrapper-in-admin-tradingfeereport tbody tr:hover {
  background: #1a2440;
  transition: 0.2s;
}

/* Fee Highlight */
.tinr-admin-fee {
  color: #00ffa3;
  font-weight: 500;
}

/* Username */
.tinr-admin-username {
  color: #4da3ff;
  font-weight: 500;
}

.tinr-admin-top-bar-in-admin-tradingfeereport {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.tinr-admin-title-in-admin-tradingfeereport {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
}

.tinr-admin-top-controls-in-admin-tradingfeereport {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.tinr-admin-search-box-in-admin-tradingfeereport {
  width: 260px;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #111827;
  color: white;
  font-size: 14px;
  outline: none;
  transition: 0.3s;
}

.tinr-admin-search-box-in-admin-tradingfeereport:focus {
  border-color: #22d3ee;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.3);
}

.tinr-admin-date-group-in-admin-tradingfeereport {
  display: flex;
  align-items: center;
  gap: 12px;

  background: #111827;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid #334155;
}

.tinr-admin-date-label-in-admin-tradingfeereport {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.tinr-admin-date-input-in-admin-tradingfeereport {
  padding: 6px;
  background: transparent;
  color: white;
  border: none;
  outline: none;
  font-size: 14px;
}

.tinr-admin-date-input-in-admin-tradingfeereport::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

.tinr-admin-excel-btn-in-admin-tradingfeereport,
.tinr-admin-pdf-btn-in-admin-tradingfeereport {
  padding: 11px 24px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
  color: #000;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  font-size: 14px;
}

.tinr-admin-excel-btn-in-admin-tradingfeereport:hover,
.tinr-admin-pdf-btn-in-admin-tradingfeereport:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(34, 211, 238, 0.3);
}


.tinr-admin-limit-select-in-admin-tradingfeereport {
  height: 38px;
  min-width: 90px;

  background: #111b2e;
  color: #fff;

  border: 1px solid #2b3955;
  border-radius: 10px;

  padding: 0 12px;
  border-color: #00d4ff;
  font-size: 14px;
  outline: none;
  cursor: pointer;
}

.tinr-admin-limit-select-in-admin-tradingfeereport option {
  background: #111b2e;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .tinr-admin-table-wrapper-in-admin-tradingfeereport table {
    font-size: 12px;
  }

  .tinr-admin-table-wrapper-in-admin-tradingfeereport th,
  .tinr-admin-table-wrapper-in-admin-tradingfeereport td {
    padding: 8px;
  }



  .tinr-admin-top-bar-in-admin-tradingfeereport {
    flex-direction: column;
    align-items: flex-start;
  }

  .tinr-admin-top-controls-in-admin-tradingfeereport {
    width: 100%;
    gap: 12px;
  }

  .tinr-admin-search-box-in-admin-tradingfeereport {
    width: 100%;
  }
}.tinr-admin-uwtf-wrap-in-userwise-tradingfee {
  width: 100%;
  padding: 20px;
}

.tinr-admin-uwtf-head-in-userwise-tradingfee {
  color: #fff;
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 600;
}

.tinr-admin-uwtf-filter-in-userwise-tradingfee {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.tinr-admin-uwtf-search-in-userwise-tradingfee,
.tinr-admin-uwtf-date-in-userwise-tradingfee {
  height: 46px;
  padding: 0 16px;
  border: 1px solid #1b2c4f;
  border-radius: 12px;
  background: #08162e;
  color: #fff;
  outline: none;
}

.tinr-admin-uwtf-search-in-userwise-tradingfee {
  width: 260px;
}

.tinr-admin-uwtf-date-in-userwise-tradingfee {
  width: 200px;
  color-scheme: dark;
}

.tinr-admin-uwtf-date-in-userwise-tradingfee::-webkit-calendar-picker-indicator {
  filter: brightness(0) invert(1);
  opacity: 1;
  cursor: pointer;
}

.tinr-admin-uwtf-search-in-userwise-tradingfee::placeholder {
  color: #9aa4b2;
}

.tinr-admin-uwtf-btn-in-userwise-tradingfee {
  height: 46px;
  min-width: 100px;
  border: none;
  border-radius: 12px;
  background: #11d9ff;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.tinr-admin-uwtf-btn-in-userwise-tradingfee:hover {
  transform: translateY(-2px);
}

.tinr-admin-uwtf-table-wrap-in-userwise-tradingfee {
  overflow-x: auto;
}

.tinr-admin-uwtf-table-in-userwise-tradingfee {
  width: 100%;
  border-collapse: collapse;
  background: #08162e;
  border-radius: 12px;
  overflow: hidden;
}

.tinr-admin-uwtf-table-in-userwise-tradingfee th {
  background: #0d1f3d;
  color: #fff;
  padding: 14px;
  text-align: left;
}

.tinr-admin-uwtf-table-in-userwise-tradingfee td {
  padding: 14px;
  border-top: 1px solid #152a4f;
  color: #fff;
}

.tinr-admin-uwtf-user-in-userwise-tradingfee {
  font-weight: 500;
}

.tinr-admin-uwtf-fee-in-userwise-tradingfee {
  color: #11d9ff;
  font-weight: 600;
}


/* ==========================================================
   TradeINR Premium Admin Reports V8
   ========================================================== */

.tinr-admin-admin-report {
  width: 100%;
  min-width: 0;
  color: var(--ta-text);
}

.tinr-admin-report-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;

  margin-bottom: 14px;
}

.tinr-admin-report-head > div:first-child {
  min-width: 0;
}

.tinr-admin-report-head > div:first-child > span {
  color: var(--ta-yellow);
  font-size: 7.5px;
  font-weight: 850;
  letter-spacing: .12em;
}

.tinr-admin-report-head h1 {
  margin: 4px 0 3px;
  font-size: 29px;
  font-weight: 880;
}

.tinr-admin-report-head p {
  margin: 0;
  color: var(--ta-muted);
  font-size: 9.5px;
}

.tinr-admin-report-head__status {
  min-height: 34px;

  display: inline-flex;
  align-items: center;
  gap: 7px;

  padding: 0 10px;

  border: 1px solid color-mix(in srgb, var(--ta-green) 17%, transparent);
  border-radius: 10px;

  color: var(--ta-green);
  background: color-mix(in srgb, var(--ta-green) 5%, transparent);

  font-size: 7.5px;
  font-weight: 800;
  white-space: nowrap;
}

.tinr-admin-report-head__status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ta-green);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ta-green) 8%, transparent);
}

/* Main / sub tab rails */
.tinr-admin-admin-report .tinr-admin-main-tabs,
.tinr-admin-admin-report .tinr-admin-sub-tabs {
  display: flex;
  align-items: center;
  gap: 6px;

  overflow-x: auto;
  overflow-y: hidden;

  padding: 7px;

  border: 1px solid var(--ta-border);
  border-radius: 13px;

  background: var(--ta-surface);

  box-shadow: var(--ta-shadow-sm);

  scrollbar-width: none;
}

.tinr-admin-admin-report .tinr-admin-main-tabs {
  margin: 0 0 12px;
}

.tinr-admin-admin-report .tinr-admin-sub-tabs {
  margin: 0 0 12px;
  background: var(--ta-surface-soft);
}

.tinr-admin-admin-report .tinr-admin-main-tabs::-webkit-scrollbar,
.tinr-admin-admin-report .tinr-admin-sub-tabs::-webkit-scrollbar {
  display: none;
}

.tinr-admin-admin-report .tinr-admin-tab {
  position: relative;

  min-width: max-content;
  min-height: 38px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 12px;

  border: 1px solid transparent;
  border-radius: 9px;

  color: var(--ta-muted);
  background: transparent;

  cursor: pointer;

  font-size: 8.5px;
  font-weight: 780;

  white-space: nowrap;

  transition:
    color .16s ease,
    background .16s ease,
    border-color .16s ease,
    transform .16s ease;
}

.tinr-admin-admin-report .tinr-admin-tab:hover {
  color: var(--ta-text);
  border-color: var(--ta-border);
  background: var(--ta-surface-soft);
}

.tinr-admin-admin-report .tinr-admin-sub-tabs .tinr-admin-tab:hover {
  background: var(--ta-surface);
}

.tinr-admin-admin-report .tinr-admin-tab.tinr-admin-active {
  color: var(--ta-text);

  border-color: rgba(250, 204, 21, .18);

  background:
    linear-gradient(135deg, rgba(250, 204, 21, .10), rgba(250, 204, 21, .03));

  box-shadow: inset 0 -2px 0 var(--ta-yellow);
}

.tinr-admin-report-content {
  min-width: 0;

  padding: 15px;

  border: 1px solid var(--ta-border);
  border-radius: 15px;

  background: var(--ta-surface);

  box-shadow: var(--ta-shadow);
}

.tinr-admin-report-content > div {
  min-width: 0;
}

@media (max-width: 700px) {
  .tinr-admin-report-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .tinr-admin-report-head__status {
    width: 100%;
    justify-content: center;
  }

  .tinr-admin-report-content {
    padding: 9px;
    border-radius: 12px;
  }
}
.tinr-admin-top-bar-in-admin-trades-reports {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.tinr-admin-user-activity-title-in-admin-trades-reports {
  font-size: 34px;
  font-weight: 700;
  color: #ffffff;
}

.tinr-admin-top-controls-in-admin-trades-reports {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.tinr-admin-search-box-in-admin-trades-reports {
  width: 260px;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #111827;
  color: white;
  font-size: 14px;
  outline: none;
  transition: 0.3s;
}

.tinr-admin-search-box-in-admin-trades-reports:focus {
  border-color: #22d3ee;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.3);
}

.tinr-admin-date-group-in-admin-trades-reports {
  display: flex;
  align-items: center;
  gap: 12px;

  background: #111827;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid #334155;
}

.tinr-admin-date-label-in-admin-trades-reports {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.tinr-admin-date-input-in-admin-trades-reports {
  padding: 6px;
  background: transparent;
  color: white;
  border: none;
  outline: none;
  font-size: 14px;
}

.tinr-admin-date-input-in-admin-trades-reports::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

.tinr-admin-excel-btn-in-admin-trades-reports,
.tinr-admin-pdf-btn-in-admin-trades-reports {
  padding: 11px 24px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
  color: #000;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  font-size: 14px;
}

.tinr-admin-excel-btn-in-admin-trades-reports:hover,
.tinr-admin-pdf-btn-in-admin-trades-reports:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(34, 211, 238, 0.3);
}

.tinr-admin-report-table-header-in-admin-trades-reports,
.tinr-admin-report-table-row-in-admin-trades-reports {
  display: grid;
  grid-template-columns:
    80px
    /* User Code */
    280px
    /* User */
    120px
    /* Pair */
    70px
    /* Side */
    100px
    /* Leverage */
    120px
    /* Price */
    140px
    /* Qty */
    120px
    /* Size */
    100px
    /* Fee */
    80px
    /* PNL */
    60px
    /* Type */
    170px;
  /* Time */

  align-items: center;
  gap: 10px;

  padding: 16px 10px;
  border-bottom: 1px solid #1e293b;
}

.tinr-admin-report-table-header-in-admin-trades-reports div,
.tinr-admin-report-table-row-in-admin-trades-reports div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tinr-admin-admin-trades-report-container-in-admin-trades-reports {
  width: 100%;
  overflow-x: auto;
}

.tinr-admin-limit-select-in-admin-trades-reports {
  background: #0b1220;
  color: white;
  border: 1px solid #2dd4ff;
  padding: 10px;
  border-radius: 6px;
  outline: none;
  cursor: pointer;
}

@media (max-width: 768px) {

  .tinr-admin-top-bar-in-admin-trades-reports {
    flex-direction: column;
    align-items: flex-start;
  }

  .tinr-admin-top-controls-in-admin-trades-reports {
    width: 100%;
    gap: 12px;
  }

  .tinr-admin-search-box-in-admin-trades-reports {
    width: 100%;
  }

}/* Container */
.tinr-admin-admin-history-container {
  padding: 30px;
  color: white;
}

/* Title */
.tinr-admin-history-title {
  font-size: 22px;
  font-weight: 600;
  color: #f0b90b;
  margin-bottom: 20px;
}

/* Table Wrapper */
.tinr-admin-table-wrapper {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Table */
.tinr-admin-history-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

/* Header */
.tinr-admin-history-table thead {
  background: rgba(255, 255, 255, 0.05);
}

.tinr-admin-history-table th {
  padding: 14px;
  text-align: left;
  font-size: 14px;
  color: #aaa;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Rows */
.tinr-admin-history-table td {
  padding: 14px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Hover Effect */
.tinr-admin-history-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
  transition: 0.3s;
}

/* Amount */
.tinr-admin-amount-cell {
  font-weight: 600;
  color: #0ecb81;
}

/* Status */
.tinr-admin-status {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  text-transform: capitalize;
}

.tinr-admin-status.approved {
  background: rgba(14, 203, 129, 0.15);
  color: #0ecb81;
}

.tinr-admin-status.pending {
  background: rgba(240, 185, 11, 0.15);
  color: #f0b90b;
}

.tinr-admin-status.rejected {
  background: rgba(246, 70, 93, 0.15);
  color: #f6465d;
}

/* Responsive */
@media (max-width: 768px) {
  .tinr-admin-history-title {
    font-size: 18px;
  }

  .tinr-admin-history-table {
    font-size: 12px;
  }

  .tinr-admin-history-table th,
  .tinr-admin-history-table td {
    padding: 10px;
  }
}.tinr-admin-admin-openorderhistory-container {
    width: 100%;
    overflow-x: auto;
}

.tinr-admin-title-in-admin-openorderhistory {
    font-size: 34px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.tinr-admin-openorders-table-header-in-admin-openorderhistory {

    display: grid;

    grid-template-columns:
        100px 230px 220px 170px 100px 160px 140px 120px 140px;

    gap: 15px;

    padding: 16px 18px;

    background: #1e293b;

    border-radius: 14px 14px 0 0;

    color: #cbd5e1;

    font-weight: 700;

    font-size: 14px;
}

.tinr-admin-openorders-table-row-in-admin-openorderhistory {

    display: grid;

    grid-template-columns:
        100px 230px 220px 170px 100px 160px 140px 120px 140px;

    gap: 15px;

    align-items: center;

    padding: 18px;

    margin-bottom: 10px;

    background: #0f172a;

    border: 1px solid #1e293b;

    border-radius: 16px;

    color: white;

    transition: 0.3s;
}

.tinr-admin-openorders-table-row-in-admin-openorderhistory:hover {
    border-color: #22d3ee;
    background: #111827;
}

.tinr-admin-coin-info-in-admin-openorderhistory {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tinr-admin-coin-logo-in-admin-openorderhistory {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.tinr-admin-status-text-in-admin-openorderhistory {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tinr-admin-filled-status-in-admin-openorderhistory {
    color: #00ff9d;
}

.tinr-admin-cancelled-status-in-admin-openorderhistory {
    color: #ff4d4f;
}

.tinr-admin-open-status-in-admin-openorderhistory {
    color: #ffa500;
}


.tinr-admin-top-bar-in-admin-openorderhistory {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 25px;
}

.tinr-admin-top-controls-in-admin-openorderhistory {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.tinr-admin-search-box-in-admin-openorderhistory {
    width: 260px;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #334155;
    background: #111827;
    color: white;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

.tinr-admin-search-box-in-admin-openorderhistory:focus {
    border-color: #22d3ee;
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.3);
}

.tinr-admin-date-group-in-admin-openorderhistory {
    display: flex;
    align-items: center;
    gap: 12px;

    background: #111827;
    padding: 8px 14px;
    border-radius: 12px;
    border: 1px solid #334155;
}

.tinr-admin-date-label-in-admin-openorderhistory {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

.tinr-admin-date-input-in-admin-openorderhistory {
    padding: 6px;
    background: transparent;
    color: white;
    border: none;
    outline: none;
    font-size: 14px;
}

.tinr-admin-date-input-in-admin-openorderhistory::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.tinr-admin-excel-btn-in-admin-openorderhistory,
.tinr-admin-pdf-btn-in-admin-openorderhistory {
    padding: 11px 24px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #22d3ee, #06b6d4);
    color: #000;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
}


.tinr-admin-limit-select-in-admin-openorderhistory {
    height: 45px;
    min-width: 90px;

    background: #111827;
    color: white;

    border: 1px solid #334155;
    border-radius: 10px;

    padding: 0 12px;

    outline: none;
    cursor: pointer;
}

.tinr-admin-limit-select-in-admin-openorderhistory option {
    background: #111827;
    color: white;
}

.tinr-admin-pagination-container-in-admin-openorderhistory {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;

    margin-top: 25px;
}

.tinr-admin-pagination-container-in-admin-openorderhistory button {
    padding: 10px 18px;

    border: none;
    border-radius: 8px;

    background: linear-gradient(135deg,
            #22d3ee,
            #06b6d4);

    color: black;
    font-weight: 700;

    cursor: pointer;
}

.tinr-admin-pagination-container-in-admin-openorderhistory button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tinr-admin-pagination-container-in-admin-openorderhistory span {
    color: white;
    font-weight: 600;
}

.tinr-admin-excel-btn-in-admin-openorderhistory:hover,
.tinr-admin-pdf-btn-in-admin-openorderhistory:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(34, 211, 238, 0.3);
}

@media(max-width:1400px) {

    .tinr-admin-openorders-table-header-in-admin-openorderhistory,
    .tinr-admin-openorders-table-row-in-admin-openorderhistory {
        min-width: 1450px;
    }

}

@media(max-width:768px) {

    .tinr-admin-title-in-admin-openorderhistory {
        font-size: 28px;
    }

}/* Container */
.tinr-admin-report-container {
  padding: 20px;
  background: #0b1320;
  min-height: 100vh;
  color: #fff;
}

/* Title */
.tinr-admin-report-title {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Table Wrapper (scroll for mobile) */
.tinr-admin-table-wrapper {
  overflow-x: auto;
  border-radius: 10px;
}

/* Table */
.tinr-admin-report-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

/* Header */
.tinr-admin-report-table thead {
  background: linear-gradient(90deg, #1f1d1d, #58504ed0);
}

.tinr-admin-report-table th {
  padding: 12px;
  text-align: left;
  font-weight: 600;
  color: #fff;
}

/* Rows */
.tinr-admin-report-table td {
  padding: 10px;
  border-bottom: 1px solid #1e2a3a;
}

/* Hover */
.tinr-admin-report-table tbody tr:hover {
  background: #111c2e;
}

/* Positive / Negative */
.tinr-admin-positive {
  color: #00ff9d;
  font-weight: bold;
}

.tinr-admin-negative {
  color: #ff4d4f;
  font-weight: bold;
}

/* No data */
.tinr-admin-no-data {
  text-align: center;
  padding: 20px;
  color: #aaa;
}

/* 🔥 Tablet Responsive */
@media (max-width: 992px) {
  .tinr-admin-report-title {
    font-size: 20px;
  }

  .tinr-admin-report-table th,
  .tinr-admin-report-table td {
    padding: 8px;
    font-size: 14px;
  }
}

/* 🔥 Mobile Responsive (Card Style) */
@media (max-width: 600px) {
  .tinr-admin-report-table thead {
    display: none;
  }

  .tinr-admin-report-table,
  .tinr-admin-report-table tbody,
  .tinr-admin-report-table tr,
  .tinr-admin-report-table td {
    display: block;
    width: 100%;
  }

  .tinr-admin-report-table tr {
    margin-bottom: 15px;
    background: #111c2e;
    border-radius: 8px;
    padding: 10px;
  }

  .tinr-admin-report-table td {
    text-align: right;
    padding: 8px;
    position: relative;
  }

  .tinr-admin-report-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    text-align: left;
    font-weight: bold;
    color: #aaa;
  }
}.tinr-admin-wallet-container {
  display: flex;
  height: 100vh;
  background: #0b1320;
  color: white;
}

/* LEFT SIDE */
.tinr-admin-left {
  width: 25%;
  border-right: 1px solid #1e2a3a;
  overflow-y: auto;
  padding: 10px;
}

.tinr-admin-user-item {
  padding: 10px;
  margin-bottom: 8px;
  background: #111c2e;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.tinr-admin-user-item:hover {
  background: #1e2a3a;
}

.tinr-admin-user-item.active {
  background: #ff7b7b;
  color: #fff;
}

/* RIGHT SIDE */
.tinr-admin-right {
  width: 75%;
  padding: 20px;
  overflow-y: auto;
}

/* TABLE */
.tinr-admin-table-wrapper {
  overflow-x: auto;
}

.tinr-admin-report-table {
  width: 100%;
  border-collapse: collapse;
}

.tinr-admin-report-table th {
  background: #ff7b7b;
  padding: 10px;
}

.tinr-admin-report-table td {
  padding: 10px;
  border-bottom: 1px solid #1e2a3a;
}

/* COLORS */
.tinr-admin-positive {
  color: #00ff9d;
}

.tinr-admin-negative {
  color: #ff4d4f;
}

/* MOBILE */
@media (max-width: 768px) {
  .tinr-admin-wallet-container {
    flex-direction: column;
  }

  .tinr-admin-left, .tinr-admin-right {
    width: 100%;
  }
}.tinr-admin-coinwise-container {
  display: flex;
  gap: 20px;
  padding: 10px;
}

/* LEFT PANEL */
.tinr-admin-coin-list {
  width: 25%;
  background: #0f1b2b;
  padding: 15px;
  border-radius: 8px;
}

.tinr-admin-coin-list h3 {
  color: #fff;
  margin-bottom: 10px;
}

/* COIN ITEM */
.tinr-admin-coin-item {
  padding: 10px;
  margin: 6px 0;
  background: #1e2a38;
  color: #ccc;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.tinr-admin-coin-item:hover {
  background: #2c3e50;
}

.tinr-admin-coin-item.active {
  background: #ff6b6b;
  color: #fff;
}

/* RIGHT TABLE */
.tinr-admin-trade-table {
  width: 75%;
}

.tinr-admin-trade-table h3 {
  color: #fff;
  margin-bottom: 10px;
}

/* TABLE */
.tinr-admin-trade-table table {
  width: 100%;
  border-collapse: collapse;
  background: #0f1b2b;
  border-radius: 8px;
  overflow: hidden;
}

.tinr-admin-trade-table th {
  background: #1c2b3a;
  color: #ccc;
  padding: 12px;
  text-align: left;
  font-size: 14px;
}

.tinr-admin-trade-table td {
  padding: 10px;
  border-bottom: 1px solid #1f2d3d;
  color: #ddd;
  font-size: 13px;
}

/* ROW HOVER */
.tinr-admin-trade-table tr:hover {
  background: #1a2634;
}

/* BUY / SELL COLORS */
.tinr-admin-buy {
  color: #00ff9d;
  font-weight: bold;
}

.tinr-admin-sell {
  color: #ff4d4f;
  font-weight: bold;
}.tinr-admin-container-userwisetadehistory {
  display: flex;
  gap: 20px;
  padding: 10px;
}

/* LEFT PANEL */
.tinr-admin-user-list-userwisetadehistory {
  width: 25%;
  background: #0f1b2b;
  padding: 15px;
  border-radius: 8px;
}

.tinr-admin-user-list-userwisetadehistory h3 {
  color: #fff;
  margin-bottom: 10px;
}

/* USER ITEM */
.tinr-admin-user-item-userwisetadehistory {
  padding: 10px;
  margin: 6px 0;
  background: #1e2a38;
  color: #ccc;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.tinr-admin-user-item-userwisetadehistory:hover {
  background: #2c3e50;
}

.tinr-admin-user-item-userwisetadehistory.active {
  background: #ff6b6b;
  color: #fff;
}

/* RIGHT TABLE */
.tinr-admin-table-userwisetadehistory {
  width: 75%;
}

.tinr-admin-table-userwisetadehistory h3 {
  color: #fff;
  margin-bottom: 10px;
}

/* TABLE */
.tinr-admin-table-userwisetadehistory table {
  width: 100%;
  border-collapse: collapse;
  background: #0f1b2b;
  border-radius: 8px;
  overflow: hidden;
}

.tinr-admin-table-userwisetadehistory th {
  background: #1c2b3a;
  color: #ccc;
  padding: 12px;
  text-align: left;
  font-size: 14px;
}

.tinr-admin-table-userwisetadehistory td {
  padding: 10px;
  border-bottom: 1px solid #1f2d3d;
  color: #ddd;
  font-size: 13px;
}

.tinr-admin-table-userwisetadehistory tr:hover {
  background: #1a2634;
}

/* BUY / SELL COLORS */
.tinr-admin-buy-userwisetadehistory {
  color: #00ff9d;
  font-weight: bold;
}

.tinr-admin-sell-userwisetadehistory {
  color: #ff4d4f;
  font-weight: bold;
}


/* Header */
.tinr-admin-user-header-userwisetadehistory {
    display: grid;
    grid-template-columns: 100px 1fr;
    background: #243041;
    color: #fff;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 8px;
}

/* User Row */
.tinr-admin-user-item-userwisetadehistory {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
    padding: 12px;
    margin-bottom: 6px;
    border-radius: 6px;
    cursor: pointer;
    background: #1b2432;
    transition: 0.2s;
}

.tinr-admin-user-item-userwisetadehistory:hover {
    background: #2a3648;
}

.tinr-admin-user-item-userwisetadehistory.active {
    background: #ff6b6b;
    color: #fff;
}.tinr-admin-container-userwiseopen {
  display: flex;
  gap: 20px;
  padding: 10px;
}

/* LEFT */
.tinr-admin-user-list-userwiseopen {
  width: 25%;
  background: #0f1b2b;
  padding: 15px;
  border-radius: 8px;
}

.tinr-admin-user-item-userwiseopen {
  padding: 10px;
  margin: 6px 0;
  background: #1e2a38;
  color: #ccc;
  border-radius: 6px;
  cursor: pointer;
}

.tinr-admin-user-item-userwiseopen.active {
  background: #ff6b6b;
  color: #fff;
}

/* RIGHT */
.tinr-admin-table-userwiseopen {
  width: 75%;
}

.tinr-admin-table-userwiseopen table {
  width: 100%;
  border-collapse: collapse;
  background: #0f1b2b;
}

.tinr-admin-table-userwiseopen th {
  background: #1c2b3a;
  padding: 12px;
  color: #ccc;
}

.tinr-admin-table-userwiseopen td {
  padding: 10px;
  border-bottom: 1px solid #1f2d3d;
}

/* COLORS */
.tinr-admin-buy-userwiseopen { color: #00ff9d; }
.tinr-admin-sell-userwiseopen { color: #ff4d4f; }

.tinr-admin-profit-userwiseopen { color: #00ff9d; }
.tinr-admin-loss-userwiseopen { color: #ff4d4f; }/* .tinr-admin-category-container {
  padding: 20px;
  color: white;
}

.tinr-admin-category-container h2 {
  margin-bottom: 20px;
  font-size: 24px;
}


.tinr-admin-category-table {
  width: 100%;
  max-width: 500px;
  border-collapse: collapse;
  background: #0b132b;
  border-radius: 10px;
  overflow: hidden;
}

.tinr-admin-category-table thead {
  background: #1c2541;
}

.tinr-admin-category-table th {
  padding: 12px;
  text-align: left;
  color: #cbd5e1;
}

.tinr-admin-category-table td {
  padding: 12px;
  border-bottom: 1px solid #1c2541;
}
.tinr-admin-user-name {
  color: #38bdf8;
  font-weight: 500;
}

.tinr-admin-category-table tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.tinr-admin-cat-name {
  font-weight: 600;
  color: #38bdf8;
}

.tinr-admin-cat-amount {
  font-weight: bold;
  color: #00ff9d;
}

@media (max-width: 600px) {
  .tinr-admin-category-table {
    font-size: 13px;
  }
} */












.tinr-admin-category-container {
  padding: 20px;
  color: white;
}

.tinr-admin-category-title {
  margin-bottom: 20px;
  font-size: 22px;
}

.tinr-admin-category-table {
  width: 100%;
  border-collapse: collapse;
  background: #111a2e;
  border-radius: 10px;
  overflow: hidden;
}

.tinr-admin-category-table th,
.tinr-admin-category-table td {
  padding: 12px;
  text-align: center;
}

.tinr-admin-category-table th {
  background: #1e2a45;
}

.tinr-admin-category-table tr {
  border-bottom: 1px solid #222;
}

.tinr-admin-category-table input {
  padding: 8px;
  width: 120px;
  border-radius: 6px;
  border: none;
  outline: none;
  text-align: center;
}

.tinr-admin-save-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background: #1ecb81;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}
.tinr-admin-fee-container {
  padding: 20px;
  color: white;
}

.tinr-admin-fee-title {
  margin-bottom: 20px;
  font-size: 22px;
}

.tinr-admin-fee-table {
  width: 100%;
  border-collapse: collapse;
  background: #111a2e;
  border-radius: 10px;
  overflow: hidden;
}

.tinr-admin-fee-table th,
.tinr-admin-fee-table td {
  padding: 12px;
  text-align: center;
}

.tinr-admin-fee-table th {
  background: #1e2a45;
}

.tinr-admin-fee-table tr {
  border-bottom: 1px solid #222;
}

.tinr-admin-fee-table input {
  padding: 8px;
  width: 100px;
  border-radius: 6px;
  border: none;
  text-align: center;
}

.tinr-admin-save-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background: #1ecb81;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}.tinr-admin-settings-page {
  padding: 30px;
  color: white;
}

.tinr-admin-settings-page h2 {
  margin-bottom: 20px;
}

.tinr-admin-settings-form {
  max-width: 400px;
}

.tinr-admin-form-group {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.tinr-admin-form-group label {
  margin-bottom: 5px;
  font-size: 14px;
}

.tinr-admin-form-group input {
  padding: 8px;
  border-radius: 4px;
  border: none;
  outline: none;
}

.tinr-admin-save-btn {
  padding: 8px 16px;
  background: white;
  color: black;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}/* ==========================================================
   TradeINR Admin Layout V8
   ========================================================== */

.tinr-admin-shell {
  width: 100%;
  min-height: 100vh;

  display: flex;
  align-items: stretch;

  color: var(--ta-text);

  background:
    radial-gradient(circle at 88% 0%, rgba(37, 99, 235, .055), transparent 30rem),
    radial-gradient(circle at 42% 0%, rgba(250, 204, 21, .025), transparent 22rem),
    var(--ta-bg);
}

.tinr-admin-content {
  min-width: 0;
  flex: 1;

  min-height: 100vh;

  padding: 22px 24px 30px;

  overflow-x: hidden;

  background: transparent;
}

@media (max-width: 900px) {
  .tinr-admin-shell {
    flex-direction: column;
  }

  .tinr-admin-content {
    min-height: auto;
    padding: 14px 12px 24px;
  }
}

@media (max-width: 520px) {
  .tinr-admin-content {
    padding: 10px 7px 20px;
  }
}
/* ==========================================================
   TradeINR ADMIN PREMIUM CONTROL CENTER V8
   Shared Light / Dark tokens and admin-wide polish.
   ========================================================== */

.tinr-admin-shell {
  --ta-bg: #050914;
  --ta-bg-2: #08101d;
  --ta-sidebar: #080f1c;
  --ta-surface: #0d1625;
  --ta-surface-soft: #111c2d;
  --ta-surface-raised: #142033;
  --ta-input: #091321;

  --ta-border: rgba(148, 163, 184, .13);
  --ta-border-strong: rgba(148, 163, 184, .23);

  --ta-text: #f8fafc;
  --ta-text-soft: #dbe4ef;
  --ta-muted: #93a1b5;

  --ta-yellow: #facc15;
  --ta-yellow-2: #ffe66d;
  --ta-green: #22d3a0;
  --ta-danger: #fb6471;
  --ta-cyan: #22c7ee;
  --ta-blue: #60a5fa;
  --ta-violet: #a78bfa;
  --ta-orange: #f59e0b;

  --ta-hover: rgba(255, 255, 255, .035);
  --ta-shadow-sm: 0 8px 22px rgba(0, 0, 0, .12);
  --ta-shadow: 0 20px 54px rgba(0, 0, 0, .24);

  color-scheme: dark;
  color: var(--ta-text);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

html[data-theme="light"] .tinr-admin-shell {
  --ta-bg: #f3f6fa;
  --ta-bg-2: #edf2f7;
  --ta-sidebar: #ffffff;
  --ta-surface: #ffffff;
  --ta-surface-soft: #f8fafc;
  --ta-surface-raised: #f1f5f9;
  --ta-input: #ffffff;

  --ta-border: rgba(15, 23, 42, .095);
  --ta-border-strong: rgba(15, 23, 42, .17);

  --ta-text: #101828;
  --ta-text-soft: #344054;
  --ta-muted: #667085;

  --ta-yellow: #d6a800;
  --ta-yellow-2: #facc15;
  --ta-green: #059669;
  --ta-danger: #dc3545;
  --ta-cyan: #0284c7;
  --ta-blue: #2563eb;
  --ta-violet: #7c3aed;
  --ta-orange: #d97706;

  --ta-hover: #f4f6f9;
  --ta-shadow-sm: 0 8px 22px rgba(15, 23, 42, .055);
  --ta-shadow: 0 18px 44px rgba(15, 23, 42, .075);

  color-scheme: light;
}

.tinr-admin-main-content {
  margin-top: 0 !important;
  padding: 0 !important;
  min-height: 100vh !important;
  overflow: visible !important;
  background: var(--ta-bg, var(--tinr-bg)) !important;
}

.tinr-admin-shell *,
.tinr-admin-shell *::before,
.tinr-admin-shell *::after {
  box-sizing: border-box;
}

.tinr-admin-shell button,
.tinr-admin-shell a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.tinr-admin-shell a {
  color: var(--ta-blue);
}

.tinr-admin-shell h1,
.tinr-admin-shell h2,
.tinr-admin-shell h3,
.tinr-admin-shell h4,
.tinr-admin-shell h5,
.tinr-admin-shell h6 {
  color: var(--ta-text) !important;
  letter-spacing: -.025em;
}

.tinr-admin-shell p,
.tinr-admin-shell label,
.tinr-admin-shell small {
  color: var(--ta-muted);
}

/* Inputs */
.tinr-admin-shell input:not([type="checkbox"]):not([type="radio"]),
.tinr-admin-shell select,
.tinr-admin-shell textarea {
  min-height: 42px;
  border: 1px solid var(--ta-border) !important;
  border-radius: 10px !important;
  color: var(--ta-text) !important;
  background: var(--ta-input) !important;
  box-shadow: none !important;
  outline: none;
  transition:
    border-color .16s ease,
    box-shadow .16s ease,
    background .16s ease;
}

.tinr-admin-shell textarea {
  min-height: 92px;
  resize: vertical;
}

.tinr-admin-shell input::placeholder,
.tinr-admin-shell textarea::placeholder {
  color: var(--ta-muted) !important;
  opacity: .72;
}

.tinr-admin-shell input:focus,
.tinr-admin-shell select:focus,
.tinr-admin-shell textarea:focus {
  border-color: rgba(250, 204, 21, .42) !important;
  box-shadow: 0 0 0 3px rgba(250, 204, 21, .065) !important;
}

html[data-theme="dark"]
  .tinr-admin-shell
  input[type="date"]::-webkit-calendar-picker-indicator {
  filter: brightness(0) invert(1);
}

/* Buttons */
.tinr-admin-shell button {
  font-weight: 760;
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    border-color .15s ease,
    filter .15s ease;
}

.tinr-admin-shell button:not(:disabled):active {
  transform: scale(.975);
}

.tinr-admin-shell button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

/* Tables */
.tinr-admin-shell table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0 !important;

  color: var(--ta-text) !important;
  background: var(--ta-surface) !important;

  border: 1px solid var(--ta-border) !important;
  border-radius: 13px;

  overflow: hidden;
}

.tinr-admin-shell thead,
.tinr-admin-shell thead tr {
  background: var(--ta-surface-raised) !important;
}

.tinr-admin-shell th {
  color: var(--ta-muted) !important;
  background: var(--ta-surface-raised) !important;
  border-color: var(--ta-border) !important;

  font-size: 9px !important;
  font-weight: 830 !important;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.tinr-admin-shell td {
  color: var(--ta-text) !important;
  background: var(--ta-surface) !important;
  border-color: var(--ta-border) !important;
}

.tinr-admin-shell tbody tr:hover td {
  background: var(--ta-hover) !important;
}

/* Common semantic buttons */
.tinr-admin-shell [class*="approve"],
.tinr-admin-shell [class*="accept"],
.tinr-admin-shell [class*="verify"],
.tinr-admin-shell [class*="success"] {
  color: var(--ta-green) !important;
  border-color: color-mix(in srgb, var(--ta-green) 20%, transparent) !important;
  background: color-mix(in srgb, var(--ta-green) 7%, transparent) !important;
}

.tinr-admin-shell [class*="delete"],
.tinr-admin-shell [class*="reject"],
.tinr-admin-shell [class*="remove"],
.tinr-admin-shell [class*="danger"],
.tinr-admin-shell [class*="cancel"] {
  color: var(--ta-danger) !important;
  border-color: color-mix(in srgb, var(--ta-danger) 20%, transparent) !important;
  background: color-mix(in srgb, var(--ta-danger) 6%, transparent) !important;
}

.tinr-admin-shell [class*="excel"],
.tinr-admin-shell [class*="pdf"],
.tinr-admin-shell [class*="export"] {
  color: #07120d !important;
  border-color: rgba(34, 211, 160, .25) !important;
  background:
    linear-gradient(135deg, #52e7bf, var(--ta-green)) !important;
}

/* Status defaults */
.tinr-admin-shell [class*="status"],
.tinr-admin-shell [class*="badge"] {
  font-weight: 800;
}

/* Modal */
.tinr-admin-shell [class*="modal-overlay"],
.tinr-admin-shell [class$="-overlay"] {
  background: rgba(2, 6, 23, .68) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tinr-admin-shell [class*="modal-content"],
.tinr-admin-shell [class*="modal-box"],
.tinr-admin-shell [class$="-modal"] {
  color: var(--ta-text) !important;
  border: 1px solid var(--ta-border) !important;
  background: var(--ta-surface) !important;
  box-shadow: 0 28px 78px rgba(0, 0, 0, .32) !important;
}

/* Scrollbars */
.tinr-admin-content *,
.tinr-admin-sidebar {
  scrollbar-width: thin;
  scrollbar-color: var(--ta-border-strong) transparent;
}

.tinr-admin-content *::-webkit-scrollbar,
.tinr-admin-sidebar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.tinr-admin-content *::-webkit-scrollbar-thumb,
.tinr-admin-sidebar::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--ta-border-strong);
}

@media (max-width: 900px) {
  .tinr-admin-content {
    overflow: visible;
  }

  .tinr-admin-shell table {
    min-width: 680px;
  }
}

@media (max-width: 520px) {
  .tinr-admin-shell h1 {
    font-size: 25px !important;
  }

  .tinr-admin-shell h2 {
    font-size: 20px !important;
  }

  .tinr-admin-shell input:not([type="checkbox"]):not([type="radio"]),
  .tinr-admin-shell select,
  .tinr-admin-shell textarea {
    font-size: 16px !important;
  }
}

@media (hover: hover) {
  .tinr-admin-shell button:not(:disabled):hover {
    transform: translateY(-1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tinr-admin-shell *,
  .tinr-admin-shell *::before,
  .tinr-admin-shell *::after {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
}
.tinr-admin-notification-container {
  margin-top: 20px;
}

/* ROW */
.tinr-admin-toggle-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #020617;
  padding: 12px 15px;
  border: 1px solid #334155;
  border-radius: 8px;
  margin-bottom: 12px;
}

/* SWITCH */
.tinr-admin-switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 24px;
}

.tinr-admin-switch input {
  display: none;
}

/* SLIDER */
.tinr-admin-slider {
  position: absolute;
  cursor: pointer;
  background-color: #475569;
  border-radius: 24px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.4s;
}

.tinr-admin-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

/* ACTIVE */
.tinr-admin-switch input:checked + .tinr-admin-slider {
  background-color: #6366f1;
}

.tinr-admin-switch input:checked + .tinr-admin-slider:before {
  transform: translateX(20px);
}

/* BUTTON */
.tinr-admin-save-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background: #6366f1;
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
}

.tinr-admin-save-btn:hover {
  background: #4f46e5;
}.tinr-admin-sub-tabs {
  /* display: flex;
  gap: 20px;
  margin-bottom: 15px;
  border-bottom: 1px solid #222; */


  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.tinr-admin-tab {
  padding: 8px 12px;
  cursor: pointer;
  color: #aaa;
}

.tinr-admin-tab.active {
  color: #f0b90b;
  border-bottom: 2px solid #f0b90b;
}

.tinr-admin-big-textarea {
  width: 100%;
  height: 180px;
  padding: 12px;
  background: #0b1220;
  border: 1px solid #2a3441;
  color: white;
  border-radius: 6px;
  resize: none;
}/* ==========================================================
   TradeINR Premium SMTP Form V8
   ========================================================== */

.tinr-admin-smtp-card {
  overflow: hidden;

  border: 1px solid var(--ta-border);
  border-radius: 14px;

  background: var(--ta-surface-soft);
}

.tinr-admin-smtp-card__head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 11px;

  padding: 14px 15px;

  border-bottom: 1px solid var(--ta-border);
}

.tinr-admin-smtp-card__icon {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(250, 204, 21, .16);
  border-radius: 11px;

  color: var(--ta-yellow);
  background: rgba(250, 204, 21, .055);
}

.tinr-admin-smtp-card__icon svg {
  width: 20px;
  height: 20px;
}

.tinr-admin-smtp-card__head > div:last-child {
  min-width: 0;
}

.tinr-admin-smtp-card__head span {
  color: var(--ta-yellow);
  font-size: 6.7px;
  font-weight: 850;
  letter-spacing: .10em;
}

.tinr-admin-smtp-card__head h3 {
  margin: 2px 0 2px;
  font-size: 16px;
  font-weight: 850;
}

.tinr-admin-smtp-card__head p {
  margin: 0;
  font-size: 7.7px;
  line-height: 1.4;
}

.tinr-admin-smtp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;

  padding: 15px;
}

.tinr-admin-smtp-field {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.tinr-admin-smtp-field__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  color: var(--ta-muted);

  font-size: 8px;
  font-weight: 780;
}

.tinr-admin-smtp-field__label svg {
  width: 13px;
  height: 13px;
  color: var(--ta-yellow);
}

.tinr-admin-smtp-field input {
  width: 100%;
  height: 43px;
  padding: 0 11px;
  font-size: 10px;
}

.tinr-admin-smtp-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 12px 15px;

  border-top: 1px solid var(--ta-border);

  background: var(--ta-surface);
}

.tinr-admin-smtp-card__footer > span {
  color: var(--ta-muted);
  font-size: 7.5px;
}

.tinr-admin-smtp-save {
  min-width: 150px;
  min-height: 39px;

  border: 1px solid rgba(234, 179, 8, .30);
  border-radius: 9px;

  color: #111827;
  background: linear-gradient(135deg, #ffe66a, #facc15);

  cursor: pointer;
  font-size: 8.5px;
  font-weight: 880;

  box-shadow: 0 8px 20px rgba(234, 179, 8, .10);
}

@media (max-width: 700px) {
  .tinr-admin-smtp-grid {
    grid-template-columns: 1fr;
  }

  .tinr-admin-smtp-card__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .tinr-admin-smtp-save {
    width: 100%;
  }
}
/* ==========================================================
   TradeINR Premium Mail Settings V8
   ========================================================== */

.tinr-admin-mailsettings {
  min-width: 0;
  color: var(--ta-text);
}

.tinr-admin-mailsettings__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;

  margin-bottom: 12px;
}

.tinr-admin-mailsettings__head > div {
  display: grid;
  gap: 3px;
}

.tinr-admin-mailsettings__head > div > span {
  color: var(--ta-yellow);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .11em;
}

.tinr-admin-mailsettings__head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 860;
}

.tinr-admin-mailsettings__head p {
  max-width: 470px;
  margin: 0;
  color: var(--ta-muted);
  font-size: 8.5px;
  line-height: 1.45;
  text-align: right;
}

.tinr-admin-mailsettings__tabs {
  display: flex;
  gap: 7px;

  overflow-x: auto;

  margin-bottom: 14px;
  padding-bottom: 2px;
}

.tinr-admin-mailsettings__tab {
  min-width: 150px;
  min-height: 52px;

  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 8px;

  padding: 6px 8px;

  border: 1px solid var(--ta-border);
  border-radius: 10px;

  color: var(--ta-muted);
  background: var(--ta-surface-soft);

  cursor: pointer;
  font: inherit;
  text-align: left;
}

.tinr-admin-mailsettings__tab > span:first-child {
  width: 30px;
  height: 30px;

  display: grid;
  place-items: center;

  border-radius: 8px;

  color: currentColor;
  background: var(--ta-surface);
}

.tinr-admin-mailsettings__tab > span:first-child svg {
  width: 15px;
  height: 15px;
}

.tinr-admin-mailsettings__tab > span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.tinr-admin-mailsettings__tab strong {
  color: inherit;
  font-size: 8.5px;
}

.tinr-admin-mailsettings__tab small {
  color: var(--ta-muted);
  font-size: 6.5px;
}

.tinr-admin-mailsettings__tab--active {
  color: var(--ta-text);
  border-color: rgba(250, 204, 21, .20);
  background: rgba(250, 204, 21, .055);
}

.tinr-admin-mailsettings__tab--active > span:first-child {
  color: var(--ta-yellow);
  background: rgba(250, 204, 21, .055);
}

.tinr-admin-mailsettings__content {
  min-width: 0;
}

@media (max-width: 700px) {
  .tinr-admin-mailsettings__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .tinr-admin-mailsettings__head p {
    text-align: left;
  }
}
.tinr-admin-sms-noti-container {
  background: #0b1220;
  padding: 30px;
  border-radius: 10px;
  color: white;
}

.tinr-admin-noti-list {
  margin-top: 20px;
}

.tinr-admin-noti-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #020617;
  border: 1px solid #1e293b;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 12px;
}


.tinr-admin-toggle {
  /* width: 50px;
  height: 25px;
  background: #334155;
  border-radius: 20px;
  position: relative;
  cursor: pointer; */


  width: 44px;
  min-width: 44px;
  max-width: 44px;

  height: 22px;
  background: #475569;
  border-radius: 30px;

  position: relative;
  cursor: pointer;
  transition: .3s;

  flex-shrink: 0;
}

.tinr-admin-toggle::before {
  /* content: "";
  width: 20px;
  height: 20px;
  background: white;
  position: absolute;
  top: 2.5px;
  left: 3px;
  border-radius: 50%;
  transition: 0.3s; */

  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 2px;
  top: 2px;
  background: #fff;
  border-radius: 50%;
  transition: .3s;
}

.tinr-admin-toggle.active {
  background: #6366f1;
}

.tinr-admin-toggle.active::before {
  transform: translateX(24px);
}

.tinr-admin-btn-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.tinr-admin-save-btn {
  background: #6366f1;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}.tinr-admin-sms-content-container {
  background: #0b1220;
  padding: 30px;
  border-radius: 10px;
  color: white;
}

.tinr-admin-sub-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.tinr-admin-tab {
  cursor: pointer;
  color: #94a3b8;
}

.tinr-admin-tab.active {
  color: #facc15;
  border-bottom: 2px solid #facc15;
}

.tinr-admin-big-textarea {
  width: 100%;
  height: 150px;
  background: #020617;
  border: 1px solid #1e293b;
  color: white;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.tinr-admin-small-inputs {
  display: flex;
  gap: 10px;
}

.tinr-admin-small-inputs input {
  flex: 1;
  padding: 10px;
  background: #020617;
  border: 1px solid #1e293b;
  color: white;
  border-radius: 6px;
}

.tinr-admin-save-btn {
  margin-top: 20px;
  background: #6366f1;
  padding: 10px 20px;
  border: none;
  color: white;
  border-radius: 6px;
}.tinr-admin-sms-container {
  background: #0b1220;
  padding: 30px;
  border-radius: 10px;
  color: white;
}

.tinr-admin-sms-container h2 {
  margin-bottom: 20px;
}

.tinr-admin-sms-form {
  width: 100%;
}

.tinr-admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.tinr-admin-form-group {
  display: flex;
  flex-direction: column;
}

.tinr-admin-form-group.full {
  grid-column: span 2;
}

.tinr-admin-form-group label {
  margin-bottom: 6px;
  font-size: 14px;
  color: #cbd5e1;
}

.tinr-admin-form-group input,
.tinr-admin-form-group select {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #1e293b;
  background: #020617;
  color: white;
}

.tinr-admin-form-group input:focus,
.tinr-admin-form-group select:focus {
  outline: none;
  border-color: #6366f1;
}

.tinr-admin-btn-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.tinr-admin-save-btn {
  background: #6366f1;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.tinr-admin-save-btn:hover {
  background: #4f46e5;
}/* ==========================================================
   TradeINR Premium Admin Settings V8
   ========================================================== */

.tinr-admin-settings-page {
  width: 100%;
  min-width: 0;
}

.tinr-admin-settings-page__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;

  margin-bottom: 16px;
}

.tinr-admin-settings-page__head > div {
  min-width: 0;
}

.tinr-admin-settings-page__eyebrow {
  color: var(--ta-yellow);

  font-size: 7.5px;
  font-weight: 860;
  letter-spacing: .12em;
}

.tinr-admin-settings-page__head h1 {
  margin: 5px 0 4px;

  font-size: 29px;
  font-weight: 880;
}

.tinr-admin-settings-page__head p {
  margin: 0;
  color: var(--ta-muted);
  font-size: 10px;
  line-height: 1.5;
}

.tinr-admin-settings-page__secure {
  min-height: 35px;

  display: inline-flex;
  align-items: center;
  gap: 7px;

  padding: 0 10px;

  border: 1px solid rgba(250, 204, 21, .17);
  border-radius: 10px;

  color: var(--ta-yellow);
  background: rgba(250, 204, 21, .045);

  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.tinr-admin-settings-page__secure svg {
  width: 15px;
  height: 15px;
}

.tinr-admin-settings-nav {
  display: grid;
  grid-template-columns: repeat(8, minmax(122px, 1fr));
  gap: 7px;

  overflow-x: auto;

  margin-bottom: 14px;
  padding: 7px;

  border: 1px solid var(--ta-border);
  border-radius: 15px;

  background: var(--ta-surface);

  box-shadow: var(--ta-shadow-sm);
}

.tinr-admin-settings-nav__item {
  min-width: 0;
  min-height: 61px;

  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 7px;

  padding: 7px;

  border: 1px solid transparent;
  border-radius: 10px;

  color: var(--ta-muted);
  background: transparent;

  cursor: pointer;
  font: inherit;
  text-align: left;
}

.tinr-admin-settings-nav__item:hover {
  color: var(--ta-text);
  border-color: var(--ta-border);
  background: var(--ta-surface-soft);
}

.tinr-admin-settings-nav__item--active {
  color: var(--ta-text);

  border-color: rgba(250, 204, 21, .20);

  background:
    linear-gradient(135deg, rgba(250, 204, 21, .10), rgba(250, 204, 21, .025));

  box-shadow: inset 0 -2px 0 var(--ta-yellow);
}

.tinr-admin-settings-nav__icon {
  width: 30px;
  height: 30px;

  display: grid;
  place-items: center;

  border: 1px solid var(--ta-border);
  border-radius: 9px;

  color: currentColor;
  background: var(--ta-surface-soft);
}

.tinr-admin-settings-nav__item--active
  .tinr-admin-settings-nav__icon {
  color: var(--ta-yellow);
  border-color: rgba(250, 204, 21, .16);
  background: rgba(250, 204, 21, .055);
}

.tinr-admin-settings-nav__icon svg {
  width: 15px;
  height: 15px;
}

.tinr-admin-settings-nav__copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.tinr-admin-settings-nav__copy strong {
  overflow: hidden;

  color: inherit;

  font-size: 8.5px;
  font-weight: 820;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.tinr-admin-settings-nav__copy small {
  overflow: hidden;

  color: var(--ta-muted);

  font-size: 6.3px;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.tinr-admin-settings-page__content {
  min-width: 0;

  padding: 17px;

  border: 1px solid var(--ta-border);
  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--ta-surface-soft) 35%, transparent),
      transparent 220px
    ),
    var(--ta-surface);

  box-shadow: var(--ta-shadow);
}

@media (max-width: 1200px) {
  .tinr-admin-settings-nav {
    grid-template-columns: repeat(8, 132px);
  }
}

@media (max-width: 700px) {
  .tinr-admin-settings-page__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .tinr-admin-settings-page__secure {
    width: 100%;
    justify-content: center;
  }

  .tinr-admin-settings-nav {
    grid-template-columns: repeat(8, 118px);
  }

  .tinr-admin-settings-page__content {
    padding: 11px;
    border-radius: 13px;
  }
}
.tinr-admin-admin-referral-main {
  width: 100%;
  min-height: 100vh;
  background: #020817;
  padding: 24px;
}

.tinr-admin-admin-referral-main h2 {
  color: white;
  font-size: 38px;
  margin-bottom: 24px;
}

.tinr-admin-main-tabs {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  border-bottom: 1px solid #1e293b;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.tinr-admin-tab {
  color: #94a3b8;
  cursor: pointer;
  padding-bottom: 10px;
  white-space: nowrap;
  transition: 0.2s;
}

.tinr-admin-tab:hover {
  color: white;
}

.tinr-admin-tab.active {
  color: #facc15;
  border-bottom: 2px solid #facc15;
}

.tinr-admin-referral-content {
  margin-top: 20px;
}.tinr-admin-bank-history-container {
  padding: 20px;
  color: #e5e7eb;
}

/* Title */
.tinr-admin-bank-history-title {
  font-size: 22px;
  margin-bottom: 15px;
  color: #f0b90b;
}

/* Wrapper */
.tinr-admin-table-wrapper {
  overflow-x: auto;
}

/* Table */
.tinr-admin-bank-history-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  overflow: hidden;
}

/* Header */
.tinr-admin-bank-history-table thead {
  background: #1e293b;
}

.tinr-admin-bank-history-table th {
  padding: 12px;
  text-align: left;
  font-size: 14px;
  color: #94a3b8;
}

/* Rows */
.tinr-admin-bank-history-table td {
  padding: 12px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Hover effect */
.tinr-admin-bank-history-table tr:hover {
  background: rgba(255,255,255,0.05);
  transition: 0.3s;
}

/* Special styles */
.tinr-admin-account {
  color: #00ffa3;
}

.tinr-admin-reason {
  color: #f6465d;
}

/* No data */
.tinr-admin-no-data {
  text-align: center;
  padding: 20px;
  color: #64748b;
}


.tinr-admin-report-controls-in-bankdeletehistory {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  align-items: center;
}

.tinr-admin-report-select-in-bankdeletehistory,
.tinr-admin-report-search-in-bankdeletehistory,
.tinr-admin-report-date-in-bankdeletehistory {
  background: #0f1b35;
  border: 1px solid #2f4b8f;
  color: #fff;
  height: 42px;
  border-radius: 10px;
  padding: 0 14px;
}

.tinr-admin-report-select-in-bankdeletehistory {
  width: 90px;
}

.tinr-admin-report-search-in-bankdeletehistory {
  width: 260px;
}

.tinr-admin-report-date-in-bankdeletehistory {
  width: 180px;
}

.tinr-admin-excel-btn-in-bankdeletehistory,
.tinr-admin-pdf-btn-in-bankdeletehistory {
  background: #26d0f4;
  border: none;
  color: #000;
  font-weight: 600;
  height: 42px;
  min-width: 90px;
  border-radius: 10px;
  cursor: pointer;
}

.tinr-admin-excel-btn-in-bankdeletehistory:hover,
.tinr-admin-pdf-btn-in-bankdeletehistory:hover {
  opacity: .9;
}

.tinr-admin-pagination-in-bankdeletehistory {
  display: flex;
  justify-content: center;
  gap: 15px;
  align-items: center;
  margin-top: 20px;
}

.tinr-admin-pagination-in-bankdeletehistory button {
  background: #26d0f4;
  border: none;
  color: #000;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.tinr-admin-pagination-in-bankdeletehistory button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.tinr-admin-report-date-in-bankdeletehistory::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}/* ==========================================================
   TradeINR Admin Help Desk Hub
   Unique scope: tinr-admin-helpdesk-hub*
   ========================================================== */

.tinr-admin-helpdesk-hub {
  width: 100%;
  min-width: 0;
  padding: 24px;
  color: var(--ta-text);
}

.tinr-admin-helpdesk-hub__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 22px 24px;
  border: 1px solid var(--ta-border);
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 0%, rgba(250, 204, 21, .08), transparent 18rem),
    var(--ta-surface);
  box-shadow: var(--ta-shadow);
}

.tinr-admin-helpdesk-hub__heading {
  min-width: 0;
}

.tinr-admin-helpdesk-hub__eyebrow,
.tinr-admin-helpdesk-hub__subnav-label {
  color: var(--ta-yellow);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.tinr-admin-helpdesk-hub__title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 9px;
}

.tinr-admin-helpdesk-hub__mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(250, 204, 21, .18);
  border-radius: 14px;
  color: #111827;
  background: linear-gradient(135deg, var(--ta-yellow-2), var(--ta-yellow));
  box-shadow: 0 10px 24px rgba(250, 204, 21, .14);
  font-size: 20px;
  font-weight: 900;
}

.tinr-admin-helpdesk-hub__title-row h1 {
  margin: 0 !important;
  font-size: clamp(25px, 2.3vw, 34px);
  font-weight: 860;
  letter-spacing: -.045em;
}

.tinr-admin-helpdesk-hub__title-row p {
  max-width: 720px;
  margin: 5px 0 0;
  color: var(--ta-muted);
  font-size: 12px;
  line-height: 1.55;
}

.tinr-admin-helpdesk-hub__status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(34, 211, 160, .17);
  border-radius: 999px;
  color: var(--ta-green);
  background: rgba(34, 211, 160, .055);
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.tinr-admin-helpdesk-hub__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ta-green);
  box-shadow: 0 0 0 4px rgba(34, 211, 160, .08);
}

/* Main feature tabs */
.tinr-admin-helpdesk-hub__primary-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.tinr-admin-helpdesk-hub__primary-tab {
  min-width: 0;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid var(--ta-border) !important;
  border-radius: 14px !important;
  color: var(--ta-muted) !important;
  background: var(--ta-surface) !important;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .04);
}

.tinr-admin-helpdesk-hub__primary-tab:hover {
  border-color: var(--ta-border-strong) !important;
  background: var(--ta-surface-soft) !important;
}

.tinr-admin-helpdesk-hub__primary-tab--active {
  color: var(--ta-text) !important;
  border-color: rgba(250, 204, 21, .28) !important;
  background:
    linear-gradient(135deg, rgba(250, 204, 21, .09), transparent 70%),
    var(--ta-surface) !important;
  box-shadow: 0 10px 28px rgba(250, 204, 21, .06);
}

.tinr-admin-helpdesk-hub__tab-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ta-border);
  border-radius: 10px;
  color: var(--ta-muted);
  background: var(--ta-surface-soft);
  font-size: 14px;
  font-weight: 900;
}

.tinr-admin-helpdesk-hub__primary-tab--active .tinr-admin-helpdesk-hub__tab-icon {
  color: #111827;
  border-color: rgba(250, 204, 21, .24);
  background: var(--ta-yellow);
}

.tinr-admin-helpdesk-hub__primary-tab > span:last-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.tinr-admin-helpdesk-hub__primary-tab strong {
  color: inherit;
  font-size: 11.5px;
  font-weight: 820;
}

.tinr-admin-helpdesk-hub__primary-tab small {
  overflow: hidden;
  color: var(--ta-muted);
  font-size: 9px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Ticket subsection */
.tinr-admin-helpdesk-hub__ticket-area {
  min-width: 0;
}

.tinr-admin-helpdesk-hub__subnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 1px solid var(--ta-border);
  border-radius: 13px;
  background: var(--ta-surface);
}

.tinr-admin-helpdesk-hub__subnav p {
  margin: 4px 0 0;
  color: var(--ta-muted);
  font-size: 9.5px;
}

.tinr-admin-helpdesk-hub__subtabs {
  display: inline-flex;
  gap: 5px;
  padding: 4px;
  border: 1px solid var(--ta-border);
  border-radius: 10px;
  background: var(--ta-surface-soft);
}

.tinr-admin-helpdesk-hub__subtab {
  min-height: 32px;
  padding: 0 12px;
  border: 0 !important;
  border-radius: 7px !important;
  color: var(--ta-muted) !important;
  background: transparent !important;
  cursor: pointer;
  font-size: 9.5px;
  font-weight: 800;
}

.tinr-admin-helpdesk-hub__subtab--active {
  color: #111827 !important;
  background: linear-gradient(135deg, var(--ta-yellow-2), var(--ta-yellow)) !important;
  box-shadow: 0 6px 14px rgba(250, 204, 21, .12);
}

.tinr-admin-helpdesk-hub__content-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ta-border);
  border-radius: 16px;
  background: var(--ta-surface);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .055);
}

html[data-theme="light"] .tinr-admin-helpdesk-hub__header,
html[data-theme="light"] .tinr-admin-helpdesk-hub__content-card,
html[data-theme="light"] .tinr-admin-helpdesk-hub__subnav,
html[data-theme="light"] .tinr-admin-helpdesk-hub__primary-tab {
  box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}

@media (max-width: 900px) {
  .tinr-admin-helpdesk-hub {
    padding: 16px;
  }

  .tinr-admin-helpdesk-hub__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .tinr-admin-helpdesk-hub__primary-tabs {
    grid-template-columns: 1fr;
  }

  .tinr-admin-helpdesk-hub__primary-tab {
    min-height: 64px;
  }
}

@media (max-width: 600px) {
  .tinr-admin-helpdesk-hub {
    padding: 10px;
  }

  .tinr-admin-helpdesk-hub__header {
    padding: 16px;
    border-radius: 14px;
  }

  .tinr-admin-helpdesk-hub__mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .tinr-admin-helpdesk-hub__title-row h1 {
    font-size: 24px;
  }

  .tinr-admin-helpdesk-hub__subnav {
    align-items: stretch;
    flex-direction: column;
  }

  .tinr-admin-helpdesk-hub__subtabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
/* TradeINR Help Desk — Public / Non Registered Tickets */

.tinr-admin-helpdesk-public {
  min-width: 0;
  padding: 18px;
  color: var(--ta-text);
  background: transparent;
}

.tinr-admin-helpdesk-public__title {
  margin: 0 0 14px !important;
  font-size: 18px;
  font-weight: 840;
}

.tinr-admin-helpdesk-public__toolbar {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 10px;
  border: 1px solid var(--ta-border);
  border-radius: 12px;
  background: var(--ta-surface-soft);
}

.tinr-admin-helpdesk-public__toolbar select,
.tinr-admin-helpdesk-public__toolbar input {
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 11px !important;
}

.tinr-admin-helpdesk-public__toolbar select {
  width: 84px;
}

.tinr-admin-helpdesk-public__toolbar input[type="text"] {
  flex: 1 1 220px;
  min-width: 170px;
}

.tinr-admin-helpdesk-public__toolbar input[type="date"] {
  width: 160px;
}

.tinr-admin-helpdesk-public__excel-btn,
.tinr-admin-helpdesk-public__pdf-btn {
  min-width: 78px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(34, 211, 160, .22) !important;
  color: #07120d !important;
  background: linear-gradient(135deg, #51e7be, var(--ta-green)) !important;
  cursor: pointer;
  font-size: 10px;
  font-weight: 850;
}

.tinr-admin-helpdesk-public__empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--ta-muted) !important;
  border: 1px dashed var(--ta-border);
  border-radius: 12px;
  background: var(--ta-surface-soft);
  font-size: 12px;
}

.tinr-admin-helpdesk-public__table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--ta-border-strong) transparent;
}

.tinr-admin-helpdesk-public__table {
  min-width: 1320px;
  table-layout: fixed;
}

.tinr-admin-helpdesk-public__table th,
.tinr-admin-helpdesk-public__table td {
  padding: 11px 10px !important;
  vertical-align: top;
  line-height: 1.45;
}

.tinr-admin-helpdesk-public__table th:nth-child(1),
.tinr-admin-helpdesk-public__table td:nth-child(1) { width: 58px; }

.tinr-admin-helpdesk-public__table th:nth-child(2),
.tinr-admin-helpdesk-public__table td:nth-child(2) { width: 130px; }

.tinr-admin-helpdesk-public__table th:nth-child(3),
.tinr-admin-helpdesk-public__table td:nth-child(3) { width: 195px; }

.tinr-admin-helpdesk-public__table th:nth-child(4),
.tinr-admin-helpdesk-public__table td:nth-child(4) { width: 125px; }

.tinr-admin-helpdesk-public__table th:nth-child(5),
.tinr-admin-helpdesk-public__table td:nth-child(5) { width: 160px; }

.tinr-admin-helpdesk-public__table th:nth-child(6),
.tinr-admin-helpdesk-public__table td:nth-child(6) { width: 250px; }

.tinr-admin-helpdesk-public__table th:nth-child(7),
.tinr-admin-helpdesk-public__table td:nth-child(7) { width: 130px; }

.tinr-admin-helpdesk-public__table th:nth-child(8),
.tinr-admin-helpdesk-public__table td:nth-child(8) { width: 165px; }

.tinr-admin-helpdesk-public__table th:nth-child(9),
.tinr-admin-helpdesk-public__table td:nth-child(9) { width: 100px; }

.tinr-admin-helpdesk-public__table td {
  overflow-wrap: anywhere;
  font-size: 10.5px !important;
}

.tinr-admin-helpdesk-public__file-link {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  margin: 2px 2px;
  padding: 0 8px;
  border: 1px solid rgba(96, 165, 250, .20);
  border-radius: 7px;
  color: var(--ta-blue) !important;
  background: rgba(96, 165, 250, .07);
  text-decoration: none;
  font-size: 8.5px;
  font-weight: 800;
}

.tinr-admin-helpdesk-public__close-btn {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(251, 100, 113, .20) !important;
  color: var(--ta-danger) !important;
  background: rgba(251, 100, 113, .07) !important;
  cursor: pointer;
  font-size: 9px;
}

.tinr-admin-helpdesk-public__closed,
.tinr-admin-helpdesk-public__closed-btn {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 8px;
  border: 1px solid rgba(34, 211, 160, .18);
  border-radius: 999px;
  color: var(--ta-green) !important;
  background: rgba(34, 211, 160, .06);
  font-size: 8.5px;
  font-weight: 850;
}

.tinr-admin-helpdesk-public__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
}

.tinr-admin-helpdesk-public__pagination button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--ta-border) !important;
  color: var(--ta-text) !important;
  background: var(--ta-surface-soft) !important;
  cursor: pointer;
  font-size: 9px;
}

.tinr-admin-helpdesk-public__pagination span {
  color: var(--ta-muted) !important;
  font-size: 9.5px;
  font-weight: 750;
}

@media (max-width: 600px) {
  .tinr-admin-helpdesk-public {
    padding: 12px;
  }

  .tinr-admin-helpdesk-public__toolbar {
    display: grid;
    grid-template-columns: 78px 1fr;
  }

  .tinr-admin-helpdesk-public__toolbar input[type="text"],
  .tinr-admin-helpdesk-public__toolbar input[type="date"],
  .tinr-admin-helpdesk-public__excel-btn,
  .tinr-admin-helpdesk-public__pdf-btn {
    width: 100%;
    min-width: 0;
  }
}
/* TradeINR Help Desk — Send Mail */

.tinr-admin-helpdesk-mail {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 22px;
  color: var(--ta-text);
}

.tinr-admin-helpdesk-mail > h3 {
  margin: 0 0 16px !important;
  font-size: 20px;
  font-weight: 850;
}

.tinr-admin-helpdesk-mail__recipient-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  padding: 11px 12px;
  border: 1px solid var(--ta-border);
  border-radius: 12px;
  background: var(--ta-surface-soft);
}

.tinr-admin-helpdesk-mail__check-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ta-text) !important;
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
}

.tinr-admin-helpdesk-mail__check-label input {
  width: 15px;
  height: 15px;
  accent-color: var(--ta-yellow);
}

.tinr-admin-helpdesk-mail__filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tinr-admin-helpdesk-mail__user-list {
  width: 100%;
  max-height: 230px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 14px;
  padding: 9px;
  border: 1px solid var(--ta-border);
  border-radius: 12px;
  background: var(--ta-surface-soft);
  scrollbar-width: thin;
  scrollbar-color: var(--ta-border-strong) transparent;
}

.tinr-admin-helpdesk-mail__user-item {
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--ta-surface);
}

.tinr-admin-helpdesk-mail__user-item:hover {
  border-color: var(--ta-border);
}

.tinr-admin-helpdesk-mail__user-item label {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: var(--ta-text) !important;
  font-size: 9.5px;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.tinr-admin-helpdesk-mail__user-item input {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  accent-color: var(--ta-yellow);
}

.tinr-admin-helpdesk-mail__subject,
.tinr-admin-helpdesk-mail__message {
  width: 100% !important;
  margin: 0 0 10px !important;
  padding: 11px 12px !important;
}

.tinr-admin-helpdesk-mail__subject {
  min-height: 45px !important;
}

.tinr-admin-helpdesk-mail__message {
  min-height: 260px !important;
  resize: vertical;
}

.tinr-admin-helpdesk-mail__send-btn {
  min-width: 130px;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid rgba(250, 204, 21, .32) !important;
  color: #111827 !important;
  background: linear-gradient(135deg, var(--ta-yellow-2), var(--ta-yellow)) !important;
  box-shadow: 0 9px 22px rgba(250, 204, 21, .12);
  cursor: pointer;
  font-size: 10.5px;
  font-weight: 850;
}

@media (max-width: 700px) {
  .tinr-admin-helpdesk-mail {
    padding: 14px;
  }

  .tinr-admin-helpdesk-mail__recipient-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .tinr-admin-helpdesk-mail__user-list {
    grid-template-columns: 1fr;
  }

  .tinr-admin-helpdesk-mail__send-btn {
    width: 100%;
  }
}
/* TradeINR Help Desk — Send SMS */

.tinr-admin-helpdesk-sms {
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 22px;
  color: var(--ta-text);
}

.tinr-admin-helpdesk-sms > h3 {
  margin: 0 0 16px !important;
  font-size: 20px;
  font-weight: 850;
}

.tinr-admin-helpdesk-sms__recipient-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  padding: 11px 12px;
  border: 1px solid var(--ta-border);
  border-radius: 12px;
  background: var(--ta-surface-soft);
}

.tinr-admin-helpdesk-sms__check-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ta-text) !important;
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
}

.tinr-admin-helpdesk-sms__check-label input {
  width: 15px;
  height: 15px;
  accent-color: var(--ta-yellow);
}

.tinr-admin-helpdesk-sms__filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tinr-admin-helpdesk-sms__user-list {
  width: 100%;
  max-height: 220px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 14px;
  padding: 9px;
  border: 1px solid var(--ta-border);
  border-radius: 12px;
  background: var(--ta-surface-soft);
}

.tinr-admin-helpdesk-sms__user-item {
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--ta-surface);
}

.tinr-admin-helpdesk-sms__user-item label {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: var(--ta-text) !important;
  font-size: 9.5px;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.tinr-admin-helpdesk-sms__user-item input {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  accent-color: var(--ta-yellow);
}

.tinr-admin-helpdesk-sms__input-group,
.tinr-admin-helpdesk-sms__field {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
}

.tinr-admin-helpdesk-sms__input-group label,
.tinr-admin-helpdesk-sms__field label {
  color: var(--ta-muted) !important;
  font-size: 9.5px;
  font-weight: 750;
}

.tinr-admin-helpdesk-sms__template-select,
.tinr-admin-helpdesk-sms__input,
.tinr-admin-helpdesk-sms__textarea {
  width: 100% !important;
  padding: 10px 12px !important;
}

.tinr-admin-helpdesk-sms__template-select,
.tinr-admin-helpdesk-sms__input {
  min-height: 43px !important;
}

.tinr-admin-helpdesk-sms__textarea {
  min-height: 130px !important;
  resize: vertical;
}

.tinr-admin-helpdesk-sms__preview {
  margin: 14px 0;
}

.tinr-admin-helpdesk-sms__preview h4 {
  margin: 0 0 8px !important;
  color: var(--ta-text) !important;
  font-size: 12px;
  font-weight: 800;
}

.tinr-admin-helpdesk-sms__preview-box {
  min-height: 92px;
  padding: 13px;
  border: 1px solid var(--ta-border);
  border-radius: 11px;
  color: var(--ta-text);
  background: var(--ta-surface-soft);
  font-size: 10px;
  line-height: 1.6;
  white-space: pre-line;
}

.tinr-admin-helpdesk-sms__send-btn,
.tinr-admin-helpdesk-sms__save-btn {
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid rgba(250, 204, 21, .32) !important;
  color: #111827 !important;
  background: linear-gradient(135deg, var(--ta-yellow-2), var(--ta-yellow)) !important;
  box-shadow: 0 9px 22px rgba(250, 204, 21, .12);
  cursor: pointer;
  font-size: 10.5px;
  font-weight: 850;
}

.tinr-admin-helpdesk-sms__template-editor,
.tinr-admin-helpdesk-sms__template-list {
  margin-top: 22px;
  padding: 17px;
  border: 1px solid var(--ta-border);
  border-radius: 13px;
  background: var(--ta-surface-soft);
}

.tinr-admin-helpdesk-sms__template-editor h3,
.tinr-admin-helpdesk-sms__template-list h3 {
  margin: 0 0 14px !important;
  color: var(--ta-text) !important;
  font-size: 15px;
  font-weight: 840;
}

.tinr-admin-helpdesk-sms__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tinr-admin-helpdesk-sms__template-list {
  overflow-x: auto;
}

.tinr-admin-helpdesk-sms__template-list table {
  min-width: 560px;
}

.tinr-admin-helpdesk-sms__template-list th,
.tinr-admin-helpdesk-sms__template-list td {
  padding: 10px !important;
}

.tinr-admin-helpdesk-sms__template-list td button {
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid var(--ta-border) !important;
  color: var(--ta-blue) !important;
  background: rgba(96, 165, 250, .07) !important;
  cursor: pointer;
  font-size: 8.5px;
}

.tinr-admin-helpdesk-sms__template-list td:last-child button {
  color: var(--ta-danger) !important;
  border-color: rgba(251, 100, 113, .18) !important;
  background: rgba(251, 100, 113, .06) !important;
}

@media (max-width: 700px) {
  .tinr-admin-helpdesk-sms {
    padding: 14px;
  }

  .tinr-admin-helpdesk-sms__recipient-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .tinr-admin-helpdesk-sms__user-list,
  .tinr-admin-helpdesk-sms__row {
    grid-template-columns: 1fr;
  }

  .tinr-admin-helpdesk-sms__send-btn,
  .tinr-admin-helpdesk-sms__save-btn {
    width: 100%;
  }
}
/* TradeINR Help Desk — Registered User Tickets */

.tinr-admin-helpdesk-registered {
  min-width: 0;
  padding: 18px;
  color: var(--ta-text);
  background: transparent !important;
}

.tinr-admin-helpdesk-registered__title {
  margin: 0 0 14px !important;
  font-size: 18px;
  font-weight: 840;
}

.tinr-admin-helpdesk-registered__toolbar {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 10px;
  border: 1px solid var(--ta-border);
  border-radius: 12px;
  background: var(--ta-surface-soft);
}

.tinr-admin-helpdesk-registered__toolbar select,
.tinr-admin-helpdesk-registered__toolbar input {
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 11px !important;
}

.tinr-admin-helpdesk-registered__toolbar select { width: 84px; }

.tinr-admin-helpdesk-registered__toolbar input[type="text"] {
  flex: 1 1 220px;
  min-width: 170px;
}

.tinr-admin-helpdesk-registered__toolbar input[type="date"] {
  width: 160px;
}

.tinr-admin-helpdesk-registered__excel-btn,
.tinr-admin-helpdesk-registered__pdf-btn {
  min-width: 78px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(34, 211, 160, .22) !important;
  color: #07120d !important;
  background: linear-gradient(135deg, #51e7be, var(--ta-green)) !important;
  cursor: pointer;
  font-size: 10px;
  font-weight: 850;
}

.tinr-admin-helpdesk-registered__table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--ta-border-strong) transparent;
}

.tinr-admin-helpdesk-registered__table {
  min-width: 1400px;
  table-layout: fixed;
}

.tinr-admin-helpdesk-registered__table th,
.tinr-admin-helpdesk-registered__table td {
  padding: 11px 10px !important;
  vertical-align: top;
  line-height: 1.45;
}

.tinr-admin-helpdesk-registered__table td {
  overflow-wrap: anywhere;
  font-size: 10.5px !important;
}

.tinr-admin-helpdesk-registered__table th:nth-child(1) { width: 100px; }
.tinr-admin-helpdesk-registered__table th:nth-child(2) { width: 130px; }
.tinr-admin-helpdesk-registered__table th:nth-child(3) { width: 190px; }
.tinr-admin-helpdesk-registered__table th:nth-child(4) { width: 125px; }
.tinr-admin-helpdesk-registered__table th:nth-child(5) { width: 90px; }
.tinr-admin-helpdesk-registered__table th:nth-child(6) { width: 160px; }
.tinr-admin-helpdesk-registered__table th:nth-child(7) { width: 260px; }
.tinr-admin-helpdesk-registered__table th:nth-child(8) { width: 165px; }
.tinr-admin-helpdesk-registered__table th:nth-child(9) { width: 100px; }

.tinr-admin-helpdesk-registered__file-actions,
.tinr-admin-helpdesk-registered__file-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tinr-admin-helpdesk-registered__view-btn,
.tinr-admin-helpdesk-registered__download-btn {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 8px;
  border: 1px solid rgba(96, 165, 250, .20);
  border-radius: 7px;
  color: var(--ta-blue) !important;
  background: rgba(96, 165, 250, .07);
  text-decoration: none;
  font-size: 8.5px;
  font-weight: 800;
}

.tinr-admin-helpdesk-registered__close-btn {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(251, 100, 113, .20) !important;
  color: var(--ta-danger) !important;
  background: rgba(251, 100, 113, .07) !important;
  cursor: pointer;
  font-size: 9px;
}

.tinr-admin-helpdesk-registered__closed {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 8px;
  border: 1px solid rgba(34, 211, 160, .18);
  border-radius: 999px;
  color: var(--ta-green) !important;
  background: rgba(34, 211, 160, .06);
  font-size: 8.5px;
  font-weight: 850;
}

.tinr-admin-helpdesk-registered__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
}

.tinr-admin-helpdesk-registered__pagination button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--ta-border) !important;
  color: var(--ta-text) !important;
  background: var(--ta-surface-soft) !important;
  cursor: pointer;
  font-size: 9px;
}

.tinr-admin-helpdesk-registered__pagination span {
  color: var(--ta-muted) !important;
  font-size: 9.5px;
  font-weight: 750;
}

@media (max-width: 600px) {
  .tinr-admin-helpdesk-registered {
    padding: 12px;
  }

  .tinr-admin-helpdesk-registered__toolbar {
    display: grid;
    grid-template-columns: 78px 1fr;
  }

  .tinr-admin-helpdesk-registered__toolbar input[type="text"],
  .tinr-admin-helpdesk-registered__toolbar input[type="date"],
  .tinr-admin-helpdesk-registered__excel-btn,
  .tinr-admin-helpdesk-registered__pdf-btn {
    width: 100%;
    min-width: 0;
  }
}
/* UserActivity.css */

.tinr-admin-user-activity-container {
  width: 100%;
  padding: 20px;
  overflow-x: auto;
  background: #0f172a;
  min-height: 100vh;
  color: white;
}

.tinr-admin-user-activity-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.tinr-admin-activity-table {
  width: 100%;
  border-collapse: collapse;
  background: #111827;
  border-radius: 12px;
  overflow: hidden;
}

.tinr-admin-activity-table thead {
  background: #1e293b;
}

.tinr-admin-activity-table th {
  padding: 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: #cbd5e1;
  border-bottom: 1px solid #334155;
}

.tinr-admin-activity-table td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid #1e293b;
  color: #f1f5f9;
}

.tinr-admin-activity-table tbody tr {
  transition: background 0.2s ease;
}

.tinr-admin-activity-table tbody tr:hover {
  background: #1e293b;
}

.tinr-admin-activity-badge {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

/* Activity Colors */

.tinr-admin-activity-login {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.tinr-admin-activity-failed {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.tinr-admin-activity-trade {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

.tinr-admin-activity-deposit {
  background: rgba(234, 179, 8, 0.2);
  color: #eab308;
}

.tinr-admin-activity-withdraw {
  background: rgba(168, 85, 247, 0.2);
  color: #a855f7;
}

.tinr-admin-top-bar-in-useractivity {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px !important;
  flex-wrap: wrap;
}

.tinr-admin-top-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tinr-admin-search-box {
  width: 260px;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #111827;
  color: white;
  font-size: 14px;
  outline: none;
}

.tinr-admin-search-box:focus {
  border-color: #22d3ee;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.3);
}

.tinr-admin-date-input {
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #111827;
  color: white;
  outline: none;
}

.tinr-admin-date-input::-webkit-calendar-picker-indicator {
  filter: brightness(0) invert(1);
  opacity: 1;
  cursor: pointer;
}

.tinr-admin-date-input:focus {
  border-color: #22d3ee;
}


.tinr-admin-export-buttons {
  display: flex;
  gap: 12px;
}

.tinr-admin-excel-btn,
.tinr-admin-pdf-btn {
  padding: 11px 22px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
  color: #000;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.tinr-admin-excel-btn:hover,
.tinr-admin-pdf-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(34, 211, 238, 0.3);
}


.tinr-admin-limit-select-in-user-activity {
  height: 42px;
  min-width: 90px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #06b6d4;
  background: #0c1730;
  color: #fff;
  cursor: pointer;
  outline: none;
}

.tinr-admin-limit-select-in-user-activity option {
  background: #0c1730;
  color: #fff;
}

/* Responsive */

@media (max-width: 768px) {

  .tinr-admin-user-activity-title {
    font-size: 22px;
  }

  .tinr-admin-activity-table th,
  .tinr-admin-activity-table td {
    padding: 10px;
    font-size: 12px;
  }
}.tinr-admin-admin-markets {

  width: 100%;
  min-height: 100vh;
  background: #020817;
  padding: 24px;
  color: white;
}

.tinr-admin-admin-markets h2 {

  font-size: 34px;
  margin-bottom: 24px;
}

.tinr-admin-admin-market-table-wrapper {

  overflow-x: auto;
}

.tinr-admin-admin-market-table {

  width: 100%;
  border-collapse: collapse;
}

.tinr-admin-admin-market-table th {

  background: #111827;
  padding: 14px;
  color: #00c6ff;
  text-align: left;
}

.tinr-admin-admin-market-table td {

  padding: 14px;
  border-bottom: 1px solid #1e293b;
}

.tinr-admin-admin-market-table tr:hover {

  background: rgba(255,255,255,0.03);
}

.tinr-admin-coin-box {

  display: flex;
  align-items: center;
  gap: 10px;
}

.tinr-admin-coin-logo {

  width: 28px;
  height: 28px;
}

.tinr-admin-green {

  color: #22c55e;
  font-weight: 600;
}

.tinr-admin-red {

  color: #ef4444;
  font-weight: 600;
}.tinr-admin-admin-staff-activity-container-in-adminstaffactivity {
    width: 100%;
    padding: 20px;
}

.tinr-admin-admin-staff-heading-in-adminstaffactivity {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.tinr-admin-admin-staff-table-wrapper-in-adminstaffactivity {
    width: 100%;
    overflow-x: auto;
    border-radius: 10px;
}

.tinr-admin-admin-staff-table-in-adminstaffactivity {
    width: 100%;
    border-collapse: collapse;
    background: #071126;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tinr-admin-admin-staff-table-in-adminstaffactivity thead tr {
    background: #101c3b;
}

.tinr-admin-admin-staff-table-in-adminstaffactivity th {
    padding: 14px;
    text-align: left;
    color: #ffd700;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tinr-admin-admin-staff-table-in-adminstaffactivity td {
    padding: 14px;
    color: #ffffff;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tinr-admin-admin-staff-table-row-in-adminstaffactivity:hover {
    background: rgba(255, 255, 255, 0.04);
}

.tinr-admin-no-data-row-in-adminstaffactivity {
    text-align: center;
    color: #a0a0a0;
    padding: 20px;
}

.tinr-admin-role-admin-in-adminstaffactivity {
    color: #00d26a;
    font-weight: 600;
}

.tinr-admin-role-staff-in-adminstaffactivity {
    color: #4da3ff;
    font-weight: 600;
}

.tinr-admin-activity-badge-in-adminstaffactivity {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    font-size: 12px;
    font-weight: 600;
}

/* ================= Toolbar ================= */

.tinr-admin-toolbar-in-adminstaffactivity {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* ================= Select ================= */

.tinr-admin-limit-select-in-adminstaffactivity {
    width: 90px;
    height: 42px;

    background: #111827;
    color: #ffffff;

    border: 1px solid #334155;
    border-radius: 10px;

    padding: 0 12px;
    cursor: pointer;
}

.tinr-admin-limit-select-in-adminstaffactivity:focus {
    outline: none;
    border-color: #22d3ee;
}

/* ================= Search ================= */

.tinr-admin-search-input-in-adminstaffactivity {
    width: 260px;
    height: 42px;

    background: #111827;
    color: #ffffff;

    border: 1px solid #334155;
    border-radius: 10px;

    padding: 0 15px;
}

.tinr-admin-search-input-in-adminstaffactivity::placeholder {
    color: #94a3b8;
}

.tinr-admin-search-input-in-adminstaffactivity:focus {
    outline: none;
    border-color: #22d3ee;
}

/* ================= Date ================= */

.tinr-admin-date-input-in-adminstaffactivity {
    width: 180px;
    height: 42px;

    background: #111827;
    color: #ffffff;

    border: 1px solid #334155;
    border-radius: 10px;

    padding: 0 12px;
}

.tinr-admin-date-input-in-adminstaffactivity:focus {
    outline: none;
    border-color: #22d3ee;
}

.tinr-admin-date-input-in-adminstaffactivity::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

/* ================= Buttons ================= */

.tinr-admin-excel-btn-in-adminstaffactivity,
.tinr-admin-pdf-btn-in-adminstaffactivity {
    height: 42px;
    min-width: 90px;

    border: none;
    border-radius: 10px;

    background: #22d3ee;
    color: #000;

    font-weight: 700;
    cursor: pointer;

    transition: all 0.2s ease;
}

.tinr-admin-excel-btn-in-adminstaffactivity:hover,
.tinr-admin-pdf-btn-in-adminstaffactivity:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

/* ================= Pagination ================= */

.tinr-admin-pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 15px;
    margin-top: 20px;
}

.tinr-admin-pagination-container button {
    background: #22d3ee;
    color: #000;

    border: none;
    border-radius: 8px;

    padding: 8px 18px;
    font-weight: 700;

    cursor: pointer;
}

.tinr-admin-pagination-container button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tinr-admin-pagination-container span {
    color: #fff;
    font-weight: 600;
}

@media (max-width: 768px) {

    .tinr-admin-admin-staff-activity-container-in-adminstaffactivity {
        padding: 10px;
    }

    .tinr-admin-admin-staff-heading-in-adminstaffactivity {
        font-size: 18px;
    }

    .tinr-admin-admin-staff-table-in-adminstaffactivity th,
    .tinr-admin-admin-staff-table-in-adminstaffactivity td {
        padding: 10px;
        font-size: 12px;
        white-space: nowrap;
    }
}/* =========================
   WRAPPER
========================= */

.tinr-admin-wrapper-in-admin-staffmain {
    width: 100%;
    min-height: 100vh;
    background: #020b1c;
}


/* =========================
   TABS
========================= */

.tinr-admin-tabs-in-admin-staffmain {
    display: flex;
    align-items: center;
    gap: 28px;

    padding: 0 30px;

    height: 70px;

    border-bottom: 1px solid #162033;

    overflow-x: auto;
    white-space: nowrap;
}


/* SCROLLBAR */

.tinr-admin-tabs-in-admin-staffmain::-webkit-scrollbar {
    height: 4px;
}

.tinr-admin-tabs-in-admin-staffmain::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 20px;
}


/* =========================
   TAB BUTTON
========================= */

.tinr-admin-tab-btn-in-admin-staffmain {
    position: relative;

    background: transparent;
    border: none;

    color: #94a3b8;

    font-size: 15px;
    font-weight: 500;

    padding: 10px 0;

    cursor: pointer;

    transition: all 0.3s ease;
}


/* HOVER */

.tinr-admin-tab-btn-in-admin-staffmain:hover {
    color: white;
}


/* ACTIVE TAB */

.tinr-admin-active-tab-in-admin-staffmain {
    color: #facc15;
}


/* ACTIVE BORDER */

.tinr-admin-active-tab-in-admin-staffmain::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -1px;

    width: 100%;
    height: 2px;

    background: #facc15;

    border-radius: 20px;
}


/* =========================
   CONTENT
========================= */

.tinr-admin-content-in-admin-staffmain {
    padding: 30px;
}


/* =========================
   CARD
========================= */

.tinr-admin-card-in-admin-staffmain {

    background: #081225;

    border: 1px solid #1e293b;

    border-radius: 20px;

    padding: 30px;
}


/* =========================
   TITLE
========================= */

.tinr-admin-title-in-admin-staffmain {

    color: white;

    font-size: 32px;
    font-weight: 700;

    margin-bottom: 12px;
}


/* =========================
   SUBTITLE
========================= */

.tinr-admin-subtitle-in-admin-staffmain {

    color: #94a3b8;

    font-size: 15px;
    line-height: 24px;
}/* =========================================
   MAIN CONTAINER
========================================= */

.tinr-admin-admin-makestaff-container-in-admin-makestaff{
    width: 100%;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #020b1c;
    padding: 30px;
    box-sizing: border-box;
}

/* =========================================
   CARD
========================================= */

.tinr-admin-admin-makestaff-card-in-admin-makestaff{
    width: 100%;
    max-width: 500px;
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 35px;
    box-sizing: border-box;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

/* =========================================
   TITLE
========================================= */

.tinr-admin-admin-makestaff-title-in-admin-makestaff{
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* =========================================
   SUBTITLE
========================================= */

.tinr-admin-admin-makestaff-subtitle-in-admin-makestaff{
    color: #94a3b8;
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 30px;
}

/* =========================================
   FIELD
========================================= */

.tinr-admin-admin-makestaff-field-in-admin-makestaff{
    width: 100%;
    margin-bottom: 25px;
}

/* =========================================
   LABEL
========================================= */

.tinr-admin-admin-makestaff-label-in-admin-makestaff{
    display: block;
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

/* =========================================
   SELECT BOX
========================================= */

.tinr-admin-admin-makestaff-select-in-admin-makestaff{
    width: 100%;
    background: #111827;
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 14px 16px;
    color: #ffffff;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.tinr-admin-admin-makestaff-select-in-admin-makestaff:focus{
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}

/* =========================================
   BUTTON
========================================= */

.tinr-admin-admin-makestaff-button-in-admin-makestaff{
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tinr-admin-admin-makestaff-button-in-admin-makestaff:hover{
    background: #1d4ed8;
}

.tinr-admin-admin-makestaff-button-in-admin-makestaff:disabled{
    opacity: 0.6;
    cursor: not-allowed;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 768px){

    .tinr-admin-admin-makestaff-card-in-admin-makestaff{
        padding: 25px;
    }

    .tinr-admin-admin-makestaff-title-in-admin-makestaff{
        font-size: 26px;
    }

}.tinr-admin-admin-staff-container-in-adminstaff{
    width: 100%;
    padding: 20px;
    background: #020b1c;
    min-height: 100vh;
}

.tinr-admin-admin-staff-header-in-adminstaff{
    margin-bottom: 25px;
}

.tinr-admin-admin-staff-title-in-adminstaff{
    color: white;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.tinr-admin-admin-staff-subtitle-in-adminstaff{
    color: #94a3b8;
    font-size: 15px;
}

.tinr-admin-admin-staff-table-wrapper-in-adminstaff{
    width: 100%;
    overflow-x: auto;
    border: 1px solid #1e293b;
    border-radius: 12px;
}

.tinr-admin-admin-staff-table-in-adminstaff{
    width: 100%;
    border-collapse: collapse;
    background: #0f172a;
}

.tinr-admin-admin-staff-table-in-adminstaff thead{
    background: #111827;
}

.tinr-admin-admin-staff-table-in-adminstaff th{
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    padding: 16px;
    border-bottom: 1px solid #1e293b;
}

.tinr-admin-admin-staff-table-in-adminstaff td{
    color: white;
    padding: 16px;
    border-bottom: 1px solid #1e293b;
    font-size: 14px;
}

.tinr-admin-admin-staff-table-in-adminstaff tr:hover{
    background: #111827;
}

.tinr-admin-admin-staff-role-badge-in-adminstaff{
    background: #2563eb;
    color: white;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

.tinr-admin-admin-staff-active-in-adminstaff{
    color: #22c55e;
    font-weight: 600;
}

.tinr-admin-admin-staff-inactive-in-adminstaff{
    color: #ef4444;
    font-weight: 600;
}

.tinr-admin-admin-staff-loading-in-adminstaff{
    text-align: center;
    padding: 30px;
    color: #94a3b8;
}.tinr-admin-admin-staffpermissions-container-in-adminstaffpermissions{
    width: 100%;
    min-height: 100vh;
    background: #020b1c;
    padding: 30px;
    box-sizing: border-box;
}

.tinr-admin-admin-staffpermissions-card-in-adminstaffpermissions{
    width: 100%;
    max-width: 900px;
    margin: auto;
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 30px;
    box-sizing: border-box;
}

.tinr-admin-admin-staffpermissions-title-in-adminstaffpermissions{
    color: white;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.tinr-admin-admin-staffpermissions-subtitle-in-adminstaffpermissions{
    color: #94a3b8;
    margin-bottom: 30px;
}

.tinr-admin-admin-staffpermissions-field-in-adminstaffpermissions{
    margin-bottom: 30px;
}

.tinr-admin-admin-staffpermissions-label-in-adminstaffpermissions{
    display: block;
    color: #e2e8f0;
    margin-bottom: 10px;
    font-size: 15px;
}

.tinr-admin-admin-staffpermissions-select-in-adminstaffpermissions{
    width: 100%;
    background: #111827;
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 14px;
    color: white;
    outline: none;
    font-size: 15px;
}

.tinr-admin-admin-staffpermissions-select-in-adminstaffpermissions:focus{
    border-color: #2563eb;
}

.tinr-admin-admin-staffpermissions-grid-in-adminstaffpermissions{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.tinr-admin-admin-staffpermissions-checkboxbox-in-adminstaffpermissions{
    display: flex;
    align-items: center;
    gap: 12px;
    background: #111827;
    border: 1px solid #1e293b;
    border-radius: 10px;
    padding: 14px;
    color: white;
    font-size: 15px;
    cursor: pointer;
}

.tinr-admin-admin-staffpermissions-checkboxbox-in-adminstaffpermissions input{
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.tinr-admin-admin-staffpermissions-button-in-adminstaffpermissions{
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.tinr-admin-admin-staffpermissions-button-in-adminstaffpermissions:hover{
    background: #1d4ed8;
}

@media(max-width:768px){

    .tinr-admin-admin-staffpermissions-grid-in-adminstaffpermissions{
        grid-template-columns: 1fr;
    }

}.tinr-admin-users-action-container {
  display: flex;
  gap: 20px;
  margin: 20px;
  flex-wrap: wrap;
}

.tinr-admin-users-card {
  flex: 1;
  min-width: 250px;
  background: #161b22;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid #30363d;
}

.tinr-admin-users-card h3 {
  color: #9ca3af;
  margin-bottom: 10px;
}

.tinr-admin-users-card h1 {
  color: #00e5ff;
  font-size: 32px;
  margin: 0;
}/* .tinr-admin-category-users-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 350px;
}

.tinr-admin-dashboard-card {
  background: #111827;
  padding: 15px 20px;
  border-radius: 10px;
  border: 1px solid #2d3748;
} */




.tinr-admin-category-summary{
  max-width: 400px;
}

.tinr-admin-category-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid #2b3445;
  font-size:18px;
  font-weight:600;
}

.tinr-admin-count-box{
  min-width:60px;
  text-align:center;
  padding:6px 12px;
  border:1px solid #3b455a;
  border-radius:6px;
  background:#111827;
}.tinr-admin-reports-action-container {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.tinr-admin-reports-action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.tinr-admin-reports-action-card {
    background: #1c2128;
    border: 1px solid #363c47;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: .3s;
    width: 100%;
    box-sizing: border-box;
}

.tinr-admin-reports-action-card:hover {
    transform: translateY(-4px);
    border-color: #00d9ff;
    box-shadow: 0 0 15px rgba(0, 229, 255, .15);
}

.tinr-admin-reports-action-card h3 {
    color: #cfd3da;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.tinr-admin-reports-action-card h1 {
    color: #00e5ff;
    font-size: 42px;
    font-weight: 700;
    margin: 0;
}


.tinr-admin-reports-section {
    margin-bottom: 35px;
    padding: 20px;
    border: 1px solid #2f3642;
    border-radius: 14px;
    background: #111827;
}

.tinr-admin-reports-section h2 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 22px;
    border-left: 4px solid #00e5ff;
    padding-left: 12px;
}

.tinr-admin-reports-filter {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.tinr-admin-filter-box {
    display: flex;
    flex-direction: column;
}

.tinr-admin-filter-box label {
    color: #fff;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
}

.tinr-admin-filter-box input {
    width: 190px;
    height: 48px;
    padding: 0 14px;
    border-radius: 12px;
    background: #121b2d;
    border: 1px solid #2c3c56;
    color: #fff;
    outline: none;
}

.tinr-admin-filter-box input:focus {
    border-color: #14d9ff;
}

.tinr-admin-reports-filter{
    display:flex;
    align-items:flex-end;
    gap:20px;
    margin-bottom:25px;
    flex-wrap:wrap;
}

.tinr-admin-filter-btn-box{
    display:flex;
    align-items:flex-end;
}

.tinr-admin-reports-clear-btn{
    height:48px;
    padding:0 24px;
    border:none;
    border-radius:12px;
    background:#079cb9;
    color:#fff;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.tinr-admin-reports-clear-btn:hover{
    background:#d9363e;
}

/* Chrome / Edge */
.tinr-admin-filter-box input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(1) brightness(2);
    opacity: 1;
}

@media (max-width:768px) {

    .tinr-admin-reports-action-container {
        padding: 12px;
    }

    .tinr-admin-reports-action-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .tinr-admin-reports-action-card {
        padding: 18px;
    }

    .tinr-admin-reports-action-card h3 {
        font-size: 18px;
    }

    .tinr-admin-reports-action-card h1 {
        font-size: 34px;
    }

}.tinr-admin-add-customer-page {
    width: 100%;
    min-height: 100vh;
    padding: 30px;
    box-sizing: border-box;
    background: #f5f7fb;
}


.tinr-admin-add-customer-card {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 14px;
    padding: 30px;
    box-sizing: border-box;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}


.tinr-admin-customer-header {
    margin-bottom: 25px;
}


.tinr-admin-customer-header h2 {
    margin: 0;
    font-size: 25px;
    font-weight: 700;
    color: #111827;
}


.tinr-admin-customer-header p {
    margin-top: 7px;
    color: #6b7280;
    font-size: 14px;
}


.tinr-admin-form-group {
    margin-bottom: 20px;
}


.tinr-admin-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}


.tinr-admin-form-group input,
.tinr-admin-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    box-sizing: border-box;
    background: #ffffff;
    color: #111827;
    /* ✅ Typed text black */
    caret-color: #111827;
    transition: 0.2s;
}


.tinr-admin-form-group input:focus,
.tinr-admin-form-group textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}


.tinr-admin-form-group textarea {
    resize: vertical;
}


.tinr-admin-add-customer-btn {
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 13px;
    background: #111827;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}


.tinr-admin-add-customer-btn:hover {
    background: #1f2937;
}


.tinr-admin-add-customer-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


.tinr-admin-success-message {
    padding: 11px;
    margin-bottom: 15px;
    border-radius: 7px;
    background: #dcfce7;
    color: #166534;
    font-size: 14px;
}


.tinr-admin-error-message {
    padding: 11px;
    margin-bottom: 15px;
    border-radius: 7px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 14px;
}


@media (max-width: 600px) {

    .tinr-admin-add-customer-page {
        padding: 15px;
    }

    .tinr-admin-add-customer-card {
        padding: 20px;
    }

    .tinr-admin-customer-header h2 {
        font-size: 21px;
    }

}.tinr-admin-view-customer-page {
  width: 100%;
  min-height: 100%;
  padding: 25px;
  box-sizing: border-box;
}


/* =========================
   HEADER
========================= */

.tinr-admin-view-customer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}


.tinr-admin-view-customer-header h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 700;
  color: #111827;
}


.tinr-admin-view-customer-header p {
  margin: 6px 0 0;
  color: #6b7280;
  font-size: 14px;
}


.tinr-admin-customer-count {
  padding: 10px 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #4b5563;
  font-size: 14px;
}


.tinr-admin-customer-count strong {
  color: #111827;
}


/* =========================
   TOOLBAR
========================= */

.tinr-admin-customer-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}


.tinr-admin-customer-toolbar input {
  flex: 1;
  min-width: 0;
  padding: 12px 15px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  outline: none;
  font-size: 14px;
  box-sizing: border-box;
}


.tinr-admin-customer-toolbar input:focus {
  border-color: #2563eb;
}


.tinr-admin-refresh-btn {
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  background: #111827;
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}


.tinr-admin-refresh-btn:hover {
  background: #1f2937;
}


/* =========================
   TABLE
========================= */

.tinr-admin-customer-table-container {
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  overflow-x: auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}


.tinr-admin-customer-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 950px;
}


.tinr-admin-customer-table thead {
  background: #f3f4f6;
}


.tinr-admin-customer-table th {
  padding: 14px 15px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  white-space: nowrap;
}


.tinr-admin-customer-table td {
  padding: 14px 15px;
  border-top: 1px solid #e5e7eb;
  font-size: 14px;
  color: #4b5563;
  vertical-align: top;
}


.tinr-admin-customer-table tbody tr:hover {
  background: #f9fafb;
}


.tinr-admin-username-cell {
  font-weight: 600;
  color: #111827 !important;
}


.tinr-admin-address-cell {
  max-width: 250px;
  white-space: normal;
  line-height: 1.5;
}


/* =========================
   STATES
========================= */

.tinr-admin-customer-loading,
.tinr-admin-no-customers,
.tinr-admin-customer-error {
  width: 100%;
  box-sizing: border-box;
  padding: 40px;
  text-align: center;
  background: #ffffff;
  border-radius: 12px;
  color: #6b7280;
}


.tinr-admin-customer-error {
  color: #b91c1c;
  background: #fef2f2;
}

/* =========================
   EDIT / DELETE ACTION BUTTONS
========================= */

.tinr-admin-customer-action-cell {
  white-space: nowrap;
  min-width: 160px;
}

.tinr-admin-edit-customer-btn,
.tinr-admin-delete-customer-btn,
.tinr-admin-save-customer-btn,
.tinr-admin-cancel-customer-btn {
  border: none;
  border-radius: 6px;
  padding: 7px 12px;
  margin-right: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* EDIT */
.tinr-admin-edit-customer-btn {
  background: #2563eb;
  color: #ffffff;
}

.tinr-admin-edit-customer-btn:hover {
  background: #1d4ed8;
}

/* DELETE */
.tinr-admin-delete-customer-btn {
  background: #dc2626;
  color: #ffffff;
}

.tinr-admin-delete-customer-btn:hover {
  background: #b91c1c;
}

/* SAVE */
.tinr-admin-save-customer-btn {
  background: #16a34a;
  color: #ffffff;
}

.tinr-admin-save-customer-btn:hover {
  background: #15803d;
}

/* CANCEL */
.tinr-admin-cancel-customer-btn {
  background: #64748b;
  color: #ffffff;
}

.tinr-admin-cancel-customer-btn:hover {
  background: #475569;
}

/* EDIT INPUT */
.tinr-admin-edit-customer-input {
  width: 100%;
  min-width: 150px;
  padding: 8px 10px;
  border: 1px solid #2563eb;
  border-radius: 6px;
  outline: none;
  font-size: 13px;
  box-sizing: border-box;
  background: #ffffff;
  color: #111827;
}

.tinr-admin-edit-customer-input:focus {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}






/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .tinr-admin-view-customer-page {
    padding: 15px;
  }


  .tinr-admin-view-customer-header {
    align-items: flex-start;
    flex-direction: column;
  }


  .tinr-admin-view-customer-header h2 {
    font-size: 21px;
  }


  .tinr-admin-customer-count {
    width: 100%;
    box-sizing: border-box;
  }


  .tinr-admin-customer-toolbar {
    flex-direction: column;
  }


  .tinr-admin-customer-toolbar input {
    width: 100%;
  }


  .tinr-admin-refresh-btn {
    width: 100%;
  }

    .tinr-admin-customer-action-cell {
    min-width: 140px;
  }

  .tinr-admin-edit-customer-btn,
  .tinr-admin-delete-customer-btn,
  .tinr-admin-save-customer-btn,
  .tinr-admin-cancel-customer-btn {
    padding: 6px 9px;
    font-size: 11px;
    margin-right: 4px;
    margin-bottom: 4px;
  }

  .tinr-admin-edit-customer-input {
    min-width: 120px;
    font-size: 12px;
    padding: 7px 8px;
  }

}.tinr-admin-add-call-history-page {
  width: 100%;
  min-height: 100vh;
  padding: 30px;
  box-sizing: border-box;
  background: #f5f7fb;
}


/* =================================
   CARD
================================= */

.tinr-admin-add-call-history-card {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;

  background: #ffffff;

  border-radius: 14px;

  padding: 30px;

  box-sizing: border-box;

  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.08);
}


/* =================================
   HEADER
================================= */

.tinr-admin-call-history-header {
  margin-bottom: 25px;
}


.tinr-admin-call-history-header h2 {
  margin: 0;

  font-size: 25px;

  font-weight: 700;

  color: #111827;
}


.tinr-admin-call-history-header p {
  margin-top: 7px;

  color: #6b7280;

  font-size: 14px;
}


/* =================================
   FORM
================================= */

.tinr-admin-form-group {
  margin-bottom: 20px;
}


.tinr-admin-form-group label {
  display: block;

  margin-bottom: 8px;

  font-size: 14px;

  font-weight: 600;

  color: #374151;
}


/* =================================
   SELECT + TEXTAREA
================================= */

.tinr-admin-form-group select,
.tinr-admin-form-group textarea {

  width: 100%;

  padding: 12px 14px;

  border: 1px solid #d1d5db;

  border-radius: 8px;

  outline: none;

  font-size: 14px;

  box-sizing: border-box;

  background: #ffffff;

  color: #111827;

  caret-color: #111827;

  transition: 0.2s;
}


.tinr-admin-form-group select:focus,
.tinr-admin-form-group textarea:focus {

  border-color: #2563eb;

  box-shadow:
    0 0 0 3px rgba(
      37,
      99,
      235,
      0.1
    );
}


/* =================================
   SELECT
================================= */

.tinr-admin-form-group select {

  cursor: pointer;

  height: 46px;
}


/* =================================
   TEXTAREA
================================= */

.tinr-admin-form-group textarea {

  resize: vertical;

  min-height: 120px;
}


.tinr-admin-form-group textarea::placeholder {

  color: #6b7280;

  opacity: 1;
}


/* =================================
   SAVE BUTTON
================================= */

.tinr-admin-save-call-history-btn {

  width: 100%;

  border: none;

  border-radius: 8px;

  padding: 13px;

  background: #111827;

  color: #ffffff;

  font-size: 15px;

  font-weight: 600;

  cursor: pointer;

  transition: 0.2s;
}


.tinr-admin-save-call-history-btn:hover {

  background: #1f2937;
}


.tinr-admin-save-call-history-btn:disabled {

  opacity: 0.6;

  cursor: not-allowed;
}


/* =================================
   MESSAGES
================================= */

.tinr-admin-success-message {

  padding: 11px;

  margin-bottom: 15px;

  border-radius: 7px;

  background: #dcfce7;

  color: #166534;

  font-size: 14px;
}


.tinr-admin-error-message {

  padding: 11px;

  margin-bottom: 15px;

  border-radius: 7px;

  background: #fee2e2;

  color: #991b1b;

  font-size: 14px;
}



/* ==========================================
   CUSTOMER SEARCH
========================================== */

.tinr-admin-customer-search-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}


.tinr-admin-search-field {
  display: flex;
  flex-direction: column;
}


.tinr-admin-search-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}


.tinr-admin-search-field input {
  width: 100%;
  height: 46px;
  padding: 12px 14px;
  box-sizing: border-box;

  border: 1px solid #d1d5db;
  border-radius: 8px;

  outline: none;

  background: #ffffff;
  color: #111827;

  font-size: 14px;

  transition: 0.2s;
}


.tinr-admin-search-field input::placeholder {
  color: #6b7280;
  opacity: 1;
}


.tinr-admin-search-field input:focus {
  border-color: #2563eb;

  box-shadow:
    0 0 0 3px rgba(
      37,
      99,
      235,
      0.1
    );
}


/* ==========================================
   NOTE HEADER
========================================== */

.tinr-admin-note-section {
  width: 100%;
}


.tinr-admin-note-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 8px;
}


.tinr-admin-note-header label {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}


.tinr-admin-note-header select {
  width: 180px;
  height: 40px;
  padding: 8px 12px;

  border: 1px solid #d1d5db;
  border-radius: 7px;

  background: #ffffff;
  color: #111827;

  font-size: 13px;
  outline: none;

  cursor: pointer;
}


.tinr-admin-note-header select:focus {
  border-color: #2563eb;

  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.1);
}


/* NOTE TEXTAREA */

.tinr-admin-note-section textarea {
  width: 100%;
  box-sizing: border-box;

  padding: 12px 14px;

  border: 1px solid #d1d5db;
  border-radius: 8px;

  background: #ffffff;
  color: #111827;

  font-size: 14px;
  outline: none;

  resize: vertical;
}


.tinr-admin-note-section textarea::placeholder {
  color: #6b7280;
}


.tinr-admin-note-section textarea:focus {
  border-color: #2563eb;

  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ==========================================
   TELECALLER SECTION
========================================== */

.tinr-admin-telecaller-section {
  margin-bottom: 18px;
}

.tinr-admin-telecaller-section p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;

  font-size: 15px;
  font-weight: 500;
  color: #21439b;
}

.tinr-admin-telecaller-section p::first-line {
  color: #d7dbe5;
}


/* ==========================================
   EDIT ICON
========================================== */

.tinr-admin-telecaller-edit-icon {
  font-size: 14px;
  color: #9ca3af;
  cursor: pointer;
  transition: 0.2s ease;
}

.tinr-admin-telecaller-edit-icon:hover {
  color: #111827;
  transform: scale(1.1);
}


/* ==========================================
   TELECALLER DROPDOWN
========================================== */

.tinr-admin-telecaller-select-box {
  margin-top: 8px;
  margin-bottom: 18px;
}

.tinr-admin-telecaller-select-box select {
  width: 150px;
  height: 38px;

  padding: 0 10px;

  border: 1px solid #cfd5df;
  border-radius: 6px;

  background: #ffffff;
  color: #111827;

  font-size: 14px;
  font-weight: 500;

  outline: none;
  cursor: pointer;

  transition: all 0.2s ease;
}

.tinr-admin-telecaller-select-box select:hover {
  border-color: #9ca3af;
}

.tinr-admin-telecaller-select-box select:focus {
  border-color: #111827;
  box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.08);
}




/* =================================
   MOBILE
================================= */

@media (max-width: 600px) {

  .tinr-admin-add-call-history-page {

    padding: 15px;

  }


  .tinr-admin-add-call-history-card {

    padding: 20px;

  }


  .tinr-admin-call-history-header h2 {

    font-size: 21px;

  }


    .tinr-admin-customer-search-section {
    grid-template-columns: 1fr;
    gap: 15px;
  }


   .tinr-admin-note-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .tinr-admin-note-header select {
    width: 100%;
  }


    .tinr-admin-telecaller-section {
    margin-bottom: 14px;
  }

  .tinr-admin-telecaller-section p {
    font-size: 14px;
  }

  .tinr-admin-telecaller-select-box select {
    width: 100%;
    height: 40px;
  }

}.tinr-admin-view-call-history-page {
  width: 100%;
  min-height: 100vh;
  padding: 30px;
  box-sizing: border-box;
  background: #f5f7fb;
}


/* ==========================================
   CONTAINER
========================================== */

.tinr-admin-view-call-history-container {
  width: 100%;
  background: #ffffff;
  border-radius: 14px;
  padding: 25px;
  box-sizing: border-box;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
}


/* ==========================================
   HEADER
========================================== */

.tinr-admin-call-history-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}


.tinr-admin-call-history-page-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #111827;
}


.tinr-admin-call-history-page-header p {
  margin: 6px 0 0;
  font-size: 14px;
  color: #6b7280;
}


/* ==========================================
   COUNT
========================================== */

.tinr-admin-call-history-count {
  background: #111827;
  color: #ffffff;
  padding: 9px 15px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}


/* ==========================================
   TABLE WRAPPER
========================================== */

.tinr-admin-call-history-table-wrapper {
  width: 100%;
  overflow-x: auto;
}


/* ==========================================
   TABLE
========================================== */

.tinr-admin-call-history-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
}


.tinr-admin-call-history-table th {
  background: #f3f4f6;
  color: #374151;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  padding: 14px;
  border-bottom: 1px solid #e5e7eb;
}


.tinr-admin-call-history-table td {
  padding: 15px 14px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  color: #374151;
  vertical-align: top;
}


.tinr-admin-call-history-table tbody tr:hover {
  background: #f9fafb;
}


/* ==========================================
   CUSTOMER
========================================== */

.tinr-admin-customer-name {
  font-weight: 600;
  color: #111827;
}


/* ==========================================
   NOTE
========================================== */

.tinr-admin-call-note {
  max-width: 450px;
  line-height: 1.5;
  white-space: normal;
  word-break: break-word;
  color: #4b5563;
}


/* ==========================================
   LOADING / EMPTY
========================================== */

.tinr-admin-call-history-message {
  width: 100%;
  padding: 40px 20px;
  text-align: center;
  color: #6b7280;
  font-size: 15px;
  box-sizing: border-box;
}


/* ==========================================
   ERROR
========================================== */

.tinr-admin-call-history-error {
  width: 100%;
  padding: 15px;
  box-sizing: border-box;
  border-radius: 8px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 14px;
}


.tinr-admin-add-call-history-btn {
  display: block;
  margin-left: auto;
  margin-bottom: 20px;

  padding: 10px 20px;
  border: none;
  border-radius: 6px;

  background: #0a0d14;
  color: #fff;

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;
  transition: 0.2s ease;
}

.tinr-admin-add-call-history-btn:hover {
  background: #888d99;
  transform: translateY(-1px);
}

.tinr-admin-add-call-history-btn:active {
  transform: translateY(0);
}

.tinr-admin-call-history-action-cell {
  white-space: nowrap;
  min-width: 150px;
}

.tinr-admin-edit-call-btn,
.tinr-admin-delete-call-btn,
.tinr-admin-save-call-btn,
.tinr-admin-cancel-call-btn {
  border: none;
  border-radius: 5px;
  padding: 7px 11px;
  margin-right: 5px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.tinr-admin-edit-call-btn {
  background: #2563eb;
  color: #ffffff;
}

.tinr-admin-edit-call-btn:hover {
  background: #1d4ed8;
}

.tinr-admin-delete-call-btn {
  background: #dc2626;
  color: #ffffff;
}

.tinr-admin-delete-call-btn:hover {
  background: #b91c1c;
}

.tinr-admin-save-call-btn {
  background: #16a34a;
  color: #ffffff;
}

.tinr-admin-save-call-btn:hover {
  background: #15803d;
}

.tinr-admin-cancel-call-btn {
  background: #64748b;
  color: #ffffff;
}

.tinr-admin-cancel-call-btn:hover {
  background: #475569;
}

.tinr-admin-call-history-edit-input {
  width: 100%;
  min-width: 150px;
  padding: 8px 9px;
  border: 1px solid #2563eb;
  border-radius: 5px;
  background: #ffffff;
  color: #111827;
  font-size: 13px;
  box-sizing: border-box;
}

.tinr-admin-call-history-edit-input:focus {
  outline: none;
  border-color: #1d4ed8;
}

.tinr-admin-call-history-edit-note {
  width: 100%;
  min-width: 180px;
  min-height: 55px;
  padding: 8px 9px;
  border: 1px solid #2563eb;
  border-radius: 5px;
  background: #ffffff;
  color: #111827;
  font-size: 13px;
  resize: vertical;
  box-sizing: border-box;
}

.tinr-admin-call-history-edit-note:focus {
  outline: none;
  border-color: #1d4ed8;
}

@media (max-width: 768px) {
  .tinr-admin-call-history-action-cell {
    min-width: 130px;
  }

  .tinr-admin-edit-call-btn,
  .tinr-admin-delete-call-btn,
  .tinr-admin-save-call-btn,
  .tinr-admin-cancel-call-btn {
    padding: 6px 8px;
    font-size: 11px;
    margin-bottom: 3px;
  }

  .tinr-admin-call-history-edit-input {
    min-width: 120px;
    font-size: 12px;
  }

  .tinr-admin-call-history-edit-note {
    min-width: 150px;
    font-size: 12px;
  }
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 700px) {

  .tinr-admin-view-call-history-page {
    padding: 15px;
  }

  .tinr-admin-view-call-history-container {
    padding: 18px;
    border-radius: 10px;
  }

  .tinr-admin-call-history-page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .tinr-admin-call-history-page-header h2 {
    font-size: 21px;
  }

  .tinr-admin-call-history-count {
    align-self: flex-start;
  }

}.tinr-admin-add-telecaller-page {
  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: flex-start;

  padding: 40px 20px;

  box-sizing: border-box;
}


.tinr-admin-add-telecaller-card {
  width: 100%;
  max-width: 700px;

  background: #ffffff;

  border-radius: 16px;

  padding: 32px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  box-sizing: border-box;
}


/* HEADER */

.tinr-admin-telecaller-header {
  margin-bottom: 28px;
}


.tinr-admin-telecaller-header h2 {
  margin: 0 0 6px;

  font-size: 28px;

  color: #111827;
}


.tinr-admin-telecaller-header p {
  margin: 0;

  color: #64748b;

  font-size: 14px;
}


/* FORM */

.tinr-admin-form-group {
  margin-bottom: 22px;
}


.tinr-admin-form-group label {
  display: block;

  margin-bottom: 8px;

  font-size: 14px;

  font-weight: 600;

  color: #111827;
}


.tinr-admin-form-group input {
  width: 100%;

  height: 46px;

  padding: 0 14px;

  box-sizing: border-box;

  border: 1px solid #cbd5e1;

  border-radius: 8px;

  background: #ffffff;

  color: #111827;

  font-size: 14px;

  outline: none;
}


.tinr-admin-form-group input::placeholder {
  color: #64748b;
}


.tinr-admin-form-group input:focus {
  border-color: #2563eb;

  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.1);
}


/* SAVE BUTTON */

.tinr-admin-add-telecaller-btn {
  width: 100%;

  height: 46px;

  border: none;

  border-radius: 8px;

  background: #111827;

  color: #ffffff;

  font-size: 15px;

  font-weight: 600;

  cursor: pointer;
}


.tinr-admin-add-telecaller-btn:hover {
  background: #1f2937;
}


.tinr-admin-add-telecaller-btn:disabled {
  opacity: 0.7;

  cursor: not-allowed;
}


/* SUCCESS */

.tinr-admin-success-message {
  margin-bottom: 15px;

  padding: 10px 12px;

  border-radius: 7px;

  background: #dcfce7;

  color: #166534;

  font-size: 14px;
}


/* ERROR */

.tinr-admin-error-message {
  margin-bottom: 15px;

  padding: 10px 12px;

  border-radius: 7px;

  background: #fee2e2;

  color: #991b1b;

  font-size: 14px;
}


/* MOBILE */

@media (max-width: 600px) {

  .tinr-admin-add-telecaller-page {
    padding: 20px 12px;
  }


  .tinr-admin-add-telecaller-card {
    padding: 22px 18px;
  }


  .tinr-admin-telecaller-header h2 {
    font-size: 24px;
  }

}/* ==========================================
   CUSTOMER PROFILE PAGE
========================================== */

.tinr-admin-customer-profile-page {
  min-height: 100vh;
  padding: 30px;
  background: #020617;
  color: #ffffff;
  box-sizing: border-box;
}


/* ==========================================
   HEADER
========================================== */

.tinr-admin-customer-profile-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 25px;
}

.tinr-admin-customer-profile-header h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
}

.tinr-admin-customer-profile-header p {
  margin: 5px 0 0;
  color: #8b98ad;
  font-size: 14px;
}


/* ==========================================
   BACK BUTTON
========================================== */

.tinr-admin-customer-profile-back-btn {
  padding: 10px 18px;
  border: 1px solid #263247;
  border-radius: 7px;

  background: #111827;
  color: #ffffff;

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;
  transition: 0.2s ease;
}

.tinr-admin-customer-profile-back-btn:hover {
  background: #1e293b;
  border-color: #3b82f6;
}


/* ==========================================
   PROFILE CARD
========================================== */

.tinr-admin-customer-profile-card {
  width: 100%;
  margin-bottom: 25px;

  background: #111827;
  border: 1px solid #263247;
  border-radius: 12px;

  box-sizing: border-box;
  overflow: hidden;
}


/* ==========================================
   CARD HEADER
========================================== */

.tinr-admin-customer-profile-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 20px 22px;

  border-bottom: 1px solid #263247;
}

.tinr-admin-customer-profile-card-header h3 {
  margin: 0;

  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
}

.tinr-admin-call-history-subtitle {
  margin: 5px 0 0;

  color: #8b98ad;
  font-size: 13px;
}


/* ==========================================
   CUSTOMER ID BADGE
========================================== */

.tinr-admin-customer-id-badge {
  padding: 7px 12px;

  background: #172033;
  border: 1px solid #30405a;
  border-radius: 6px;

  color: #60a5fa;

  font-size: 13px;
  font-weight: 600;
}


/* ==========================================
   CUSTOMER DETAILS
========================================== */

.tinr-admin-customer-profile-details {
  padding: 5px 22px 15px;
}

.tinr-admin-customer-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;

  min-height: 55px;

  border-bottom: 1px solid #202a3a;
  gap: 20px;
}

.tinr-admin-customer-detail-row:last-child {
  border-bottom: none;
}

.tinr-admin-customer-detail-row span {
  color: #94a3b8;
  font-size: 14px;
}

.tinr-admin-customer-detail-row strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-align: right;

  word-break: break-word;
}


/* ==========================================
   REGISTERED USER ID BUTTON
========================================== */

.tinr-admin-profile-registered-user-btn {
  padding: 5px 10px;

  border: 1px solid #2563eb;
  border-radius: 5px;

  background: transparent;
  color: #60a5fa;

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;
  transition: 0.2s ease;
}

.tinr-admin-profile-registered-user-btn:hover {
  background: #1d4ed8;
  color: #ffffff;
}


/* ==========================================
   CALL HISTORY COUNT
========================================== */

.tinr-admin-call-history-count {
  padding: 7px 13px;

  background: #172033;
  border: 1px solid #30405a;
  border-radius: 6px;

  color: #00ff95;

  font-size: 13px;
  font-weight: 600;
}


/* ==========================================
   CALL HISTORY TABLE
========================================== */

.tinr-admin-customer-call-history-wrapper {
  width: 100%;
  overflow-x: auto;
}

.tinr-admin-customer-call-history-table {
  width: 100%;
  border-collapse: collapse;

  font-size: 14px;
}

.tinr-admin-customer-call-history-table thead {
  background: #1a2230;
}

.tinr-admin-customer-call-history-table th {
  padding: 14px 18px;

  color: #cbd5e1;

  font-size: 13px;
  font-weight: 600;

  text-align: left;

  border-bottom: 1px solid #303b4f;
  white-space: nowrap;
}

.tinr-admin-customer-call-history-table td {
  padding: 15px 18px;

  color: #dbe4f0;

  border-bottom: 1px solid #202a3a;

  vertical-align: top;
}

.tinr-admin-customer-call-history-table tbody tr {
  transition: 0.2s ease;
}

.tinr-admin-customer-call-history-table tbody tr:hover {
  background: #151e2d;
}

.tinr-admin-customer-call-history-table tbody tr:last-child td {
  border-bottom: none;
}


/* ==========================================
   CALL NOTE
========================================== */

.tinr-admin-customer-call-note {
  max-width: 500px;

  color: #e2e8f0;

  line-height: 1.5;
  word-break: break-word;
}


/* ==========================================
   LOADING / MESSAGE
========================================== */

.tinr-admin-customer-profile-loading,
.tinr-admin-customer-profile-message {
  padding: 35px;

  text-align: center;

  color: #94a3b8;

  font-size: 15px;
}


/* ==========================================
   ERROR
========================================== */

.tinr-admin-customer-profile-error {
  margin: 20px 0;
  padding: 14px 18px;

  background: #2a1518;
  border: 1px solid #7f1d1d;
  border-radius: 8px;

  color: #f87171;

  font-size: 14px;
}


/* ==========================================
   HISTORY MODE BADGES
========================================== */

.tinr-admin-history-mode-call,
.tinr-admin-history-mode-message {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 82px;
  padding: 6px 12px;

  border-radius: 20px;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;

  white-space: nowrap;

  transition: all 0.25s ease;
}


/* =========================
   CALL - BLUE
========================= */

.tinr-admin-history-mode-call {
  color: #60a5fa;

  background: rgba(37, 99, 235, 0.15);

  border: 1px solid rgba(59, 130, 246, 0.55);

  box-shadow:
    0 0 8px rgba(37, 99, 235, 0.18);
}

.tinr-admin-history-mode-call::before {
  content: "☎";
  margin-right: 6px;
  font-size: 13px;
}

.tinr-admin-history-mode-call:hover {
  background: rgba(37, 99, 235, 0.25);

  border-color: #3b82f6;

  box-shadow:
    0 0 12px rgba(59, 130, 246, 0.35);

  transform: translateY(-1px);
}


/* =========================
   WHATSAPP - GREEN
========================= */

.tinr-admin-history-mode-message {
  color: #4ade80;

  background: rgba(34, 197, 94, 0.14);

  border: 1px solid rgba(34, 197, 94, 0.55);

  box-shadow:
    0 0 8px rgba(34, 197, 94, 0.18);
}

.tinr-admin-history-mode-message::before {
  content: "●";
  margin-right: 6px;
  font-size: 11px;
}

.tinr-admin-history-mode-message:hover {
  background: rgba(34, 197, 94, 0.24);

  border-color: #22c55e;

  box-shadow:
    0 0 12px rgba(34, 197, 94, 0.35);

  transform: translateY(-1px);
}


/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 768px) {

  .tinr-admin-customer-profile-page {
    padding: 15px;
  }

  .tinr-admin-customer-profile-header {
    align-items: flex-start;
    gap: 12px;
  }

  .tinr-admin-customer-profile-header h2 {
    font-size: 21px;
  }

  .tinr-admin-customer-profile-header p {
    font-size: 12px;
  }

  .tinr-admin-customer-profile-card-header {
    padding: 16px;
  }

  .tinr-admin-customer-profile-card-header h3 {
    font-size: 16px;
  }

  .tinr-admin-customer-profile-details {
    padding: 5px 16px 12px;
  }

  .tinr-admin-customer-detail-row {
    min-height: 52px;
  }

  .tinr-admin-customer-detail-row span {
    font-size: 13px;
  }

  .tinr-admin-customer-detail-row strong {
    max-width: 55%;
    font-size: 13px;
  }

  .tinr-admin-customer-call-history-table {
    min-width: 650px;
  }

  .tinr-admin-customer-call-history-table th,
  .tinr-admin-customer-call-history-table td {
    padding: 12px;
  }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

  .tinr-admin-customer-profile-page {
    padding: 10px;
  }

  .tinr-admin-customer-profile-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .tinr-admin-customer-profile-header h2 {
    font-size: 19px;
  }

  .tinr-admin-customer-profile-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .tinr-admin-customer-detail-row {
    flex-direction: column;
    align-items: flex-start;

    padding: 12px 0;
    gap: 5px;
  }

  .tinr-admin-customer-detail-row strong {
    max-width: 100%;
    text-align: left;
  }

  .tinr-admin-profile-registered-user-btn {
    font-size: 13px;
  }

  .tinr-admin-customer-id-badge,
  .tinr-admin-call-history-count {
    font-size: 12px;
  }

}.tinr-admin-add-whatsapp-history-page {
  width: 100%;
  min-height: calc(100vh - 50px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 30px 20px;
  box-sizing: border-box;
}

.tinr-admin-add-whatsapp-history-card {
  width: 100%;
  max-width: 700px;
  background: #ffffff;
  border-radius: 15px;
  padding: 30px;
  box-sizing: border-box;

  box-shadow:
    0 10px 35px rgba(0, 0, 0, 0.08);
}


/* ==============================
   HEADER
============================== */

.tinr-admin-whatsapp-history-header {
  margin-bottom: 25px;
}

.tinr-admin-whatsapp-history-header h2 {
  margin: 0 0 5px;
  font-size: 26px;
  font-weight: 700;
  color: #07152d;
}

.tinr-admin-whatsapp-history-header p {
  margin: 0;
  font-size: 14px;
  color: #60708a;
}


/* ==============================
   TELECALLER
============================== */

.tinr-admin-telecaller-section {
  margin-bottom: 20px;
}

.tinr-admin-telecaller-section p {
  margin: 0;
  font-size: 15px;
  color: #1647a5;
}

.tinr-admin-telecaller-edit-icon {
  margin-left: 5px;
  cursor: pointer;
  font-size: 14px;
  color: #8b96a8;
}

.tinr-admin-telecaller-select-box {
  margin-bottom: 20px;
}

.tinr-admin-telecaller-select-box select {
  width: 100%;
  height: 45px;
  border: 1px solid #ccd4df;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  outline: none;
}


/* ==============================
   SEARCH
============================== */

.tinr-admin-customer-search-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.tinr-admin-search-field {
  display: flex;
  flex-direction: column;
}

.tinr-admin-search-field label,
.tinr-admin-form-group label,
.tinr-admin-note-header label {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}

.tinr-admin-search-field input {
  width: 100%;
  height: 46px;
  box-sizing: border-box;

  border: 1px solid #ccd4df;
  border-radius: 9px;

  padding: 0 13px;

  font-size: 14px;
  color: #1f2937;

  outline: none;
}

.tinr-admin-search-field input:focus,
.tinr-admin-form-group select:focus,
.tinr-admin-note-section textarea:focus,
.tinr-admin-note-header select:focus {
  border-color: #8293aa;
}


/* ==============================
   CUSTOMER
============================== */

.tinr-admin-form-group {
  margin-bottom: 22px;
}

.tinr-admin-form-group select {
  width: 100%;
  height: 46px;

  border: 1px solid #ccd4df;
  border-radius: 9px;

  padding: 0 13px;

  background: #fff;

  font-size: 14px;

  outline: none;
}


/* ==============================
   NOTE
============================== */

.tinr-admin-note-section {
  margin-bottom: 5px;
}

.tinr-admin-note-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 8px;
}

.tinr-admin-note-header label {
  margin-bottom: 0;
}

.tinr-admin-note-header select {
  width: 180px;
  height: 40px;

  border: 1px solid #ccd4df;
  border-radius: 8px;

  background: #fff;

  padding: 0 10px;

  font-size: 13px;

  outline: none;
}

.tinr-admin-note-section textarea {
  width: 100%;
  min-height: 110px;

  resize: vertical;

  box-sizing: border-box;

  border: 1px solid #ccd4df;
  border-radius: 9px;

  padding: 14px;

  font-size: 14px;

  font-family: inherit;

  outline: none;
}


/* ==============================
   MESSAGES
============================== */

.tinr-admin-success-message {
  margin-top: 15px;
  padding: 10px 12px;

  border-radius: 7px;

  background: #e9f8ef;
  color: #18834b;

  font-size: 14px;
}

.tinr-admin-error-message {
  margin-top: 15px;
  padding: 10px 12px;

  border-radius: 7px;

  background: #fff0f0;
  color: #d22d2d;

  font-size: 14px;
}


/* ==============================
   SAVE BUTTON
============================== */

.tinr-admin-save-whatsapp-history-btn {
  width: 100%;
  height: 44px;

  margin-top: 5px;

  border: none;
  border-radius: 8px;

  background: #111827;
  color: #ffffff;

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;

  transition: 0.2s ease;
}

.tinr-admin-save-whatsapp-history-btn:hover {
  background: #1f2937;
}

.tinr-admin-save-whatsapp-history-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}


/* ==============================
   MOBILE
============================== */

@media (max-width: 700px) {

  .tinr-admin-add-whatsapp-history-page {
    padding: 20px 12px;
  }

  .tinr-admin-add-whatsapp-history-card {
    padding: 22px 18px;
    border-radius: 12px;
  }

  .tinr-admin-whatsapp-history-header h2 {
    font-size: 23px;
  }

  .tinr-admin-customer-search-section {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .tinr-admin-note-header {
    gap: 10px;
    align-items: flex-start;
  }

  .tinr-admin-note-header select {
    width: 160px;
  }

}.tinr-admin-view-whatsapp-history-page {
  width: 100%;
  min-height: 100vh;
  padding: 30px;
  box-sizing: border-box;
  background: #f5f7fb;
}


/* ==========================================
   CONTAINER
========================================== */

.tinr-admin-view-whatsapp-history-container {
  width: 100%;
  background: #ffffff;
  border-radius: 14px;
  padding: 25px;
  box-sizing: border-box;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
}


/* ==========================================
   HEADER
========================================== */

.tinr-admin-whatsapp-history-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.tinr-admin-whatsapp-history-page-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #111827;
}

.tinr-admin-whatsapp-history-page-header p {
  margin: 6px 0 0;
  font-size: 14px;
  color: #6b7280;
}


/* ==========================================
   COUNT
========================================== */

.tinr-admin-whatsapp-history-count {
  background: #111827;
  color: #ffffff;
  padding: 9px 15px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}


/* ==========================================
   ADD BUTTON
========================================== */

.tinr-admin-add-whatsapp-history-btn {
  display: block;
  margin-left: auto;
  margin-bottom: 20px;

  padding: 10px 20px;

  border: none;
  border-radius: 6px;

  background: #0a0d14;
  color: #ffffff;

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;

  transition: 0.2s ease;
}

.tinr-admin-add-whatsapp-history-btn:hover {
  background: #888d99;
  transform: translateY(-1px);
}

.tinr-admin-add-whatsapp-history-btn:active {
  transform: translateY(0);
}


/* ==========================================
   TABLE WRAPPER
========================================== */

.tinr-admin-whatsapp-history-table-wrapper {
  width: 100%;
  overflow-x: auto;
}


/* ==========================================
   TABLE
========================================== */

.tinr-admin-whatsapp-history-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1050px;
}


.tinr-admin-whatsapp-history-table th {
  background: #f3f4f6;
  color: #374151;

  font-size: 13px;
  font-weight: 700;

  text-align: left;

  padding: 14px;

  border-bottom: 1px solid #e5e7eb;
}


.tinr-admin-whatsapp-history-table td {
  padding: 15px 14px;

  border-bottom: 1px solid #e5e7eb;

  font-size: 14px;
  color: #374151;

  vertical-align: top;
}


.tinr-admin-whatsapp-history-table tbody tr:hover {
  background: #f9fafb;
}


/* ==========================================
   CUSTOMER
========================================== */

.tinr-admin-customer-name {
  font-weight: 600;
  color: #111827;
}


/* ==========================================
   CUSTOMER ID BUTTON
========================================== */

.tinr-admin-customer-id-btn {
  border: none;
  background: transparent;

  color: #111827;

  font-size: 14px;

  cursor: pointer;

  padding: 0;
}

.tinr-admin-customer-id-btn:hover {
  text-decoration: underline;
}


/* ==========================================
   REGISTERED USER ID
========================================== */

.tinr-admin-registered-user-id-btn {
  padding: 3px 7px;

  border: 1px solid #777;
  border-radius: 3px;

  background: #f8f8f8;

  color: #111827;

  font-size: 12px;

  cursor: pointer;
}

.tinr-admin-registered-user-id-btn:hover {
  background: #eeeeee;
}


/* ==========================================
   NOTE
========================================== */

.tinr-admin-whatsapp-note {
  max-width: 450px;

  line-height: 1.5;

  white-space: normal;
  word-break: break-word;

  color: #4b5563;
}


/* ==========================================
   ACTION
========================================== */

.tinr-admin-whatsapp-history-action-cell {
  white-space: nowrap;
  min-width: 150px;
}


.tinr-admin-edit-whatsapp-btn,
.tinr-admin-delete-whatsapp-btn,
.tinr-admin-save-whatsapp-btn,
.tinr-admin-cancel-whatsapp-btn {

  border: none;

  border-radius: 5px;

  padding: 7px 11px;

  margin-right: 5px;

  font-size: 12px;

  font-weight: 600;

  cursor: pointer;

  transition: 0.2s ease;
}


/* EDIT */

.tinr-admin-edit-whatsapp-btn {
  background: #2563eb;
  color: #ffffff;
}

.tinr-admin-edit-whatsapp-btn:hover {
  background: #1d4ed8;
}


/* DELETE */

.tinr-admin-delete-whatsapp-btn {
  background: #dc2626;
  color: #ffffff;
}

.tinr-admin-delete-whatsapp-btn:hover {
  background: #b91c1c;
}


/* SAVE */

.tinr-admin-save-whatsapp-btn {
  background: #16a34a;
  color: #ffffff;
}

.tinr-admin-save-whatsapp-btn:hover {
  background: #15803d;
}


/* CANCEL */

.tinr-admin-cancel-whatsapp-btn {
  background: #64748b;
  color: #ffffff;
}

.tinr-admin-cancel-whatsapp-btn:hover {
  background: #475569;
}


/* ==========================================
   EDIT NOTE
========================================== */

.tinr-admin-whatsapp-history-edit-note {
  width: 100%;
  min-width: 180px;
  min-height: 55px;

  padding: 8px 9px;

  border: 1px solid #2563eb;

  border-radius: 5px;

  background: #ffffff;

  color: #111827;

  font-size: 13px;

  resize: vertical;

  box-sizing: border-box;
}

.tinr-admin-whatsapp-history-edit-note:focus {
  outline: none;
  border-color: #1d4ed8;
}


/* ==========================================
   LOADING / EMPTY
========================================== */

.tinr-admin-whatsapp-history-message {
  width: 100%;

  padding: 40px 20px;

  text-align: center;

  color: #6b7280;

  font-size: 15px;

  box-sizing: border-box;
}


/* ==========================================
   ERROR
========================================== */

.tinr-admin-whatsapp-history-error {
  width: 100%;

  padding: 15px;

  box-sizing: border-box;

  border-radius: 8px;

  background: #fee2e2;

  color: #991b1b;

  font-size: 14px;
}


/* ==========================================
   WHATSAPP EDIT CUSTOMER
========================================== */

.tinr-admin-whatsapp-edit-customer-select,
.tinr-admin-whatsapp-edit-telecaller-select {
  width: 100%;
  min-width: 120px;

  padding: 8px 10px;

  border: 1px solid #2563eb;
  border-radius: 5px;

  background: #ffffff;
  color: #111827;

  font-size: 13px;

  cursor: pointer;

  box-sizing: border-box;
}


.tinr-admin-whatsapp-edit-customer-select:focus,
.tinr-admin-whatsapp-edit-telecaller-select:focus {
  outline: none;
  border-color: #1d4ed8;
}


/* ==========================================
   CUSTOMER NAME
========================================== */

.tinr-admin-whatsapp-customer-name {
  font-weight: 600;
  color: #111827;
}


/* ==========================================
   TELECALLER NAME
========================================== */

.tinr-admin-whatsapp-telecaller-name {
  color: #374151;
}


/* ==========================================
   CUSTOMER ID
========================================== */

.tinr-admin-whatsapp-customer-id-btn {
  border: none;
  background: transparent;

  color: #111827;

  font-size: 14px;

  padding: 0;

  cursor: pointer;
}

.tinr-admin-whatsapp-customer-id-btn:hover {
  text-decoration: underline;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {

  .tinr-admin-view-whatsapp-history-page {
    padding: 15px;
  }

  .tinr-admin-view-whatsapp-history-container {
    padding: 18px;
  }

  .tinr-admin-whatsapp-history-page-header {
    align-items: flex-start;
  }

  .tinr-admin-whatsapp-history-page-header h2 {
    font-size: 21px;
  }

  .tinr-admin-whatsapp-history-count {
    font-size: 12px;
    padding: 8px 10px;
  }

  .tinr-admin-whatsapp-history-table {
    min-width: 1050px;
  }

  .tinr-admin-whatsapp-history-action-cell {
    min-width: 130px;
  }

  .tinr-admin-edit-whatsapp-btn,
  .tinr-admin-delete-whatsapp-btn,
  .tinr-admin-save-whatsapp-btn,
  .tinr-admin-cancel-whatsapp-btn {
    padding: 6px 8px;
    font-size: 11px;
    margin-bottom: 3px;
  }

}/* TradeINR transaction history — tinr-deposit-history
   Unique scope only: .tinr-deposit-history*
*/

.tinr-deposit-history {
  --tx-bg: #f4f7fb;
  --tx-surface: #ffffff;
  --tx-surface-soft: #f8fafc;
  --tx-text: #101828;
  --tx-muted: #667085;
  --tx-border: #dfe5ee;
  --tx-border-strong: #cbd5e1;
  --tx-yellow: #ca8a04;
  --tx-green: #059669;
  --tx-red: #e11d48;
  --tx-blue: #2563eb;
  --tx-cyan: #0891b2;
  --tx-shadow: rgba(15, 23, 42, .08);

  width: 100%;
  min-height: 100vh;
  padding: 34px clamp(16px, 3vw, 48px) 54px;
  color: var(--tx-text);
  background:
    radial-gradient(circle at 50% 0%, rgba(250, 204, 21, .055), transparent 24rem),
    var(--tx-bg);
  box-sizing: border-box;
}

html[data-theme="dark"] .tinr-deposit-history {
  --tx-bg: #07101d;
  --tx-surface: #0d1727;
  --tx-surface-soft: #111d30;
  --tx-text: #f8fafc;
  --tx-muted: #93a1b5;
  --tx-border: rgba(148, 163, 184, .14);
  --tx-border-strong: rgba(148, 163, 184, .22);
  --tx-yellow: #facc15;
  --tx-green: #22d3a0;
  --tx-red: #fb7185;
  --tx-blue: #60a5fa;
  --tx-cyan: #22d3ee;
  --tx-shadow: rgba(0, 0, 0, .24);
}

.tinr-deposit-history *,
.tinr-deposit-history *::before,
.tinr-deposit-history *::after {
  box-sizing: border-box;
}

.tinr-deposit-history__back {
  display: none;
  margin-bottom: 10px;
}

.tinr-deposit-history__back a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tx-muted);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.tinr-deposit-history__back a:hover {
  color: var(--tx-yellow);
}

.tinr-deposit-history__title {
  position: relative;
  width: fit-content;
  margin: 0 auto 30px;
  color: var(--tx-text);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 860;
  letter-spacing: -.035em;
  text-align: center;
}

.tinr-deposit-history__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -11px;
  width: 88px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fde047, #eab308);
  transform: translateX(-50%);
  box-shadow: 0 4px 14px rgba(250, 204, 21, .18);
}

.tinr-deposit-history__filters {
  width: min(1500px, 100%);
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto 16px;
  padding: 11px 13px;
  border: 1px solid var(--tx-border);
  border-radius: 14px;
  background: var(--tx-surface);
  box-shadow: 0 8px 26px var(--tx-shadow);
}

.tinr-deposit-history__filter-dates,
.tinr-deposit-history__filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tinr-deposit-history__filter-dates label {
  color: var(--tx-muted);
  font-size: 9.5px;
  font-weight: 750;
}

.tinr-deposit-history__filter-dates input {
  height: 39px;
  min-width: 150px;
  padding: 0 10px;
  border: 1px solid var(--tx-border);
  border-radius: 9px;
  outline: none;
  color: var(--tx-text);
  background: var(--tx-surface-soft);
  font: inherit;
  font-size: 10px;
}

.tinr-deposit-history__filter-dates input:focus {
  border-color: rgba(234, 179, 8, .42);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, .08);
}

html[data-theme="dark"] .tinr-deposit-history__filter-dates input {
  color-scheme: dark;
}

.tinr-deposit-history__filter-actions button {
  min-width: 74px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--tx-border);
  border-radius: 9px;
  color: var(--tx-text);
  background: var(--tx-surface-soft);
  cursor: pointer;
  font: inherit;
  font-size: 9.5px;
  font-weight: 800;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.tinr-deposit-history__filter-actions button:hover {
  transform: translateY(-1px);
  border-color: rgba(8, 145, 178, .28);
}

.tinr-deposit-history__filter-actions button:first-child {
  color: #042f2e;
  border-color: rgba(20, 184, 166, .24);
  background: linear-gradient(135deg, #2dd4bf, #22d3ee);
}

.tinr-deposit-history__filter-actions button:nth-last-child(-n+2) {
  color: #042f2e;
  border-color: rgba(20, 184, 166, .22);
  background: linear-gradient(135deg, #2dd4bf, #22d3ee);
}

@media (max-width: 768px) {
  .tinr-deposit-history {
    min-height: 100dvh;
    padding: 12px 8px calc(var(--tinr-mobile-bottom-nav-height, 76px) + 18px);
  }

  .tinr-deposit-history__back {
    display: block;
  }

  .tinr-deposit-history__title {
    margin-bottom: 23px;
    font-size: 22px;
    text-align: left;
  }

  .tinr-deposit-history__title::after {
    left: 0;
    width: 62px;
    transform: none;
  }

  .tinr-deposit-history__filters {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .tinr-deposit-history__filter-dates {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 7px 8px;
  }

  .tinr-deposit-history__filter-dates input {
    width: 100%;
    min-width: 0;
  }

  .tinr-deposit-history__filter-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .tinr-deposit-history__filter-actions button {
    min-width: 0;
    padding: 0 5px;
    font-size: 8.5px;
  }
}

@media (max-width: 420px) {
  .tinr-deposit-history__filter-actions {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tinr-deposit-history__table-wrap {
  width: min(1500px, 100%);
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--tx-border);
  border-radius: 14px;
  background: var(--tx-surface);
  box-shadow: 0 12px 32px var(--tx-shadow);
}

.tinr-deposit-history__table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: var(--tx-text);
}

.tinr-deposit-history__table th {
  padding: 13px 15px;
  border-bottom: 1px solid var(--tx-border);
  color: var(--tx-muted);
  background: var(--tx-surface-soft);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .055em;
  text-align: left;
  text-transform: uppercase;
}

.tinr-deposit-history__table td {
  padding: 14px 15px;
  border-bottom: 1px solid var(--tx-border);
  color: var(--tx-text);
  background: var(--tx-surface);
  font-size: 10.5px;
  vertical-align: middle;
}

.tinr-deposit-history__table tbody tr:last-child td {
  border-bottom: 0;
}

.tinr-deposit-history__table tbody tr:hover td {
  background: var(--tx-surface-soft);
}

.tinr-deposit-history__amount {
  color: var(--tx-yellow) !important;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.tinr-deposit-history__date {
  font-variant-numeric: tabular-nums;
}

.tinr-deposit-history__date-main {
  color: var(--tx-text);
  font-weight: 750;
}

.tinr-deposit-history__date-sub {
  margin-top: 2px;
  color: var(--tx-muted);
  font-size: 8.5px;
}

.tinr-deposit-history__status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 25px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 850;
  text-transform: capitalize;
}

.tinr-deposit-history__status--approved {
  color: var(--tx-green) !important;
  border: 1px solid rgba(34, 211, 160, .20);
  background: rgba(34, 211, 160, .07);
}

.tinr-deposit-history__status--rejected {
  color: var(--tx-red) !important;
  border: 1px solid rgba(251, 113, 133, .20);
  background: rgba(251, 113, 133, .07);
}

.tinr-deposit-history__status--pending {
  color: var(--tx-yellow) !important;
  border: 1px solid rgba(250, 204, 21, .20);
  background: rgba(250, 204, 21, .07);
}

@media (max-width: 768px) {
  .tinr-deposit-history__table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .tinr-deposit-history__table {
    min-width: 0;
  }

  .tinr-deposit-history__table thead {
    display: none;
  }

  .tinr-deposit-history__table,
  .tinr-deposit-history__table tbody,
  .tinr-deposit-history__table tr,
  .tinr-deposit-history__table td {
    display: block;
    width: 100%;
  }

  .tinr-deposit-history__table tr {
    margin-bottom: 10px;
    padding: 9px 12px;
    border: 1px solid var(--tx-border);
    border-radius: 14px;
    background: var(--tx-surface);
    box-shadow: 0 7px 20px var(--tx-shadow);
  }

  .tinr-deposit-history__table td {
    min-height: 37px;
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    padding: 7px 0;
    border-bottom: 1px solid var(--tx-border);
    background: transparent !important;
    text-align: right;
  }

  .tinr-deposit-history__table td:last-child {
    border-bottom: 0;
  }

  .tinr-deposit-history__table td::before {
    content: attr(data-label);
    color: var(--tx-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .055em;
    text-align: left;
    text-transform: uppercase;
  }

  .tinr-deposit-history__date-main,
  .tinr-deposit-history__date-sub {
    text-align: right;
  }
}

/* ==========================================================
   PREMIUM MOBILE V2
   Scope: .tinr-deposit-history*
   ========================================================== */
@media (max-width: 768px) {
  .tinr-deposit-history {
    min-height: 100dvh !important;
    padding: 12px 10px calc(var(--tinr-mobile-bottom-nav-height, 76px) + 24px) !important;
    background:
      radial-gradient(circle at 50% -120px, rgba(250, 204, 21, .10), transparent 280px),
      var(--tx-bg, var(--tinr-bg)) !important;
  }

  .tinr-deposit-history__back {
    display: block !important;
    margin: 0 2px 12px !important;
  }

  .tinr-deposit-history__back a {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--tx-muted, var(--tinr-muted)) !important;
    font-size: 10px !important;
    font-weight: 750 !important;
    text-decoration: none !important;
  }

  .tinr-deposit-history__title {
    width: 100% !important;
    margin: 0 0 26px !important;
    color: var(--tx-text, var(--tinr-text)) !important;
    font-size: 23px !important;
    line-height: 1.15 !important;
    font-weight: 860 !important;
    letter-spacing: -.035em !important;
    text-align: left !important;
  }

  .tinr-deposit-history__title::after {
    left: 0 !important;
    bottom: -10px !important;
    width: 54px !important;
    height: 3px !important;
    transform: none !important;
  }

  .tinr-deposit-history__filters {
    width: 100% !important;
    min-height: 0 !important;
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 11px !important;
    margin: 0 0 14px !important;
    padding: 12px !important;
    border: 1px solid var(--tx-border, var(--tinr-border)) !important;
    border-radius: 16px !important;
    background: var(--tx-surface, var(--tinr-surface)) !important;
    box-shadow: 0 10px 28px var(--tx-shadow, var(--tinr-shadow)) !important;
  }

  .tinr-deposit-history__filter-dates {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 8px 9px !important;
  }

  .tinr-deposit-history__filter-dates label {
    color: var(--tx-muted, var(--tinr-muted)) !important;
    font-size: 8px !important;
    font-weight: 850 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
  }

  .tinr-deposit-history__filter-dates input {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    padding: 0 11px !important;
    border: 1px solid var(--tx-border, var(--tinr-border)) !important;
    border-radius: 11px !important;
    color: var(--tx-text, var(--tinr-text)) !important;
    background: var(--tx-surface-soft, var(--tinr-surface-soft)) !important;
    font-size: 10px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important;
  }

  .tinr-deposit-history__filter-actions {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .tinr-deposit-history__filter-actions button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 0 5px !important;
    border-radius: 10px !important;
    border: 1px solid var(--tx-border, var(--tinr-border)) !important;
    color: var(--tx-text, var(--tinr-text)) !important;
    background: var(--tx-surface-soft, var(--tinr-surface-soft)) !important;
    font-size: 8.5px !important;
    font-weight: 850 !important;
    box-shadow: none !important;
  }

  .tinr-deposit-history__filter-actions button:first-child {
    color: #111827 !important;
    border-color: rgba(250,204,21,.42) !important;
    background: linear-gradient(135deg,#fde047,#facc15) !important;
  }

  .tinr-deposit-history__filter-actions button:nth-last-child(-n+2) {
    color: #075985 !important;
    border-color: rgba(34,211,238,.22) !important;
    background: rgba(34,211,238,.08) !important;
  }

  html[data-theme="dark"] .tinr-deposit-history__filter-actions button:nth-last-child(-n+2) {
    color: #67e8f9 !important;
  }
}

@media (max-width: 390px) {
  .tinr-deposit-history__filter-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .tinr-deposit-history__table-wrap {
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .tinr-deposit-history__table {
    min-width: 0 !important;
    display: block !important;
  }

  .tinr-deposit-history__table thead {
    display: none !important;
  }

  .tinr-deposit-history__table tbody {
    display: grid !important;
    gap: 12px !important;
  }

  .tinr-deposit-history__table tr {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    gap: 0 12px !important;
    margin: 0 !important;
    padding: 12px 13px !important;
    border: 1px solid var(--tx-border) !important;
    border-radius: 16px !important;
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--tx-surface-soft) 45%, transparent), transparent 76px),
      var(--tx-surface) !important;
    box-shadow: 0 10px 26px var(--tx-shadow) !important;
  }

  .tinr-deposit-history__table td {
    width: auto !important;
    min-height: 48px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 8px 2px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--tx-border) !important;
    background: transparent !important;
    text-align: left !important;
  }

  .tinr-deposit-history__table td::before {
    content: attr(data-label) !important;
    color: var(--tx-muted) !important;
    font-size: 7.5px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    letter-spacing: .065em !important;
    text-transform: uppercase !important;
  }

  .tinr-deposit-history__table td:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
    border-bottom: 0 !important;
  }

  .tinr-deposit-history__table td:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
    align-items: flex-end !important;
    border-bottom: 0 !important;
  }

  .tinr-deposit-history__table td:nth-child(2),
  .tinr-deposit-history__table td:nth-child(4),
  .tinr-deposit-history__table td:nth-child(5) {
    grid-column: 1 / -1;
  }

  .tinr-deposit-history__table td:nth-child(5) {
    border-bottom: 0 !important;
  }

  .tinr-deposit-history__amount {
    font-size: 16px !important;
    font-weight: 900 !important;
  }

  .tinr-deposit-history__status {
    min-height: 27px !important;
    padding: 0 10px !important;
    font-size: 8px !important;
  }

  .tinr-deposit-history__date {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
  }

  .tinr-deposit-history__date::before {
    grid-column: 1 / -1;
  }

  .tinr-deposit-history__date-main,
  .tinr-deposit-history__date-sub {
    text-align: left !important;
  }

  .tinr-deposit-history__date-sub {
    justify-self: end;
  }
}
/* TradeINR transaction history — tinr-withdraw-history
   Unique scope only: .tinr-withdraw-history*
*/

.tinr-withdraw-history {
  --tx-bg: #f4f7fb;
  --tx-surface: #ffffff;
  --tx-surface-soft: #f8fafc;
  --tx-text: #101828;
  --tx-muted: #667085;
  --tx-border: #dfe5ee;
  --tx-border-strong: #cbd5e1;
  --tx-yellow: #ca8a04;
  --tx-green: #059669;
  --tx-red: #e11d48;
  --tx-blue: #2563eb;
  --tx-cyan: #0891b2;
  --tx-shadow: rgba(15, 23, 42, .08);

  width: 100%;
  min-height: 100vh;
  padding: 34px clamp(16px, 3vw, 48px) 54px;
  color: var(--tx-text);
  background:
    radial-gradient(circle at 50% 0%, rgba(250, 204, 21, .055), transparent 24rem),
    var(--tx-bg);
  box-sizing: border-box;
}

html[data-theme="dark"] .tinr-withdraw-history {
  --tx-bg: #07101d;
  --tx-surface: #0d1727;
  --tx-surface-soft: #111d30;
  --tx-text: #f8fafc;
  --tx-muted: #93a1b5;
  --tx-border: rgba(148, 163, 184, .14);
  --tx-border-strong: rgba(148, 163, 184, .22);
  --tx-yellow: #facc15;
  --tx-green: #22d3a0;
  --tx-red: #fb7185;
  --tx-blue: #60a5fa;
  --tx-cyan: #22d3ee;
  --tx-shadow: rgba(0, 0, 0, .24);
}

.tinr-withdraw-history *,
.tinr-withdraw-history *::before,
.tinr-withdraw-history *::after {
  box-sizing: border-box;
}

.tinr-withdraw-history__back {
  display: none;
  margin-bottom: 10px;
}

.tinr-withdraw-history__back a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tx-muted);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.tinr-withdraw-history__back a:hover {
  color: var(--tx-yellow);
}

.tinr-withdraw-history__title {
  position: relative;
  width: fit-content;
  margin: 0 auto 30px;
  color: var(--tx-text);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 860;
  letter-spacing: -.035em;
  text-align: center;
}

.tinr-withdraw-history__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -11px;
  width: 88px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fde047, #eab308);
  transform: translateX(-50%);
  box-shadow: 0 4px 14px rgba(250, 204, 21, .18);
}

.tinr-withdraw-history__filters {
  width: min(1500px, 100%);
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto 16px;
  padding: 11px 13px;
  border: 1px solid var(--tx-border);
  border-radius: 14px;
  background: var(--tx-surface);
  box-shadow: 0 8px 26px var(--tx-shadow);
}

.tinr-withdraw-history__filter-dates,
.tinr-withdraw-history__filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tinr-withdraw-history__filter-dates label {
  color: var(--tx-muted);
  font-size: 9.5px;
  font-weight: 750;
}

.tinr-withdraw-history__filter-dates input {
  height: 39px;
  min-width: 150px;
  padding: 0 10px;
  border: 1px solid var(--tx-border);
  border-radius: 9px;
  outline: none;
  color: var(--tx-text);
  background: var(--tx-surface-soft);
  font: inherit;
  font-size: 10px;
}

.tinr-withdraw-history__filter-dates input:focus {
  border-color: rgba(234, 179, 8, .42);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, .08);
}

html[data-theme="dark"] .tinr-withdraw-history__filter-dates input {
  color-scheme: dark;
}

.tinr-withdraw-history__filter-actions button {
  min-width: 74px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--tx-border);
  border-radius: 9px;
  color: var(--tx-text);
  background: var(--tx-surface-soft);
  cursor: pointer;
  font: inherit;
  font-size: 9.5px;
  font-weight: 800;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.tinr-withdraw-history__filter-actions button:hover {
  transform: translateY(-1px);
  border-color: rgba(8, 145, 178, .28);
}

.tinr-withdraw-history__filter-actions button:first-child {
  color: #042f2e;
  border-color: rgba(20, 184, 166, .24);
  background: linear-gradient(135deg, #2dd4bf, #22d3ee);
}

.tinr-withdraw-history__filter-actions button:nth-last-child(-n+2) {
  color: #042f2e;
  border-color: rgba(20, 184, 166, .22);
  background: linear-gradient(135deg, #2dd4bf, #22d3ee);
}

@media (max-width: 768px) {
  .tinr-withdraw-history {
    min-height: 100dvh;
    padding: 12px 8px calc(var(--tinr-mobile-bottom-nav-height, 76px) + 18px);
  }

  .tinr-withdraw-history__back {
    display: block;
  }

  .tinr-withdraw-history__title {
    margin-bottom: 23px;
    font-size: 22px;
    text-align: left;
  }

  .tinr-withdraw-history__title::after {
    left: 0;
    width: 62px;
    transform: none;
  }

  .tinr-withdraw-history__filters {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .tinr-withdraw-history__filter-dates {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 7px 8px;
  }

  .tinr-withdraw-history__filter-dates input {
    width: 100%;
    min-width: 0;
  }

  .tinr-withdraw-history__filter-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .tinr-withdraw-history__filter-actions button {
    min-width: 0;
    padding: 0 5px;
    font-size: 8.5px;
  }
}

@media (max-width: 420px) {
  .tinr-withdraw-history__filter-actions {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tinr-withdraw-history__table-wrap {
  width: min(1500px, 100%);
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--tx-border);
  border-radius: 14px;
  background: var(--tx-surface);
  box-shadow: 0 12px 32px var(--tx-shadow);
}

.tinr-withdraw-history__table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.tinr-withdraw-history__table th {
  padding: 13px 15px;
  border-bottom: 1px solid var(--tx-border);
  color: var(--tx-muted);
  background: var(--tx-surface-soft);
  font-size: 9px;
  font-weight: 850;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.tinr-withdraw-history__table td {
  padding: 14px 15px;
  border-bottom: 1px solid var(--tx-border);
  color: var(--tx-text);
  background: var(--tx-surface);
  font-size: 10.5px;
}

.tinr-withdraw-history__amount {
  color: var(--tx-yellow) !important;
  font-weight: 850;
}

.tinr-withdraw-history__date-box {
  display: grid;
  gap: 2px;
}

.tinr-withdraw-history__date-main {
  color: var(--tx-text);
  font-weight: 750;
}

.tinr-withdraw-history__date-sub {
  color: var(--tx-muted);
  font-size: 8.5px;
}

.tinr-withdraw-history__status {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 850;
  text-transform: capitalize;
}

.tinr-withdraw-history__status--approved {
  color: var(--tx-green);
  border: 1px solid rgba(34, 211, 160, .20);
  background: rgba(34, 211, 160, .07);
}

.tinr-withdraw-history__status--rejected {
  color: var(--tx-red);
  border: 1px solid rgba(251, 113, 133, .20);
  background: rgba(251, 113, 133, .07);
}

.tinr-withdraw-history__status--pending {
  color: var(--tx-yellow);
  border: 1px solid rgba(250, 204, 21, .20);
  background: rgba(250, 204, 21, .07);
}

.tinr-withdraw-history__empty {
  padding: 38px !important;
  color: var(--tx-muted) !important;
  text-align: center;
}

@media (max-width: 768px) {
  .tinr-withdraw-history__table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .tinr-withdraw-history__table {
    min-width: 0;
  }

  .tinr-withdraw-history__table thead {
    display: none;
  }

  .tinr-withdraw-history__table,
  .tinr-withdraw-history__table tbody,
  .tinr-withdraw-history__table tr,
  .tinr-withdraw-history__table td {
    display: block;
    width: 100%;
  }

  .tinr-withdraw-history__table tr {
    margin-bottom: 10px;
    padding: 9px 12px;
    border: 1px solid var(--tx-border);
    border-radius: 14px;
    background: var(--tx-surface);
    box-shadow: 0 7px 20px var(--tx-shadow);
  }

  .tinr-withdraw-history__table td {
    min-height: 37px;
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    padding: 7px 0;
    border-bottom: 1px solid var(--tx-border);
    background: transparent !important;
    text-align: right;
  }

  .tinr-withdraw-history__table td:last-child {
    border-bottom: 0;
  }

  .tinr-withdraw-history__table td::before {
    content: attr(data-label);
    color: var(--tx-muted);
    font-size: 8px;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: .05em;
  }

  .tinr-withdraw-history__date-box {
    justify-items: end;
  }
}

/* ==========================================================
   PREMIUM MOBILE V2
   Scope: .tinr-withdraw-history*
   ========================================================== */
@media (max-width: 768px) {
  .tinr-withdraw-history {
    min-height: 100dvh !important;
    padding: 12px 10px calc(var(--tinr-mobile-bottom-nav-height, 76px) + 24px) !important;
    background:
      radial-gradient(circle at 50% -120px, rgba(250, 204, 21, .10), transparent 280px),
      var(--tx-bg, var(--tinr-bg)) !important;
  }

  .tinr-withdraw-history__back {
    display: block !important;
    margin: 0 2px 12px !important;
  }

  .tinr-withdraw-history__back a {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--tx-muted, var(--tinr-muted)) !important;
    font-size: 10px !important;
    font-weight: 750 !important;
    text-decoration: none !important;
  }

  .tinr-withdraw-history__title {
    width: 100% !important;
    margin: 0 0 26px !important;
    color: var(--tx-text, var(--tinr-text)) !important;
    font-size: 23px !important;
    line-height: 1.15 !important;
    font-weight: 860 !important;
    letter-spacing: -.035em !important;
    text-align: left !important;
  }

  .tinr-withdraw-history__title::after {
    left: 0 !important;
    bottom: -10px !important;
    width: 54px !important;
    height: 3px !important;
    transform: none !important;
  }

  .tinr-withdraw-history__filters {
    width: 100% !important;
    min-height: 0 !important;
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 11px !important;
    margin: 0 0 14px !important;
    padding: 12px !important;
    border: 1px solid var(--tx-border, var(--tinr-border)) !important;
    border-radius: 16px !important;
    background: var(--tx-surface, var(--tinr-surface)) !important;
    box-shadow: 0 10px 28px var(--tx-shadow, var(--tinr-shadow)) !important;
  }

  .tinr-withdraw-history__filter-dates {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 8px 9px !important;
  }

  .tinr-withdraw-history__filter-dates label {
    color: var(--tx-muted, var(--tinr-muted)) !important;
    font-size: 8px !important;
    font-weight: 850 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
  }

  .tinr-withdraw-history__filter-dates input {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    padding: 0 11px !important;
    border: 1px solid var(--tx-border, var(--tinr-border)) !important;
    border-radius: 11px !important;
    color: var(--tx-text, var(--tinr-text)) !important;
    background: var(--tx-surface-soft, var(--tinr-surface-soft)) !important;
    font-size: 10px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important;
  }

  .tinr-withdraw-history__filter-actions {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .tinr-withdraw-history__filter-actions button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 0 5px !important;
    border-radius: 10px !important;
    border: 1px solid var(--tx-border, var(--tinr-border)) !important;
    color: var(--tx-text, var(--tinr-text)) !important;
    background: var(--tx-surface-soft, var(--tinr-surface-soft)) !important;
    font-size: 8.5px !important;
    font-weight: 850 !important;
    box-shadow: none !important;
  }

  .tinr-withdraw-history__filter-actions button:first-child {
    color: #111827 !important;
    border-color: rgba(250,204,21,.42) !important;
    background: linear-gradient(135deg,#fde047,#facc15) !important;
  }

  .tinr-withdraw-history__filter-actions button:nth-last-child(-n+2) {
    color: #075985 !important;
    border-color: rgba(34,211,238,.22) !important;
    background: rgba(34,211,238,.08) !important;
  }

  html[data-theme="dark"] .tinr-withdraw-history__filter-actions button:nth-last-child(-n+2) {
    color: #67e8f9 !important;
  }
}

@media (max-width: 390px) {
  .tinr-withdraw-history__filter-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .tinr-withdraw-history__table-wrap {
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .tinr-withdraw-history__table {
    min-width: 0 !important;
    display: block !important;
  }

  .tinr-withdraw-history__table thead {
    display: none !important;
  }

  .tinr-withdraw-history__table tbody {
    display: grid !important;
    gap: 12px !important;
  }

  .tinr-withdraw-history__table tr {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    gap: 0 12px !important;
    margin: 0 !important;
    padding: 12px 13px !important;
    border: 1px solid var(--tx-border) !important;
    border-radius: 16px !important;
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--tx-surface-soft) 45%, transparent), transparent 76px),
      var(--tx-surface) !important;
    box-shadow: 0 10px 26px var(--tx-shadow) !important;
  }

  .tinr-withdraw-history__table td {
    width: auto !important;
    min-height: 48px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 8px 2px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--tx-border) !important;
    background: transparent !important;
    text-align: left !important;
  }

  .tinr-withdraw-history__table td::before {
    content: attr(data-label) !important;
    color: var(--tx-muted) !important;
    font-size: 7.5px !important;
    font-weight: 850 !important;
    letter-spacing: .065em !important;
    text-transform: uppercase !important;
  }

  .tinr-withdraw-history__table td:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
    border-bottom: 0 !important;
  }

  .tinr-withdraw-history__table td:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
    align-items: flex-end !important;
    border-bottom: 0 !important;
  }

  .tinr-withdraw-history__table td:nth-child(2),
  .tinr-withdraw-history__table td:nth-child(4),
  .tinr-withdraw-history__table td:nth-child(5) {
    grid-column: 1 / -1;
  }

  .tinr-withdraw-history__table td:nth-child(5) {
    border-bottom: 0 !important;
  }

  .tinr-withdraw-history__amount {
    font-size: 16px !important;
    font-weight: 900 !important;
  }

  .tinr-withdraw-history__status {
    min-height: 27px !important;
    padding: 0 10px !important;
    font-size: 8px !important;
  }

  .tinr-withdraw-history__date-box {
    width: 100%;
    grid-template-columns: 1fr auto !important;
    align-items: center;
  }

  .tinr-withdraw-history__date-sub {
    justify-self: end;
  }
}
/* TradeINR Markets — professional responsive UI */
.markets-layout-in-markets {
  --m-bg: #070b14;
  --m-surface: #0d1422;
  --m-surface-2: #111a2b;
  --m-border: rgba(148, 163, 184, .14);
  --m-border-strong: rgba(148, 163, 184, .24);
  --m-text: #f8fafc;
  --m-muted: #94a3b8;
  --m-accent: #f0b90b;
  --m-accent-2: #fcd535;
  --m-green: #16c784;
  --m-red: #ea3943;
  --m-radius: 14px;
  --m-shadow: 0 12px 32px rgba(0, 0, 0, .24);
}

.markets-layout-in-markets,
.markets-layout-in-markets * { box-sizing: border-box; }

.markets-layout-in-markets {
  width: 100%;
  min-width: 0;
  background: var(--m-bg);
  color: var(--m-text);
}

.markets-container-in-markets {
  width: min(1440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px clamp(16px, 3vw, 40px) 48px;
  color: var(--m-text);
}

/* ticker */
.markets-ticker-wrapper {
  width: 100%;
  overflow: hidden;
  margin-bottom: 24px;
  padding: 11px 0;
  border: 1px solid var(--m-border);
  border-left: 0;
  border-right: 0;
  background: rgba(255,255,255,.015);
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.markets-ticker {
  display: flex;
  width: max-content;
  gap: 36px;
  animation: marketTickerMove 26s linear infinite;
}
.markets-ticker:hover { animation-play-state: paused; }
.markets-ticker span { font-size: 12px; font-weight: 700; white-space: nowrap; letter-spacing: .02em; }
.green-ticker-in-markets { color: var(--m-green); }
.red-ticker-in-markets { color: var(--m-red); }
@keyframes marketTickerMove { to { transform: translateX(-50%); } }

/* market summary */
.market-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.market-stat {
  min-width: 0;
  padding: 17px 18px;
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius);
  background: linear-gradient(145deg, rgba(17,26,43,.96), rgba(10,16,28,.96));
  box-shadow: 0 8px 22px rgba(0,0,0,.15);
  transition: border-color .2s ease, transform .2s ease;
}
.market-stat:hover { transform: translateY(-2px); border-color: var(--m-border-strong); }
.market-stat span { display:block; margin-bottom: 7px; color:var(--m-muted); font-size:12px; font-weight:600; }
.market-stat h4 { margin:0; font-size: clamp(18px, 2vw, 24px); line-height:1.2; font-weight:750; letter-spacing:-.02em; }
.markets-layout-in-markets .green-text-in-markets,
.markets-layout-in-markets .green { color: var(--m-green) !important; }
.markets-layout-in-markets .red-text-in-markets,
.markets-layout-in-markets .red { color: var(--m-red) !important; }

/* currency selector */
.price-toggle-container {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:9px;
  margin: 4px 0 30px;
  color:var(--m-muted);
}
.price-label { font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.price-toggle-btn {
  min-height:36px;
  padding:7px 13px;
  border:1px solid rgba(240,185,11,.55);
  border-radius:9px;
  background:rgba(240,185,11,.08);
  color:var(--m-accent-2);
  font:inherit;
  font-size:13px;
  font-weight:750;
  cursor:pointer;
  transition:.2s ease;
}
.price-toggle-btn:hover { background:var(--m-accent); color:#080b10; border-color:var(--m-accent); }
.price-toggle-btn:focus-visible, .tabs-in-markets button:focus-visible, .trade-btn-in-markets:focus-visible,
.markets-search-in-markets input:focus-visible { outline:2px solid var(--m-accent-2); outline-offset:2px; }
.usdt-rate { font-size:13px; color:var(--m-muted); }
.usdt-rate strong { color:var(--m-text); font-weight:700; }

/* overview */
.markets-heading-premium-heading {
  margin: 0 0 18px;
  color:var(--m-text);
  font-size:clamp(24px, 3vw, 34px);
  line-height:1.15;
  font-weight:800;
  letter-spacing:-.035em;
}
.markets-heading-premium-heading span { color:var(--m-accent-2); }
.overview-section-in-markets { width:100%; margin-bottom:34px; }
.overview-grid-in-markets {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
  width:100%;
}
.overview-card-in-markets {
  min-width:0;
  padding:16px;
  border:1px solid var(--m-border);
  border-radius:var(--m-radius);
  background:var(--m-surface);
  box-shadow:var(--m-shadow);
  overflow:hidden;
}
.overview-card-in-markets h4 {
  margin:0 0 10px;
  padding-bottom:11px;
  border-bottom:1px solid var(--m-border);
  color:var(--m-muted);
  font-size:12px;
  font-weight:750;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.overview-item-in-markets {
  display:grid;
  grid-template-columns:minmax(90px,1fr) minmax(90px,1fr) 66px;
  align-items:center;
  gap:10px;
  min-height:50px;
  padding:9px 5px;
  border-bottom:1px solid rgba(148,163,184,.09);
  border-radius:8px;
  transition:background .18s ease;
}
.overview-item-in-markets:last-child { border-bottom:0; }
.overview-item-in-markets:hover { background:rgba(255,255,255,.035); }
.coin-info-in-markets { display:flex; align-items:center; min-width:0; gap:9px; }
.coin-info-in-markets > div { display:flex; flex-direction:column; min-width:0; }
.coin-logo-in-markets { width:28px; height:28px; flex:0 0 28px; object-fit:contain; }
.coin-name-in-markets { color:var(--m-text); font-size:13px; font-weight:750; white-space:nowrap; }
.coin-sub-in-markets { margin-top:1px; color:var(--m-muted); font-size:9px; line-height:1.2; text-transform:uppercase; }
.markets-layout-in-markets .price,
.markets-layout-in-markets .table-price { display:inline-flex; align-items:center; gap:4px; min-width:0; font-variant-numeric:tabular-nums; color:var(--m-text); }
.markets-layout-in-markets .price { justify-content:center; font-size:13px; font-weight:650; color:var(--m-text); }
.markets-layout-in-markets .price-symbol,
.markets-layout-in-markets .table-price-symbol { display:inline-flex; align-items:center; flex:0 0 auto; color:inherit; }
.markets-layout-in-markets .price-value,
.markets-layout-in-markets .table-price-value {
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
  min-width: 0;
  font-variant-numeric: tabular-nums;
}
.overview-item-in-markets > .green, .overview-item-in-markets > .red { text-align:right; font-size:12px; font-weight:750; }
.markets-trading-panel { display:none; }

/* futures controls */
.markets-title { margin: 0 0 14px; color:var(--m-text); font-size:22px; font-weight:800; letter-spacing:-.02em; }
.markets-search-in-markets { width:100%; margin-bottom:12px; }
.markets-search-in-markets input {
  width:min(360px, 100%);
  height:42px;
  padding:0 14px;
  border:1px solid var(--m-border);
  border-radius:10px;
  background:var(--m-surface);
  color:var(--m-text);
  font:inherit;
  font-size:13px;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.markets-search-in-markets input::placeholder { color:#64748b; }
.markets-search-in-markets input:focus { border-color:rgba(240,185,11,.6); box-shadow:0 0 0 3px rgba(240,185,11,.08); }
.tabs-in-markets { display:flex; gap:7px; margin-bottom:14px; overflow-x:auto; scrollbar-width:none; }
.tabs-in-markets::-webkit-scrollbar { display:none; }
.tabs-in-markets button {
  flex:0 0 auto;
  min-height:34px;
  padding:7px 13px;
  border:1px solid var(--m-border);
  border-radius:9px;
  background:transparent;
  color:var(--m-muted);
  font:inherit;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
  transition:.18s ease;
}
.tabs-in-markets button:hover { color:var(--m-text); background:rgba(255,255,255,.035); }
.tabs-in-markets .active-tab-in-markets { border-color:rgba(240,185,11,.55); background:rgba(240,185,11,.1); color:var(--m-accent-2); }

/* table */
.table-wrapper-in-markets {
  width:100%;
  overflow-x:auto;
  border:1px solid var(--m-border);
  border-radius:var(--m-radius);
  background:var(--m-surface);
  box-shadow:var(--m-shadow);
  -webkit-overflow-scrolling:touch;
}
.markets-table-in-markets { width:100%; min-width:900px; border-collapse:collapse; font-variant-numeric:tabular-nums; }
.markets-table-in-markets th {
  padding:12px 14px;
  border-bottom:1px solid var(--m-border);
  background:#0a101c;
  color:var(--m-muted);
  font-size:11px;
  font-weight:700;
  text-align:left;
  text-transform:uppercase;
  letter-spacing:.045em;
  white-space:nowrap;
}
.markets-table-in-markets td {
  padding:12px 14px;
  border-bottom:1px solid rgba(148,163,184,.08);
  color:#dbe4f0;
  font-size:13px;
  white-space:nowrap;
  vertical-align:middle;
}
.markets-table-in-markets tbody tr { transition:background .16s ease; }
.markets-table-in-markets tbody tr:last-child td { border-bottom:0; }
.markets-table-in-markets tbody tr:hover { background:rgba(255,255,255,.028); }
.markets-table-in-markets td:first-child { width:42px; color:#64748b; font-size:18px; text-align:center; }
.markets-table-in-markets .profit-row td:first-child { box-shadow:inset 2px 0 var(--m-green); }
.markets-table-in-markets .loss-row td:first-child { box-shadow:inset 2px 0 var(--m-red); }
.markets-layout-in-markets .sortable { cursor:pointer; user-select:none; }
.markets-layout-in-markets .sortable:hover { color:var(--m-text); }
.markets-layout-in-markets .table-price { font-weight:600; color:inherit; }
.trade-btn-in-markets {
  min-width:68px;
  min-height:32px;
  padding:6px 12px;
  border:1px solid rgba(240,185,11,.65);
  border-radius:8px;
  background:rgba(240,185,11,.1);
  color:var(--m-accent-2);
  font:inherit;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  transition:.18s ease;
}
.trade-btn-in-markets:hover { background:var(--m-accent); border-color:var(--m-accent); color:#080b10; }
.markets-layout-in-markets .green-flash-price { color:var(--m-green); animation:priceFlash .55s ease; }
.markets-layout-in-markets .red-flash-price { color:var(--m-red); animation:priceFlash .55s ease; }
.markets-layout-in-markets .flash { animation:priceFlash .45s ease; }
@keyframes priceFlash { 0% { opacity:.45; } 100% { opacity:1; } }

/* tablet */
@media (max-width: 1024px) {
  .market-stats-bar { grid-template-columns:repeat(2, minmax(0,1fr)); }
  .overview-grid-in-markets { grid-template-columns:1fr; }
  .overview-card-in-markets { padding:14px; }
  .overview-item-in-markets { grid-template-columns:minmax(110px,1fr) minmax(100px,.8fr) 70px; }
}

/* mobile: keep important trading information readable without tiny 8px text */
@media (max-width: 640px) {
  .markets-container-in-markets { padding:14px 12px 32px; }
  .markets-ticker-wrapper { margin-bottom:16px; }
  .markets-ticker { gap:26px; animation-duration:22s; }
  .market-stats-bar { grid-template-columns:repeat(2, minmax(0,1fr)); gap:8px; margin-bottom:16px; }
  .market-stat { padding:13px 11px; border-radius:11px; }
  .market-stat span { min-height:28px; margin-bottom:3px; font-size:10px; line-height:1.35; }
  .market-stat h4 { font-size:17px; }
  .price-toggle-container { justify-content:flex-start; margin:0 0 24px; }
  .price-label { width:100%; }
  .markets-heading-premium-heading { margin-bottom:13px; font-size:24px; }
  .overview-section-in-markets { margin-bottom:26px; }
  .overview-grid-in-markets { gap:9px; }
  .overview-card-in-markets { padding:12px; border-radius:12px; box-shadow:none; }
  .overview-item-in-markets {
    grid-template-columns: minmax(82px,.85fr) minmax(128px,1.35fr) minmax(52px,.55fr);
    gap: 8px;
    min-height: 44px;
    padding: 6px 2px;
  }
  .coin-logo-in-markets { width:24px; height:24px; flex-basis:24px; }
  .coin-name-in-markets { font-size:12px; }
  .overview-item-in-markets .price {
    justify-content: flex-start;
    width: 100%;
    font-size: clamp(11px, 3.35vw, 15px);
    font-weight: 750;
    letter-spacing: -.02em;
  }
  .overview-item-in-markets .price-value {
    overflow: visible;
    text-overflow: clip;
  }
  .overview-item-in-markets > .green, .overview-item-in-markets > .red { font-size:11px; }
  .markets-title { font-size:20px; }
  .markets-search-in-markets input { width:100%; }
  .tabs-in-markets { margin:0 -12px 12px; padding:0 12px; }

  /* On phones show the four key columns: favourite, pair, price, change. Row itself opens Trade. */
  .table-wrapper-in-markets { overflow:hidden; border-radius:12px; box-shadow:none; }
  .markets-table-in-markets { min-width:0; table-layout:fixed; }
  .markets-table-in-markets th,
  .markets-table-in-markets td { padding:10px 6px; font-size:11px; }
  .markets-table-in-markets th:nth-child(5), .markets-table-in-markets td:nth-child(5),
  .markets-table-in-markets th:nth-child(6), .markets-table-in-markets td:nth-child(6),
  .markets-table-in-markets th:nth-child(7), .markets-table-in-markets td:nth-child(7),
  .markets-table-in-markets th:nth-child(8), .markets-table-in-markets td:nth-child(8) { display:none; }
  .markets-table-in-markets th:nth-child(1), .markets-table-in-markets td:nth-child(1) { width:34px; }
  .markets-table-in-markets th:nth-child(2), .markets-table-in-markets td:nth-child(2) { width:34%; }
  .markets-table-in-markets th:nth-child(3), .markets-table-in-markets td:nth-child(3) { width:34%; }
  .markets-table-in-markets th:nth-child(4), .markets-table-in-markets td:nth-child(4) { width:25%; text-align:right; }
  .markets-table-in-markets td:first-child { font-size:16px; }
  .markets-table-in-markets .coin-info-in-markets { gap:6px; }
  .markets-table-in-markets .coin-logo-in-markets { width:22px; height:22px; flex-basis:22px; }
  .markets-table-in-markets .coin-name-in-markets { font-size:11px; }
  .coin-sub-in-markets { display:none; }
  .table-price { gap:2px; max-width:100%; overflow:visible; }
  .table-price-value {
    font-size: clamp(9.5px, 2.7vw, 11px);
    overflow: visible;
    text-overflow: clip;
  }
}

@media (max-width: 380px) {
  .markets-container-in-markets { padding-inline:9px; }
  .market-stat { padding:11px 8px; }
  .market-stat h4 { font-size:15px; }
  .overview-item-in-markets {
    grid-template-columns: minmax(72px,.8fr) minmax(118px,1.4fr) 48px;
    gap: 5px;
  }
  .overview-item-in-markets .price { font-size:11px; }
  .markets-table-in-markets th, .markets-table-in-markets td { padding-inline:4px; font-size:10px; }
}

@media (prefers-reduced-motion: reduce) {
  .markets-ticker { animation:none; }
  .green-flash-price, .red-flash-price, .flash { animation:none; }
  .market-stat, .trade-btn-in-markets, .price-toggle-btn, .tabs-in-markets button { transition:none; }
}

@media (max-width: 640px) {
  .overview-card-in-markets,
  .overview-item-in-markets { overflow: visible; }

  .overview-item-in-markets .price-value {
    display: block;
    max-width: none;
    white-space: nowrap;
  }

  .overview-item-in-markets > .green,
  .overview-item-in-markets > .red {
    white-space: nowrap;
    justify-self: end;
  }
}

@media (max-width: 340px) {
  .overview-item-in-markets {
    grid-template-columns: 68px minmax(108px,1fr) 44px;
  }
  .coin-logo-in-markets { width:21px; height:21px; flex-basis:21px; }
  .coin-name-in-markets { font-size:11px; }
  .overview-item-in-markets .price { font-size:10px; }
  .overview-item-in-markets > .green,
  .overview-item-in-markets > .red { font-size:9.5px; }
}


/* =========================================================
   LIGHT THEME — TradeINR Markets
   High-contrast version. Existing dark design is preserved.
   ========================================================= */
html[data-theme="light"] .markets-layout-in-markets {
  --m-bg: #f4f7fb;
  --m-surface: #ffffff;
  --m-surface-2: #f8fafc;
  --m-border: rgba(15, 23, 42, .12);
  --m-border-strong: rgba(15, 23, 42, .22);
  --m-text: #111827;
  --m-muted: #526176;
  --m-accent: #d6a300;
  --m-accent-2: #a97900;
  --m-green: #00875a;
  --m-red: #dc3545;
  --m-shadow: 0 12px 30px rgba(15, 23, 42, .075);

  background: var(--m-bg);
  color: var(--m-text);
}

/* Ticker */
html[data-theme="light"] .markets-layout-in-markets .markets-ticker-wrapper {
  background: rgba(255,255,255,.88);
  border-color: var(--m-border);
}

/* Summary cards */
html[data-theme="light"] .markets-layout-in-markets .market-stat {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border-color: var(--m-border);
  box-shadow: 0 8px 22px rgba(15,23,42,.055);
}

html[data-theme="light"] .markets-layout-in-markets .market-stat span {
  color: #64748b;
}

html[data-theme="light"] .markets-layout-in-markets .market-stat h4 {
  color: #111827;
}

/* Currency selector */
html[data-theme="light"] .markets-layout-in-markets .price-toggle-container {
  color: #526176;
}

html[data-theme="light"] .markets-layout-in-markets .price-toggle-btn {
  border-color: rgba(169,121,0,.38);
  background: rgba(234,179,8,.11);
  color: #795900;
}

html[data-theme="light"] .markets-layout-in-markets .price-toggle-btn:hover {
  background: #eab308;
  border-color: #eab308;
  color: #111827;
}

html[data-theme="light"] .markets-layout-in-markets .usdt-rate {
  color: #64748b;
}

html[data-theme="light"] .markets-layout-in-markets .usdt-rate strong {
  color: #111827;
}

/* Overview */
html[data-theme="light"] .markets-layout-in-markets .markets-heading-premium-heading,
html[data-theme="light"] .markets-layout-in-markets .markets-title {
  color: #0f172a;
}

html[data-theme="light"] .markets-layout-in-markets .overview-card-in-markets {
  background: #ffffff;
  border-color: var(--m-border);
  box-shadow: var(--m-shadow);
}

html[data-theme="light"] .markets-layout-in-markets .overview-card-in-markets h4 {
  color: #526176;
  border-bottom-color: rgba(15,23,42,.09);
}

html[data-theme="light"] .markets-layout-in-markets .overview-item-in-markets {
  border-bottom-color: rgba(15,23,42,.075);
}

html[data-theme="light"] .markets-layout-in-markets .overview-item-in-markets:hover {
  background: #f8fafc;
}

/* IMPORTANT: overview prices must stay dark and high-contrast in light mode */
html[data-theme="light"] .markets-layout-in-markets .overview-item-in-markets .price,
html[data-theme="light"] .markets-layout-in-markets .overview-item-in-markets .price-symbol,
html[data-theme="light"] .markets-layout-in-markets .overview-item-in-markets .price-value {
  color: #111827 !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #111827;
}

html[data-theme="light"] .markets-layout-in-markets .coin-name-in-markets {
  color: #0f172a;
}

html[data-theme="light"] .markets-layout-in-markets .coin-sub-in-markets {
  color: #64748b;
}

/* Search */
html[data-theme="light"] .markets-layout-in-markets .markets-search-in-markets input {
  background: #ffffff;
  color: #111827;
  border-color: var(--m-border);
  box-shadow: 0 4px 14px rgba(15,23,42,.035);
}

html[data-theme="light"] .markets-layout-in-markets .markets-search-in-markets input::placeholder {
  color: #94a3b8;
}

/* Tabs */
html[data-theme="light"] .markets-layout-in-markets .tabs-in-markets button {
  color: #526176;
  border-color: var(--m-border);
}

html[data-theme="light"] .markets-layout-in-markets .tabs-in-markets button:hover {
  color: #111827;
  background: #f8fafc;
}

html[data-theme="light"] .markets-layout-in-markets .tabs-in-markets .active-tab-in-markets {
  border-color: rgba(169,121,0,.38);
  background: rgba(234,179,8,.12);
  color: #795900;
}

/* Futures table */
html[data-theme="light"] .markets-layout-in-markets .table-wrapper-in-markets {
  background: #ffffff;
  border-color: var(--m-border);
  box-shadow: var(--m-shadow);
}

html[data-theme="light"] .markets-layout-in-markets .markets-table-in-markets th {
  background: #f8fafc;
  color: #526176;
  border-bottom-color: rgba(15,23,42,.10);
}

html[data-theme="light"] .markets-layout-in-markets .markets-table-in-markets td {
  color: #273449;
  border-bottom-color: rgba(15,23,42,.07);
}

html[data-theme="light"] .markets-layout-in-markets .markets-table-in-markets tbody tr:hover {
  background: #f8fafc;
}

html[data-theme="light"] .markets-layout-in-markets .markets-table-in-markets td:first-child {
  color: #64748b;
}

/* Normal table amounts are dark; live up/down flash colors remain green/red. */
html[data-theme="light"] .markets-layout-in-markets
.markets-table-in-markets td:not(.green-flash-price):not(.red-flash-price) .table-price,
html[data-theme="light"] .markets-layout-in-markets
.markets-table-in-markets td:not(.green-flash-price):not(.red-flash-price) .table-price-symbol,
html[data-theme="light"] .markets-layout-in-markets
.markets-table-in-markets td:not(.green-flash-price):not(.red-flash-price) .table-price-value {
  color: #1f2937;
}

/* Trade button */
html[data-theme="light"] .markets-layout-in-markets .trade-btn-in-markets {
  border-color: rgba(169,121,0,.42);
  background: rgba(234,179,8,.11);
  color: #795900;
}

html[data-theme="light"] .markets-layout-in-markets .trade-btn-in-markets:hover {
  background: #eab308;
  border-color: #eab308;
  color: #111827;
}


/* ==========================================================
   TRADEINR MARKETS — TRUST PREMIUM V5
   Adds premium hierarchy, touch response and cleaner mobile geometry.
   ========================================================== */

.markets-layout-in-markets {
  --m-premium-gold-soft: rgba(250, 204, 21, .075);
  --m-premium-cyan-soft: rgba(34, 211, 238, .055);
}

.markets-container-in-markets {
  padding-top: 12px !important;
}

/* -------- Premium market introduction -------- */
.tinr-markets-premium-head {
  position: relative;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  margin-bottom: 14px;
  padding: 24px 26px;
  border: 1px solid var(--m-border);
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 35%, rgba(250, 204, 21, .11), transparent 210px),
    radial-gradient(circle at 58% 0%, rgba(34, 211, 238, .04), transparent 240px),
    linear-gradient(145deg, rgba(17, 26, 43, .98), rgba(8, 14, 25, .98));
  box-shadow:
    0 18px 46px rgba(0, 0, 0, .22),
    inset 0 1px 0 rgba(255, 255, 255, .025);
}

.tinr-markets-premium-head::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--m-accent), transparent 46%);
  opacity: .58;
}

.tinr-markets-premium-head__copy {
  min-width: 0;
}

.tinr-markets-premium-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border: 1px solid rgba(250, 204, 21, .18);
  border-radius: 999px;
  color: var(--m-accent-2);
  background: rgba(250, 204, 21, .055);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .12em;
}

.tinr-markets-premium-head h1 {
  margin: 10px 0 7px;
  color: var(--m-text);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.03;
  font-weight: 880;
  letter-spacing: -.045em;
}

.tinr-markets-premium-head h1 span {
  color: var(--m-accent-2);
}

.tinr-markets-premium-head p {
  max-width: 660px;
  margin: 0;
  color: var(--m-muted);
  font-size: 11px;
  line-height: 1.65;
}

.tinr-markets-premium-live {
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(22, 199, 132, .15);
  border-radius: 14px;
  color: var(--m-green);
  background: rgba(22, 199, 132, .05);
}

.tinr-markets-premium-live__dot {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: var(--m-green);
  box-shadow: 0 0 0 5px rgba(22, 199, 132, .075);
  animation: tinrMarketsLivePulse 1.8s ease-in-out infinite;
}

@keyframes tinrMarketsLivePulse {
  50% {
    box-shadow: 0 0 0 9px rgba(22, 199, 132, 0);
  }
}

.tinr-markets-premium-live > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.tinr-markets-premium-live strong {
  color: var(--m-text);
  font-size: 10px;
  font-weight: 850;
}

.tinr-markets-premium-live small {
  color: var(--m-muted);
  font-size: 7.5px;
  line-height: 1.35;
}

/* -------- Premium stats -------- */
.market-stats-bar {
  gap: 10px !important;
  margin-bottom: 14px !important;
}

.market-stat {
  position: relative;
  overflow: hidden;
  min-height: 103px;
  padding: 15px 16px !important;
  border-radius: 15px !important;
  box-shadow:
    0 9px 25px rgba(0, 0, 0, .12),
    inset 0 1px 0 rgba(255, 255, 255, .018) !important;
}

.market-stat::after {
  content: "";
  position: absolute;
  top: 0;
  left: 15px;
  width: 42px;
  height: 2px;
  border-radius: 0 0 999px 999px;
  background: var(--m-accent);
  opacity: .75;
}

.market-stat span {
  margin-bottom: 6px !important;
  font-size: 9px !important;
  font-weight: 750 !important;
  text-transform: uppercase;
  letter-spacing: .055em;
}

.market-stat h4 {
  font-size: clamp(20px, 2vw, 27px) !important;
  font-variant-numeric: tabular-nums;
}

.market-stat small {
  display: block;
  margin-top: 6px;
  color: var(--m-muted);
  font-size: 7.5px;
  line-height: 1.35;
}

/* -------- Premium overview/table -------- */
.overview-card-in-markets,
.table-wrapper-in-markets {
  box-shadow:
    0 15px 36px rgba(0, 0, 0, .16),
    inset 0 1px 0 rgba(255, 255, 255, .018);
}

.overview-card-in-markets {
  border-radius: 16px;
}

.overview-item-in-markets {
  transition:
    transform .16s ease,
    background .16s ease,
    border-color .16s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.overview-item-in-markets:active {
  transform: scale(.988);
}

.markets-search-in-markets input {
  height: 44px !important;
  border-radius: 12px !important;
}

.tabs-in-markets button,
.trade-btn-in-markets,
.price-toggle-btn {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.tabs-in-markets button:active,
.trade-btn-in-markets:active,
.price-toggle-btn:active {
  transform: scale(.96);
}

.trade-btn-in-markets {
  border-radius: 10px !important;
}

.markets-table-in-markets tbody tr {
  cursor: pointer;
}

/* -------- Light premium -------- */
html[data-theme="light"] .tinr-markets-premium-head {
  background:
    radial-gradient(circle at 88% 35%, rgba(234, 179, 8, .10), transparent 210px),
    radial-gradient(circle at 58% 0%, rgba(14, 165, 233, .035), transparent 240px),
    linear-gradient(145deg, #ffffff, #f8fafc);
  box-shadow:
    0 16px 38px rgba(15, 23, 42, .075),
    inset 0 1px 0 rgba(255, 255, 255, .9);
}

html[data-theme="light"] .tinr-markets-premium-live {
  border-color: rgba(5, 150, 105, .14);
  background: rgba(5, 150, 105, .045);
}

html[data-theme="light"] .market-stat {
  box-shadow:
    0 8px 22px rgba(15, 23, 42, .055),
    inset 0 1px 0 #ffffff !important;
}

/* -------- Mobile premium -------- */
@media (max-width: 640px) {
  .markets-container-in-markets {
    padding: 7px 7px calc(var(--tinr-mobile-bottom-nav-height, 76px) + 14px) !important;
  }

  .tinr-markets-premium-head {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 9px;
    padding: 16px 14px;
    border-radius: 16px;
  }

  .tinr-markets-premium-head::after {
    left: 14px;
    right: 14px;
  }

  .tinr-markets-premium-eyebrow {
    min-height: 23px;
    font-size: 7px;
  }

  .tinr-markets-premium-head h1 {
    margin-top: 8px;
    font-size: 28px;
  }

  .tinr-markets-premium-head p {
    font-size: 9.5px;
  }

  .tinr-markets-premium-live {
    width: 100%;
    min-width: 0;
    padding: 10px 11px;
  }

  .markets-ticker-wrapper {
    margin-bottom: 10px !important;
    padding-block: 8px !important;
    border-radius: 10px;
  }

  .market-stats-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
    margin-bottom: 10px !important;
  }

  .market-stat {
    min-height: 92px;
    padding: 12px 10px !important;
    border-radius: 13px !important;
  }

  .market-stat span {
    min-height: 0 !important;
    font-size: 7.5px !important;
  }

  .market-stat h4 {
    font-size: 17px !important;
  }

  .market-stat small {
    margin-top: 4px;
    font-size: 6.5px;
  }

  .price-toggle-container {
    align-items: center;
    gap: 7px !important;
    margin: 0 0 16px !important;
    padding: 10px;
    border: 1px solid var(--m-border);
    border-radius: 12px;
    background: var(--m-surface);
  }

  .price-label {
    width: auto !important;
    margin-right: auto;
    font-size: 8px !important;
  }

  .price-toggle-btn {
    min-height: 34px !important;
    padding-inline: 10px !important;
    font-size: 9px !important;
  }

  .usdt-rate {
    width: 100%;
    font-size: 8px !important;
  }

  .markets-heading-premium-heading {
    font-size: 22px !important;
  }

  .overview-card-in-markets {
    border-radius: 14px !important;
  }

  .overview-item-in-markets {
    min-height: 48px !important;
    padding-block: 7px !important;
  }

  .table-wrapper-in-markets {
    border-radius: 14px !important;
  }

  .markets-table-in-markets tbody tr:active {
    background: rgba(250, 204, 21, .055);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tinr-markets-premium-live__dot {
    animation: none;
  }
}
/* ==========================================================
   TradeINR Chart Canvas
   Unique scope: tinr-chart-*
   Dark + Light theme
   ========================================================== */

.tinr-chart-canvas-shell {
  --tc-bg: #0a0f17;
  --tc-surface: rgba(9, 15, 25, .88);
  --tc-surface-soft: #111a28;
  --tc-border: rgba(148, 163, 184, .13);
  --tc-border-strong: rgba(148, 163, 184, .24);
  --tc-text: #f8fafc;
  --tc-muted: #8f9bad;
  --tc-yellow: #facc15;
  --tc-green: #22d3a0;
  --tc-cyan: #22c7ee;
  --tc-shadow: 0 18px 46px rgba(0, 0, 0, .24);

  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--tc-text);
  background:
    radial-gradient(circle at 82% 6%, rgba(34, 199, 238, .055), transparent 22rem),
    var(--tc-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tinr-chart-canvas-shell *,
.tinr-chart-canvas-shell *::before,
.tinr-chart-canvas-shell *::after {
  box-sizing: border-box;
}

.tinr-chart-canvas-shell::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(250,204,21,.34), transparent);
  pointer-events: none;
}

/* ---------------- TOOLBAR ---------------- */
.tinr-chart-toolbar {
  position: absolute;
  z-index: 20;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100% - 20px);
  pointer-events: none;
}

.tinr-chart-draw-btn {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid var(--tc-border);
  border-radius: 9px;
  color: var(--tc-text);
  background: rgba(9, 15, 25, .88);
  box-shadow: 0 7px 22px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
  cursor: pointer;
  pointer-events: auto;
  font: inherit;
  font-size: 10.5px;
  font-weight: 750;
  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.tinr-chart-draw-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(34,199,238,.34);
}

.tinr-chart-draw-btn--active {
  color: #06120d;
  border-color: rgba(34,211,160,.42);
  background: linear-gradient(135deg, #55e9c0, var(--tc-green));
  box-shadow: 0 8px 22px rgba(34,211,160,.16);
}

.tinr-chart-draw-icon {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  flex: 0 0 18px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-size: 10px;
  line-height: 1;
  opacity: .88;
}

.tinr-chart-drawing-hint {
  min-width: 0;
  overflow: hidden;
  padding: 7px 9px;
  border: 1px solid rgba(34,211,160,.14);
  border-radius: 8px;
  color: var(--tc-green);
  background: rgba(9,15,25,.82);
  backdrop-filter: blur(10px);
  font-size: 9px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------------- CANVAS ---------------- */
.tinr-chart-canvas {
  flex: 1;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

/* lightweight-charts creates canvas/table descendants dynamically */
.tinr-chart-canvas > div {
  width: 100% !important;
  height: 100% !important;
}

/* ==========================================================
   LIGHT THEME
   ========================================================== */
html[data-theme="light"] .tinr-chart-canvas-shell {
  --tc-bg: #ffffff;
  --tc-surface: rgba(255,255,255,.92);
  --tc-surface-soft: #f8fafc;
  --tc-border: rgba(15,23,42,.11);
  --tc-border-strong: rgba(15,23,42,.20);
  --tc-text: #111827;
  --tc-muted: #64748b;
  --tc-yellow: #d6a800;
  --tc-green: #059669;
  --tc-cyan: #0891b2;
  --tc-shadow: 0 15px 36px rgba(15,23,42,.08);

  background:
    radial-gradient(circle at 82% 6%, rgba(8,145,178,.045), transparent 22rem),
    #ffffff;
}

html[data-theme="light"] .tinr-chart-draw-btn {
  color: #334155;
  background: rgba(255,255,255,.94);
  box-shadow: 0 7px 18px rgba(15,23,42,.08);
}

html[data-theme="light"] .tinr-chart-draw-btn--active {
  color: #ffffff;
  background: linear-gradient(135deg, #0ebd86, #059669);
}

html[data-theme="light"] .tinr-chart-drawing-hint {
  color: #047857;
  border-color: rgba(5,150,105,.16);
  background: rgba(255,255,255,.92);
}

/* ==========================================================
   MOBILE
   ========================================================== */
@media (max-width: 768px) {
  .tinr-chart-canvas-shell {
    min-height: 300px;
  }

  .tinr-chart-toolbar {
    top: 8px;
    left: 8px;
    gap: 7px;
    max-width: calc(100% - 16px);
  }

  .tinr-chart-draw-btn {
    min-height: 31px;
    padding-inline: 9px;
    border-radius: 8px;
    font-size: 9.5px;
  }

  .tinr-chart-draw-icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
    border-radius: 5px;
    font-size: 9px;
  }

  .tinr-chart-drawing-hint {
    padding: 6px 8px;
    font-size: 8px;
  }
}

@media (max-width: 480px) {
  .tinr-chart-canvas-shell {
    min-height: 280px;
  }

  .tinr-chart-draw-btn {
    min-height: 29px;
    padding-inline: 8px;
    font-size: 9px;
  }

  .tinr-chart-drawing-hint {
    max-width: 150px;
  }
}

@media (max-width: 360px) {
  .tinr-chart-drawing-hint {
    display: none;
  }
}

@media (hover: none) {
  .tinr-chart-draw-btn:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tinr-chart-canvas-shell *,
  .tinr-chart-canvas-shell *::before,
  .tinr-chart-canvas-shell *::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }
}
/* ==========================================================
   TradeINR Chart Header
   Unique scope: tinr-chart-header-*
   Dark + Light theme
   ========================================================== */

.tinr-chart-header {
  --tch-bg: rgba(8, 17, 31, .96);
  --tch-surface: #0d1727;
  --tch-surface-soft: #111d30;
  --tch-border: rgba(148, 163, 184, .13);
  --tch-border-strong: rgba(148, 163, 184, .22);
  --tch-text: #f8fafc;
  --tch-muted: #8f9bad;
  --tch-green: #22d3a0;
  --tch-red: #fb6471;
  --tch-yellow: #facc15;
  --tch-shadow: 0 10px 30px rgba(0, 0, 0, .16);

  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 10px 14px;
  color: var(--tch-text);
  background:
    radial-gradient(circle at 8% 50%, rgba(250, 204, 21, .035), transparent 16rem),
    var(--tch-bg);
  border-bottom: 1px solid var(--tch-border);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tinr-chart-header *,
.tinr-chart-header *::before,
.tinr-chart-header *::after {
  box-sizing: border-box;
}

/* ---------------- PRIMARY MARKET INFO ---------------- */
.tinr-chart-header-primary {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.tinr-chart-header-symbol-wrap {
  display: grid;
  gap: 2px;
}

.tinr-chart-header-market-label {
  color: var(--tch-muted);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tinr-chart-header-symbol {
  color: var(--tch-text);
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
}

.tinr-chart-header-price {
  font-size: 21px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tinr-chart-header-price--up,
.tinr-chart-header-change--up {
  color: var(--tch-green);
}

.tinr-chart-header-price--down,
.tinr-chart-header-change--down {
  color: var(--tch-red);
}

.tinr-chart-header-change {
  min-width: 62px;
  padding: 5px 7px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 850;
  text-align: center;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tinr-chart-header-change--up {
  border: 1px solid rgba(34, 211, 160, .13);
  background: rgba(34, 211, 160, .05);
}

.tinr-chart-header-change--down {
  border: 1px solid rgba(251, 100, 113, .13);
  background: rgba(251, 100, 113, .05);
}

/* ---------------- STATS ---------------- */
.tinr-chart-header-stats {
  min-width: 0;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(76px, 1fr));
  gap: 5px;
}

.tinr-chart-header-stat {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 5px 8px;
  border-left: 1px solid var(--tch-border);
}

.tinr-chart-header-stat-label {
  color: var(--tch-muted);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: .025em;
}

.tinr-chart-header-stat-value {
  min-width: 0;
  overflow: hidden;
  color: var(--tch-text);
  font-size: 9.5px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------------- LOADING ---------------- */
.tinr-chart-header-loading {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #8f9bad;
  background: #08111f;
  border-bottom: 1px solid rgba(148, 163, 184, .13);
  font: 600 11px/1.4 Inter, ui-sans-serif, system-ui, sans-serif;
}

/* ==========================================================
   LIGHT THEME
   ========================================================== */
html[data-theme="light"] .tinr-chart-header {
  --tch-bg: rgba(255, 255, 255, .96);
  --tch-surface: #ffffff;
  --tch-surface-soft: #f8fafc;
  --tch-border: rgba(15, 23, 42, .10);
  --tch-border-strong: rgba(15, 23, 42, .18);
  --tch-text: #111827;
  --tch-muted: #64748b;
  --tch-green: #059669;
  --tch-red: #dc3545;
  --tch-yellow: #d6a800;
  --tch-shadow: 0 8px 24px rgba(15, 23, 42, .06);

  background:
    radial-gradient(circle at 8% 50%, rgba(234, 179, 8, .055), transparent 16rem),
    var(--tch-bg);
}

html[data-theme="light"] .tinr-chart-header-change--up {
  background: rgba(5, 150, 105, .07);
  border-color: rgba(5, 150, 105, .15);
}

html[data-theme="light"] .tinr-chart-header-change--down {
  background: rgba(220, 53, 69, .06);
  border-color: rgba(220, 53, 69, .14);
}

html[data-theme="light"] .tinr-chart-header-loading {
  color: #64748b;
  background: #ffffff;
  border-bottom-color: rgba(15, 23, 42, .10);
}

/* ==========================================================
   TABLET
   ========================================================== */
@media (max-width: 1100px) and (min-width: 769px) {
  .tinr-chart-header {
    gap: 16px;
    padding-inline: 11px;
  }

  .tinr-chart-header-primary {
    gap: 10px;
  }

  .tinr-chart-header-price {
    font-size: 18px;
  }

  .tinr-chart-header-stats {
    grid-template-columns: repeat(3, minmax(78px, 1fr));
    row-gap: 7px;
  }

  .tinr-chart-header-stat {
    padding-block: 3px;
  }
}

/* ==========================================================
   MOBILE
   ========================================================== */
@media (max-width: 768px) {
  .tinr-chart-header {
    position: relative;
    display: block;
    padding: 14px;
    overflow: hidden;
    border: 1px solid var(--tch-border);
    border-radius: 16px;
    background:
      radial-gradient(circle at 80% 0%, rgba(37, 99, 235, .07), transparent 15rem),
      var(--tch-bg);
    box-shadow: var(--tch-shadow);
  }

  .tinr-chart-header-primary {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.45fr) auto;
    gap: 10px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--tch-border);
  }

  .tinr-chart-header-symbol-wrap {
    gap: 3px;
  }

  .tinr-chart-header-market-label {
    font-size: 6.5px;
  }

  .tinr-chart-header-symbol {
    font-size: 15px;
  }

  .tinr-chart-header-price {
    font-size: clamp(20px, 6vw, 28px);
    text-align: center;
  }

  .tinr-chart-header-change {
    min-width: 0;
    padding: 5px 6px;
    font-size: 10px;
  }

  .tinr-chart-header-stats {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 0;
  }

  .tinr-chart-header-stat {
    min-width: 0;
    padding: 0 10px;
    border-left: 1px solid var(--tch-border);
  }

  .tinr-chart-header-stat:nth-child(3n + 1) {
    border-left: 0;
    padding-left: 0;
  }

  .tinr-chart-header-stat:nth-child(3n) {
    padding-right: 0;
  }

  .tinr-chart-header-stat-label {
    font-size: 7.5px;
  }

  .tinr-chart-header-stat-value {
    font-size: 10px;
  }
}

/* ==========================================================
   SMALL MOBILE
   ========================================================== */
@media (max-width: 480px) {
  .tinr-chart-header {
    padding: 12px;
    border-radius: 14px;
  }

  .tinr-chart-header-primary {
    grid-template-columns: .72fr 1.5fr auto;
    gap: 7px;
  }

  .tinr-chart-header-symbol {
    font-size: 13px;
  }

  .tinr-chart-header-price {
    font-size: clamp(18px, 6vw, 24px);
  }

  .tinr-chart-header-change {
    font-size: 9px;
  }

  .tinr-chart-header-stats {
    gap: 9px 0;
  }

  .tinr-chart-header-stat {
    padding-inline: 7px;
  }

  .tinr-chart-header-stat-label {
    font-size: 7px;
  }

  .tinr-chart-header-stat-value {
    font-size: 9px;
  }
}

@media (max-width: 360px) {
  .tinr-chart-header-primary {
    grid-template-columns: 1fr auto;
  }

  .tinr-chart-header-price {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
  }

  .tinr-chart-header-change {
    grid-column: 2;
    grid-row: 1;
  }

  .tinr-chart-header-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tinr-chart-header-stat:nth-child(3n + 1) {
    border-left: 1px solid var(--tch-border);
    padding-left: 7px;
  }

  .tinr-chart-header-stat:nth-child(2n + 1) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tinr-chart-header *,
  .tinr-chart-header *::before,
  .tinr-chart-header *::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }
}

/* ==========================================================
   COIN SELECTOR — the visible symbol itself is clickable
   ========================================================== */
.tinr-chart-header-symbol-wrap--selectable {
  min-width: 74px;
  margin: 0;
  padding: 5px 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  transition:
    background .16s ease,
    border-color .16s ease,
    transform .16s ease;
}

.tinr-chart-header-symbol-wrap--selectable:not(:disabled):hover {
  border-color: rgba(250, 204, 21, .28);
  background: rgba(250, 204, 21, .055);
}

.tinr-chart-header-symbol-wrap--selectable:not(:disabled):active {
  transform: translateY(1px);
}

.tinr-chart-header-symbol-wrap--selectable:disabled {
  cursor: default;
}

.tinr-chart-header-symbol-line {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.tinr-chart-header-symbol-chevron {
  color: var(--tch-yellow);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

html[data-theme="light"] .tinr-chart-header-symbol-wrap--selectable:not(:disabled):hover {
  border-color: rgba(202, 138, 4, .25);
  background: rgba(250, 204, 21, .07);
}

@media (max-width: 768px) {
  .tinr-chart-header-symbol-wrap--selectable {
    min-width: 0;
    padding: 4px 6px;
  }
}
/* ==========================================================
   TradeINR Order Book V2
   Goal:
   - asks above
   - MID PRICE exactly between asks and bids
   - bids below
   - no overlap on mobile or desktop
   - scoped classes only
   ========================================================== */

.tinr-ob {
  --ob-bg: #07111f;
  --ob-surface: #0b1526;
  --ob-surface-soft: #101a2b;
  --ob-text: #f8fafc;
  --ob-muted: #8fa0b7;
  --ob-border: rgba(148, 163, 184, .15);
  --ob-green: #16c784;
  --ob-red: #f05b6c;
  --ob-yellow: #facc15;

  width: 100%;
  height: 100%;
  min-height: 0;

  display: flex;
  flex-direction: column;

  padding: 12px;

  color: var(--ob-text);
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(37, 99, 235, .10),
      transparent 220px
    ),
    var(--ob-bg);

  overflow: hidden;
}

.tinr-ob *,
.tinr-ob *::before,
.tinr-ob *::after {
  box-sizing: border-box;
}

.tinr-ob-header {
  flex: 0 0 auto;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;

  margin-bottom: 9px;
}

.tinr-ob-kicker {
  display: block;
  margin-bottom: 2px;

  color: var(--ob-muted);

  font-size: 8px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.tinr-ob-title {
  margin: 0;

  color: var(--ob-text);

  font-size: 17px;
  line-height: 1.1;
  font-weight: 850;
}

.tinr-ob-live {
  min-height: 25px;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 0 9px;

  border: 1px solid rgba(22, 199, 132, .18);
  border-radius: 999px;

  color: var(--ob-green);
  background: rgba(22, 199, 132, .07);

  font-size: 8px;
  font-weight: 850;
  text-transform: uppercase;
}

.tinr-ob-live i,
.tinr-ob-mid i {
  width: 7px;
  height: 7px;

  flex: 0 0 7px;

  border-radius: 50%;

  background: var(--ob-green);
  box-shadow: 0 0 0 4px rgba(22, 199, 132, .08);
}

.tinr-ob-pairbar {
  flex: 0 0 auto;

  min-height: 37px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;

  margin-bottom: 8px;
  padding: 0 10px;

  border: 1px solid var(--ob-border);
  border-radius: 10px;

  background: rgba(255, 255, 255, .018);
}

.tinr-ob-pairbar strong {
  color: var(--ob-text);

  font-size: 11px;
  font-weight: 850;
}

.tinr-ob-pairbar span {
  min-width: 0;

  overflow: hidden;

  color: var(--ob-muted);

  font-size: 8.5px;
  font-weight: 700;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.tinr-ob-columns {
  flex: 0 0 auto;

  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px;
  gap: 8px;

  padding: 0 5px 7px;

  border-bottom: 1px solid var(--ob-border);

  color: var(--ob-muted);

  font-size: 8px;
  font-weight: 850;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.tinr-ob-columns span:last-child {
  text-align: right;
}

/* This grid is the key fix.
   Both book sides get the SAME height.
   Mid price therefore remains in the real centre. */
.tinr-ob-book {
  min-height: 0;
  flex: 1 1 auto;

  display: grid;
  grid-template-rows:
    minmax(0, 1fr)
    42px
    minmax(0, 1fr);

  padding-top: 7px;
}

.tinr-ob-side {
  min-height: 0;

  display: flex;
  flex-direction: column;

  overflow: hidden;
}

.tinr-ob-sidehead {
  flex: 0 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;

  padding: 0 5px;

  font-size: 8px;
}

.tinr-ob-sidehead strong {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tinr-ob-side--asks .tinr-ob-sidehead strong {
  color: var(--ob-red);
}

.tinr-ob-side--bids .tinr-ob-sidehead strong {
  color: var(--ob-green);
}

.tinr-ob-sidehead span {
  color: var(--ob-muted);
  font-weight: 650;
}

.tinr-ob-list {
  min-height: 0;
  flex: 1 1 auto;

  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 2px;

  overflow: hidden;
}

.tinr-ob-row {
  position: relative;

  min-height: 0;

  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px;
  align-items: center;
  gap: 8px;

  padding: 0 5px;

  border-radius: 6px;

  overflow: hidden;

  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.tinr-ob-row::before {
  content: "";

  position: absolute;
  top: 1px;
  right: 0;
  bottom: 1px;

  width: var(--tinr-ob-depth, 20%);

  border-radius: 6px 0 0 6px;

  pointer-events: none;
}

.tinr-ob-row--ask::before {
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(240, 91, 108, .085)
    );
}

.tinr-ob-row--bid::before {
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(22, 199, 132, .085)
    );
}

.tinr-ob-price,
.tinr-ob-size {
  position: relative;
  z-index: 1;
}

.tinr-ob-price {
  overflow: hidden;

  font-weight: 800;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.tinr-ob-price--ask {
  color: var(--ob-red);
}

.tinr-ob-price--bid {
  color: var(--ob-green);
}

.tinr-ob-size {
  color: var(--ob-text);

  font-weight: 750;
  text-align: right;
}

.tinr-ob-mid {
  min-height: 42px;

  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;

  margin: 0;

  padding: 0 8px;

  border-top: 1px solid var(--ob-border);
  border-bottom: 1px solid var(--ob-border);

  background:
    linear-gradient(
      90deg,
      rgba(22, 199, 132, .035),
      transparent 50%,
      rgba(22, 199, 132, .035)
    );
}

.tinr-ob-mid span {
  color: var(--ob-muted);

  font-size: 8px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.tinr-ob-mid strong {
  min-width: 0;

  overflow: hidden;

  color: var(--ob-green);

  font-size: 14px;
  font-weight: 900;

  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;

  font-variant-numeric: tabular-nums;
}

.tinr-ob-empty {
  min-height: 100%;

  display: grid;
  place-items: center;

  color: var(--ob-muted);

  font-size: 9px;
}

/* ---------- Light ---------- */

html[data-theme="light"] .tinr-ob {
  --ob-bg: #ffffff;
  --ob-surface: #ffffff;
  --ob-surface-soft: #f8fafc;
  --ob-text: #111827;
  --ob-muted: #64748b;
  --ob-border: rgba(15, 23, 42, .10);
  --ob-green: #059669;
  --ob-red: #dc3545;
  --ob-yellow: #ca8a04;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(37, 99, 235, .045),
      transparent 220px
    ),
    #ffffff;
}

html[data-theme="light"] .tinr-ob-pairbar {
  background: #f8fafc;
}

html[data-theme="light"] .tinr-ob-mid {
  background:
    linear-gradient(
      90deg,
      rgba(5, 150, 105, .035),
      transparent 50%,
      rgba(5, 150, 105, .035)
    );
}

/* ---------- Mobile ---------- */

/* Trade.css currently gives the mobile order book only ~290px.
   That is physically too short for title + pair + asks + mid + bids.
   This scoped override corrects ONLY the order-book card height. */
@media (max-width: 768px) {
  .tinr-trade-orderbook-card {
    height: 410px !important;
    min-height: 410px !important;
    max-height: 410px !important;
  }

  .tinr-ob {
    padding: 9px;
  }

  .tinr-ob-header {
    margin-bottom: 7px;
  }

  .tinr-ob-kicker {
    font-size: 7.5px;
  }

  .tinr-ob-title {
    font-size: 15px;
  }

  .tinr-ob-live {
    min-height: 23px;

    padding-inline: 8px;

    font-size: 7.5px;
  }

  .tinr-ob-pairbar {
    min-height: 35px;

    margin-bottom: 7px;
  }

  .tinr-ob-pairbar strong {
    font-size: 10px;
  }

  .tinr-ob-pairbar span {
    font-size: 8px;
  }

  .tinr-ob-columns {
    grid-template-columns: minmax(0, 1fr) 68px;

    padding-bottom: 6px;

    font-size: 7.5px;
  }

  .tinr-ob-book {
    grid-template-rows:
      minmax(0, 1fr)
      40px
      minmax(0, 1fr);
  }

  .tinr-ob-sidehead {
    flex-basis: 19px;
  }

  .tinr-ob-list {
    /* 4th row exists in the DOM but is hidden below. */
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }

  .tinr-ob-row {
    grid-template-columns: minmax(0, 1fr) 68px;

    font-size: 8.5px;
  }

  .tinr-ob-list .tinr-ob-row:nth-child(n + 4) {
    display: none;
  }

  .tinr-ob-mid {
    min-height: 40px;

    grid-template-columns: auto minmax(0, 1fr) auto;

    padding-inline: 5px;
  }

  .tinr-ob-mid span {
    font-size: 7.5px;
  }

  .tinr-ob-mid strong {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .tinr-trade-orderbook-card {
    height: 400px !important;
    min-height: 400px !important;
    max-height: 400px !important;
  }

  .tinr-ob {
    padding: 8px;
  }
}
/* ==========================================================
   TradeINR Trading Panel
   Unique scope: tinr-trading-panel-*
   Dark + Light theme
   ========================================================== */

.tinr-trading-panel {
  --ttp-bg: rgba(11, 18, 32, .94);
  --ttp-bg-strong: #08111f;
  --ttp-surface: #0e1828;
  --ttp-surface-soft: #121d30;
  --ttp-input: #07101c;
  --ttp-text: #f8fafc;
  --ttp-muted: #8f9bad;
  --ttp-border: rgba(148, 163, 184, .15);
  --ttp-border-strong: rgba(148, 163, 184, .24);
  --ttp-yellow: #facc15;
  --ttp-yellow-deep: #eab308;
  --ttp-green: #22d3a0;
  --ttp-green-deep: #059669;
  --ttp-red: #fb6471;
  --ttp-red-deep: #dc2626;
  --ttp-cyan: #22c7ee;
  --ttp-shadow: 0 22px 60px rgba(0, 0, 0, .34);

  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 16px;
  border: 1px solid var(--ttp-border);
  border-radius: 18px;
  color: var(--ttp-text);
  background:
    radial-gradient(circle at 92% 2%, rgba(37, 99, 235, .10), transparent 16rem),
    radial-gradient(circle at 7% 95%, rgba(250, 204, 21, .045), transparent 14rem),
    var(--ttp-bg);
  box-shadow: var(--ttp-shadow);
  backdrop-filter: blur(14px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tinr-trading-panel *,
.tinr-trading-panel *::before,
.tinr-trading-panel *::after {
  box-sizing: border-box;
}

.tinr-trading-panel button,
.tinr-trading-panel input,
.tinr-trading-panel select {
  font: inherit;
}

.tinr-trading-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 9%;
  right: 9%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(250,204,21,.45), transparent);
  opacity: .7;
}

/* ---------------- LOGIN WARNING ---------------- */
.tinr-trading-panel-login-warning {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 9px 11px;
  border: 1px solid rgba(250,204,21,.16);
  border-radius: 10px;
  color: var(--ttp-yellow);
  background: rgba(250,204,21,.05);
  font-size: 11px;
  font-weight: 700;
}

.tinr-trading-panel-login-warning-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--ttp-yellow);
  box-shadow: 0 0 0 4px rgba(250,204,21,.08);
}

/* ---------------- TOPBAR ---------------- */
.tinr-trading-panel-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  margin-bottom: 14px;
}

.tinr-trading-panel-leverage {
  min-width: 0;
}

.tinr-trading-panel-label {
  display: block;
  margin-bottom: 6px;
  color: var(--ttp-muted);
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.tinr-trading-panel-leverage-btn {
  min-height: 37px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid var(--ttp-border);
  border-radius: 10px;
  color: var(--ttp-text);
  background: var(--ttp-surface);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.tinr-trading-panel-leverage-btn:hover:not(.tinr-trading-panel-leverage-btn--locked) {
  transform: translateY(-1px);
  border-color: rgba(250,204,21,.35);
}

.tinr-trading-panel-leverage-btn--locked {
  cursor: not-allowed;
  opacity: .55;
}

.tinr-trading-panel-leverage-edit {
  color: var(--ttp-yellow);
  font-size: 13px;
}

.tinr-trading-panel-lock-note {
  display: block;
  margin-top: 5px;
  color: var(--ttp-muted);
  font-size: 9px;
}

.tinr-trading-panel-order-type {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--ttp-border);
  border-radius: 11px;
  background: rgba(255,255,255,.025);
}

.tinr-trading-panel-order-tab {
  min-width: 72px;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  color: var(--ttp-muted);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
  transition: background .18s ease, color .18s ease;
}

.tinr-trading-panel-order-tab:hover {
  color: var(--ttp-text);
}

.tinr-trading-panel-order-tab--active {
  color: #0b1017;
  background: linear-gradient(135deg, #ffe45c, var(--ttp-yellow));
  box-shadow: 0 5px 14px rgba(250,204,21,.12);
}

/* ---------------- BALANCE ---------------- */
.tinr-trading-panel-balance-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(34,211,160,.14);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(34,211,160,.065), rgba(34,211,160,.018));
}

.tinr-trading-panel-balance-card > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.tinr-trading-panel-balance-label {
  color: var(--ttp-muted);
  font-size: 9.5px;
  font-weight: 650;
}

.tinr-trading-panel-balance-value {
  color: var(--ttp-green);
  font-size: 18px;
  font-weight: 820;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.tinr-trading-panel-balance-value--muted {
  color: var(--ttp-muted);
  font-size: 11px;
  line-height: 1.3;
}

.tinr-trading-panel-kyc-badge {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tinr-trading-panel-kyc-badge--approved {
  color: var(--ttp-green);
  border: 1px solid rgba(34,211,160,.16);
  background: rgba(34,211,160,.055);
}

.tinr-trading-panel-kyc-badge--required {
  color: var(--ttp-yellow);
  border: 1px solid rgba(250,204,21,.16);
  background: rgba(250,204,21,.055);
}

.tinr-trading-panel-kyc-warning {
  margin-bottom: 12px;
  padding: 9px 11px;
  border: 1px solid rgba(251,100,113,.15);
  border-radius: 10px;
  color: var(--ttp-red);
  background: rgba(251,100,113,.05);
  font-size: 10.5px;
  font-weight: 700;
}

/* ---------------- FIELDS ---------------- */
.tinr-trading-panel-fields {
  display: grid;
  gap: 11px;
}

.tinr-trading-panel-field {
  display: grid;
  gap: 6px;
}

.tinr-trading-panel-field-label {
  color: var(--ttp-muted);
  font-size: 10px;
  font-weight: 700;
}

.tinr-trading-panel-input-box {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  border: 1px solid var(--ttp-border);
  border-radius: 11px;
  background: var(--ttp-input);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.tinr-trading-panel-input-box:hover {
  border-color: var(--ttp-border-strong);
}

.tinr-trading-panel-input-box:focus-within {
  border-color: rgba(250,204,21,.50);
  box-shadow: 0 0 0 3px rgba(250,204,21,.07);
}

.tinr-trading-panel-input {
  min-width: 0;
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--ttp-text);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.tinr-trading-panel-input::placeholder {
  color: #617086;
  font-weight: 500;
}

.tinr-trading-panel-input-suffix {
  flex: 0 0 auto;
  color: var(--ttp-muted);
  font-size: 9px;
  font-weight: 750;
}

.tinr-trading-panel-margin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
  padding: 9px 2px 0;
  color: var(--ttp-muted);
  font-size: 10px;
}

.tinr-trading-panel-margin-row strong {
  color: var(--ttp-text);
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* ---------------- ERROR ---------------- */
.tinr-trading-panel-error {
  margin-top: 9px;
  padding: 8px 10px;
  border: 1px solid rgba(251,100,113,.15);
  border-radius: 9px;
  color: var(--ttp-red);
  background: rgba(251,100,113,.05);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
}

/* ---------------- PERCENTAGE ---------------- */
.tinr-trading-panel-percentage {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--ttp-border);
  border-radius: 12px;
  background: rgba(255,255,255,.018);
}

.tinr-trading-panel-percentage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
  color: var(--ttp-muted);
  font-size: 9.5px;
  font-weight: 650;
}

.tinr-trading-panel-percentage-head strong {
  color: var(--ttp-yellow);
  font-size: 11px;
}

.tinr-trading-panel-dots {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tinr-trading-panel-dots::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: var(--ttp-border);
}

.tinr-trading-panel-dot {
  position: relative;
  z-index: 1;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 2px solid var(--ttp-border-strong);
  border-radius: 50%;
  background: var(--ttp-surface-soft);
  cursor: pointer;
}

.tinr-trading-panel-dot span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: transparent;
}

.tinr-trading-panel-dot--active {
  border-color: var(--ttp-yellow);
  background: #1d1a0d;
  box-shadow: 0 0 10px rgba(250,204,21,.24);
}

.tinr-trading-panel-dot--active span {
  background: var(--ttp-yellow);
}

.tinr-trading-panel-percentage-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: var(--ttp-muted);
  font-size: 7.5px;
}

/* ---------------- ACTIONS ---------------- */
.tinr-trading-panel-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 9px;
  margin-top: 13px;
}

.tinr-trading-panel-submit {
  min-width: 0;
  min-height: 51px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 9px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.tinr-trading-panel-submit:hover:not(:disabled) {
  transform: translateY(-2px);
}

.tinr-trading-panel-submit:active:not(:disabled) {
  transform: scale(.98);
}

.tinr-trading-panel-submit:disabled {
  cursor: not-allowed;
  opacity: .48;
  filter: saturate(.45);
}

.tinr-trading-panel-submit-main {
  font-size: 11.5px;
  font-weight: 850;
}

.tinr-trading-panel-submit-sub {
  font-size: 7.8px;
  font-weight: 650;
  opacity: .78;
}

.tinr-trading-panel-submit--buy {
  color: #04140d;
  border: 1px solid rgba(34,211,160,.42);
  background: linear-gradient(135deg, #3ae8b7, var(--ttp-green));
  box-shadow: 0 9px 22px rgba(34,211,160,.13);
}

.tinr-trading-panel-submit--sell {
  color: #1a0608;
  border: 1px solid rgba(251,100,113,.42);
  background: linear-gradient(135deg, #ff8994, var(--ttp-red));
  box-shadow: 0 9px 22px rgba(251,100,113,.13);
}

/* ---------------- LEVERAGE POPUP ---------------- */
.tinr-trading-panel-leverage-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(2,6,23,.72);
  backdrop-filter: blur(10px);
}

.tinr-trading-panel-leverage-popup-box {
  position: relative;
  width: min(390px, 100%);
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--ttp-border);
  border-radius: 22px;
  color: var(--ttp-text);
  background:
    radial-gradient(circle at 100% 0%, rgba(34,211,160,.09), transparent 15rem),
    linear-gradient(150deg, #0d1728, #07101d);
  box-shadow: 0 30px 80px rgba(0,0,0,.48);
  animation: tinrTradingPopupShow .24s ease;
}

@keyframes tinrTradingPopupShow {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.tinr-trading-panel-popup-kicker {
  margin-bottom: 7px;
  color: var(--ttp-yellow);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.tinr-trading-panel-leverage-popup-box h3 {
  margin: 0;
  color: var(--ttp-text);
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -.03em;
}

.tinr-trading-panel-popup-copy {
  margin: 9px 0 18px;
  color: var(--ttp-muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.tinr-trading-panel-popup-select {
  width: 100%;
  min-height: 49px;
  margin-bottom: 16px;
  padding: 0 13px;
  border: 1px solid var(--ttp-border);
  border-radius: 11px;
  outline: none;
  color: var(--ttp-text);
  background: var(--ttp-input);
  font-size: 14px;
  font-weight: 700;
}

.tinr-trading-panel-popup-select:focus {
  border-color: rgba(34,211,160,.45);
  box-shadow: 0 0 0 3px rgba(34,211,160,.08);
}

.tinr-trading-panel-popup-select option {
  color: var(--ttp-text);
  background: var(--ttp-surface);
}

.tinr-trading-panel-popup-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.tinr-trading-panel-popup-btn {
  min-height: 45px;
  border-radius: 11px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.tinr-trading-panel-popup-btn--confirm {
  color: #06110c;
  border: 1px solid rgba(34,211,160,.36);
  background: linear-gradient(135deg, #3ae8b7, var(--ttp-green));
}

.tinr-trading-panel-popup-btn--cancel {
  color: var(--ttp-text);
  border: 1px solid var(--ttp-border);
  background: var(--ttp-surface-soft);
}

/* ==========================================================
   LIGHT THEME
   ========================================================== */
html[data-theme="light"] .tinr-trading-panel {
  --ttp-bg: rgba(255,255,255,.96);
  --ttp-bg-strong: #ffffff;
  --ttp-surface: #ffffff;
  --ttp-surface-soft: #f8fafc;
  --ttp-input: #ffffff;
  --ttp-text: #111827;
  --ttp-muted: #64748b;
  --ttp-border: rgba(15,23,42,.11);
  --ttp-border-strong: rgba(15,23,42,.20);
  --ttp-yellow: #d6a800;
  --ttp-yellow-deep: #b98a00;
  --ttp-green: #059669;
  --ttp-green-deep: #047857;
  --ttp-red: #dc3545;
  --ttp-red-deep: #b91c1c;
  --ttp-cyan: #0891b2;
  --ttp-shadow: 0 18px 48px rgba(15,23,42,.09);

  background:
    radial-gradient(circle at 92% 2%, rgba(37,99,235,.055), transparent 16rem),
    radial-gradient(circle at 7% 95%, rgba(234,179,8,.06), transparent 14rem),
    var(--ttp-bg);
}

html[data-theme="light"] .tinr-trading-panel-order-type,
html[data-theme="light"] .tinr-trading-panel-percentage {
  background: #f8fafc;
}

html[data-theme="light"] .tinr-trading-panel-leverage-btn,
html[data-theme="light"] .tinr-trading-panel-input-box {
  background: #ffffff;
}

html[data-theme="light"] .tinr-trading-panel-input::placeholder {
  color: #94a3b8;
}

html[data-theme="light"] .tinr-trading-panel-dot {
  background: #ffffff;
}

html[data-theme="light"] .tinr-trading-panel-dot--active {
  background: #fff7cf;
}

html[data-theme="light"] .tinr-trading-panel-balance-card {
  background: linear-gradient(135deg, rgba(5,150,105,.075), rgba(5,150,105,.02));
}

html[data-theme="light"] .tinr-trading-panel-submit--buy {
  color: #ffffff;
  background: linear-gradient(135deg, #0ebd86, #059669);
  text-shadow: 0 1px 1px rgba(0,0,0,.12);
}

html[data-theme="light"] .tinr-trading-panel-submit--sell {
  color: #ffffff;
  background: linear-gradient(135deg, #ef5c68, #dc3545);
  text-shadow: 0 1px 1px rgba(0,0,0,.12);
}

html[data-theme="light"] .tinr-trading-panel-leverage-popup {
  background: rgba(15,23,42,.38);
}

html[data-theme="light"] .tinr-trading-panel-leverage-popup-box {
  color: #111827;
  background:
    radial-gradient(circle at 100% 0%, rgba(5,150,105,.06), transparent 15rem),
    linear-gradient(150deg, #ffffff, #f8fafc);
  box-shadow: 0 30px 80px rgba(15,23,42,.18);
}

html[data-theme="light"] .tinr-trading-panel-popup-select {
  color: #111827;
  background: #ffffff;
}

html[data-theme="light"] .tinr-trading-panel-popup-select option {
  color: #111827;
  background: #ffffff;
}

html[data-theme="light"] .tinr-trading-panel-popup-btn--cancel {
  color: #334155;
  background: #f8fafc;
}

/* ==========================================================
   MOBILE RESPONSIVE
   ========================================================== */
@media (max-width: 768px) {
  .tinr-trading-panel {
    padding: 13px;
    border-radius: 15px;
    box-shadow: none;
  }

  .tinr-trading-panel-topbar {
    gap: 10px;
    margin-bottom: 11px;
  }

  .tinr-trading-panel-order-tab {
    min-width: 62px;
    min-height: 32px;
    padding-inline: 9px;
    font-size: 10px;
  }

  .tinr-trading-panel-balance-card {
    padding: 11px 12px;
  }

  .tinr-trading-panel-balance-value {
    font-size: 17px;
  }

  .tinr-trading-panel-input-box {
    min-height: 43px;
  }

  .tinr-trading-panel-actions {
    gap: 8px;
  }

  .tinr-trading-panel-submit {
    min-height: 49px;
  }

  .tinr-trading-panel-leverage-popup-box {
    padding: 22px;
    border-radius: 18px;
  }
}

@media (max-width: 480px) {
  .tinr-trading-panel {
    padding: 11px;
    border-radius: 14px;
  }

  .tinr-trading-panel-topbar {
    grid-template-columns: 1fr;
  }

  .tinr-trading-panel-order-type {
    width: 100%;
  }

  .tinr-trading-panel-order-tab {
    flex: 1;
  }

  .tinr-trading-panel-balance-card {
    align-items: flex-start;
  }

  .tinr-trading-panel-kyc-badge {
    font-size: 7.5px;
  }

  .tinr-trading-panel-input {
    font-size: 16px;
  }

  .tinr-trading-panel-percentage {
    padding: 10px;
  }

  .tinr-trading-panel-actions {
    grid-template-columns: 1fr 1fr;
  }

  .tinr-trading-panel-submit-main {
    font-size: 11px;
  }

  .tinr-trading-panel-submit-sub {
    font-size: 7px;
  }

  .tinr-trading-panel-leverage-popup {
    padding: 12px;
  }

  .tinr-trading-panel-leverage-popup-box {
    padding: 18px;
  }

  .tinr-trading-panel-popup-actions {
    grid-template-columns: 1fr;
  }
}

@media (hover: none) {
  .tinr-trading-panel-leverage-btn:hover:not(.tinr-trading-panel-leverage-btn--locked),
  .tinr-trading-panel-submit:hover:not(:disabled) {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tinr-trading-panel *,
  .tinr-trading-panel *::before,
  .tinr-trading-panel *::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }
}

/* ==========================================================
   LAYOUT UPDATE
   Leverage stays in the previous Market/Limit area.
   Market/Limit moves to a full-width row below.
   ========================================================== */
.tinr-trading-panel-topbar {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  margin-bottom: 10px;
}

.tinr-trading-panel-leverage {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.tinr-trading-panel-label {
  text-align: right;
}

.tinr-trading-panel-lock-note {
  text-align: right;
}

.tinr-trading-panel-order-type {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 12px;
  padding: 4px;
}

.tinr-trading-panel-order-tab {
  width: 100%;
  min-height: 36px;
}

@media (max-width: 480px) {
  .tinr-trading-panel-topbar {
    display: flex;
    justify-content: flex-end;
  }

  .tinr-trading-panel-leverage {
    width: auto;
    align-items: flex-end;
  }

  .tinr-trading-panel-order-type {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================
   LEVERAGE INLINE LABEL
   Layout:
   LEVERAGE     25x ✎
             Locked by open trade
   ========================================================== */
.tinr-trading-panel-leverage {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: end;
  column-gap: 10px;
  row-gap: 4px;
  text-align: right;
}

.tinr-trading-panel-label {
  margin: 0;
  align-self: center;
  color: var(--ttp-muted);
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tinr-trading-panel-leverage-btn {
  justify-self: end;
}

.tinr-trading-panel-lock-note {
  grid-column: 1 / -1;
  justify-self: end;
  margin-top: 0;
  color: var(--ttp-muted);
  font-size: 9px;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .tinr-trading-panel-leverage {
    width: auto;
    grid-template-columns: auto auto;
    justify-content: end;
    column-gap: 8px;
  }

  .tinr-trading-panel-lock-note {
    justify-self: end;
  }
}

/* ==========================================================
   PRICE QUICK ACTION + ORDER SIZE WATERMARK
   Unique scope: tinr-trading-panel-*
   ========================================================== */

.tinr-trading-panel-field-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tinr-trading-panel-last-price-btn {
  flex: 0 0 auto;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(250, 204, 21, .24);
  border-radius: 7px;
  color: var(--ttp-yellow);
  background: rgba(250, 204, 21, .075);
  cursor: pointer;
  font: inherit;
  font-size: 8.5px;
  font-weight: 800;
  line-height: 1;
  transition:
    background .16s ease,
    border-color .16s ease,
    transform .16s ease,
    opacity .16s ease;
}

.tinr-trading-panel-last-price-btn:hover:not(:disabled) {
  border-color: rgba(250, 204, 21, .48);
  background: rgba(250, 204, 21, .13);
}

.tinr-trading-panel-last-price-btn:active:not(:disabled) {
  transform: translateY(1px);
}

.tinr-trading-panel-last-price-btn:disabled {
  cursor: not-allowed;
  opacity: .42;
}

.tinr-trading-panel-input::placeholder {
  color: var(--ttp-muted);
  opacity: .54;
  font-weight: 650;
}

/* Hide browser number arrows for a cleaner trading input.
   Value remains a normal number input. */
.tinr-trading-panel-input::-webkit-outer-spin-button,
.tinr-trading-panel-input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.tinr-trading-panel-input[type="number"] {
  -moz-appearance: textfield;
}

html[data-theme="light"] .tinr-trading-panel-last-price-btn {
  color: #a16207;
  border-color: rgba(202, 138, 4, .24);
  background: rgba(250, 204, 21, .10);
}

html[data-theme="light"] .tinr-trading-panel-last-price-btn:hover:not(:disabled) {
  border-color: rgba(202, 138, 4, .38);
  background: rgba(250, 204, 21, .16);
}

@media (max-width: 480px) {
  .tinr-trading-panel-last-price-btn {
    min-height: 25px;
    padding: 0 8px;
    font-size: 8px;
  }
}
/* ==========================================================
   TradeINR Open Positions
   Unique scope: tinr-openpos-*
   Dark + Light theme
   ========================================================== */

.tinr-openpos-page {
  --top-bg: #030712;
  --top-bg-2: #07101d;
  --top-panel: #0b1220;
  --top-panel-soft: #101929;
  --top-border: rgba(148, 163, 184, .14);
  --top-border-strong: rgba(148, 163, 184, .24);
  --top-text: #f8fafc;
  --top-muted: #8f9bad;
  --top-yellow: #facc15;
  --top-green: #22d3a0;
  --top-red: #fb6471;
  --top-cyan: #22c7ee;
  --top-orange: #f59e0b;
  --top-shadow: 0 24px 70px rgba(0, 0, 0, .34);

  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  padding: 106px 18px 100px;
  color: var(--top-text);
  background:
    radial-gradient(circle at 10% 2%, rgba(250, 204, 21, .055), transparent 25rem),
    radial-gradient(circle at 92% 15%, rgba(37, 99, 235, .07), transparent 30rem),
    linear-gradient(160deg, var(--top-bg), var(--top-bg-2));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tinr-openpos-page *,
.tinr-openpos-page *::before,
.tinr-openpos-page *::after {
  box-sizing: border-box;
}

.tinr-openpos-shell {
  width: min(1480px, 100%);
  margin: 0 auto;
}

/* ---------------- HERO ---------------- */
.tinr-openpos-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.tinr-openpos-eyebrow,
.tinr-openpos-panel-kicker {
  display: inline-block;
  color: var(--top-yellow);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.tinr-openpos-eyebrow {
  margin-bottom: 9px;
  padding: 6px 10px;
  border: 1px solid rgba(250, 204, 21, .18);
  border-radius: 999px;
  background: rgba(250, 204, 21, .055);
}

.tinr-openpos-title {
  margin: 0;
  color: var(--top-text);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.tinr-openpos-subtitle {
  max-width: 650px;
  margin: 10px 0 0;
  color: var(--top-muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.tinr-openpos-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid rgba(34, 211, 160, .16);
  border-radius: 999px;
  color: var(--top-green);
  background: rgba(34, 211, 160, .05);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.tinr-openpos-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--top-green);
  box-shadow: 0 0 0 4px rgba(34, 211, 160, .08);
  animation: tinrOpenposPulse 1.8s ease-in-out infinite;
}

@keyframes tinrOpenposPulse {
  50% { box-shadow: 0 0 0 7px rgba(34, 211, 160, 0); }
}

/* ---------------- LOGIN ---------------- */
.tinr-openpos-login-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(250, 204, 21, .16);
  border-radius: 16px;
  background: rgba(250, 204, 21, .05);
}

.tinr-openpos-login-alert > div {
  display: grid;
  gap: 4px;
}

.tinr-openpos-login-alert strong {
  color: var(--top-text);
  font-size: 14px;
}

.tinr-openpos-login-alert span {
  color: var(--top-muted);
  font-size: 12px;
}

.tinr-openpos-login-btn,
.tinr-openpos-empty-btn {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  color: #090d12;
  background: linear-gradient(135deg, #ffe45c, var(--top-yellow));
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

/* ---------------- SUMMARY ---------------- */
.tinr-openpos-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(220px, .8fr);
  gap: 12px;
  margin-bottom: 16px;
}

.tinr-openpos-summary-card,
.tinr-openpos-exit-all {
  min-width: 0;
  min-height: 94px;
  border: 1px solid var(--top-border);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(15, 24, 40, .98), rgba(7, 13, 23, .98));
  box-shadow: 0 12px 34px rgba(0, 0, 0, .14);
}

.tinr-openpos-summary-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px;
}

.tinr-openpos-summary-card--pnl {
  position: relative;
  overflow: hidden;
}

.tinr-openpos-summary-card--pnl::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(34, 211, 160, .08);
  filter: blur(5px);
}

.tinr-openpos-summary-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(250, 204, 21, .12);
  border-radius: 12px;
  color: var(--top-yellow);
  background: rgba(250, 204, 21, .055);
  font-size: 17px;
}

.tinr-openpos-summary-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  gap: 6px;
}

.tinr-openpos-summary-copy > span {
  color: var(--top-muted);
  font-size: 11px;
  font-weight: 650;
}

.tinr-openpos-value {
  color: var(--top-text);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 820;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.tinr-openpos-value--profit,
.tinr-openpos-profit {
  color: var(--top-green) !important;
}

.tinr-openpos-value--loss,
.tinr-openpos-loss {
  color: var(--top-red) !important;
}

.tinr-openpos-exit-all {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 17px 18px;
  cursor: pointer;
  font: inherit;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.tinr-openpos-exit-all:hover:not(:disabled) {
  transform: translateY(-2px);
}

.tinr-openpos-exit-all:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.tinr-openpos-exit-all--profit {
  color: var(--top-green);
  border-color: rgba(34, 211, 160, .19);
  background: linear-gradient(145deg, rgba(34,211,160,.07), rgba(7,13,23,.98));
}

.tinr-openpos-exit-all--loss {
  color: var(--top-red);
  border-color: rgba(251, 100, 113, .19);
  background: linear-gradient(145deg, rgba(251,100,113,.07), rgba(7,13,23,.98));
}

.tinr-openpos-exit-all-label {
  font-size: 13px;
  font-weight: 800;
}

.tinr-openpos-exit-all-sub {
  margin-top: 5px;
  font-size: 10.5px;
  opacity: .8;
}

/* ---------------- PANEL ---------------- */
.tinr-openpos-panel {
  overflow: hidden;
  border: 1px solid var(--top-border);
  border-radius: 18px;
  background: rgba(7, 13, 23, .82);
  box-shadow: var(--top-shadow);
}

.tinr-openpos-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px 15px;
  border-bottom: 1px solid var(--top-border);
}

.tinr-openpos-panel-head h2 {
  margin: 4px 0 0;
  color: var(--top-text);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.tinr-openpos-count {
  padding: 6px 9px;
  border: 1px solid var(--top-border);
  border-radius: 999px;
  color: var(--top-muted);
  background: rgba(255, 255, 255, .025);
  font-size: 10px;
  font-weight: 750;
}

/* ---------------- EMPTY ---------------- */
.tinr-openpos-empty {
  display: grid;
  justify-items: center;
  padding: 70px 20px;
  text-align: center;
}

.tinr-openpos-empty-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  border: 1px solid var(--top-border);
  border-radius: 17px;
  color: var(--top-muted);
  background: rgba(255, 255, 255, .025);
  font-size: 22px;
}

.tinr-openpos-empty h3 {
  margin: 0 0 7px;
  font-size: 18px;
}

.tinr-openpos-empty p {
  margin: 0 0 18px;
  color: var(--top-muted);
  font-size: 12px;
}

/* ---------------- TABLE ---------------- */
.tinr-openpos-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tinr-openpos-table {
  min-width: 1420px;
}

.tinr-openpos-table-head,
.tinr-openpos-row {
  display: grid;
  grid-template-columns:
    1.35fr
    .7fr
    .75fr
    .9fr
    .9fr
    .9fr
    .85fr
    .75fr
    1fr
    1fr
    .8fr
    .8fr
    1.15fr
    1fr
    1.05fr;
  align-items: center;
}

.tinr-openpos-table-head {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 11px 14px;
  border-bottom: 1px solid var(--top-border);
  color: var(--top-muted);
  background: #080f1b;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.tinr-openpos-table-head > div {
  padding: 0 7px;
  text-align: right;
}

.tinr-openpos-table-head > div:first-child,
.tinr-openpos-table-head > div:nth-child(2) {
  text-align: left;
}

.tinr-openpos-table-body {
  display: grid;
}

.tinr-openpos-row {
  position: relative;
  min-height: 58px;
  padding: 7px 14px;
  border-bottom: 1px solid rgba(148, 163, 184, .08);
  color: #dce4ee;
  font-size: 11.5px;
  transition: background .18s ease, transform .18s ease;
}

.tinr-openpos-row:last-child {
  border-bottom: 0;
}

.tinr-openpos-row:hover {
  background: rgba(255, 255, 255, .028);
}

.tinr-openpos-row--profit {
  box-shadow: inset 2px 0 rgba(34, 211, 160, .65);
}

.tinr-openpos-row--loss {
  box-shadow: inset 2px 0 rgba(251, 100, 113, .65);
}

.tinr-openpos-row > div {
  min-width: 0;
  padding: 0 7px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.tinr-openpos-row > div:first-child,
.tinr-openpos-row > div:nth-child(2) {
  text-align: left;
}

.tinr-openpos-pair {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.tinr-openpos-coin-logo {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  object-fit: contain;
  border-radius: 50%;
}

.tinr-openpos-pair-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.tinr-openpos-pair-copy strong {
  color: var(--top-text);
  font-size: 12px;
  font-weight: 800;
}

.tinr-openpos-pair-copy span {
  color: var(--top-muted);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.tinr-openpos-side {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
}

.tinr-openpos-side--long {
  color: var(--top-green);
  border: 1px solid rgba(34, 211, 160, .16);
  background: rgba(34, 211, 160, .055);
}

.tinr-openpos-side--short {
  color: var(--top-red);
  border: 1px solid rgba(251, 100, 113, .16);
  background: rgba(251, 100, 113, .055);
}

.tinr-openpos-cell-value {
  color: #dce4ee;
}

.tinr-openpos-liquidation {
  color: var(--top-orange);
  font-weight: 800;
}

.tinr-openpos-tpsl-cell,
.tinr-openpos-action-cell {
  display: flex;
  justify-content: flex-end;
}

.tinr-openpos-tpsl-btn,
.tinr-openpos-exit-btn {
  min-height: 30px;
  padding: 0 9px;
  border-radius: 8px;
  font: inherit;
  font-size: 9.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.tinr-openpos-tpsl-btn {
  color: var(--top-yellow);
  border: 1px solid rgba(250, 204, 21, .20);
  background: rgba(250, 204, 21, .055);
}

.tinr-openpos-tpsl-btn:hover {
  background: rgba(250, 204, 21, .10);
  transform: translateY(-1px);
}

.tinr-openpos-exit-btn--profit {
  color: var(--top-green);
  border: 1px solid rgba(34, 211, 160, .20);
  background: rgba(34, 211, 160, .055);
}

.tinr-openpos-exit-btn--loss {
  color: var(--top-red);
  border: 1px solid rgba(251, 100, 113, .20);
  background: rgba(251, 100, 113, .055);
}

.tinr-openpos-exit-btn:hover {
  transform: translateY(-1px);
}

/* ==========================================================
   LIGHT THEME
   ========================================================== */
html[data-theme="light"] .tinr-openpos-page {
  --top-bg: #f4f7fb;
  --top-bg-2: #eef3f8;
  --top-panel: #ffffff;
  --top-panel-soft: #f8fafc;
  --top-border: rgba(15, 23, 42, .11);
  --top-border-strong: rgba(15, 23, 42, .20);
  --top-text: #111827;
  --top-muted: #64748b;
  --top-yellow: #d6a800;
  --top-green: #059669;
  --top-red: #dc2626;
  --top-cyan: #0891b2;
  --top-orange: #c76b00;
  --top-shadow: 0 22px 60px rgba(15, 23, 42, .09);

  background:
    radial-gradient(circle at 10% 2%, rgba(234, 179, 8, .08), transparent 25rem),
    radial-gradient(circle at 92% 15%, rgba(37, 99, 235, .055), transparent 30rem),
    linear-gradient(160deg, var(--top-bg), var(--top-bg-2));
}

html[data-theme="light"] .tinr-openpos-eyebrow {
  color: #806100;
  border-color: rgba(202, 138, 4, .20);
  background: rgba(234, 179, 8, .09);
}

html[data-theme="light"] .tinr-openpos-summary-card,
html[data-theme="light"] .tinr-openpos-exit-all {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  box-shadow: 0 12px 30px rgba(15, 23, 42, .055);
}

html[data-theme="light"] .tinr-openpos-exit-all--profit {
  background: linear-gradient(145deg, rgba(5,150,105,.07), #ffffff);
}

html[data-theme="light"] .tinr-openpos-exit-all--loss {
  background: linear-gradient(145deg, rgba(220,38,38,.06), #ffffff);
}

html[data-theme="light"] .tinr-openpos-panel {
  background: rgba(255, 255, 255, .92);
}

html[data-theme="light"] .tinr-openpos-count,
html[data-theme="light"] .tinr-openpos-empty-icon {
  background: #f8fafc;
}

html[data-theme="light"] .tinr-openpos-table-head {
  color: #526176;
  background: #f8fafc;
}

html[data-theme="light"] .tinr-openpos-row {
  color: #334155;
  border-bottom-color: rgba(15, 23, 42, .07);
}

html[data-theme="light"] .tinr-openpos-row:hover {
  background: #f8fafc;
}

html[data-theme="light"] .tinr-openpos-cell-value {
  color: #273449;
}

html[data-theme="light"] .tinr-openpos-pair-copy strong {
  color: #0f172a;
}

/* ==========================================================
   RESPONSIVE — TABLET
   ========================================================== */
@media (max-width: 1100px) {
  .tinr-openpos-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tinr-openpos-exit-all {
    min-height: 88px;
  }
}

/* ==========================================================
   RESPONSIVE — MOBILE
   ========================================================== */
@media (max-width: 768px) {
  .tinr-openpos-page {
    padding: 28px 10px 96px;
  }

  .tinr-openpos-hero {
    align-items: flex-start;
    margin-bottom: 16px;
  }

  .tinr-openpos-live-badge {
    padding: 6px 8px;
    font-size: 9px;
  }

  .tinr-openpos-title {
    font-size: 28px;
  }

  .tinr-openpos-subtitle {
    max-width: 440px;
    margin-top: 7px;
    font-size: 12px;
  }

  .tinr-openpos-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 10px;
  }

  .tinr-openpos-summary-card {
    min-height: 82px;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 11px 10px;
  }

  .tinr-openpos-summary-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    border-radius: 9px;
    font-size: 13px;
  }

  .tinr-openpos-summary-copy {
    gap: 4px;
  }

  .tinr-openpos-summary-copy > span {
    font-size: 8.5px;
    line-height: 1.25;
  }

  .tinr-openpos-value {
    font-size: clamp(14px, 4vw, 19px);
  }

  .tinr-openpos-exit-all {
    grid-column: 1 / -1;
    min-height: 52px;
    padding: 10px 13px;
  }

  .tinr-openpos-panel {
    border-radius: 15px;
    box-shadow: none;
  }

  .tinr-openpos-panel-head {
    padding: 14px;
  }

  .tinr-openpos-panel-head h2 {
    font-size: 17px;
  }

  .tinr-openpos-table-scroll {
    overflow: visible;
  }

  .tinr-openpos-table {
    min-width: 0;
  }

  .tinr-openpos-table-head {
    display: none;
  }

  .tinr-openpos-table-body {
    gap: 10px;
    padding: 10px;
  }

  .tinr-openpos-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 8px;
    min-height: 0;
    padding: 64px 12px 12px;
    border: 1px solid var(--top-border);
    border-radius: 14px;
    background: var(--top-panel);
  }

  .tinr-openpos-row--profit {
    box-shadow: inset 3px 0 rgba(34,211,160,.65);
  }

  .tinr-openpos-row--loss {
    box-shadow: inset 3px 0 rgba(251,100,113,.65);
  }

  .tinr-openpos-row > div {
    padding: 0;
    text-align: left;
  }

  .tinr-openpos-row > div::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    color: var(--top-muted);
    font-size: 8.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
  }

  .tinr-openpos-pair {
    position: absolute;
    top: 12px;
    left: 12px;
  }

  .tinr-openpos-pair::before {
    display: none !important;
  }

  .tinr-openpos-pair-copy strong {
    font-size: 13px;
  }

  .tinr-openpos-pair-copy span {
    font-size: 7.5px;
  }

  .tinr-openpos-coin-logo {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .tinr-openpos-row > div:nth-child(2) {
    position: absolute;
    top: 15px;
    left: 130px;
  }

  .tinr-openpos-row > div:nth-child(2)::before {
    display: none;
  }

  .tinr-openpos-row > div[data-label="P&L"] {
    position: absolute;
    top: 13px;
    right: 12px;
    font-size: 14px;
    font-weight: 850;
  }

  .tinr-openpos-row > div[data-label="P&L"]::before {
    content: "Unrealised P&L";
    margin-bottom: 2px;
    text-align: right;
  }

  .tinr-openpos-row > div[data-label="ROE"] {
    position: absolute;
    top: 38px;
    right: 12px;
    font-size: 10px;
    font-weight: 750;
  }

  .tinr-openpos-row > div[data-label="ROE"]::before {
    display: none;
  }

  .tinr-openpos-side {
    min-width: 42px;
    padding: 4px 6px;
    font-size: 8.5px;
  }

  .tinr-openpos-cell-value,
  .tinr-openpos-liquidation,
  .tinr-openpos-profit,
  .tinr-openpos-loss {
    font-size: 11px;
    font-weight: 700;
  }

  .tinr-openpos-tpsl-cell,
  .tinr-openpos-action-cell {
    align-items: stretch;
    justify-content: stretch;
  }

  .tinr-openpos-tpsl-btn,
  .tinr-openpos-exit-btn {
    width: 100%;
    min-height: 34px;
    padding: 0 6px;
    font-size: 8.5px;
  }

  .tinr-openpos-empty {
    padding: 48px 18px;
  }
}

@media (max-width: 520px) {
  .tinr-openpos-page {
    padding-inline: 8px;
  }

  .tinr-openpos-hero {
    gap: 12px;
  }

  .tinr-openpos-live-badge {
    margin-top: 2px;
  }

  .tinr-openpos-title {
    font-size: 25px;
  }

  .tinr-openpos-subtitle {
    font-size: 11.5px;
  }

  .tinr-openpos-summary-grid {
    gap: 6px;
  }

  .tinr-openpos-summary-card {
    padding: 9px 8px;
  }

  .tinr-openpos-summary-copy > span {
    font-size: 7.8px;
  }

  .tinr-openpos-value {
    font-size: clamp(13px, 4.1vw, 17px);
  }

  .tinr-openpos-table-body {
    padding: 8px;
  }

  .tinr-openpos-row {
    gap: 9px 6px;
    padding: 62px 10px 10px;
  }

  .tinr-openpos-row > div::before {
    font-size: 7.8px;
  }

  .tinr-openpos-cell-value,
  .tinr-openpos-liquidation,
  .tinr-openpos-profit,
  .tinr-openpos-loss {
    font-size: 10.5px;
  }
}

@media (max-width: 390px) {
  .tinr-openpos-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .tinr-openpos-summary-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tinr-openpos-summary-card--pnl {
    grid-column: 1 / -1;
  }

  .tinr-openpos-exit-all {
    grid-column: 1 / -1;
  }

  .tinr-openpos-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tinr-openpos-row > div:nth-child(2) {
    left: 118px;
  }

  .tinr-openpos-tpsl-cell,
  .tinr-openpos-action-cell {
    grid-column: span 1;
  }
}

@media (hover: none) {
  .tinr-openpos-exit-all:hover:not(:disabled),
  .tinr-openpos-tpsl-btn:hover,
  .tinr-openpos-exit-btn:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tinr-openpos-page *,
  .tinr-openpos-page *::before,
  .tinr-openpos-page *::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }
}

/* ==========================================================
   MOBILE RESPONSIVE POLISH
   Better readability for 520px and below.
   ========================================================== */
@media (max-width: 520px) {
  .tinr-openpos-page {
    padding: 18px 8px 92px;
  }

  .tinr-openpos-shell {
    width: 100%;
  }

  .tinr-openpos-hero {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
  }

  .tinr-openpos-eyebrow {
    margin-bottom: 7px;
    padding: 5px 8px;
    font-size: 8.5px;
  }

  .tinr-openpos-title {
    font-size: 25px;
  }

  .tinr-openpos-subtitle {
    max-width: 320px;
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.45;
  }

  .tinr-openpos-live-badge {
    padding: 6px 8px;
    font-size: 8.5px;
  }

  /* Summary: P&L full width, Invested/Current side by side */
  .tinr-openpos-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 10px;
  }

  .tinr-openpos-summary-card {
    min-height: 76px;
    padding: 10px;
    gap: 8px;
    border-radius: 14px;
  }

  .tinr-openpos-summary-card--pnl {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
  }

  .tinr-openpos-summary-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 9px;
    font-size: 13px;
  }

  .tinr-openpos-summary-copy > span {
    font-size: 8.5px;
  }

  .tinr-openpos-value {
    font-size: 18px;
  }

  .tinr-openpos-exit-all {
    grid-column: 1 / -1;
    min-height: 48px;
    padding: 9px 12px;
    border-radius: 14px;
  }

  .tinr-openpos-exit-all-label {
    font-size: 12px;
  }

  .tinr-openpos-exit-all-sub {
    margin-top: 3px;
    font-size: 9.5px;
  }

  /* Panel */
  .tinr-openpos-panel {
    border-radius: 14px;
  }

  .tinr-openpos-panel-head {
    padding: 13px 12px 11px;
  }

  .tinr-openpos-panel-kicker {
    font-size: 8.5px;
  }

  .tinr-openpos-panel-head h2 {
    font-size: 17px;
  }

  .tinr-openpos-count {
    padding: 5px 8px;
    font-size: 9px;
  }

  .tinr-openpos-table-body {
    gap: 9px;
    padding: 8px;
  }

  /* Position card: 2-column data grid for readable values */
  .tinr-openpos-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    padding: 68px 12px 12px;
    border-radius: 14px;
  }

  .tinr-openpos-row > div {
    min-width: 0;
  }

  .tinr-openpos-row > div::before {
    margin-bottom: 3px;
    font-size: 8px;
    letter-spacing: .03em;
  }

  .tinr-openpos-pair {
    top: 12px;
    left: 12px;
    gap: 7px;
  }

  .tinr-openpos-coin-logo {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .tinr-openpos-pair-copy strong {
    font-size: 13px;
  }

  .tinr-openpos-pair-copy span {
    font-size: 7px;
  }

  .tinr-openpos-row > div:nth-child(2) {
    top: 16px;
    left: 122px;
  }

  .tinr-openpos-side {
    min-width: 40px;
    padding: 4px 6px;
    font-size: 8px;
  }

  .tinr-openpos-row > div[data-label="P&L"] {
    top: 12px;
    right: 12px;
    font-size: 13px;
  }

  .tinr-openpos-row > div[data-label="P&L"]::before {
    font-size: 7.5px;
  }

  .tinr-openpos-row > div[data-label="ROE"] {
    top: 38px;
    right: 12px;
    font-size: 10px;
  }

  .tinr-openpos-cell-value,
  .tinr-openpos-liquidation,
  .tinr-openpos-profit,
  .tinr-openpos-loss {
    font-size: 11px;
    font-weight: 700;
    overflow-wrap: anywhere;
  }

  /* Buttons stay side by side at bottom */
  .tinr-openpos-tpsl-cell,
  .tinr-openpos-action-cell {
    width: 100%;
  }

  .tinr-openpos-tpsl-btn,
  .tinr-openpos-exit-btn {
    width: 100%;
    min-height: 36px;
    padding: 0 8px;
    border-radius: 9px;
    font-size: 9px;
  }
}

@media (max-width: 390px) {
  .tinr-openpos-page {
    padding-inline: 6px;
  }

  .tinr-openpos-hero {
    flex-direction: column;
  }

  .tinr-openpos-live-badge {
    align-self: flex-start;
  }

  .tinr-openpos-summary-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tinr-openpos-row {
    grid-template-columns: 1fr 1fr;
    gap: 9px 10px;
    padding-inline: 10px;
  }

  .tinr-openpos-row > div:nth-child(2) {
    left: 112px;
  }

  .tinr-openpos-cell-value,
  .tinr-openpos-liquidation,
  .tinr-openpos-profit,
  .tinr-openpos-loss {
    font-size: 10.5px;
  }

  .tinr-openpos-tpsl-btn,
  .tinr-openpos-exit-btn {
    font-size: 8.5px;
  }
}

/* ==========================================================
   MOBILE TARGET LAYOUT — compact exchange style
   Matches the requested reference more closely.
   ========================================================== */
@media (max-width: 768px) {
  .tinr-openpos-page {
    padding: 10px 7px 92px;
  }

  /* Hide page hero on mobile so summary starts near the top */
  .tinr-openpos-hero {
    display: none;
  }

  /* One unified summary banner */
  .tinr-openpos-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0 0 14px;
    padding: 8px 8px 10px;
    overflow: hidden;
    border: 1px solid var(--top-border);
    border-radius: 22px;
    background:
      linear-gradient(145deg, rgba(24, 36, 61, .98), rgba(12, 21, 37, .98));
    box-shadow: 0 12px 28px rgba(0,0,0,.20);
  }

  .tinr-openpos-summary-card {
    position: relative;
    min-height: 112px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 10px 8px 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
  }

  .tinr-openpos-summary-card--pnl {
    grid-column: auto;
  }

  .tinr-openpos-summary-card::after {
    display: none;
  }

  .tinr-openpos-summary-card:not(:nth-child(3))::before {
    content: "";
    position: absolute;
    top: 27px;
    right: 0;
    width: 1px;
    height: 68px;
    background: linear-gradient(
      to bottom,
      transparent,
      rgba(34,211,160,.72),
      transparent
    );
  }

  .tinr-openpos-summary-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    margin: 0;
    border: 0;
    border-radius: 0;
    color: var(--top-text);
    background: transparent;
    font-size: 18px;
  }

  .tinr-openpos-summary-copy {
    width: 100%;
    display: grid;
    justify-items: center;
    gap: 10px;
  }

  .tinr-openpos-summary-copy > span {
    min-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c5ceda;
    font-size: 8.5px;
    line-height: 1.2;
    font-weight: 600;
  }

  .tinr-openpos-value {
    font-size: 16px;
    line-height: 1;
  }

  .tinr-openpos-exit-all {
    grid-column: 1 / -1;
    min-height: 55px;
    margin: 2px 0 0;
    padding: 8px 12px;
    align-items: center;
    border-radius: 14px;
    text-align: center;
  }

  .tinr-openpos-exit-all-label {
    font-size: 14px;
  }

  .tinr-openpos-exit-all-sub {
    margin-top: 3px;
    font-size: 10px;
  }

  .tinr-openpos-exit-all--profit {
    color: #00f0a3;
    border-color: rgba(0,240,163,.48);
    background: rgba(0,240,163,.045);
    box-shadow: 0 0 15px rgba(0,240,163,.14);
  }

  .tinr-openpos-exit-all--loss {
    color: #ff5a64;
    border-color: rgba(255,90,100,.48);
    background: rgba(255,90,100,.045);
    box-shadow: 0 0 15px rgba(255,90,100,.12);
  }

  /* Remove panel chrome on mobile */
  .tinr-openpos-panel {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .tinr-openpos-panel-head {
    display: none;
  }

  .tinr-openpos-table-body {
    gap: 16px;
    padding: 0;
  }

  /* Position card */
  .tinr-openpos-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 10px 12px;
    min-height: 194px;
    padding: 66px 14px 12px;
    border: 1px solid var(--top-border);
    border-radius: 18px;
    background: rgba(7, 13, 24, .86);
    box-shadow: none;
  }

  .tinr-openpos-row--profit,
  .tinr-openpos-row--loss {
    box-shadow: none;
  }

  .tinr-openpos-row::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    top: 57px;
    height: 1px;
    background: var(--top-border);
  }

  /* Top left: pair */
  .tinr-openpos-pair {
    position: absolute;
    top: 12px;
    left: 14px;
    display: block;
  }

  .tinr-openpos-coin-logo,
  .tinr-openpos-pair-copy span {
    display: none;
  }

  .tinr-openpos-pair-copy strong {
    color: var(--top-text);
    font-size: 13px;
    font-weight: 800;
  }

  /* Buy/Sell + leverage directly under pair */
  .tinr-openpos-row > div:nth-child(2) {
    position: absolute;
    top: 34px;
    left: 14px;
  }

  .tinr-openpos-row > div:nth-child(3) {
    position: absolute;
    top: 37px;
    left: 60px;
    color: var(--top-muted);
    font-size: 10px;
    font-weight: 700;
  }

  .tinr-openpos-row > div:nth-child(2)::before,
  .tinr-openpos-row > div:nth-child(3)::before {
    display: none;
  }

  .tinr-openpos-side {
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 11px;
    text-transform: none;
  }

  /* Top center: size */
  .tinr-openpos-row > div[data-label="Size"] {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 86px;
    text-align: center;
    color: var(--top-text);
    font-size: 12px;
    font-weight: 800;
  }

  .tinr-openpos-row > div[data-label="Size"]::before {
    content: "Size";
    display: block;
    margin-bottom: 1px;
    color: var(--top-muted);
    font-size: 9px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
  }

  /* Top right: pnl + roe */
  .tinr-openpos-row > div[data-label="P&L"] {
    position: absolute;
    top: 10px;
    right: 14px;
    width: 112px;
    text-align: right;
    font-size: 11px;
    font-weight: 800;
  }

  .tinr-openpos-row > div[data-label="P&L"]::before {
    content: "Unrealized P&L";
    display: block;
    margin-bottom: 1px;
    color: var(--top-muted);
    font-size: 9px;
    font-weight: 500;
    text-align: right;
    text-transform: none;
    letter-spacing: 0;
  }

  .tinr-openpos-row > div[data-label="ROE"] {
    position: absolute;
    top: 36px;
    right: 14px;
    font-size: 10px;
    font-weight: 800;
  }

  .tinr-openpos-row > div[data-label="ROE"]::before {
    display: none;
  }

  /* Data grid below divider */
  .tinr-openpos-row > div {
    min-width: 0;
    padding: 0;
    text-align: left;
  }

  .tinr-openpos-row > div::before {
    display: block;
    margin-bottom: 2px;
    color: var(--top-muted);
    font-size: 8.5px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
  }

  .tinr-openpos-row > div[data-label="Margin"] {
    grid-column: 1;
    grid-row: 1;
  }

  .tinr-openpos-row > div[data-label="Qty"] {
    grid-column: 2;
    grid-row: 1;
    text-align: center;
  }

  .tinr-openpos-row > div[data-label="Qty"]::before {
    text-align: center;
  }

  .tinr-openpos-row > div[data-label="Entry"] {
    grid-column: 3;
    grid-row: 1;
    text-align: right;
  }

  .tinr-openpos-row > div[data-label="Entry"]::before {
    text-align: right;
  }

  .tinr-openpos-row > div[data-label="Mark"] {
    grid-column: 1;
    grid-row: 2;
  }

  .tinr-openpos-row > div[data-label="TP"] {
    grid-column: 2;
    grid-row: 2;
    text-align: center;
  }

  .tinr-openpos-row > div[data-label="TP"]::before {
    text-align: center;
  }

  .tinr-openpos-row > div[data-label="SL"] {
    grid-column: 3;
    grid-row: 2;
    text-align: right;
  }

  .tinr-openpos-row > div[data-label="SL"]::before {
    text-align: right;
  }

  .tinr-openpos-row > div[data-label="Liquidation"] {
    grid-column: 1;
    grid-row: 3;
    align-self: center;
  }

  .tinr-openpos-tpsl-cell {
    grid-column: 2;
    grid-row: 3;
    align-self: center;
    justify-content: center;
  }

  .tinr-openpos-action-cell {
    grid-column: 3;
    grid-row: 3;
    align-self: center;
    justify-content: flex-end;
  }

  .tinr-openpos-cell-value,
  .tinr-openpos-liquidation,
  .tinr-openpos-profit,
  .tinr-openpos-loss {
    font-size: 11px;
    font-weight: 750;
  }

  .tinr-openpos-liquidation {
    color: var(--top-orange);
  }

  .tinr-openpos-tpsl-btn,
  .tinr-openpos-exit-btn {
    width: auto;
    min-width: 78px;
    min-height: 38px;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 9px;
    font-weight: 800;
  }

  .tinr-openpos-tpsl-btn {
    color: var(--top-text);
    border-color: rgba(148,163,184,.30);
    background: transparent;
  }

  .tinr-openpos-exit-btn--profit {
    color: #00f0a3;
    border-color: rgba(0,240,163,.40);
    background: rgba(0,240,163,.04);
    box-shadow: 0 0 12px rgba(0,240,163,.08);
  }

  .tinr-openpos-exit-btn--loss {
    color: #ff5a64;
    border-color: rgba(255,90,100,.40);
    background: rgba(255,90,100,.04);
    box-shadow: 0 0 12px rgba(255,90,100,.08);
  }

  /* Light mode counterpart */
  html[data-theme="light"] .tinr-openpos-summary-grid {
    background: linear-gradient(145deg, #ffffff, #f4f7fb);
    box-shadow: 0 10px 26px rgba(15,23,42,.08);
  }

  html[data-theme="light"] .tinr-openpos-summary-copy > span {
    color: #526176;
  }

  html[data-theme="light"] .tinr-openpos-row {
    background: #ffffff;
  }

  html[data-theme="light"] .tinr-openpos-tpsl-btn {
    color: #111827;
    border-color: rgba(15,23,42,.18);
  }
}

@media (max-width: 390px) {
  .tinr-openpos-page {
    padding-inline: 5px;
  }

  .tinr-openpos-summary-grid {
    border-radius: 18px;
  }

  .tinr-openpos-summary-card {
    min-height: 104px;
    padding-inline: 5px;
  }

  .tinr-openpos-summary-copy > span {
    font-size: 7.7px;
  }

  .tinr-openpos-value {
    font-size: 15px;
  }

  .tinr-openpos-row {
    gap: 9px 8px;
    padding-inline: 11px;
  }

  .tinr-openpos-row > div[data-label="P&L"] {
    right: 11px;
    width: 104px;
  }

  .tinr-openpos-row > div[data-label="ROE"] {
    right: 11px;
  }

  .tinr-openpos-tpsl-btn,
  .tinr-openpos-exit-btn {
    min-width: 70px;
    padding-inline: 7px;
    font-size: 8.3px;
  }
}

/* ==========================================================
   MOBILE: hide TP/SL and Action labels above buttons
   ========================================================== */
@media (max-width: 768px) {
  .tinr-openpos-tpsl-cell::before,
  .tinr-openpos-action-cell::before {
    display: none !important;
    content: none !important;
  }
}


/* ==========================================================
   FINAL MOBILE CENTERING FIX
   Prevent Open Positions from appearing shifted to the right.
   ========================================================== */
@media (max-width: 768px) {
  .tinr-openpos-page {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding-left: 5px !important;
    padding-right: 5px !important;

    overflow-x: clip !important;
  }

  .tinr-openpos-shell,
  .tinr-openpos-summary-grid,
  .tinr-openpos-panel,
  .tinr-openpos-table-scroll,
  .tinr-openpos-table,
  .tinr-openpos-table-body,
  .tinr-openpos-row {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin-left: auto !important;
    margin-right: auto !important;

    box-sizing: border-box !important;
  }

  .tinr-openpos-table-scroll {
    overflow-x: hidden !important;
  }

  .tinr-openpos-table-body {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .tinr-openpos-row {
    left: auto !important;
    right: auto !important;
  }

  .tinr-openpos-summary-grid {
    transform: none !important;
  }
}

/* Embedded inside Trade tabs */
@media (max-width: 768px) {
  .tinr-trade-openpositions-wrap {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 3px !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .tinr-trade-openpositions-wrap .tinr-openpos-page {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
  }
}


/* ==========================================================
   OPEN POSITIONS — TRUST PREMIUM V5
   Better desktop visibility + tactile rows + centered mobile.
   ========================================================== */

.tinr-openpos-row {
  transition:
    background .16s ease,
    border-color .16s ease,
    transform .16s ease !important;
}

.tinr-openpos-row:hover {
  transform: translateY(-1px);
}

.tinr-openpos-action-btn,
.tinr-openpos-tpsl-btn,
.tinr-openpos-stop-btn,
.tinr-openpos-exit-all {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.tinr-openpos-action-btn:active,
.tinr-openpos-tpsl-btn:active,
.tinr-openpos-stop-btn:active,
.tinr-openpos-exit-all:active:not(:disabled) {
  transform: scale(.97);
}

/* When OpenPositions is embedded on Trade desktop, reduce decoration so
   actual position rows become visible immediately. */
@media (min-width: 1001px) {
  .tinr-trade-openpositions-wrap .tinr-openpos-table-head {
    min-height: 34px !important;
  }

  .tinr-trade-openpositions-wrap .tinr-openpos-table-head > div {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    font-size: 8px !important;
  }

  .tinr-trade-openpositions-wrap .tinr-openpos-row {
    min-height: 50px !important;
  }

  .tinr-trade-openpositions-wrap .tinr-openpos-row > div {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    font-size: 9px !important;
  }

  .tinr-trade-openpositions-wrap .tinr-openpos-pair-main {
    font-size: 10px !important;
  }

  .tinr-trade-openpositions-wrap .tinr-openpos-cell-value {
    font-size: 9px !important;
  }
}

/* Mobile geometry — exact centering and no accidental viewport overflow. */
@media (max-width: 768px) {
  .tinr-openpos-page,
  .tinr-openpos-shell,
  .tinr-openpos-panel,
  .tinr-openpos-table-scroll,
  .tinr-openpos-table-body,
  .tinr-openpos-row {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .tinr-openpos-page {
    padding-left: 4px !important;
    padding-right: 4px !important;
    overflow-x: clip !important;
  }

  .tinr-openpos-row:active {
    transform: scale(.994);
  }
}
/* ==========================================================
   TradeINR Open Orders V2
   Desktop = compact row
   Mobile = ONE premium card, not 9 giant boxes
   ========================================================== */

.tinr-oo {
  --oo-surface: #0e1728;
  --oo-surface-soft: #121d31;
  --oo-text: #f8fafc;
  --oo-muted: #8ea0b7;
  --oo-border: rgba(148, 163, 184, .15);
  --oo-green: #22d3a0;
  --oo-red: #fb7185;
  --oo-blue: #60a5fa;
  --oo-yellow: #facc15;
  --oo-shadow: 0 10px 28px rgba(0, 0, 0, .18);

  width: 100%;
  min-width: 0;
}

.tinr-oo *,
.tinr-oo *::before,
.tinr-oo *::after {
  box-sizing: border-box;
}

.tinr-oo-empty {
  margin: 8px;

  min-height: 130px;

  display: grid;
  place-items: center;

  border: 1px dashed var(--oo-border);
  border-radius: 14px;

  color: var(--oo-muted);
  background: var(--oo-surface);

  font-size: 11px;
}

.tinr-oo-desktop-head,
.tinr-oo-grid {
  display: grid;
  grid-template-columns:
    1.25fr
    1.05fr
    .62fr
    .72fr
    .88fr
    .80fr
    .72fr
    .82fr
    .58fr;
  gap: 8px;
  align-items: center;
}

.tinr-oo-desktop-head {
  min-height: 38px;

  padding: 0 12px;

  border-bottom: 1px solid var(--oo-border);

  color: var(--oo-muted);
  background: var(--oo-surface-soft);

  font-size: 8px;
  font-weight: 850;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.tinr-oo-desktop-head span {
  text-align: center;
}

.tinr-oo-list {
  max-height: 285px;

  overflow-y: auto;

  padding: 7px;

  scrollbar-width: thin;
  scrollbar-color:
    rgba(148, 163, 184, .32)
    transparent;
}

.tinr-oo-list::-webkit-scrollbar {
  width: 6px;
}

.tinr-oo-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(148, 163, 184, .30);
}

.tinr-oo-card {
  margin-bottom: 7px;

  padding: 10px 9px;

  border: 1px solid var(--oo-border);
  border-radius: 11px;

  background: var(--oo-surface);
  box-shadow: var(--oo-shadow);
}

.tinr-oo-card:last-child {
  margin-bottom: 0;
}

.tinr-oo-cell {
  min-width: 0;

  color: var(--oo-text);

  font-size: 9.5px;
  font-weight: 700;

  text-align: center;

  overflow-wrap: anywhere;
}

.tinr-oo-cell--date {
  color: var(--oo-muted);

  font-size: 8.5px;
  line-height: 1.3;
}

.tinr-oo-pair {
  min-width: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  margin: 0;
  padding: 0;

  border: 0;

  color: inherit;
  background: transparent;

  cursor: pointer;
  font: inherit;
}

.tinr-oo-pair img {
  width: 27px;
  height: 27px;

  flex: 0 0 27px;

  border-radius: 50%;

  object-fit: contain;
}

.tinr-oo-pair > span {
  min-width: 0;

  display: grid;
  gap: 1px;

  text-align: left;
}

.tinr-oo-pair strong {
  color: var(--oo-text);

  font-size: 10px;
  font-weight: 850;
}

.tinr-oo-pair small {
  color: var(--oo-muted);

  font-size: 6px;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.tinr-oo-side {
  font-weight: 900;
  text-transform: uppercase;
}

.tinr-oo-side--buy {
  color: var(--oo-green);
}

.tinr-oo-side--sell {
  color: var(--oo-red);
}

.tinr-oo-number {
  font-variant-numeric: tabular-nums;
}

.tinr-oo-leverage {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 42px;
  min-height: 25px;

  padding: 0 7px;

  border: 1px solid rgba(96, 165, 250, .22);
  border-radius: 7px;

  color: var(--oo-blue);
  background: rgba(96, 165, 250, .08);

  font-size: 8.5px;
  font-weight: 850;
}

.tinr-oo-cell--action {
  display: flex;
  justify-content: center;
}

.tinr-oo-delete {
  width: 31px;
  height: 31px;

  display: grid;
  place-items: center;

  margin: 0;
  padding: 0;

  border: 1px solid rgba(251, 113, 133, .22);
  border-radius: 8px;

  color: var(--oo-red);
  background: rgba(251, 113, 133, .07);

  cursor: pointer;
  font-size: 11px;
}

/* ---------- Light ---------- */

html[data-theme="light"] .tinr-oo {
  --oo-surface: #ffffff;
  --oo-surface-soft: #f8fafc;
  --oo-text: #111827;
  --oo-muted: #64748b;
  --oo-border: rgba(15, 23, 42, .09);
  --oo-green: #059669;
  --oo-red: #dc3545;
  --oo-blue: #2563eb;
  --oo-yellow: #ca8a04;
  --oo-shadow: 0 7px 20px rgba(15, 23, 42, .045);
}

/* ---------- Mobile ---------- */

@media (max-width: 768px) {
  .tinr-oo-desktop-head {
    display: none;
  }

  .tinr-oo-list {
    max-height: none;

    overflow: visible;

    padding: 8px 5px 16px;
  }

  .tinr-oo-card {
    margin-bottom: 10px;

    padding: 12px;

    border-radius: 16px;

    box-shadow:
      0 10px 28px rgba(0, 0, 0, .17);
  }

  html[data-theme="light"] .tinr-oo-card {
    box-shadow:
      0 8px 24px rgba(15, 23, 42, .07);
  }

  .tinr-oo-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 0 12px;
  }

  /* Mobile cards use dividers, NOT separate large rounded boxes. */
  .tinr-oo-cell {
    position: relative;

    min-height: 54px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 5px;

    padding: 20px 2px 8px;

    border-bottom: 1px solid var(--oo-border);

    color: var(--oo-text);

    font-size: 11px;
    text-align: left;
  }

  .tinr-oo-cell::before {
    content: attr(data-label);

    position: absolute;
    top: 7px;
    left: 2px;

    color: var(--oo-muted);

    font-size: 7px;
    font-weight: 850;
    letter-spacing: .065em;
    text-transform: uppercase;
  }

  /* Date is a clean summary strip */
  .tinr-oo-cell--date {
    grid-column: 1 / -1;

    min-height: 48px;

    padding-top: 18px;

    color: var(--oo-text);

    font-size: 10px;
    font-weight: 760;
  }

  /* Pair + Side */
  .tinr-oo-cell--pair {
    min-height: 62px;
  }

  .tinr-oo-pair {
    justify-content: flex-start;
  }

  .tinr-oo-pair img {
    width: 30px;
    height: 30px;

    flex-basis: 30px;
  }

  .tinr-oo-pair strong {
    font-size: 13px;
  }

  .tinr-oo-pair small {
    font-size: 6px;
  }

  .tinr-oo-side {
    font-size: 12px;
  }

  .tinr-oo-leverage {
    min-width: 44px;
    min-height: 26px;
  }

  /* Margin + delete share final row */
  .tinr-oo-cell--action {
    align-items: flex-end;
  }

  .tinr-oo-delete {
    width: 34px;
    height: 34px;
  }

  .tinr-oo-grid > .tinr-oo-cell:nth-child(8),
  .tinr-oo-grid > .tinr-oo-cell:nth-child(9) {
    border-bottom: 0;
  }
}

@media (max-width: 360px) {
  .tinr-oo-grid {
    gap: 0 9px;
  }

  .tinr-oo-cell {
    font-size: 10px;
  }
}


/* ==========================================================
   FINAL MOBILE CENTERING FIX
   Prevent Open Orders from appearing shifted to the right.
   ========================================================== */
@media (max-width: 768px) {
  .tinr-oo {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin: 0 auto !important;
    padding: 0 3px !important;

    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .tinr-oo-list {
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 auto !important;
    padding: 8px 0 16px !important;

    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .tinr-oo-card,
  .tinr-oo-grid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin-left: auto !important;
    margin-right: auto !important;

    box-sizing: border-box !important;
  }

  .tinr-oo-card {
    margin-bottom: 10px !important;
  }
}
.trades-container-in-tradesdata {
  height: 100%;              /* 🔥 FULL HEIGHT */
  display: flex;
  flex-direction: column;
  padding: 10px;
  overflow: hidden;          /* 🔥 control */
  color: white;
}

/* HEADER FIX */
.trades-header-in-tradesdata {
  display: flex;
  font-size: 12px;
  opacity: 0.6;
  flex-shrink: 0;
}

/* BODY SCROLL */
.trades-body-in-tradesdata {
  flex: 1;
  overflow-y: auto;          /* 🔥 scroll only here */
}

/* ROW */
.trade-row-in-tradesdata {
  display: flex;
  font-size: 13px;
}/* TradeINR trade coin selector
   Unique scope: tinr-trade-marketbar*
*/

.tinr-trade-marketbar {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-bottom: 1px solid var(--tinr-border, #dfe5ec);
  background: var(--tinr-surface, #ffffff);
  color: var(--tinr-text, #111827);
  box-sizing: border-box;
  position: relative;
  z-index: 40;
}

html[data-theme="dark"] .tinr-trade-marketbar {
  border-bottom-color: rgba(148, 163, 184, 0.14);
  background: #0b1220;
  color: #f8fafc;
}

.tinr-trade-marketbar__selector {
  min-width: 0;
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  border: 1px solid var(--tinr-border, #dfe5ec);
  border-radius: 9px;
  background: var(--tinr-surface-soft, #f8fafc);
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

html[data-theme="dark"] .tinr-trade-marketbar__selector {
  border-color: rgba(148, 163, 184, 0.15);
  background: #111b2d;
}

.tinr-trade-marketbar__selector:active {
  transform: translateY(1px);
}

.tinr-trade-marketbar__menu-icon {
  display: grid;
  place-items: center;
  color: #d9a900;
  font-size: 13px;
}

.tinr-trade-marketbar__pair {
  min-width: 0;
  display: grid;
  gap: 0;
  text-align: left;
}

.tinr-trade-marketbar__pair small {
  color: var(--tinr-muted, #64748b);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.1;
}

html[data-theme="dark"] .tinr-trade-marketbar__pair small {
  color: #94a3b8;
}

.tinr-trade-marketbar__pair strong {
  max-width: 120px;
  overflow: hidden;
  color: inherit;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tinr-trade-marketbar__chevron {
  margin-left: 2px;
  color: var(--tinr-muted, #64748b);
  font-size: 9px;
}

.tinr-trade-marketbar__orders {
  min-height: 34px;
  margin-left: auto;
  padding: 0 12px;
  border: 1px solid rgba(234, 179, 8, .26);
  border-radius: 9px;
  background: rgba(250, 204, 21, .10);
  color: #a16207;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

html[data-theme="dark"] .tinr-trade-marketbar__orders {
  color: #facc15;
  background: rgba(250, 204, 21, .08);
}

.tinr-trade-marketbar--compact {
  min-height: 42px;
  padding: 4px 9px;
  border-top: 1px solid var(--tinr-border, #e2e8f0);
  border-bottom: 1px solid var(--tinr-border, #e2e8f0);
}

.tinr-trade-marketbar--compact .tinr-trade-marketbar__selector {
  width: 100%;
  justify-content: flex-start;
}

.tinr-trade-marketbar--compact .tinr-trade-marketbar__chevron {
  margin-left: auto;
}

@media (max-width: 768px) {
  .tinr-trade-marketbar {
    width: 100%;
    flex: 0 0 auto;
  }

  .tinr-trade-marketbar__selector {
    min-width: 148px;
  }

  .tinr-trade-marketbar--compact .tinr-trade-marketbar__pair strong {
    max-width: none;
  }
}
/* TradeINR market selector drawer
   Unique scope: tinr-trade-market-panel*
*/

.tinr-trade-market-panel__backdrop {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  background: rgba(2, 6, 23, .45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.tinr-trade-market-panel {
  width: min(380px, 92vw);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--tinr-border, #dfe5ec);
  background: var(--tinr-surface, #ffffff);
  color: var(--tinr-text, #111827);
  box-shadow: 18px 0 48px rgba(0, 0, 0, .18);
}

html[data-theme="dark"] .tinr-trade-market-panel {
  border-right-color: rgba(148, 163, 184, .14);
  background: #0b1220;
  color: #f8fafc;
}

.tinr-trade-market-panel__header {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--tinr-border, #e2e8f0);
}

html[data-theme="dark"] .tinr-trade-market-panel__header {
  border-bottom-color: rgba(148, 163, 184, .14);
}

.tinr-trade-market-panel__header > div {
  display: grid;
  gap: 2px;
}

.tinr-trade-market-panel__header small {
  color: #ca8a04;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .1em;
}

.tinr-trade-market-panel__header strong {
  font-size: 17px;
  font-weight: 850;
}

.tinr-trade-market-panel__close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--tinr-border, #e2e8f0);
  border-radius: 10px;
  background: var(--tinr-surface-soft, #f8fafc);
  color: inherit;
  cursor: pointer;
}

html[data-theme="dark"] .tinr-trade-market-panel__close {
  border-color: rgba(148, 163, 184, .14);
  background: #111b2d;
}

.tinr-trade-market-panel__search {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 11px 12px;
  padding: 0 11px;
  border: 1px solid var(--tinr-border, #dfe5ec);
  border-radius: 10px;
  background: var(--tinr-surface-soft, #f8fafc);
  color: var(--tinr-muted, #64748b);
}

html[data-theme="dark"] .tinr-trade-market-panel__search {
  border-color: rgba(148, 163, 184, .14);
  background: #111b2d;
  color: #94a3b8;
}

.tinr-trade-market-panel__search input {
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--tinr-text, #111827);
  font-size: 13px;
}

html[data-theme="dark"] .tinr-trade-market-panel__search input {
  color: #f8fafc;
}

.tinr-trade-market-panel__list {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  padding: 0 8px 14px;
}

.tinr-trade-market-panel__row {
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(120px, 1.25fr) minmax(90px, 1fr) 70px;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border: 0;
  border-bottom: 1px solid var(--tinr-border, #edf1f5);
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

html[data-theme="dark"] .tinr-trade-market-panel__row {
  border-bottom-color: rgba(148, 163, 184, .09);
}

.tinr-trade-market-panel__row:hover {
  background: rgba(250, 204, 21, .055);
}

.tinr-trade-market-panel__coin {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.tinr-trade-market-panel__coin img {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  border-radius: 50%;
  object-fit: contain;
}

.tinr-trade-market-panel__coin > span {
  min-width: 0;
  display: grid;
}

.tinr-trade-market-panel__coin strong {
  overflow: hidden;
  font-size: 11px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tinr-trade-market-panel__coin small {
  color: var(--tinr-muted, #64748b);
  font-size: 7.5px;
}

html[data-theme="dark"] .tinr-trade-market-panel__coin small {
  color: #94a3b8;
}

.tinr-trade-market-panel__price {
  overflow: hidden;
  font-size: 10px;
  font-weight: 760;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tinr-trade-market-panel__change {
  font-size: 9.5px;
  font-weight: 850;
  text-align: right;
}

.tinr-trade-market-panel__change--up {
  color: #059669;
}

.tinr-trade-market-panel__change--down {
  color: #e11d48;
}

.tinr-trade-market-panel__empty {
  min-height: 160px;
  display: grid;
  place-items: center;
  color: var(--tinr-muted, #64748b);
  font-size: 12px;
}

@media (max-width: 768px) {
  .tinr-trade-market-panel__backdrop {
    background: var(--tinr-surface, #ffffff);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  html[data-theme="dark"] .tinr-trade-market-panel__backdrop {
    background: #0b1220;
  }

  .tinr-trade-market-panel {
    width: 100%;
    max-width: none;
    height: 100dvh;
    border-right: 0;
    box-shadow: none;
  }

  .tinr-trade-market-panel__header {
    padding-top: max(12px, env(safe-area-inset-top));
  }
}

@media (max-width: 480px) {
  .tinr-trade-market-panel__row {
    grid-template-columns: minmax(105px, 1.15fr) minmax(80px, 1fr) 62px;
  }

  .tinr-trade-market-panel__price {
    font-size: 9px;
  }
}
/* ==========================================================
   TradeINR Trade History
   Unique scope: tinr-trade-history*
   Light + Dark
   ========================================================== */

.tinr-trade-history {
  --th-bg: #08111f;
  --th-surface: #0d1727;
  --th-surface-soft: #111d30;
  --th-border: rgba(148, 163, 184, .14);
  --th-border-strong: rgba(148, 163, 184, .22);
  --th-text: #f8fafc;
  --th-muted: #93a1b5;
  --th-yellow: #facc15;
  --th-green: #22d3a0;
  --th-red: #fb6471;
  --th-blue: #60a5fa;

  width: 100%;
  min-width: 0;
  padding: 18px;
  color: var(--th-text);
  background: var(--th-bg);
  box-sizing: border-box;
}

.tinr-trade-history *,
.tinr-trade-history *::before,
.tinr-trade-history *::after {
  box-sizing: border-box;
}

html[data-theme="light"] .tinr-trade-history {
  --th-bg: #f5f7fb;
  --th-surface: #ffffff;
  --th-surface-soft: #f8fafc;
  --th-border: rgba(15, 23, 42, .10);
  --th-border-strong: rgba(15, 23, 42, .17);
  --th-text: #111827;
  --th-muted: #64748b;
  --th-yellow: #ca8a04;
  --th-green: #059669;
  --th-red: #dc3545;
  --th-blue: #2563eb;
}

.tinr-trade-history--tab {
  padding: 16px;
  background: var(--th-bg);
}

.tinr-trade-history__back {
  margin-bottom: 10px;
}

.tinr-trade-history__back a {
  color: var(--th-muted);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.tinr-trade-history__heading {
  margin-bottom: 18px;
}

.tinr-trade-history__heading > span {
  color: var(--th-yellow);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
}

.tinr-trade-history__heading h2 {
  margin: 4px 0 4px;
  color: var(--th-text);
  font-size: 28px;
  font-weight: 860;
  letter-spacing: -.035em;
}

.tinr-trade-history__heading p {
  margin: 0;
  color: var(--th-muted);
  font-size: 11px;
}

.tinr-trade-history__filters {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid var(--th-border);
  border-radius: 12px;
  background: var(--th-surface);
}

.tinr-trade-history__dates,
.tinr-trade-history__filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tinr-trade-history__dates label {
  display: grid;
  gap: 5px;
}

.tinr-trade-history__dates label > span {
  color: var(--th-muted);
  font-size: 9px;
  font-weight: 750;
}

.tinr-trade-history__dates input,
.tinr-trade-history__filter-actions button {
  min-height: 36px;
  border: 1px solid var(--th-border);
  border-radius: 9px;
  color: var(--th-text);
  background: var(--th-surface-soft);
  font: inherit;
}

.tinr-trade-history__dates input {
  padding: 0 10px;
  font-size: 10px;
}

.tinr-trade-history__filter-actions button {
  padding: 0 12px;
  cursor: pointer;
  font-size: 9.5px;
  font-weight: 800;
}

.tinr-trade-history__filter-actions button:hover {
  border-color: var(--th-border-strong);
}

.tinr-trade-history__table-shell {
  width: 100%;
  overflow: auto;
  border: 1px solid var(--th-border);
  border-radius: 14px;
  background: var(--th-surface);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .06);
  scrollbar-width: thin;
  scrollbar-color: var(--th-border-strong) transparent;
}

html[data-theme="light"] .tinr-trade-history__table-shell {
  box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
}

.tinr-trade-history__table {
  width: 100%;
  min-width: 1320px;
  border-collapse: collapse;
  table-layout: auto;
  color: var(--th-text);
  background: var(--th-surface);
}

.tinr-trade-history__table thead {
  position: sticky;
  top: 0;
  z-index: 2;
}

.tinr-trade-history__table th {
  padding: 11px 10px;
  border-bottom: 1px solid var(--th-border);
  color: var(--th-muted);
  background: var(--th-surface-soft);
  font-size: 8.5px;
  font-weight: 850;
  letter-spacing: .055em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.tinr-trade-history__table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--th-border);
  color: var(--th-text);
  background: var(--th-surface);
  font-size: 10.5px;
  vertical-align: middle;
  white-space: nowrap;
}

.tinr-trade-history__table tbody tr:last-child td {
  border-bottom: 0;
}

.tinr-trade-history__table tbody tr:hover td {
  background: color-mix(in srgb, var(--th-surface-soft) 86%, transparent);
}

.tinr-trade-history__coin {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tinr-trade-history__coin img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
  border-radius: 50%;
}

.tinr-trade-history__coin strong {
  font-size: 10.5px;
  font-weight: 850;
}

.tinr-trade-history__order-id {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tinr-trade-history__number {
  font-variant-numeric: tabular-nums;
}

.tinr-trade-history__type,
.tinr-trade-history__side,
.tinr-trade-history__pnl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border-radius: 8px;
  font-size: 8.5px;
  font-weight: 850;
  white-space: nowrap;
}

.tinr-trade-history__type {
  min-width: 72px;
  padding: 0 9px;
}

.tinr-trade-history__type--maker {
  color: var(--th-blue);
  border: 1px solid rgba(96, 165, 250, .18);
  background: rgba(96, 165, 250, .07);
}

.tinr-trade-history__type--taker {
  color: #d99000;
  border: 1px solid rgba(250, 204, 21, .22);
  background: rgba(250, 204, 21, .08);
}

html[data-theme="dark"] .tinr-trade-history__type--taker {
  color: #facc15;
}

.tinr-trade-history__type--liquidation {
  color: var(--th-red);
  border: 1px solid rgba(251, 100, 113, .22);
  background: rgba(251, 100, 113, .07);
}

.tinr-trade-history__side {
  min-width: 50px;
  padding: 0 9px;
}

.tinr-trade-history__side--buy {
  color: var(--th-green);
  border: 1px solid rgba(34, 211, 160, .18);
  background: rgba(34, 211, 160, .06);
}

.tinr-trade-history__side--sell {
  color: var(--th-red);
  border: 1px solid rgba(251, 100, 113, .18);
  background: rgba(251, 100, 113, .06);
}

.tinr-trade-history__pnl {
  min-width: 60px;
  padding: 0 8px;
}

.tinr-trade-history__pnl--profit {
  color: var(--th-green);
  background: rgba(34, 211, 160, .05);
}

.tinr-trade-history__pnl--loss {
  color: var(--th-red);
  background: rgba(251, 100, 113, .05);
}

.tinr-trade-history__empty {
  height: 180px;
  color: var(--th-muted) !important;
  text-align: center;
}

.tinr-trade-history__load-more {
  display: flex;
  justify-content: center;
  padding-top: 14px;
}

.tinr-trade-history__load-more button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--th-border);
  border-radius: 9px;
  color: var(--th-text);
  background: var(--th-surface);
  cursor: pointer;
  font-size: 9.5px;
  font-weight: 800;
}

@media (max-width: 768px) {
  .tinr-trade-history,
  .tinr-trade-history--tab {
    padding: 10px;
  }

  .tinr-trade-history__filters {
    align-items: stretch;
    flex-direction: column;
  }

  .tinr-trade-history__dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .tinr-trade-history__dates input {
    width: 100%;
  }

  .tinr-trade-history__filter-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .tinr-trade-history__filter-actions button {
    width: 100%;
  }

  .tinr-trade-history__table {
    min-width: 1180px;
  }

  .tinr-trade-history__table th,
  .tinr-trade-history__table td {
    padding: 9px 8px;
  }
}


/* ==========================================================
   PREMIUM MOBILE V2 — FULL TRADE DETAILS
   ========================================================== */
@media (max-width: 768px) {
  .tinr-trade-history,
  .tinr-trade-history--tab {
    min-height: 100dvh;
    padding: 12px 10px calc(var(--tinr-mobile-bottom-nav-height, 76px) + 24px);
    background:
      radial-gradient(circle at 50% -120px, rgba(250,204,21,.09), transparent 270px),
      var(--th-bg);
  }

  .tinr-trade-history__back {
    margin: 0 2px 10px;
  }

  .tinr-trade-history__back a {
    font-size: 10px;
  }

  .tinr-trade-history__heading {
    margin: 0 2px 16px;
  }

  .tinr-trade-history__heading > span {
    font-size: 8px;
    letter-spacing: .13em;
  }

  .tinr-trade-history__heading h2 {
    margin-top: 4px;
    font-size: 28px;
    line-height: 1.05;
  }

  .tinr-trade-history__heading p {
    margin-top: 7px;
    font-size: 9.5px;
    line-height: 1.5;
  }

  .tinr-trade-history__filters {
    align-items: stretch;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 14px;
    padding: 12px;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15,23,42,.07);
  }

  html[data-theme="dark"] .tinr-trade-history__filters {
    box-shadow: 0 12px 30px rgba(0,0,0,.22);
  }

  .tinr-trade-history__dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .tinr-trade-history__dates label {
    gap: 6px;
  }

  .tinr-trade-history__dates label > span {
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .055em;
    text-transform: uppercase;
  }

  .tinr-trade-history__dates input {
    width: 100%;
    min-height: 44px;
    padding: 0 10px;
    border-radius: 11px;
  }

  .tinr-trade-history__filter-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 7px;
  }

  .tinr-trade-history__filter-actions button {
    width: 100%;
    min-height: 40px;
    padding: 0 5px;
    border-radius: 10px;
    font-size: 8.5px;
    font-weight: 850;
  }

  .tinr-trade-history__filter-actions button:first-child {
    color: #111827;
    border-color: rgba(250,204,21,.38);
    background: linear-gradient(135deg,#fde047,#facc15);
  }

  .tinr-trade-history__table-shell {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none !important;
  }

  .tinr-trade-history__table {
    width: 100%;
    min-width: 0;
    display: block;
    border-collapse: separate;
    background: transparent;
  }

  .tinr-trade-history__table thead {
    display: none;
  }

  .tinr-trade-history__table tbody {
    width: 100%;
    display: grid;
    gap: 12px;
  }

  .tinr-trade-history__table tr {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 0 12px;
    padding: 12px;
    border: 1px solid var(--th-border);
    border-radius: 16px;
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--th-surface-soft) 48%, transparent), transparent 88px),
      var(--th-surface);
    box-shadow: 0 10px 26px rgba(15,23,42,.07);
  }

  html[data-theme="dark"] .tinr-trade-history__table tr {
    box-shadow: 0 12px 28px rgba(0,0,0,.22);
  }

  .tinr-trade-history__table td {
    min-width: 0;
    min-height: 54px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    padding: 9px 2px;
    border: 0;
    border-bottom: 1px solid var(--th-border);
    background: transparent !important;
    color: var(--th-text);
    font-size: 10px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .tinr-trade-history__table td::before {
    content: attr(data-label);
    color: var(--th-muted);
    font-size: 7.5px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: .065em;
    text-transform: uppercase;
  }

  .tinr-trade-history__table td:nth-child(1) {
    grid-column: 1 / -1;
    min-height: 62px;
    padding: 6px 8px 10px;
    border-bottom: 1px solid var(--th-border);
  }

  .tinr-trade-history__table td:nth-child(2) {
    grid-column: 1 / -1;
    min-height: 50px;
  }

  .tinr-trade-history__table td:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .tinr-trade-history__coin {
    width: 100%;
    gap: 9px;
  }

  .tinr-trade-history__coin img {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .tinr-trade-history__coin strong {
    font-size: 14px;
  }

  .tinr-trade-history__order-id {
    max-width: none;
    color: var(--th-text);
    font-size: 9.5px !important;
    font-weight: 750;
  }

  .tinr-trade-history__type,
  .tinr-trade-history__side,
  .tinr-trade-history__pnl {
    min-height: 27px;
    min-width: 0;
    width: fit-content;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 8px;
  }

  .tinr-trade-history__number {
    font-size: 10.5px !important;
    font-weight: 760;
  }

  .tinr-trade-history__empty {
    grid-column: 1 / -1 !important;
    min-height: 140px !important;
    display: grid !important;
    place-items: center !important;
    border-bottom: 0 !important;
  }
}

@media (max-width: 390px) {
  .tinr-trade-history__filter-actions {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .tinr-trade-history__table tr {
    gap: 0 9px;
    padding: 10px;
  }

  .tinr-trade-history__table td {
    min-height: 52px;
    font-size: 9.5px;
  }
}
/* ==========================================================
   TradeINR Trade Page
   Unique scope: tinr-trade-*
   Dark + Light theme
   ========================================================== */

.tinr-trade-page {
  --tt-bg: #030712;
  --tt-bg-2: #07101d;
  --tt-panel: #0b1220;
  --tt-panel-2: #101929;
  --tt-panel-3: #07101c;
  --tt-border: rgba(148, 163, 184, .14);
  --tt-border-strong: rgba(148, 163, 184, .24);
  --tt-text: #f8fafc;
  --tt-muted: #8f9bad;
  --tt-yellow: #facc15;
  --tt-green: #22d3a0;
  --tt-red: #fb6471;
  --tt-blue: #38bdf8;
  --tt-shadow: 0 22px 58px rgba(0, 0, 0, .30);

  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--tt-text);
  background:
    radial-gradient(circle at 12% 0%, rgba(250,204,21,.045), transparent 25rem),
    radial-gradient(circle at 92% 12%, rgba(37,99,235,.075), transparent 32rem),
    linear-gradient(160deg, var(--tt-bg), var(--tt-bg-2));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tinr-trade-page *,
.tinr-trade-page *::before,
.tinr-trade-page *::after {
  box-sizing: border-box;
}

/* ---------------- MARKET BAR ---------------- */
.tinr-trade-marketbar-wrap {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid var(--tt-border);
  background: rgba(7, 16, 29, .82);
  backdrop-filter: blur(14px);
}

.tinr-trade-markets-layer {
  position: relative;
  z-index: 40;
}

/* ---------------- MAIN LAYOUT ---------------- */
.tinr-trade-layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 10px;
  padding: 10px;
}

.tinr-trade-left {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tinr-trade-main-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 330px);
  gap: 10px;
}

/* ---------------- CHART ---------------- */
.tinr-trade-chart-card,
.tinr-trade-orderbook-card,
.tinr-trade-right-panel,
.tinr-trade-bottom {
  border: 1px solid var(--tt-border);
  background: rgba(11, 18, 32, .84);
  box-shadow: var(--tt-shadow);
  backdrop-filter: blur(13px);
}

.tinr-trade-chart-card,
.tinr-trade-orderbook-card {
  height: 500px;
  min-height: 500px;
  max-height: 500px;
  overflow: hidden;
  border-radius: 16px;
}

.tinr-trade-chart-card {
  display: flex;
  flex-direction: column;
}

.tinr-trade-chart-card--mobile {
  display: none;
}

.tinr-trade-chart-head,
.tinr-trade-timeframe-wrap {
  flex: 0 0 auto;
}

.tinr-trade-chart-head {
  border-bottom: 1px solid rgba(148,163,184,.08);
}

.tinr-trade-timeframe-wrap {
  border-bottom: 1px solid rgba(148,163,184,.07);
}

.tinr-trade-chart-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* ---------------- ORDER BOOK / TRADES ---------------- */
.tinr-trade-orderbook-card {
  display: flex;
  flex-direction: column;
}

.tinr-trade-orderbook-tabs {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 7px;
  border-bottom: 1px solid var(--tt-border);
  background: rgba(255,255,255,.018);
}

.tinr-trade-orderbook-tab {
  min-height: 35px;
  border: 0;
  border-radius: 9px;
  color: var(--tt-muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.tinr-trade-orderbook-tab:hover {
  color: var(--tt-text);
  background: rgba(255,255,255,.03);
}

.tinr-trade-orderbook-tab--active {
  color: #081018;
  background: linear-gradient(135deg, #ffe45c, var(--tt-yellow));
  box-shadow: 0 6px 16px rgba(250,204,21,.12);
}

.tinr-trade-orderbook-content {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
}

.tinr-trade-orderbook-content > * {
  flex: 1;
  min-width: 0;
}

/* ---------------- BOTTOM TABS ---------------- */
.tinr-trade-bottom {
  min-width: 0;
  min-height: 300px;
  max-height: 360px;
  overflow: hidden;
  border-radius: 16px;
}

.tinr-trade-bottom-head {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--tt-border);
  background: rgba(255,255,255,.018);
}

.tinr-trade-tabs {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tinr-trade-tabs::-webkit-scrollbar {
  display: none;
}

.tinr-trade-tab {
  flex: 0 0 auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--tt-muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 10.5px;
  font-weight: 750;
  white-space: nowrap;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.tinr-trade-tab:hover {
  color: var(--tt-text);
  background: rgba(255,255,255,.03);
}

.tinr-trade-tab--active {
  color: var(--tt-text);
  border-color: rgba(250,204,21,.18);
  background: rgba(250,204,21,.065);
}

.tinr-trade-tab-count {
  min-width: 19px;
  height: 19px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  color: var(--tt-yellow);
  background: rgba(250,204,21,.08);
  font-size: 9px;
  font-weight: 850;
}

.tinr-trade-cancel-all {
  flex: 0 0 auto;
  min-height: 33px;
  padding: 0 12px;
  border: 1px solid rgba(251,100,113,.22);
  border-radius: 9px;
  color: var(--tt-red);
  background: rgba(251,100,113,.06);
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
}

.tinr-trade-tab-pane {
  display: none;
  height: calc(100% - 50px);
  min-height: 0;
  overflow: auto;
}

.tinr-trade-tab-pane--active {
  display: block;
}

.tinr-trade-openpositions-wrap {
  min-height: 100%;
}

/* Keep embedded OpenPositions compact inside Trade page */
.tinr-trade-openpositions-wrap .tinr-openpos-page {
  min-height: auto;
  padding: 8px;
  background: transparent;
}

.tinr-trade-openpositions-wrap .tinr-openpos-hero {
  display: none;
}

.tinr-trade-openpositions-wrap .tinr-openpos-summary-grid {
  margin-bottom: 8px;
}

.tinr-trade-openpositions-wrap .tinr-openpos-panel {
  box-shadow: none;
}

/* ---------------- RIGHT PANEL ---------------- */
.tinr-trade-right-panel {
  min-width: 0;
  align-self: start;
  overflow: hidden;
  border-radius: 16px;
}

.tinr-trade-right-inner {
  min-width: 0;
  padding: 8px;
}

.tinr-trade-panel-wrap {
  min-width: 0;
}

/* TradingPanel already owns its card styling */
.tinr-trade-panel-wrap > .tinr-trading-panel {
  box-shadow: none;
}

/* ---------------- MARKET OVERVIEW ---------------- */
.tinr-trade-market-overview {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.tinr-trade-overview-card {
  overflow: hidden;
  border: 1px solid var(--tt-border);
  border-radius: 14px;
  background: rgba(255,255,255,.018);
}

.tinr-trade-overview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 10px;
  border-bottom: 1px solid var(--tt-border);
}

.tinr-trade-overview-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--tt-muted);
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tinr-trade-overview-head h3 {
  margin: 0;
  color: var(--tt-text);
  font-size: 13px;
  font-weight: 800;
}

.tinr-trade-overview-status {
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 7.5px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.tinr-trade-overview-status--up {
  color: var(--tt-green);
  border: 1px solid rgba(34,211,160,.15);
  background: rgba(34,211,160,.05);
}

.tinr-trade-overview-status--down {
  color: var(--tt-red);
  border: 1px solid rgba(251,100,113,.15);
  background: rgba(251,100,113,.05);
}

.tinr-trade-overview-list {
  display: grid;
}

.tinr-trade-overview-row {
  width: 100%;
  min-height: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 0;
  border-bottom: 1px solid rgba(148,163,184,.07);
  color: var(--tt-text);
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background .18s ease;
}

.tinr-trade-overview-row:last-child {
  border-bottom: 0;
}

.tinr-trade-overview-row:hover {
  background: rgba(255,255,255,.028);
}

.tinr-trade-overview-coin {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.tinr-trade-overview-coin img {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  object-fit: contain;
  border-radius: 50%;
}

.tinr-trade-overview-coin strong {
  min-width: 0;
  overflow: hidden;
  color: var(--tt-text);
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tinr-trade-overview-price {
  color: var(--tt-text);
  font-size: 9px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tinr-trade-overview-change {
  font-size: 9px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tinr-trade-overview-change--up {
  color: var(--tt-green);
}

.tinr-trade-overview-change--down {
  color: var(--tt-red);
}

/* ---------------- MOBILE TRADING ACTIONS ---------------- */
.tinr-trade-mobile-actions {
  display: none;
}

.tinr-trade-mobile-back {
  display: none;
}

.tinr-trade-mobile-symbol-head {
  display: none;
}

/* ==========================================================
   LIGHT THEME
   ========================================================== */
html[data-theme="light"] .tinr-trade-page {
  --tt-bg: #f4f7fb;
  --tt-bg-2: #eef3f8;
  --tt-panel: #ffffff;
  --tt-panel-2: #f8fafc;
  --tt-panel-3: #ffffff;
  --tt-border: rgba(15,23,42,.11);
  --tt-border-strong: rgba(15,23,42,.20);
  --tt-text: #111827;
  --tt-muted: #64748b;
  --tt-yellow: #d6a800;
  --tt-green: #059669;
  --tt-red: #dc3545;
  --tt-blue: #0284c7;
  --tt-shadow: 0 18px 42px rgba(15,23,42,.08);

  background:
    radial-gradient(circle at 12% 0%, rgba(234,179,8,.075), transparent 25rem),
    radial-gradient(circle at 92% 12%, rgba(37,99,235,.05), transparent 32rem),
    linear-gradient(160deg, var(--tt-bg), var(--tt-bg-2));
}

html[data-theme="light"] .tinr-trade-marketbar-wrap {
  background: rgba(255,255,255,.88);
}

html[data-theme="light"] .tinr-trade-chart-card,
html[data-theme="light"] .tinr-trade-orderbook-card,
html[data-theme="light"] .tinr-trade-right-panel,
html[data-theme="light"] .tinr-trade-bottom {
  background: rgba(255,255,255,.94);
}

html[data-theme="light"] .tinr-trade-orderbook-tabs,
html[data-theme="light"] .tinr-trade-bottom-head,
html[data-theme="light"] .tinr-trade-overview-card {
  background: #f8fafc;
}

html[data-theme="light"] .tinr-trade-orderbook-tab:hover,
html[data-theme="light"] .tinr-trade-tab:hover,
html[data-theme="light"] .tinr-trade-overview-row:hover {
  background: #f1f5f9;
}

html[data-theme="light"] .tinr-trade-tab--active {
  color: #806100;
  border-color: rgba(202,138,4,.20);
  background: rgba(234,179,8,.09);
}

html[data-theme="light"] .tinr-trade-tab-count {
  color: #806100;
  background: rgba(234,179,8,.10);
}

html[data-theme="light"] .tinr-trade-overview-price,
html[data-theme="light"] .tinr-trade-overview-coin strong {
  color: #111827;
}

/* Child tables/lists that inherit color become readable in light mode */
html[data-theme="light"] .tinr-trade-page .orderbook-container,
html[data-theme="light"] .tinr-trade-page .trades-container-in-tradesdata {
  color: #111827;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1280px) {
  .tinr-trade-layout {
    grid-template-columns: minmax(0, 1fr) 305px;
  }

  .tinr-trade-main-grid {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
  }
}

@media (max-width: 1000px) and (min-width: 769px) {
  .tinr-trade-layout {
    grid-template-columns: minmax(0, 1fr) 285px;
  }

  .tinr-trade-main-grid {
    grid-template-columns: minmax(0, 1fr) 260px;
  }

  .tinr-trade-chart-card,
  .tinr-trade-orderbook-card {
    height: 460px;
    min-height: 460px;
    max-height: 460px;
  }
}

@media (max-width: 768px) {
  .tinr-trade-page {
    padding-bottom: 86px;
  }

  .tinr-trade-layout {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
  }

  .tinr-trade-left {
    width: 100%;
    gap: 8px;
  }

  .tinr-trade-main-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .tinr-trade-chart-card--desktop {
    display: none;
  }

  .tinr-trade-chart-card--mobile {
    display: flex;
  }

  .tinr-trade-chart-card {
    width: 100%;
    height: 430px;
    min-height: 430px;
    max-height: 430px;
    border-radius: 14px;
  }

  .tinr-trade-orderbook-card {
    width: 100%;
    height: 300px;
    min-height: 300px;
    max-height: 300px;
    border-radius: 14px;
  }

  .tinr-trade-bottom {
    min-height: 320px;
    max-height: none;
    overflow: visible;
    border-radius: 14px;
  }

  .tinr-trade-bottom-head {
    position: sticky;
    top: 0;
    z-index: 12;
    min-height: 47px;
    padding: 6px 8px;
  }

  .tinr-trade-tabs {
    gap: 4px;
  }

  .tinr-trade-tab {
    min-height: 32px;
    padding-inline: 8px;
    font-size: 9.5px;
  }

  .tinr-trade-tab-pane {
    height: auto;
    overflow: visible;
  }

  .tinr-trade-cancel-all {
    display: none;
  }

  .tinr-trade-openpositions-wrap .tinr-openpos-page {
    padding: 8px 6px 90px;
  }

  .tinr-trade-right-panel {
    width: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .tinr-trade-right-inner {
    padding: 0;
  }

  .tinr-trade-mobile-back {
    width: 100%;
    min-height: 43px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding: 0 12px;
    border: 1px solid var(--tt-border);
    border-radius: 11px;
    color: var(--tt-text);
    background: var(--tt-panel);
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 750;
  }

  .tinr-trade-mobile-symbol-head {
    display: block;
    margin-bottom: 8px;
    overflow: hidden;
    border: 1px solid var(--tt-border);
    border-radius: 12px;
    background: var(--tt-panel);
  }

  .tinr-trade-panel-wrap {
    width: 100%;
  }

  .tinr-trade-market-overview {
    display: none;
  }

  .tinr-trade-mobile-actions {
    position: fixed;
    z-index: 900;
    left: 0;
    right: 0;
    bottom: 70px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    padding: 9px 12px;
    border-top: 1px solid var(--tt-border);
    background: rgba(5,11,24,.94);
    backdrop-filter: blur(14px);
  }

  .tinr-trade-mobile-btn {
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 850;
  }

  .tinr-trade-mobile-btn--buy {
    color: #04140d;
    background: linear-gradient(135deg, #3ae8b7, var(--tt-green));
  }

  .tinr-trade-mobile-btn--sell {
    color: #1a0608;
    background: linear-gradient(135deg, #ff8994, var(--tt-red));
  }

  .tinr-trade-mobile-btn--auth {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
  }

  html[data-theme="light"] .tinr-trade-mobile-actions {
    background: rgba(255,255,255,.94);
  }

  html[data-theme="light"] .tinr-trade-mobile-btn--buy,
  html[data-theme="light"] .tinr-trade-mobile-btn--sell {
    color: #ffffff;
  }
}

@media (max-width: 480px) {
  .tinr-trade-layout {
    padding-inline: 6px;
  }

  .tinr-trade-chart-card {
    height: 390px;
    min-height: 390px;
    max-height: 390px;
  }

  .tinr-trade-orderbook-card {
    height: 290px;
    min-height: 290px;
    max-height: 290px;
  }

  .tinr-trade-orderbook-tabs {
    padding: 6px;
  }

  .tinr-trade-orderbook-tab {
    min-height: 33px;
    font-size: 10px;
  }

  .tinr-trade-bottom-head {
    gap: 7px;
  }

  .tinr-trade-tab {
    padding-inline: 7px;
    font-size: 9px;
  }

  .tinr-trade-mobile-actions {
    gap: 7px;
    padding-inline: 9px;
  }

  .tinr-trade-mobile-btn {
    min-height: 46px;
    font-size: 13px;
  }
}

@media (hover: none) {
  .tinr-trade-orderbook-tab:hover,
  .tinr-trade-tab:hover,
  .tinr-trade-overview-row:hover {
    background: transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tinr-trade-page *,
  .tinr-trade-page *::before,
  .tinr-trade-page *::after {
    transition-duration: .01ms !important;
  }
}

/* ==========================================================
   TRADE PAGE TOP GAP
   Adds breathing space below the fixed desktop header.
   ========================================================== */
@media (min-width: 769px) {
  .tinr-trade-page {
    padding-top: 18px;
  }
}

@media (max-width: 768px) {
  .tinr-trade-page {
    padding-top: 8px;
  }
}

/* ==========================================================
   MOBILE COIN SELECTOR
   Desktop layout is intentionally untouched.
   ========================================================== */
.tinr-trade-mobile-marketbar {
  display: none;
}

@media (max-width: 768px) {
  .tinr-trade-mobile-marketbar {
    display: block;
    flex: 0 0 auto;
    border-bottom: 1px solid var(--tt-border);
  }

  .tinr-trade-mobile-marketbar--panel {
    margin-bottom: 8px;
    overflow: hidden;
    border: 1px solid var(--tt-border);
    border-radius: 12px;
    background: var(--tt-panel);
  }
}

/* ==========================================================
   DESKTOP COIN SELECTOR — placed in the already-visible
   timeframe toolbar so it can never sit behind the main header.
   ========================================================== */
@media (min-width: 769px) {
  .tinr-trade-timeframe-wrap--desktop-tools {
    position: relative;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding-right: 190px;
  }

  .tinr-trade-timeframe-wrap--desktop-tools > :first-child {
    min-width: 0;
    flex: 1 1 auto;
  }

  .tinr-trade-timeframe-coin-selector {
    position: absolute;
    top: 50%;
    right: 10px;
    z-index: 8;
    min-width: 164px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    padding: 0 10px;
    border: 1px solid var(--tt-border-strong);
    border-radius: 9px;
    color: var(--tt-text);
    background: var(--tt-panel);
    transform: translateY(-50%);
    cursor: pointer;
    font: inherit;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .06);
  }

  .tinr-trade-timeframe-coin-selector:hover {
    border-color: rgba(250, 204, 21, .45);
    background: var(--tt-panel-2);
  }

  .tinr-trade-timeframe-coin-selector__label {
    color: var(--tt-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .tinr-trade-timeframe-coin-selector__pair {
    min-width: 0;
    overflow: hidden;
    color: var(--tt-text);
    font-size: 11px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .tinr-trade-timeframe-coin-selector__chevron {
    margin-left: auto;
    color: var(--tt-yellow);
    font-size: 10px;
    font-weight: 900;
  }

  html[data-theme="light"] .tinr-trade-timeframe-coin-selector {
    color: #111827;
    border-color: rgba(15, 23, 42, .15);
    background: #ffffff;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .05);
  }

  html[data-theme="light"] .tinr-trade-timeframe-coin-selector__pair {
    color: #111827;
  }
}

@media (max-width: 768px) {
  .tinr-trade-timeframe-coin-selector {
    display: none !important;
  }
}


/* ==========================================================
   MOBILE TRADE ACTION DOCK — FINAL
   Fixed above MobileBottomNav, theme-aware, no business logic change.
   ========================================================== */
@media (max-width: 768px) {
  .tinr-trade-mobile-actions {
    position: fixed !important;
    z-index: 1300 !important;

    left: 50% !important;
    right: auto !important;

    bottom: calc(
      var(--tinr-mobile-bottom-nav-height, 68px) +
      env(safe-area-inset-bottom, 0px) +
      8px
    ) !important;

    width: min(calc(100vw - 16px), 520px) !important;

    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;

    padding: 7px !important;

    border: 1px solid var(--tt-border) !important;
    border-radius: 18px !important;

    background: rgba(7, 16, 29, .94) !important;

    box-shadow:
      0 18px 46px rgba(0, 0, 0, .34),
      0 0 0 1px rgba(255, 255, 255, .015) !important;

    backdrop-filter: blur(18px) saturate(1.2) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.2) !important;

    transform: translateX(-50%) !important;

    isolation: isolate;
  }

  .tinr-trade-mobile-actions::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -1;

    border-radius: inherit;

    background:
      radial-gradient(
        circle at 22% 50%,
        rgba(34, 211, 160, .09),
        transparent 36%
      ),
      radial-gradient(
        circle at 78% 50%,
        rgba(251, 100, 113, .08),
        transparent 36%
      );

    pointer-events: none;
  }

  .tinr-trade-mobile-btn {
    min-width: 0 !important;
    min-height: 52px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;

    margin: 0 !important;
    padding: 7px 10px !important;

    border: 1px solid transparent !important;
    border-radius: 13px !important;

    cursor: pointer;

    font: inherit !important;
    line-height: 1.05 !important;

    transition:
      transform .16s ease,
      filter .16s ease,
      box-shadow .16s ease !important;

    -webkit-tap-highlight-color: transparent;
  }

  .tinr-trade-mobile-btn:active {
    transform: scale(.985) !important;
  }

  .tinr-trade-mobile-btn__main {
    display: block;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: -.015em;
  }

  .tinr-trade-mobile-btn__sub {
    display: block;

    margin-top: 1px;

    font-size: 7px;
    font-weight: 700;

    opacity: .78;
  }

  .tinr-trade-mobile-btn--buy {
    color: #032f22 !important;

    border-color: rgba(52, 211, 153, .28) !important;

    background:
      linear-gradient(135deg, #43e4ba 0%, #13b987 100%) !important;

    box-shadow:
      0 8px 20px rgba(16, 185, 129, .16) !important;
  }

  .tinr-trade-mobile-btn--sell {
    color: #3b0910 !important;

    border-color: rgba(251, 113, 133, .30) !important;

    background:
      linear-gradient(135deg, #ff8a98 0%, #ef5365 100%) !important;

    box-shadow:
      0 8px 20px rgba(239, 83, 101, .15) !important;
  }

  .tinr-trade-mobile-btn--auth {
    color: #ffffff !important;

    border-color: rgba(96, 165, 250, .28) !important;

    background:
      linear-gradient(135deg, #3b82f6, #2563eb) !important;
  }

  /* Keep the final mobile content reachable behind the fixed dock. */
  .tinr-trade-bottom {
    margin-bottom: 82px !important;
  }

  html[data-theme="light"] .tinr-trade-mobile-actions {
    border-color: rgba(15, 23, 42, .10) !important;

    background: rgba(255, 255, 255, .96) !important;

    box-shadow:
      0 18px 42px rgba(15, 23, 42, .15),
      0 0 0 1px rgba(255, 255, 255, .76) !important;
  }

  html[data-theme="light"] .tinr-trade-mobile-actions::before {
    background:
      radial-gradient(
        circle at 22% 50%,
        rgba(5, 150, 105, .07),
        transparent 36%
      ),
      radial-gradient(
        circle at 78% 50%,
        rgba(220, 53, 69, .06),
        transparent 36%
      );
  }

  html[data-theme="light"] .tinr-trade-mobile-btn--buy {
    color: #ffffff !important;

    background:
      linear-gradient(135deg, #20c997 0%, #059669 100%) !important;
  }

  html[data-theme="light"] .tinr-trade-mobile-btn--sell {
    color: #ffffff !important;

    background:
      linear-gradient(135deg, #f87171 0%, #dc3545 100%) !important;
  }
}

@media (max-width: 380px) {
  .tinr-trade-mobile-actions {
    width: calc(100vw - 12px) !important;

    gap: 6px !important;
    padding: 6px !important;

    border-radius: 16px !important;
  }

  .tinr-trade-mobile-btn {
    min-height: 49px !important;

    padding-inline: 6px !important;

    border-radius: 11px !important;
  }

  .tinr-trade-mobile-btn__main {
    font-size: 11px;
  }

  .tinr-trade-mobile-btn__sub {
    font-size: 6.5px;
  }
}


/* ==========================================================
   MOBILE TRADE ACTION DOCK V2 — VIEWPORT PORTAL
   IMPORTANT:
   The old dock lived inside .tinr-trade-bottom, which has
   backdrop-filter. That creates a containing block and can make
   position:fixed behave like a scrolling child on mobile browsers.
   This version is rendered into document.body with createPortal().
   ========================================================== */
@media (max-width: 768px) {
  .tinr-trade-mobile-actions--portal {
    --tinr-trade-dock-border:
      var(--tinr-border, rgba(148, 163, 184, .16));

    position: fixed !important;
    z-index: 9400 !important;

    left: 50% !important;
    right: auto !important;

    bottom: calc(
      var(--tinr-mobile-bottom-nav-height, 68px) + 7px
    ) !important;

    width: min(calc(100vw - 14px), 520px) !important;

    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;

    margin: 0 !important;
    padding: 6px !important;

    border: 1px solid var(--tinr-trade-dock-border) !important;
    border-radius: 16px !important;

    background: rgba(7, 16, 29, .96) !important;

    box-shadow:
      0 14px 34px rgba(0, 0, 0, .30),
      0 0 0 1px rgba(255, 255, 255, .015) !important;

    -webkit-backdrop-filter: blur(18px) saturate(1.15) !important;
    backdrop-filter: blur(18px) saturate(1.15) !important;

    transform: translate3d(-50%, 0, 0) !important;

    isolation: isolate;

    /* Keep the dock anchored to the viewport on iOS/Android. */
    contain: layout paint;
    will-change: transform;
  }

  .tinr-trade-mobile-actions--portal .tinr-trade-mobile-btn {
    min-width: 0 !important;
    min-height: 50px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;

    margin: 0 !important;
    padding: 7px 8px !important;

    border: 1px solid transparent !important;
    border-radius: 12px !important;

    font: inherit !important;
    line-height: 1.05 !important;

    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .tinr-trade-mobile-actions--portal
    .tinr-trade-mobile-btn__main {
    display: block;

    font-size: 11.5px;
    font-weight: 900;
    letter-spacing: -.015em;
  }

  .tinr-trade-mobile-actions--portal
    .tinr-trade-mobile-btn__sub {
    display: block;

    margin-top: 1px;

    font-size: 6.8px;
    font-weight: 700;

    opacity: .78;
  }

  .tinr-trade-mobile-actions--portal
    .tinr-trade-mobile-btn--buy {
    color: #032f22 !important;

    border-color: rgba(52, 211, 153, .25) !important;

    background:
      linear-gradient(
        135deg,
        #43e4ba 0%,
        #13b987 100%
      ) !important;

    box-shadow:
      0 7px 18px rgba(16, 185, 129, .15) !important;
  }

  .tinr-trade-mobile-actions--portal
    .tinr-trade-mobile-btn--sell {
    color: #3b0910 !important;

    border-color: rgba(251, 113, 133, .26) !important;

    background:
      linear-gradient(
        135deg,
        #ff8a98 0%,
        #ef5365 100%
      ) !important;

    box-shadow:
      0 7px 18px rgba(239, 83, 101, .14) !important;
  }

  .tinr-trade-mobile-actions--portal
    .tinr-trade-mobile-btn--auth {
    color: #ffffff !important;

    border-color: rgba(96, 165, 250, .28) !important;

    background:
      linear-gradient(
        135deg,
        #3b82f6,
        #2563eb
      ) !important;
  }

  html[data-theme="light"]
    .tinr-trade-mobile-actions--portal {
    border-color: rgba(15, 23, 42, .10) !important;

    background: rgba(255, 255, 255, .97) !important;

    box-shadow:
      0 14px 32px rgba(15, 23, 42, .14),
      0 0 0 1px rgba(255, 255, 255, .80) !important;
  }

  html[data-theme="light"]
    .tinr-trade-mobile-actions--portal
    .tinr-trade-mobile-btn--buy {
    color: #ffffff !important;

    background:
      linear-gradient(
        135deg,
        #20c997 0%,
        #059669 100%
      ) !important;
  }

  html[data-theme="light"]
    .tinr-trade-mobile-actions--portal
    .tinr-trade-mobile-btn--sell {
    color: #ffffff !important;

    background:
      linear-gradient(
        135deg,
        #f87171 0%,
        #dc3545 100%
      ) !important;
  }

  /* Reserve enough scroll room for:
     fixed trade dock + fixed mobile nav. */
  .tinr-trade-page {
    padding-bottom: calc(
      var(--tinr-mobile-bottom-nav-height, 68px) + 78px
    ) !important;
  }
}

@media (max-width: 370px) {
  .tinr-trade-mobile-actions--portal {
    width: calc(100vw - 10px) !important;

    gap: 5px !important;
    padding: 5px !important;

    border-radius: 14px !important;
  }

  .tinr-trade-mobile-actions--portal .tinr-trade-mobile-btn {
    min-height: 47px !important;

    padding-inline: 5px !important;

    border-radius: 10px !important;
  }

  .tinr-trade-mobile-actions--portal
    .tinr-trade-mobile-btn__main {
    font-size: 10.5px;
  }

  .tinr-trade-mobile-actions--portal
    .tinr-trade-mobile-btn__sub {
    font-size: 6.3px;
  }
}


/* ==========================================================
   FINAL MOBILE TAB ALIGNMENT
   Centers Open Positions / Open Orders inside Trade tabs.
   ========================================================== */
@media (max-width: 768px) {
  .tinr-trade-bottom,
  .tinr-trade-tab-pane,
  .tinr-trade-tab-pane--active {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin-left: auto !important;
    margin-right: auto !important;

    box-sizing: border-box !important;
  }

  .tinr-trade-tab-pane {
    overflow-x: hidden !important;
  }

  .tinr-trade-tab-pane--active {
    padding-left: 3px !important;
    padding-right: 3px !important;
  }

  .tinr-trade-tab-pane > .tinr-oo,
  .tinr-trade-openpositions-wrap {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin: 0 auto !important;

    box-sizing: border-box !important;
  }
}


/* ==========================================================
   TRADEINR TRADE — TRUST PREMIUM V5
   Compact desktop viewport + premium surfaces + touch response.
   ========================================================== */

/* Keep content close to the header instead of leaving a grey band. */
@media (min-width: 769px) {
  .tinr-trade-page {
    padding-top: 5px !important;
  }

  .tinr-trade-layout {
    padding-top: 5px !important;
  }
}

/* Expensive, restrained exchange surface. */
.tinr-trade-chart-card,
.tinr-trade-orderbook-card,
.tinr-trade-right-panel,
.tinr-trade-bottom {
  border-color: rgba(148, 163, 184, .16) !important;
  box-shadow:
    0 14px 38px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .018) !important;
}

.tinr-trade-chart-card,
.tinr-trade-orderbook-card,
.tinr-trade-right-panel {
  border-radius: 17px !important;
}

.tinr-trade-chart-card {
  position: relative;
}

.tinr-trade-chart-card::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  left: 18px;
  width: 76px;
  height: 2px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--tt-yellow), transparent);
  opacity: .72;
  pointer-events: none;
}

.tinr-trade-orderbook-tab,
.tinr-trade-tab,
.tinr-trade-cancel-all,
.tinr-trade-mobile-btn {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.tinr-trade-orderbook-tab:active,
.tinr-trade-tab:active,
.tinr-trade-cancel-all:active,
.tinr-trade-mobile-btn:active {
  transform: scale(.97);
}

/* Desktop: intentionally leave vertical room so Open Positions rows are
   visible in a normal laptop viewport, not only the summary cards. */
@media (min-width: 1001px) {
  .tinr-trade-chart-card,
  .tinr-trade-orderbook-card {
    height: clamp(410px, calc(100vh - 455px), 455px) !important;
    min-height: clamp(410px, calc(100vh - 455px), 455px) !important;
    max-height: clamp(410px, calc(100vh - 455px), 455px) !important;
  }

  .tinr-trade-bottom {
    min-height: 330px !important;
    max-height: 390px !important;
  }

  .tinr-trade-openpositions-wrap .tinr-openpos-page {
    padding: 6px !important;
  }

  .tinr-trade-openpositions-wrap .tinr-openpos-summary-grid {
    gap: 8px !important;
    margin-bottom: 7px !important;
  }

  .tinr-trade-openpositions-wrap .tinr-openpos-summary-card,
  .tinr-trade-openpositions-wrap .tinr-openpos-exit-all {
    min-height: 70px !important;
    border-radius: 13px !important;
  }

  .tinr-trade-openpositions-wrap .tinr-openpos-summary-card {
    gap: 10px !important;
    padding: 10px 12px !important;
  }

  .tinr-trade-openpositions-wrap .tinr-openpos-summary-icon {
    width: 34px !important;
    height: 34px !important;
    flex-basis: 34px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
  }

  .tinr-trade-openpositions-wrap .tinr-openpos-summary-copy {
    gap: 3px !important;
  }

  .tinr-trade-openpositions-wrap .tinr-openpos-summary-copy > span {
    font-size: 9px !important;
  }

  .tinr-trade-openpositions-wrap .tinr-openpos-value {
    font-size: 20px !important;
  }

  .tinr-trade-openpositions-wrap .tinr-openpos-exit-all {
    padding: 11px 13px !important;
  }

  .tinr-trade-openpositions-wrap .tinr-openpos-panel {
    border-radius: 14px !important;
  }

  .tinr-trade-openpositions-wrap .tinr-openpos-panel-head {
    padding: 10px 14px 9px !important;
  }

  .tinr-trade-openpositions-wrap .tinr-openpos-panel-head h2 {
    font-size: 16px !important;
  }

  .tinr-trade-openpositions-wrap .tinr-openpos-panel-kicker {
    font-size: 8px !important;
  }
}

/* Light version gets depth without muddy grey shadows. */
html[data-theme="light"] .tinr-trade-chart-card,
html[data-theme="light"] .tinr-trade-orderbook-card,
html[data-theme="light"] .tinr-trade-right-panel,
html[data-theme="light"] .tinr-trade-bottom {
  border-color: rgba(15, 23, 42, .09) !important;
  box-shadow:
    0 12px 30px rgba(15, 23, 42, .075),
    inset 0 1px 0 rgba(255, 255, 255, .95) !important;
}

/* More tactile chart/orderbook tabs. */
.tinr-trade-orderbook-tabs {
  padding: 6px !important;
}

.tinr-trade-orderbook-tab {
  border-radius: 10px !important;
}

.tinr-trade-tab--active {
  box-shadow: inset 0 0 0 1px rgba(250, 204, 21, .04);
}

/* Mobile: fill the viewport cleanly, no right drift, polished cards. */
@media (max-width: 768px) {
  .tinr-trade-page {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-top: 4px !important;
    overflow-x: clip !important;
  }

  .tinr-trade-layout {
    width: 100% !important;
    max-width: 100% !important;
    gap: 7px !important;
    padding: 4px 5px !important;
  }

  .tinr-trade-left,
  .tinr-trade-main-grid,
  .tinr-trade-chart-card,
  .tinr-trade-orderbook-card,
  .tinr-trade-bottom {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .tinr-trade-chart-card,
  .tinr-trade-orderbook-card,
  .tinr-trade-bottom {
    border-radius: 15px !important;
    box-shadow:
      0 8px 22px rgba(0, 0, 0, .13),
      inset 0 1px 0 rgba(255, 255, 255, .015) !important;
  }

  html[data-theme="light"] .tinr-trade-chart-card,
  html[data-theme="light"] .tinr-trade-orderbook-card,
  html[data-theme="light"] .tinr-trade-bottom {
    box-shadow:
      0 8px 20px rgba(15, 23, 42, .055),
      inset 0 1px 0 #ffffff !important;
  }

  .tinr-trade-tabs {
    padding: 0 1px;
  }

  .tinr-trade-tab {
    min-height: 34px !important;
    border-radius: 9px !important;
  }

  .tinr-trade-tab:active,
  .tinr-trade-orderbook-tab:active {
    background: rgba(250, 204, 21, .08);
  }
}
/* ==========================================================
   TradeINR Open Orders
   Unique scope: tinr-openorders*
   ========================================================== */

.tinr-openorders {
  --oo-surface: #ffffff;
  --oo-surface-soft: #f8fafc;
  --oo-border: #e1e7ef;
  --oo-text: #101828;
  --oo-muted: #667085;
  --oo-green: #059669;
  --oo-red: #e11d48;
  --oo-blue: #2563eb;
  --oo-yellow: #ca8a04;

  width: 100%;
  min-width: 0;
  padding: 16px;

  color: var(--oo-text);
  background: transparent;
}

html[data-theme="dark"] .tinr-openorders {
  --oo-surface: #0f1828;
  --oo-surface-soft: #121d2f;
  --oo-border: rgba(148, 163, 184, .14);
  --oo-text: #f8fafc;
  --oo-muted: #8fa0b7;
  --oo-green: #22d3a0;
  --oo-red: #fb7185;
  --oo-blue: #60a5fa;
  --oo-yellow: #facc15;
}

.tinr-openorders *,
.tinr-openorders *::before,
.tinr-openorders *::after {
  box-sizing: border-box;
}

.tinr-openorders__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  margin-bottom: 13px;
  padding: 2px;
}

.tinr-openorders__eyebrow {
  color: var(--oo-yellow);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .11em;
}

.tinr-openorders__heading h2 {
  display: flex;
  align-items: center;
  gap: 9px;

  margin: 3px 0 0;

  color: var(--oo-text);
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -.025em;
}

.tinr-openorders__count {
  min-width: 27px;
  height: 27px;

  display: inline-grid;
  place-items: center;

  border: 1px solid rgba(34, 211, 160, .25);
  border-radius: 999px;

  color: var(--oo-green);
  background: rgba(34, 211, 160, .07);

  font-size: 10px;
}

.tinr-openorders__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 6px 9px;

  border: 1px solid rgba(34, 211, 160, .20);
  border-radius: 999px;

  color: var(--oo-green);
  background: rgba(34, 211, 160, .06);

  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.tinr-openorders__live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--oo-green);
}

.tinr-openorders__desktop-head,
.tinr-openorders__order {
  display: grid;
  grid-template-columns:
    1.25fr
    1fr
    .65fr
    .75fr
    1fr
    .85fr
    .65fr
    .9fr
    .75fr;
  gap: 8px;
  align-items: center;
}

.tinr-openorders__desktop-head {
  padding: 10px 12px;

  border: 1px solid var(--oo-border);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;

  color: var(--oo-muted);
  background: var(--oo-surface-soft);

  font-size: 8px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.tinr-openorders__desktop-head span {
  text-align: center;
}

.tinr-openorders__list {
  display: grid;
  gap: 7px;
}

.tinr-openorders__order {
  min-height: 58px;
  padding: 9px 12px;

  border: 1px solid var(--oo-border);
  border-radius: 11px;

  color: var(--oo-text);
  background: var(--oo-surface);

  box-shadow: 0 7px 20px rgba(15, 23, 42, .035);
}

html[data-theme="dark"] .tinr-openorders__order {
  box-shadow: 0 8px 22px rgba(0, 0, 0, .14);
}

.tinr-openorders__order > div {
  min-width: 0;
  text-align: center;
  font-size: 10px;
}

.tinr-openorders__date {
  color: var(--oo-muted);
}

.tinr-openorders__pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.tinr-openorders__pair img {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border-radius: 50%;
  object-fit: contain;
}

.tinr-openorders__pair > span {
  min-width: 0;
  display: grid;
  gap: 1px;
  text-align: left;
}

.tinr-openorders__pair strong {
  color: var(--oo-text);
  font-size: 10.5px;
  font-weight: 850;
}

.tinr-openorders__pair small {
  color: var(--oo-muted);
  font-size: 7px;
  text-transform: uppercase;
}

.tinr-openorders__field {
  display: grid;
  gap: 2px;
}

.tinr-openorders__field strong {
  overflow: hidden;
  color: var(--oo-text);
  font-size: 10px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tinr-openorders__side {
  text-transform: uppercase;
}

.tinr-openorders__side--buy {
  color: var(--oo-green) !important;
}

.tinr-openorders__side--sell {
  color: var(--oo-red) !important;
}

.tinr-openorders__type {
  color: var(--oo-blue) !important;
}

.tinr-openorders__leverage {
  justify-self: center;

  min-width: 42px;
  padding: 5px 8px;

  border: 1px solid rgba(96, 165, 250, .24);
  border-radius: 7px;

  color: var(--oo-blue);
  background: rgba(96, 165, 250, .08);

  font-weight: 850;
}

.tinr-openorders__action button {
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  padding: 0 9px;

  border: 1px solid rgba(251, 113, 133, .22);
  border-radius: 8px;

  color: var(--oo-red);
  background: rgba(251, 113, 133, .07);

  cursor: pointer;
  font: inherit;
  font-size: 8.5px;
  font-weight: 800;
}

.tinr-openorders__action button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.tinr-openorders__mobile-label {
  display: none;
}

.tinr-openorders__empty {
  min-height: 230px;

  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;

  padding: 24px;

  border: 1px dashed var(--oo-border);
  border-radius: 14px;

  color: var(--oo-muted);
  background: var(--oo-surface);

  text-align: center;
}

.tinr-openorders__empty strong {
  color: var(--oo-text);
  font-size: 14px;
}

.tinr-openorders__empty span {
  font-size: 10px;
}

@media (max-width: 768px) {
  .tinr-openorders {
    padding: 8px 4px 18px;
  }

  .tinr-openorders__heading {
    margin-bottom: 10px;
    padding: 5px 4px;
  }

  .tinr-openorders__heading h2 {
    font-size: 20px;
  }

  .tinr-openorders__desktop-head {
    display: none;
  }

  .tinr-openorders__list {
    gap: 10px;
  }

  .tinr-openorders__order {
    position: relative;

    min-height: 174px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 13px 8px;

    padding: 60px 14px 14px;

    border-radius: 15px;
  }

  .tinr-openorders__order::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    top: 48px;
    height: 1px;
    background: var(--oo-border);
  }

  .tinr-openorders__pair {
    position: absolute;
    top: 12px;
    left: 14px;

    justify-content: flex-start;
  }

  .tinr-openorders__pair img {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .tinr-openorders__pair strong {
    font-size: 15px;
  }

  .tinr-openorders__pair small {
    font-size: 6.5px;
  }

  .tinr-openorders__date {
    position: absolute;
    top: 15px;
    right: 14px;

    max-width: 52%;

    overflow: hidden;
    font-size: 8.5px !important;
    text-align: right !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .tinr-openorders__leverage {
    position: absolute;
    top: 12px;
    left: 118px;

    min-width: 47px;
    padding: 5px 7px;

    font-size: 9px !important;
  }

  .tinr-openorders__field {
    align-content: start;
    gap: 3px;
    text-align: left !important;
  }

  .tinr-openorders__field strong {
    font-size: 11px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .tinr-openorders__mobile-label {
    display: block;

    color: var(--oo-muted);
    font-size: 7.5px;
    font-weight: 750;
    letter-spacing: .055em;
    text-transform: uppercase;
  }

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

  .tinr-openorders__action button {
    width: 100%;
    min-height: 38px;
  }

  .tinr-openorders__action button span {
    display: none;
  }

  .tinr-openorders__action button svg {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 390px) {
  .tinr-openorders__order {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 208px;
  }

  .tinr-openorders__leverage {
    left: 108px;
  }

  .tinr-openorders__action {
    grid-column: 2;
  }
}
/* TradeINR transaction history — tinr-funding-history
   Unique scope only: .tinr-funding-history*
*/

.tinr-funding-history {
  --tx-bg: #f4f7fb;
  --tx-surface: #ffffff;
  --tx-surface-soft: #f8fafc;
  --tx-text: #101828;
  --tx-muted: #667085;
  --tx-border: #dfe5ee;
  --tx-border-strong: #cbd5e1;
  --tx-yellow: #ca8a04;
  --tx-green: #059669;
  --tx-red: #e11d48;
  --tx-blue: #2563eb;
  --tx-cyan: #0891b2;
  --tx-shadow: rgba(15, 23, 42, .08);

  width: 100%;
  min-height: 100vh;
  padding: 34px clamp(16px, 3vw, 48px) 54px;
  color: var(--tx-text);
  background:
    radial-gradient(circle at 50% 0%, rgba(250, 204, 21, .055), transparent 24rem),
    var(--tx-bg);
  box-sizing: border-box;
}

html[data-theme="dark"] .tinr-funding-history {
  --tx-bg: #07101d;
  --tx-surface: #0d1727;
  --tx-surface-soft: #111d30;
  --tx-text: #f8fafc;
  --tx-muted: #93a1b5;
  --tx-border: rgba(148, 163, 184, .14);
  --tx-border-strong: rgba(148, 163, 184, .22);
  --tx-yellow: #facc15;
  --tx-green: #22d3a0;
  --tx-red: #fb7185;
  --tx-blue: #60a5fa;
  --tx-cyan: #22d3ee;
  --tx-shadow: rgba(0, 0, 0, .24);
}

.tinr-funding-history *,
.tinr-funding-history *::before,
.tinr-funding-history *::after {
  box-sizing: border-box;
}

.tinr-funding-history__back {
  display: none;
  margin-bottom: 10px;
}

.tinr-funding-history__back a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tx-muted);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.tinr-funding-history__back a:hover {
  color: var(--tx-yellow);
}

.tinr-funding-history__title {
  position: relative;
  width: fit-content;
  margin: 0 auto 30px;
  color: var(--tx-text);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 860;
  letter-spacing: -.035em;
  text-align: center;
}

.tinr-funding-history__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -11px;
  width: 88px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fde047, #eab308);
  transform: translateX(-50%);
  box-shadow: 0 4px 14px rgba(250, 204, 21, .18);
}

.tinr-funding-history__filters {
  width: min(1500px, 100%);
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto 16px;
  padding: 11px 13px;
  border: 1px solid var(--tx-border);
  border-radius: 14px;
  background: var(--tx-surface);
  box-shadow: 0 8px 26px var(--tx-shadow);
}

.tinr-funding-history__filter-dates,
.tinr-funding-history__filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tinr-funding-history__filter-dates label {
  color: var(--tx-muted);
  font-size: 9.5px;
  font-weight: 750;
}

.tinr-funding-history__filter-dates input {
  height: 39px;
  min-width: 150px;
  padding: 0 10px;
  border: 1px solid var(--tx-border);
  border-radius: 9px;
  outline: none;
  color: var(--tx-text);
  background: var(--tx-surface-soft);
  font: inherit;
  font-size: 10px;
}

.tinr-funding-history__filter-dates input:focus {
  border-color: rgba(234, 179, 8, .42);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, .08);
}

html[data-theme="dark"] .tinr-funding-history__filter-dates input {
  color-scheme: dark;
}

.tinr-funding-history__filter-actions button {
  min-width: 74px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--tx-border);
  border-radius: 9px;
  color: var(--tx-text);
  background: var(--tx-surface-soft);
  cursor: pointer;
  font: inherit;
  font-size: 9.5px;
  font-weight: 800;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.tinr-funding-history__filter-actions button:hover {
  transform: translateY(-1px);
  border-color: rgba(8, 145, 178, .28);
}

.tinr-funding-history__filter-actions button:first-child {
  color: #042f2e;
  border-color: rgba(20, 184, 166, .24);
  background: linear-gradient(135deg, #2dd4bf, #22d3ee);
}

.tinr-funding-history__filter-actions button:nth-last-child(-n+2) {
  color: #042f2e;
  border-color: rgba(20, 184, 166, .22);
  background: linear-gradient(135deg, #2dd4bf, #22d3ee);
}

@media (max-width: 768px) {
  .tinr-funding-history {
    min-height: 100dvh;
    padding: 12px 8px calc(var(--tinr-mobile-bottom-nav-height, 76px) + 18px);
  }

  .tinr-funding-history__back {
    display: block;
  }

  .tinr-funding-history__title {
    margin-bottom: 23px;
    font-size: 22px;
    text-align: left;
  }

  .tinr-funding-history__title::after {
    left: 0;
    width: 62px;
    transform: none;
  }

  .tinr-funding-history__filters {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .tinr-funding-history__filter-dates {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 7px 8px;
  }

  .tinr-funding-history__filter-dates input {
    width: 100%;
    min-width: 0;
  }

  .tinr-funding-history__filter-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .tinr-funding-history__filter-actions button {
    min-width: 0;
    padding: 0 5px;
    font-size: 8.5px;
  }
}

@media (max-width: 420px) {
  .tinr-funding-history__filter-actions {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tinr-funding-history__table {
  width: min(1500px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--tx-border);
  border-radius: 14px;
  background: var(--tx-surface);
  box-shadow: 0 12px 32px var(--tx-shadow);
}

.tinr-funding-history__head,
.tinr-funding-history__row {
  display: grid;
  grid-template-columns: 1fr 1.6fr .8fr;
  gap: 12px;
  align-items: center;
}

.tinr-funding-history__head {
  padding: 12px 14px;
  color: var(--tx-muted);
  background: var(--tx-surface-soft);
  border-bottom: 1px solid var(--tx-border);
  font-size: 8.5px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.tinr-funding-history__row {
  min-height: 58px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--tx-border);
  color: var(--tx-text);
  font-size: 10.5px;
}

.tinr-funding-history__row:last-child {
  border-bottom: 0;
}

.tinr-funding-history__row:hover {
  background: var(--tx-surface-soft);
}

.tinr-funding-history__coin {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.tinr-funding-history__coin-logo {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  object-fit: contain;
}

.tinr-funding-history__fee {
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.tinr-funding-history__fee--positive {
  color: var(--tx-green);
}

.tinr-funding-history__fee--negative {
  color: var(--tx-red);
}

.tinr-funding-history__loading,
.tinr-funding-history__empty {
  min-height: 180px;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--tx-muted);
  font-size: 11px;
}

.tinr-funding-history__load-more {
  display: flex;
  justify-content: center;
  padding-top: 14px;
}

.tinr-funding-history__show-more {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--tx-border);
  border-radius: 9px;
  color: var(--tx-text);
  background: var(--tx-surface);
  cursor: pointer;
  font: inherit;
  font-size: 9.5px;
  font-weight: 800;
}

@media (max-width: 768px) {
  .tinr-funding-history__table {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .tinr-funding-history__head {
    display: none;
  }

  .tinr-funding-history__row {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 10px;
    padding: 9px 12px;
    border: 1px solid var(--tx-border);
    border-radius: 14px;
    background: var(--tx-surface);
    box-shadow: 0 7px 20px var(--tx-shadow);
  }

  .tinr-funding-history__row > div {
    min-height: 39px;
    display: grid;
    grid-template-columns: 102px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px solid var(--tx-border);
    text-align: right;
  }

  .tinr-funding-history__row > div:last-child {
    border-bottom: 0;
  }

  .tinr-funding-history__row > div::before {
    content: attr(data-label);
    color: var(--tx-muted);
    font-size: 8px;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
  }

  .tinr-funding-history__coin {
    justify-content: flex-end;
  }
}

/* ==========================================================
   PREMIUM MOBILE V2
   Scope: .tinr-funding-history*
   ========================================================== */
@media (max-width: 768px) {
  .tinr-funding-history {
    min-height: 100dvh !important;
    padding: 12px 10px calc(var(--tinr-mobile-bottom-nav-height, 76px) + 24px) !important;
    background:
      radial-gradient(circle at 50% -120px, rgba(250, 204, 21, .10), transparent 280px),
      var(--tx-bg, var(--tinr-bg)) !important;
  }

  .tinr-funding-history__back {
    display: block !important;
    margin: 0 2px 12px !important;
  }

  .tinr-funding-history__back a {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--tx-muted, var(--tinr-muted)) !important;
    font-size: 10px !important;
    font-weight: 750 !important;
    text-decoration: none !important;
  }

  .tinr-funding-history__title {
    width: 100% !important;
    margin: 0 0 26px !important;
    color: var(--tx-text, var(--tinr-text)) !important;
    font-size: 23px !important;
    line-height: 1.15 !important;
    font-weight: 860 !important;
    letter-spacing: -.035em !important;
    text-align: left !important;
  }

  .tinr-funding-history__title::after {
    left: 0 !important;
    bottom: -10px !important;
    width: 54px !important;
    height: 3px !important;
    transform: none !important;
  }

  .tinr-funding-history__filters {
    width: 100% !important;
    min-height: 0 !important;
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 11px !important;
    margin: 0 0 14px !important;
    padding: 12px !important;
    border: 1px solid var(--tx-border, var(--tinr-border)) !important;
    border-radius: 16px !important;
    background: var(--tx-surface, var(--tinr-surface)) !important;
    box-shadow: 0 10px 28px var(--tx-shadow, var(--tinr-shadow)) !important;
  }

  .tinr-funding-history__filter-dates {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 8px 9px !important;
  }

  .tinr-funding-history__filter-dates label {
    color: var(--tx-muted, var(--tinr-muted)) !important;
    font-size: 8px !important;
    font-weight: 850 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
  }

  .tinr-funding-history__filter-dates input {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    padding: 0 11px !important;
    border: 1px solid var(--tx-border, var(--tinr-border)) !important;
    border-radius: 11px !important;
    color: var(--tx-text, var(--tinr-text)) !important;
    background: var(--tx-surface-soft, var(--tinr-surface-soft)) !important;
    font-size: 10px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important;
  }

  .tinr-funding-history__filter-actions {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .tinr-funding-history__filter-actions button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 0 5px !important;
    border-radius: 10px !important;
    border: 1px solid var(--tx-border, var(--tinr-border)) !important;
    color: var(--tx-text, var(--tinr-text)) !important;
    background: var(--tx-surface-soft, var(--tinr-surface-soft)) !important;
    font-size: 8.5px !important;
    font-weight: 850 !important;
    box-shadow: none !important;
  }

  .tinr-funding-history__filter-actions button:first-child {
    color: #111827 !important;
    border-color: rgba(250,204,21,.42) !important;
    background: linear-gradient(135deg,#fde047,#facc15) !important;
  }

  .tinr-funding-history__filter-actions button:nth-last-child(-n+2) {
    color: #075985 !important;
    border-color: rgba(34,211,238,.22) !important;
    background: rgba(34,211,238,.08) !important;
  }

  html[data-theme="dark"] .tinr-funding-history__filter-actions button:nth-last-child(-n+2) {
    color: #67e8f9 !important;
  }
}

@media (max-width: 390px) {
  .tinr-funding-history__filter-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .tinr-funding-history__table {
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .tinr-funding-history__head {
    display: none !important;
  }

  .tinr-funding-history__row {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    gap: 0 12px !important;
    margin: 0 0 12px !important;
    padding: 12px 13px !important;
    border: 1px solid var(--tx-border) !important;
    border-radius: 16px !important;
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--tx-surface-soft) 45%, transparent), transparent 76px),
      var(--tx-surface) !important;
    box-shadow: 0 10px 26px var(--tx-shadow) !important;
  }

  .tinr-funding-history__row > div {
    min-height: 48px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 8px 2px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--tx-border) !important;
    color: var(--tx-text) !important;
    text-align: left !important;
  }

  .tinr-funding-history__row > div::before {
    content: attr(data-label) !important;
    color: var(--tx-muted) !important;
    font-size: 7.5px !important;
    font-weight: 850 !important;
    letter-spacing: .065em !important;
    text-transform: uppercase !important;
  }

  .tinr-funding-history__coin {
    grid-column: 1;
    grid-row: 1;
    min-height: 60px !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 9px !important;
    border-bottom: 0 !important;
  }

  .tinr-funding-history__coin::before {
    display: none !important;
  }

  .tinr-funding-history__coin-logo {
    width: 34px !important;
    height: 34px !important;
  }

  .tinr-funding-history__coin span {
    font-size: 14px !important;
    font-weight: 900 !important;
  }

  .tinr-funding-history__fee {
    grid-column: 2;
    grid-row: 1;
    min-height: 60px !important;
    align-items: flex-end !important;
    border-bottom: 0 !important;
    font-size: 13px !important;
  }

  .tinr-funding-history__row > div:nth-child(2) {
    grid-column: 1 / -1;
    border-bottom: 0 !important;
  }
}
/* ==========================================================
   TradeINR Premium Landing V6
   Unique scope: tinr-landing-*
   Trust-focused, premium, tactile, responsive
   ========================================================== */

.tinr-landing-page {
  --lp-bg: #050914;
  --lp-bg-2: #08101d;
  --lp-surface: #0b1423;
  --lp-surface-soft: #101b2d;
  --lp-surface-raised: #131f33;
  --lp-border: rgba(148, 163, 184, .15);
  --lp-border-strong: rgba(148, 163, 184, .24);
  --lp-text: #f8fafc;
  --lp-text-soft: #d6dfeb;
  --lp-muted: #8fa0b7;
  --lp-gold: #facc15;
  --lp-gold-2: #ffe56a;
  --lp-green: #22d3a0;
  --lp-red: #fb7185;
  --lp-blue: #60a5fa;
  --lp-violet: #a78bfa;
  --lp-shadow: 0 26px 70px rgba(0, 0, 0, .34);

  width: 100%;
  min-height: 100vh;
  overflow: hidden;

  color: var(--lp-text);

  background:
    radial-gradient(circle at 14% 4%, rgba(250, 204, 21, .075), transparent 26rem),
    radial-gradient(circle at 88% 20%, rgba(37, 99, 235, .065), transparent 30rem),
    linear-gradient(180deg, var(--lp-bg), var(--lp-bg-2));

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

html[data-theme="light"] .tinr-landing-page {
  --lp-bg: #f4f7fb;
  --lp-bg-2: #edf2f7;
  --lp-surface: #ffffff;
  --lp-surface-soft: #f8fafc;
  --lp-surface-raised: #f1f5f9;
  --lp-border: rgba(15, 23, 42, .09);
  --lp-border-strong: rgba(15, 23, 42, .15);
  --lp-text: #101828;
  --lp-text-soft: #344054;
  --lp-muted: #667085;
  --lp-gold: #d9a300;
  --lp-gold-2: #facc15;
  --lp-green: #059669;
  --lp-red: #dc3545;
  --lp-blue: #2563eb;
  --lp-violet: #7c3aed;
  --lp-shadow: 0 22px 56px rgba(15, 23, 42, .10);

  background:
    radial-gradient(circle at 14% 4%, rgba(250, 204, 21, .08), transparent 26rem),
    radial-gradient(circle at 88% 20%, rgba(37, 99, 235, .045), transparent 30rem),
    linear-gradient(180deg, var(--lp-bg), var(--lp-bg-2));
}

.tinr-landing-page *,
.tinr-landing-page *::before,
.tinr-landing-page *::after {
  box-sizing: border-box;
}

.tinr-landing-page button,
.tinr-landing-page a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.tinr-landing-page button:focus-visible,
.tinr-landing-page a:focus-visible {
  outline: 2px solid var(--lp-gold);
  outline-offset: 3px;
}

/* ---------------- PREMIUM ICON SYSTEM ---------------- */

.tinr-landing-premium-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;

  display: grid;
  place-items: center;

  border: 1px solid var(--lp-border);
  border-radius: 12px;

  background: var(--lp-surface-soft);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .03),
    0 7px 18px rgba(0, 0, 0, .08);
}

.tinr-landing-premium-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.7;
}

.tinr-landing-premium-icon--gold {
  color: var(--lp-gold);
  border-color: rgba(250, 204, 21, .17);
  background: rgba(250, 204, 21, .065);
}

.tinr-landing-premium-icon--green {
  color: var(--lp-green);
  border-color: color-mix(in srgb, var(--lp-green) 18%, transparent);
  background: color-mix(in srgb, var(--lp-green) 7%, transparent);
}

.tinr-landing-premium-icon--blue {
  color: var(--lp-blue);
  border-color: color-mix(in srgb, var(--lp-blue) 18%, transparent);
  background: color-mix(in srgb, var(--lp-blue) 7%, transparent);
}

.tinr-landing-premium-icon--violet {
  color: var(--lp-violet);
  border-color: color-mix(in srgb, var(--lp-violet) 18%, transparent);
  background: color-mix(in srgb, var(--lp-violet) 7%, transparent);
}

/* ---------------- HERO ---------------- */

.tinr-landing-hero {
  position: relative;
  isolation: isolate;

  min-height: clamp(650px, calc(100vh - 78px), 860px);

  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(380px, .97fr);
  align-items: center;
  gap: clamp(30px, 5vw, 78px);

  padding:
    clamp(64px, 7vw, 106px)
    max(24px, calc((100vw - 1260px) / 2));

  background-image: var(--tinr-landing-hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.tinr-landing-hero::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: -2;

  background:
    linear-gradient(
      90deg,
      rgba(5, 9, 20, .985) 0%,
      rgba(5, 9, 20, .92) 39%,
      rgba(5, 9, 20, .60) 67%,
      rgba(5, 9, 20, .42) 100%
    );
}

.tinr-landing-hero::after {
  content: "";

  position: absolute;
  inset: auto 0 0;
  z-index: -1;

  height: 180px;

  background:
    linear-gradient(180deg, transparent, var(--lp-bg));
}

html[data-theme="light"] .tinr-landing-hero::before {
  background:
    linear-gradient(
      90deg,
      rgba(244, 247, 251, .985) 0%,
      rgba(244, 247, 251, .93) 43%,
      rgba(244, 247, 251, .67) 70%,
      rgba(244, 247, 251, .36) 100%
    );
}

.tinr-landing-hero__content {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

.tinr-landing-hero__badge {
  width: fit-content;
  min-height: 30px;

  display: inline-flex;
  align-items: center;
  gap: 7px;

  margin-bottom: 18px;
  padding: 0 11px;

  border: 1px solid rgba(250, 204, 21, .23);
  border-radius: 999px;

  color: var(--lp-gold-2);
  background: rgba(250, 204, 21, .065);

  font-size: 8px;
  font-weight: 850;
  letter-spacing: .12em;
}

html[data-theme="light"] .tinr-landing-hero__badge {
  color: #9a6900;
}

.tinr-landing-hero__badge svg {
  width: 14px;
  height: 14px;
}

.tinr-landing-hero__content h1 {
  margin: 0;
  max-width: 780px;

  color: var(--lp-text);

  font-size: clamp(50px, 6.4vw, 88px);
  line-height: .95;
  font-weight: 890;
  letter-spacing: -.058em;
}

.tinr-landing-hero__content h1 span {
  display: block;
  color: var(--lp-gold-2);
}

html[data-theme="light"] .tinr-landing-hero__content h1 span {
  color: #b57c00;
}

.tinr-landing-hero__content > p {
  max-width: 630px;

  margin: 22px 0 0;

  color: var(--lp-muted);

  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.72;
}

.tinr-landing-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;

  margin-top: 29px;
}

.tinr-landing-btn {
  min-height: 49px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 0 20px;

  border: 1px solid transparent;
  border-radius: 12px;

  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 850;

  transition:
    transform .17s ease,
    box-shadow .17s ease,
    border-color .17s ease,
    background .17s ease;
}

.tinr-landing-btn svg {
  width: 15px;
  height: 15px;
}

.tinr-landing-btn--primary {
  color: #111827;
  border-color: rgba(234, 179, 8, .34);
  background: linear-gradient(135deg, #ffe66a, #facc15 55%, #eab308);
  box-shadow: 0 13px 28px rgba(234, 179, 8, .18);
}

.tinr-landing-btn--secondary {
  color: var(--lp-text);
  border-color: var(--lp-border-strong);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--lp-surface) 85%, transparent), var(--lp-surface-soft));
}

.tinr-landing-btn:hover {
  transform: translateY(-2px);
}

.tinr-landing-btn--primary:hover {
  box-shadow: 0 17px 35px rgba(234, 179, 8, .26);
}

.tinr-landing-btn--secondary:hover {
  border-color: rgba(250, 204, 21, .25);
}

.tinr-landing-btn:active {
  transform: scale(.975);
}

.tinr-landing-playstore-link {
  text-decoration: none;
}

.tinr-landing-playstore-light-badge {
  min-height: 49px;

  display: none;
  align-items: center;
  gap: 9px;

  padding: 0 13px;

  border: 1px solid var(--lp-border-strong);
  border-radius: 12px;

  color: #111827;
  background: #ffffff;

  box-shadow: 0 9px 22px rgba(15, 23, 42, .08);
}

.tinr-landing-playstore-light-badge__icon {
  width: 22px;
  height: 22px;
  color: #22c55e;
}

.tinr-landing-playstore-light-badge__copy {
  display: grid;
  gap: 1px;
}

.tinr-landing-playstore-light-badge__copy small {
  font-size: 6px;
  font-weight: 750;
  letter-spacing: .07em;
}

.tinr-landing-playstore-light-badge__copy strong {
  font-size: 12px;
  font-weight: 850;
}

.tinr-landing-playstore-badge {
  display: block;
  width: auto;
  height: 49px;
}

html[data-theme="light"] .tinr-landing-playstore-light-badge {
  display: inline-flex;
}

html[data-theme="light"] .tinr-landing-playstore-badge--dark {
  display: none;
}

.tinr-landing-hero__trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 15px;

  margin-top: 20px;
}

.tinr-landing-hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  color: var(--lp-muted);

  font-size: 8px;
  font-weight: 720;
}

.tinr-landing-hero__trust svg {
  width: 13px;
  height: 13px;
  color: var(--lp-green);
}

.tinr-landing-hero__visual {
  position: relative;

  min-width: 0;
  min-height: 530px;

  display: grid;
  place-items: center;
}

.tinr-landing-hero__visual::before {
  content: "";

  position: absolute;

  width: min(44vw, 600px);
  aspect-ratio: 1;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(250, 204, 21, .15),
      rgba(37, 99, 235, .075) 44%,
      transparent 70%
    );

  filter: blur(14px);
}

.tinr-landing-hero__phone {
  position: relative;
  z-index: 3;

  width: min(47vw, 660px);
  max-height: 680px;

  object-fit: contain;

  filter:
    drop-shadow(0 38px 58px rgba(0, 0, 0, .46))
    saturate(1.04);

  animation: tinrLandingFloatV6 5.4s ease-in-out infinite;
}

@keyframes tinrLandingFloatV6 {
  50% {
    transform: translateY(-12px);
  }
}

.tinr-landing-hero__orbit {
  position: absolute;
  z-index: 1;

  border: 1px solid rgba(250, 204, 21, .13);
  border-radius: 50%;
}

.tinr-landing-hero__orbit--one {
  width: 390px;
  height: 390px;
}

.tinr-landing-hero__orbit--two {
  width: 500px;
  height: 500px;
  border-color: rgba(96, 165, 250, .09);
}

.tinr-landing-float-card {
  position: absolute;
  z-index: 4;

  min-width: 155px;

  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 9px;

  padding: 9px 11px;

  border: 1px solid var(--lp-border);
  border-radius: 13px;

  color: var(--lp-text);
  background: color-mix(in srgb, var(--lp-surface) 92%, transparent);

  box-shadow: 0 16px 38px rgba(0, 0, 0, .24);

  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

html[data-theme="light"] .tinr-landing-float-card {
  box-shadow: 0 14px 34px rgba(15, 23, 42, .11);
}

.tinr-landing-float-card .tinr-landing-premium-icon {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}

.tinr-landing-float-card span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.tinr-landing-float-card small {
  color: var(--lp-muted);
  font-size: 7px;
  font-weight: 700;
}

.tinr-landing-float-card strong {
  color: var(--lp-text);
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
}

.tinr-landing-float-card--market {
  top: 24%;
  left: 0;
}

.tinr-landing-float-card--mover {
  right: 1%;
  bottom: 25%;
}

/* ---------------- LIVE TICKER ---------------- */

.tinr-landing-ticker-wrap {
  overflow: hidden;

  border-block: 1px solid var(--lp-border);

  background: color-mix(in srgb, var(--lp-surface) 88%, transparent);

  mask-image:
    linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.tinr-landing-ticker {
  width: max-content;

  display: flex;
  gap: 38px;

  padding: 11px 0;

  animation: tinrLandingTickerV6 28s linear infinite;
}

.tinr-landing-ticker-wrap:hover .tinr-landing-ticker {
  animation-play-state: paused;
}

.tinr-landing-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  color: var(--lp-muted);

  font-size: 9px;
  font-weight: 780;
  font-variant-numeric: tabular-nums;
}

.tinr-landing-ticker__item b {
  color: var(--lp-text);
}

.tinr-landing-ticker__item--up span,
.tinr-landing-ticker__item--up {
  color: var(--lp-green);
}

.tinr-landing-ticker__item--up b,
.tinr-landing-ticker__item--down b {
  color: var(--lp-text);
}

.tinr-landing-ticker__item--down span,
.tinr-landing-ticker__item--down {
  color: var(--lp-red);
}

@keyframes tinrLandingTickerV6 {
  to {
    transform: translateX(-50%);
  }
}

/* ---------------- TRUST STRIP ---------------- */

.tinr-landing-trust-strip {
  width: min(1180px, calc(100% - 34px));

  margin: 28px auto 0;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  overflow: hidden;

  border: 1px solid var(--lp-border);
  border-radius: 18px;

  background: var(--lp-surface);

  box-shadow: 0 12px 34px rgba(0, 0, 0, .10);
}

html[data-theme="light"] .tinr-landing-trust-strip {
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.tinr-landing-trust-item {
  min-width: 0;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 15px 16px;
}

.tinr-landing-trust-item:not(:last-child) {
  border-right: 1px solid var(--lp-border);
}

.tinr-landing-trust-item .tinr-landing-premium-icon {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
}

.tinr-landing-trust-item .tinr-landing-premium-icon svg {
  width: 17px;
  height: 17px;
}

.tinr-landing-trust-item > div {
  min-width: 0;

  display: grid;
  gap: 2px;
}

.tinr-landing-trust-item strong {
  color: var(--lp-text);
  font-size: 10px;
  font-weight: 830;
}

.tinr-landing-trust-item > div > span {
  color: var(--lp-muted);
  font-size: 7.5px;
  line-height: 1.35;
}

/* ---------------- SECTION HEAD ---------------- */

.tinr-landing-section-head {
  width: min(760px, 100%);
  margin-bottom: 24px;
}

.tinr-landing-section-head--center {
  margin-inline: auto;
  text-align: center;
}

.tinr-landing-section-head > span,
.tinr-landing-section-kicker {
  color: var(--lp-gold);

  font-size: 8px;
  font-weight: 850;
  letter-spacing: .12em;
}

.tinr-landing-section-head h2 {
  margin: 6px 0 8px;

  color: var(--lp-text);

  font-size: clamp(29px, 4vw, 44px);
  line-height: 1.06;
  font-weight: 880;
  letter-spacing: -.04em;
}

.tinr-landing-section-head p {
  margin: 0;

  color: var(--lp-muted);

  font-size: 11px;
  line-height: 1.65;
}

/* ---------------- FEATURES ---------------- */

.tinr-landing-features {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
  padding: 72px 0 34px;
}

.tinr-landing-features__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
}

.tinr-landing-feature-card {
  position: relative;

  min-height: 205px;

  overflow: hidden;

  padding: 20px;

  border: 1px solid var(--lp-border);
  border-radius: 18px;

  background:
    linear-gradient(145deg, color-mix(in srgb, var(--lp-surface-soft) 55%, transparent), transparent 55%),
    var(--lp-surface);

  box-shadow: 0 12px 30px rgba(0, 0, 0, .11);

  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

html[data-theme="light"] .tinr-landing-feature-card {
  box-shadow: 0 10px 25px rgba(15, 23, 42, .055);
}

.tinr-landing-feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(250, 204, 21, .23);
  box-shadow: var(--lp-shadow);
}

.tinr-landing-feature-card:active {
  transform: scale(.985);
}

.tinr-landing-feature-card h3 {
  margin: 19px 0 8px;

  color: var(--lp-text);

  font-size: 14px;
  font-weight: 850;
}

.tinr-landing-feature-card p {
  margin: 0;

  color: var(--lp-muted);

  font-size: 10px;
  line-height: 1.58;
}

.tinr-landing-feature-card__line {
  position: absolute;

  left: 20px;
  bottom: 0;

  width: 44px;
  height: 2px;

  border-radius: 999px;

  background: linear-gradient(90deg, var(--lp-gold), transparent);
}

/* ---------------- PLATFORM ---------------- */

.tinr-landing-platform {
  width: min(1180px, calc(100% - 34px));

  margin: 54px auto;

  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(350px, .75fr);
  align-items: center;
  gap: clamp(34px, 6vw, 82px);

  overflow: hidden;

  padding: clamp(30px, 5vw, 58px);

  border: 1px solid var(--lp-border);
  border-radius: 26px;

  background:
    radial-gradient(circle at 90% 20%, rgba(250, 204, 21, .10), transparent 250px),
    linear-gradient(140deg, color-mix(in srgb, var(--lp-surface-soft) 55%, transparent), transparent 50%),
    var(--lp-surface);

  box-shadow: var(--lp-shadow);
}

.tinr-landing-platform__content h2 {
  margin: 8px 0 12px;

  color: var(--lp-text);

  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1;
  font-weight: 890;
  letter-spacing: -.048em;
}

.tinr-landing-platform__content h2 span {
  color: var(--lp-gold);
}

.tinr-landing-platform__content > p {
  max-width: 570px;

  margin: 0;

  color: var(--lp-muted);

  font-size: 11px;
  line-height: 1.7;
}

.tinr-landing-platform__content ul {
  list-style: none;

  display: grid;
  gap: 7px;

  margin: 21px 0 0;
  padding: 0;
}

.tinr-landing-platform__content li {
  min-height: 42px;

  display: flex;
  align-items: center;
  gap: 9px;

  padding: 0 11px;

  border: 1px solid transparent;
  border-radius: 10px;

  color: var(--lp-text-soft);

  font-size: 9.5px;
  font-weight: 700;

  transition:
    background .16s ease,
    border-color .16s ease,
    transform .16s ease;
}

.tinr-landing-platform__content li:hover {
  border-color: var(--lp-border);
  background: var(--lp-surface-soft);
  transform: translateX(3px);
}

.tinr-landing-platform__content li svg {
  width: 16px;
  height: 16px;
  color: var(--lp-green);
}

.tinr-landing-platform__actions {
  display: flex;
  align-items: center;
  gap: 8px;

  margin-top: 22px;
}

.tinr-landing-market-shortcut {
  width: 49px;
  height: 49px;

  display: grid;
  place-items: center;

  border: 1px solid var(--lp-border-strong);
  border-radius: 12px;

  color: var(--lp-gold);
  background: var(--lp-surface-soft);

  cursor: pointer;

  transition:
    transform .16s ease,
    border-color .16s ease;
}

.tinr-landing-market-shortcut svg {
  width: 19px;
  height: 19px;
}

.tinr-landing-market-shortcut:hover {
  transform: translateY(-2px);
  border-color: rgba(250, 204, 21, .26);
}

.tinr-landing-market-shortcut:active {
  transform: scale(.96);
}

.tinr-landing-platform__visual {
  position: relative;

  min-height: 430px;

  display: grid;
  place-items: center;
}

.tinr-landing-platform__glow {
  position: absolute;

  width: 390px;
  height: 390px;

  border-radius: 50%;

  background:
    radial-gradient(circle, rgba(250, 204, 21, .13), transparent 68%);

  filter: blur(16px);
}

.tinr-landing-platform__phone {
  position: relative;
  z-index: 2;

  width: min(300px, 78%);
  aspect-ratio: .52;

  overflow: hidden;

  padding: 7px;

  border: 1px solid var(--lp-border-strong);
  border-radius: 34px;

  background: #030712;

  box-shadow:
    0 32px 58px rgba(0, 0, 0, .38),
    0 0 0 6px rgba(255, 255, 255, .018);

  transform: rotate(4deg);
}

.tinr-landing-platform__video {
  width: 100%;
  height: 100%;

  display: block;

  border-radius: 27px;

  object-fit: cover;
}

.tinr-landing-platform__status {
  position: absolute;
  z-index: 4;

  right: 0;
  bottom: 14%;

  min-width: 165px;

  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 2px 8px;

  padding: 10px 12px;

  border: 1px solid var(--lp-border);
  border-radius: 12px;

  background: color-mix(in srgb, var(--lp-surface) 92%, transparent);

  box-shadow: 0 14px 34px rgba(0, 0, 0, .20);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.tinr-landing-platform__status > span {
  grid-row: 1 / 3;
  align-self: center;

  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: var(--lp-green);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--lp-green) 8%, transparent);
}

.tinr-landing-platform__status strong {
  color: var(--lp-text);
  font-size: 8.5px;
}

.tinr-landing-platform__status small {
  color: var(--lp-muted);
  font-size: 6.5px;
}

/* ---------------- JOURNEY ---------------- */

.tinr-landing-journey {
  width: min(1180px, calc(100% - 34px));

  margin: 72px auto;
}

.tinr-landing-journey__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.tinr-landing-journey article {
  position: relative;

  min-height: 180px;

  padding: 19px;

  border: 1px solid var(--lp-border);
  border-radius: 17px;

  background: var(--lp-surface);

  box-shadow: 0 10px 27px rgba(0, 0, 0, .10);
}

html[data-theme="light"] .tinr-landing-journey article {
  box-shadow: 0 9px 24px rgba(15, 23, 42, .055);
}

.tinr-landing-step-number {
  position: absolute;

  top: 14px;
  right: 16px;

  color: var(--lp-muted);

  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.tinr-landing-journey h3 {
  margin: 17px 0 7px;

  color: var(--lp-text);

  font-size: 13px;
  font-weight: 850;
}

.tinr-landing-journey p {
  margin: 0;

  color: var(--lp-muted);

  font-size: 9.5px;
  line-height: 1.55;
}

/* ---------------- SECURITY ---------------- */

.tinr-landing-security {
  width: min(1180px, calc(100% - 34px));

  margin: 0 auto 62px;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  overflow: hidden;

  border: 1px solid var(--lp-border);
  border-radius: 17px;

  background: var(--lp-surface);
}

.tinr-landing-security > div {
  min-width: 0;

  display: flex;
  align-items: center;
  gap: 9px;

  padding: 15px;
}

.tinr-landing-security > div:not(:last-child) {
  border-right: 1px solid var(--lp-border);
}

.tinr-landing-security svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  color: var(--lp-gold);
}

.tinr-landing-security span {
  min-width: 0;

  display: grid;
  gap: 2px;
}

.tinr-landing-security strong {
  color: var(--lp-text);
  font-size: 9px;
}

.tinr-landing-security small {
  color: var(--lp-muted);
  font-size: 7px;
}

/* ---------------- REFERRAL ---------------- */

.tinr-landing-referral {
  width: min(1180px, calc(100% - 34px));

  margin: 0 auto 72px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  overflow: hidden;

  padding: 20px 22px;

  border: 1px solid rgba(250, 204, 21, .18);
  border-radius: 18px;

  background:
    radial-gradient(circle at 90% 40%, rgba(250, 204, 21, .12), transparent 180px),
    var(--lp-surface);

  box-shadow: 0 12px 32px rgba(0, 0, 0, .10);
}

.tinr-landing-referral > div {
  min-width: 0;

  display: flex;
  align-items: center;
  gap: 12px;
}

.tinr-landing-referral > div > span {
  min-width: 0;

  display: grid;
  gap: 3px;
}

.tinr-landing-referral small {
  color: var(--lp-gold);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .09em;
}

.tinr-landing-referral h2 {
  margin: 0;

  color: var(--lp-text);

  font-size: clamp(18px, 2.4vw, 27px);
  font-weight: 850;
  letter-spacing: -.025em;
}

.tinr-landing-referral__btn {
  min-height: 44px;

  display: inline-flex;
  align-items: center;
  gap: 7px;

  padding: 0 15px;

  border: 1px solid rgba(234, 179, 8, .30);
  border-radius: 10px;

  color: #111827;
  background: linear-gradient(135deg, #ffe66a, #facc15);

  cursor: pointer;
  font: inherit;
  font-size: 9px;
  font-weight: 850;

  white-space: nowrap;
}

.tinr-landing-referral__btn svg {
  width: 14px;
  height: 14px;
}

.tinr-landing-referral__btn:active {
  transform: scale(.97);
}

/* ---------------- FAQ ---------------- */

.tinr-landing-faq {
  width: min(900px, calc(100% - 34px));

  margin: 0 auto 82px;
}

.tinr-landing-faq__list {
  display: grid;
  gap: 8px;
}

.tinr-landing-faq__item {
  overflow: hidden;

  border: 1px solid var(--lp-border);
  border-radius: 14px;

  background: var(--lp-surface);

  transition:
    border-color .16s ease,
    box-shadow .16s ease;
}

.tinr-landing-faq__item--open {
  border-color: rgba(250, 204, 21, .22);
  box-shadow: 0 11px 28px rgba(0, 0, 0, .09);
}

.tinr-landing-faq__question {
  width: 100%;
  min-height: 58px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 0 16px;

  border: 0;

  color: var(--lp-text);
  background: transparent;

  cursor: pointer;
  font: inherit;
  text-align: left;
}

.tinr-landing-faq__question span {
  font-size: 10.5px;
  font-weight: 820;
}

.tinr-landing-faq__question svg {
  width: 16px;
  height: 16px;

  color: var(--lp-muted);

  transition: transform .18s ease;
}

.tinr-landing-faq__item--open .tinr-landing-faq__question svg {
  color: var(--lp-gold);
  transform: rotate(180deg);
}

.tinr-landing-faq__answer {
  margin: 0;
  padding: 0 16px 15px;

  color: var(--lp-muted);

  font-size: 9.5px;
  line-height: 1.6;
}

/* ---------------- REVEAL ---------------- */

.tinr-landing-reveal {
  opacity: 0;
  transform: translateY(20px);

  transition:
    opacity .55s ease,
    transform .55s ease;
}

.tinr-landing-reveal.tinr-landing-is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------- TABLET ---------------- */

@media (max-width: 1000px) {
  .tinr-landing-hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr);
    gap: 20px;

    padding-inline: 26px;
  }

  .tinr-landing-hero__content h1 {
    font-size: clamp(46px, 7vw, 70px);
  }

  .tinr-landing-hero__visual {
    min-height: 460px;
  }

  .tinr-landing-float-card--market {
    left: -4%;
  }

  .tinr-landing-float-card--mover {
    right: -3%;
  }

  .tinr-landing-features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tinr-landing-trust-strip,
  .tinr-landing-security {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tinr-landing-trust-item:nth-child(2),
  .tinr-landing-security > div:nth-child(2) {
    border-right: 0;
  }

  .tinr-landing-trust-item:nth-child(-n + 2),
  .tinr-landing-security > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--lp-border);
  }
}

/* ---------------- MOBILE ---------------- */

@media (max-width: 768px) {
  .tinr-landing-page {
    padding-bottom: calc(var(--tinr-mobile-bottom-nav-height, 88px) + 5px);
  }

  .tinr-landing-hero {
    min-height: auto;

    display: block;

    padding:
      28px
      12px
      38px;

    background-position: 63% center;
  }

  .tinr-landing-hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(5, 9, 20, .96) 0%,
        rgba(5, 9, 20, .92) 54%,
        rgba(5, 9, 20, .70) 100%
      );
  }

  html[data-theme="light"] .tinr-landing-hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(244, 247, 251, .95) 0%,
        rgba(244, 247, 251, .90) 54%,
        rgba(244, 247, 251, .70) 100%
      );
  }

  .tinr-landing-hero__content {
    max-width: 100%;
  }

  .tinr-landing-hero__badge {
    min-height: 27px;
    margin-bottom: 14px;
    font-size: 6.8px;
  }

  .tinr-landing-hero__content h1 {
    max-width: 440px;
    font-size: clamp(42px, 13vw, 62px);
  }

  .tinr-landing-hero__content > p {
    margin-top: 16px;
    font-size: 11px;
    line-height: 1.62;
  }

  .tinr-landing-hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 20px;
  }

  .tinr-landing-btn {
    min-height: 45px;
    padding-inline: 10px;
    border-radius: 11px;
    font-size: 9px;
  }

  .tinr-landing-playstore-link {
    grid-column: 1 / -1;
    width: 100%;
  }

  .tinr-landing-playstore-light-badge {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .tinr-landing-playstore-badge {
    height: 44px;
    margin: 0 auto;
  }

  .tinr-landing-hero__trust {
    gap: 7px 11px;
    margin-top: 15px;
  }

  .tinr-landing-hero__trust span {
    font-size: 7px;
  }

  .tinr-landing-hero__visual {
    min-height: 390px;
    margin-top: 11px;
  }

  .tinr-landing-hero__phone {
    width: min(94vw, 520px);
  }

  .tinr-landing-hero__orbit--one {
    width: 290px;
    height: 290px;
  }

  .tinr-landing-hero__orbit--two {
    width: 360px;
    height: 360px;
  }

  .tinr-landing-float-card {
    min-width: 132px;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 7px;
    padding: 7px 8px;
    border-radius: 11px;
  }

  .tinr-landing-float-card .tinr-landing-premium-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border-radius: 9px;
  }

  .tinr-landing-float-card .tinr-landing-premium-icon svg {
    width: 15px;
    height: 15px;
  }

  .tinr-landing-float-card--market {
    top: 17%;
    left: 0;
  }

  .tinr-landing-float-card--mover {
    right: 0;
    bottom: 20%;
  }

  .tinr-landing-ticker {
    gap: 26px;
    padding-block: 9px;
  }

  .tinr-landing-ticker__item {
    font-size: 8px;
  }

  .tinr-landing-trust-strip {
    width: calc(100% - 14px);
    margin-top: 9px;
    border-radius: 14px;
  }

  .tinr-landing-trust-item {
    padding: 12px 9px;
    gap: 7px;
  }

  .tinr-landing-trust-item .tinr-landing-premium-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    border-radius: 9px;
  }

  .tinr-landing-trust-item .tinr-landing-premium-icon svg {
    width: 14px;
    height: 14px;
  }

  .tinr-landing-trust-item strong {
    font-size: 8px;
  }

  .tinr-landing-trust-item > div > span {
    font-size: 6.3px;
  }

  .tinr-landing-features {
    width: calc(100% - 14px);
    padding-top: 44px;
  }

  .tinr-landing-section-head {
    margin-bottom: 16px;
  }

  .tinr-landing-section-head h2 {
    font-size: 28px;
  }

  .tinr-landing-section-head p {
    font-size: 9.5px;
  }

  .tinr-landing-features__grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tinr-landing-feature-card {
    min-height: 0;
    padding: 15px;
    border-radius: 14px;
  }

  .tinr-landing-feature-card h3 {
    margin-top: 14px;
    font-size: 12px;
  }

  .tinr-landing-feature-card p {
    font-size: 9px;
  }

  .tinr-landing-platform {
    width: calc(100% - 14px);

    grid-template-columns: 1fr;
    gap: 22px;

    margin-block: 34px;
    padding: 20px 15px;

    border-radius: 18px;
  }

  .tinr-landing-platform__content h2 {
    font-size: 32px;
  }

  .tinr-landing-platform__content > p {
    font-size: 9.5px;
  }

  .tinr-landing-platform__content li {
    min-height: 38px;
    font-size: 8.5px;
  }

  .tinr-landing-platform__visual {
    min-height: 385px;
  }

  .tinr-landing-platform__phone {
    width: min(270px, 76%);
  }

  .tinr-landing-platform__status {
    right: 3%;
  }

  .tinr-landing-journey {
    width: calc(100% - 14px);
    margin-block: 44px;
  }

  .tinr-landing-journey__grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tinr-landing-journey article {
    min-height: 0;
    padding: 15px;
    border-radius: 14px;
  }

  .tinr-landing-journey h3 {
    margin-top: 13px;
  }

  .tinr-landing-security {
    width: calc(100% - 14px);
    margin-bottom: 38px;
    border-radius: 14px;
  }

  .tinr-landing-security > div {
    padding: 12px 9px;
    gap: 7px;
  }

  .tinr-landing-security strong {
    font-size: 7.5px;
  }

  .tinr-landing-security small {
    font-size: 6.2px;
  }

  .tinr-landing-referral {
    width: calc(100% - 14px);

    align-items: stretch;
    flex-direction: column;

    margin-bottom: 46px;
    padding: 15px;

    border-radius: 15px;
  }

  .tinr-landing-referral h2 {
    font-size: 19px;
  }

  .tinr-landing-referral__btn {
    width: 100%;
    justify-content: center;
  }

  .tinr-landing-faq {
    width: calc(100% - 14px);
    margin-bottom: 46px;
  }

  .tinr-landing-faq__question {
    min-height: 54px;
    padding-inline: 13px;
  }

  .tinr-landing-faq__question span {
    font-size: 9px;
  }

  .tinr-landing-faq__answer {
    padding-inline: 13px;
    font-size: 8.5px;
  }
}

@media (max-width: 390px) {
  .tinr-landing-hero {
    padding-inline: 8px;
  }

  .tinr-landing-hero__content h1 {
    font-size: 42px;
  }

  .tinr-landing-hero__visual {
    min-height: 350px;
  }

  .tinr-landing-float-card {
    min-width: 120px;
  }

  .tinr-landing-float-card strong {
    font-size: 8.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tinr-landing-page *,
  .tinr-landing-page *::before,
  .tinr-landing-page *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .tinr-landing-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================
   TradeINR Footer
   Fully scoped: all component classes use tinr-footer prefix
   ========================================================= */

.tinr-footer {
  --tf-bg: #05080f;
  --tf-surface: #0b111c;
  --tf-surface-hover: #111a29;
  --tf-border: rgba(255, 255, 255, 0.085);
  --tf-border-strong: rgba(246, 201, 14, 0.24);
  --tf-text: #f4f7fb;
  --tf-muted: #8f9bad;
  --tf-muted-light: #b8c1cf;
  --tf-accent: #f6c90e;
  --tf-green: #22d3a0;

  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 72px max(24px, calc((100vw - 1240px) / 2)) 28px;
  color: var(--tf-text);
  background:
    radial-gradient(circle at 10% 0%, rgba(246, 201, 14, 0.055), transparent 24rem),
    radial-gradient(circle at 95% 45%, rgba(37, 99, 235, 0.055), transparent 25rem),
    var(--tf-bg);
  border-top: 1px solid var(--tf-border);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tinr-footer *,
.tinr-footer *::before,
.tinr-footer *::after {
  box-sizing: border-box;
}

/* ---------- Link grid ---------- */
.tinr-footer__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
  padding-bottom: 52px;
}

.tinr-footer__column {
  min-width: 0;
}

.tinr-footer__column h4 {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.tinr-footer__column h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  border-radius: 10px;
  background: var(--tf-accent);
}

.tinr-footer__column p {
  margin: 0;
  color: var(--tf-muted);
  font-size: 13px;
  line-height: 1.55;
}

.tinr-footer__link {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 10px;
  color: var(--tf-muted);
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.tinr-footer__link p {
  transition: color 0.2s ease;
}

.tinr-footer__link:hover {
  transform: translateX(4px);
}

.tinr-footer__link:hover p {
  color: var(--tf-accent);
}

.tinr-footer__link:focus-visible,
.tinr-footer__social-link:focus-visible {
  outline: 2px solid var(--tf-accent);
  outline-offset: 4px;
  border-radius: 6px;
}

/* Non-link product items */
.tinr-footer__column > p {
  margin-bottom: 10px;
  cursor: default;
}

/* ---------- Contact area ---------- */
.tinr-footer__contact {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 30px 32px;
  border: 1px solid var(--tf-border);
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 38, 0.86),
    rgba(8, 13, 23, 0.82)
  );
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.16);
}

.tinr-footer__contact-left h4,
.tinr-footer__contact-right h4 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.tinr-footer__contact-left p {
  margin: 0;
  color: var(--tf-muted-light);
  font-size: 14px;
  line-height: 1.6;
}

.tinr-footer__contact-left p::before {
  content: "✉";
  margin-right: 9px;
  color: var(--tf-accent);
  font-size: 13px;
}

.tinr-footer__contact-right {
  text-align: right;
}

.tinr-footer__socials {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.tinr-footer__social-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  border: 1px solid var(--tf-border);
  border-radius: 12px;
  color: #dce3ec;
  background: rgba(255, 255, 255, 0.035);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    transform 0.2s ease,
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.tinr-footer__social-link svg {
  font-size: 17px;
}

.tinr-footer__social-link:hover {
  color: #090b0f;
  background: var(--tf-accent);
  border-color: var(--tf-accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(246, 201, 14, 0.16);
}

/* ---------- Legal / disclaimer ---------- */
.tinr-footer__legal {
  position: relative;
  margin-top: 34px;
  padding: 25px 0 0;
  border-top: 1px solid var(--tf-border);
}

.tinr-footer__legal::before {
  content: "Risk Disclosure";
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 5px 9px;
  border: 1px solid rgba(246, 201, 14, 0.16);
  border-radius: 6px;
  color: #e6cc5a;
  background: rgba(246, 201, 14, 0.045);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tinr-footer__legal p {
  max-width: 1100px;
  margin: 5px 0;
  color: #687588;
  font-size: 11.5px;
  line-height: 1.65;
}

.tinr-footer__legal p:first-of-type {
  color: #8995a6;
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .tinr-footer {
    padding: 62px 40px 26px;
  }

  .tinr-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 38px 30px;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .tinr-footer {
    padding: 50px 18px 88px;
  }

  .tinr-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 22px;
    padding-bottom: 38px;
  }

  .tinr-footer__column h4 {
    margin-bottom: 16px;
    font-size: 13px;
  }

  .tinr-footer__column p,
  .tinr-footer__link {
    font-size: 12px;
  }

  .tinr-footer__contact {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 20px;
    text-align: center;
  }

  .tinr-footer__contact-left,
  .tinr-footer__contact-right {
    text-align: center;
  }

  .tinr-footer__socials {
    justify-content: center;
  }

  .tinr-footer__legal {
    text-align: center;
  }

  .tinr-footer__legal::before {
    margin-inline: auto;
  }

  .tinr-footer__legal p {
    margin-inline: auto;
  }
}

/* ---------- Small phones ---------- */
@media (max-width: 480px) {
  .tinr-footer {
    padding-inline: 16px;
  }

  .tinr-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 16px;
  }

  .tinr-footer__column {
    min-width: 0;
  }

  .tinr-footer__column h4 {
    font-size: 13px;
  }

  .tinr-footer__column p,
  .tinr-footer__link {
    overflow-wrap: anywhere;
    font-size: 11.5px;
  }

  .tinr-footer__contact {
    border-radius: 15px;
  }

  .tinr-footer__social-link {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .tinr-footer__legal p {
    font-size: 10.5px;
    line-height: 1.65;
  }
}

/* ---------- Very small phones ---------- */
@media (max-width: 350px) {
  .tinr-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .tinr-footer *,
  .tinr-footer *::before,
  .tinr-footer *::after {
    transition-duration: 0.01ms !important;
  }
}


/* =========================================================
   LIGHT THEME — TradeINR Footer
   Existing dark theme remains unchanged.
   ========================================================= */
html[data-theme="light"] .tinr-footer {
  --tf-bg: #f5f7fb;
  --tf-surface: #ffffff;
  --tf-surface-hover: #f8fafc;
  --tf-border: rgba(15, 23, 42, 0.11);
  --tf-border-strong: rgba(202, 138, 4, 0.25);
  --tf-text: #111827;
  --tf-muted: #64748b;
  --tf-muted-light: #475569;
  --tf-accent: #eab308;
  --tf-green: #059669;

  background:
    radial-gradient(circle at 10% 0%, rgba(234, 179, 8, 0.09), transparent 24rem),
    radial-gradient(circle at 95% 45%, rgba(37, 99, 235, 0.055), transparent 25rem),
    var(--tf-bg);
}

/* Column headings */
html[data-theme="light"] .tinr-footer__column h4,
html[data-theme="light"] .tinr-footer__contact-left h4,
html[data-theme="light"] .tinr-footer__contact-right h4 {
  color: #172033;
}

/* Contact panel */
html[data-theme="light"] .tinr-footer__contact {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(248, 250, 252, 0.96)
  );
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
}

/* Social buttons */
html[data-theme="light"] .tinr-footer__social-link {
  color: #334155;
  background: #ffffff;
  box-shadow:
    0 6px 18px rgba(15, 23, 42, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

html[data-theme="light"] .tinr-footer__social-link:hover {
  color: #111827;
  background: var(--tf-accent);
  border-color: var(--tf-accent);
}

/* Risk disclosure */
html[data-theme="light"] .tinr-footer__legal::before {
  color: #806600;
  background: rgba(234, 179, 8, 0.09);
  border-color: rgba(202, 138, 4, 0.22);
}

html[data-theme="light"] .tinr-footer__legal p {
  color: #64748b;
}

html[data-theme="light"] .tinr-footer__legal p:first-of-type {
  color: #475569;
}
/* ==========================================================
   TradeINR Premium Mobile Navigation V4
   Floating exchange dock with elevated Trade action.
   Unique scope: tinr-premium-mobile-nav*
   ========================================================== */

:root {
  --tinr-mobile-bottom-nav-height:
    calc(88px + env(safe-area-inset-bottom, 0px));
}

.tinr-premium-mobile-nav {
  display: none;
}

@media (max-width: 768px) {
  .tinr-premium-mobile-nav {
    position: fixed;
    z-index: 9500;

    left: 50%;
    bottom: calc(7px + env(safe-area-inset-bottom, 0px));

    width: min(calc(100vw - 14px), 540px);
    height: 72px;

    display: block;

    transform: translateX(-50%);

    pointer-events: none;
  }

  .tinr-premium-mobile-nav__rail {
    position: relative;

    width: 100%;
    height: 100%;

    display: grid;
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr)
      minmax(0, 1.12fr)
      minmax(0, 1fr)
      minmax(0, 1fr)
      minmax(0, 1fr);
    align-items: center;

    padding: 7px 6px;

    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 22px;

    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, .97),
        rgba(248, 250, 252, .965)
      );

    box-shadow:
      0 -2px 0 rgba(255, 255, 255, .85) inset,
      0 16px 40px rgba(15, 23, 42, .16);

    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);

    pointer-events: auto;
  }

  html[data-theme="dark"] .tinr-premium-mobile-nav__rail {
    border-color: rgba(148, 163, 184, .17);

    background:
      linear-gradient(
        180deg,
        rgba(12, 22, 40, .975),
        rgba(6, 15, 28, .975)
      );

    box-shadow:
      0 1px 0 rgba(255, 255, 255, .025) inset,
      0 18px 46px rgba(0, 0, 0, .42);
  }

  .tinr-premium-mobile-nav__glow {
    position: absolute;

    left: 50%;
    bottom: 4px;

    width: 72%;
    height: 48px;

    border-radius: 50%;

    background:
      radial-gradient(
        ellipse at center,
        rgba(250, 204, 21, .14),
        transparent 68%
      );

    filter: blur(13px);

    transform: translateX(-50%);

    pointer-events: none;
  }

  html[data-theme="dark"] .tinr-premium-mobile-nav__glow {
    background:
      radial-gradient(
        ellipse at center,
        rgba(250, 204, 21, .12),
        transparent 68%
      );
  }

  .tinr-premium-mobile-nav__item {
    position: relative;

    min-width: 0;
    height: 56px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;

    margin: 0;
    padding: 3px 1px;

    border: 0;
    border-radius: 14px;

    color: #738096;
    background: transparent;

    cursor: pointer;
    font: inherit;

    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;

    transition:
      color .16s ease,
      background .16s ease,
      transform .16s ease;
  }

  html[data-theme="dark"]
    .tinr-premium-mobile-nav__item {
    color: #8290a6;
  }

  .tinr-premium-mobile-nav__icon {
    width: 27px;
    height: 27px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    transition:
      transform .16s ease,
      background .16s ease,
      box-shadow .16s ease;
  }

  .tinr-premium-mobile-nav__icon svg {
    width: 20px;
    height: 20px;

    stroke-width: 1.8;
  }

  .tinr-premium-mobile-nav__label {
    max-width: 100%;

    overflow: hidden;

    font-size: 8px;
    font-weight: 760;
    line-height: 1;

    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .tinr-premium-mobile-nav__indicator {
    position: absolute;

    bottom: 3px;
    left: 50%;

    width: 4px;
    height: 4px;

    border-radius: 999px;

    background: transparent;

    transform: translateX(-50%);

    transition:
      width .16s ease,
      background .16s ease,
      box-shadow .16s ease;
  }

  .tinr-premium-mobile-nav__item--active:not(
      .tinr-premium-mobile-nav__item--primary
    ) {
    color: #a86f00;

    background:
      linear-gradient(
        180deg,
        rgba(250, 204, 21, .095),
        rgba(250, 204, 21, .045)
      );
  }

  html[data-theme="dark"]
    .tinr-premium-mobile-nav__item--active:not(
      .tinr-premium-mobile-nav__item--primary
    ) {
    color: #facc15;

    background:
      linear-gradient(
        180deg,
        rgba(250, 204, 21, .09),
        rgba(250, 204, 21, .035)
      );
  }

  .tinr-premium-mobile-nav__item--active:not(
      .tinr-premium-mobile-nav__item--primary
    )
    .tinr-premium-mobile-nav__icon {
    transform: translateY(-1px);
  }

  .tinr-premium-mobile-nav__item--active:not(
      .tinr-premium-mobile-nav__item--primary
    )
    .tinr-premium-mobile-nav__indicator {
    width: 14px;

    background: #eab308;

    box-shadow:
      0 0 10px rgba(234, 179, 8, .38);
  }

  /* ---------- Elevated Trade action ---------- */

  .tinr-premium-mobile-nav__item--primary {
    height: 70px;

    margin-top: -20px;

    color: #111827;

    overflow: visible;
  }

  .tinr-premium-mobile-nav__item--primary
    .tinr-premium-mobile-nav__icon {
    width: 47px;
    height: 47px;

    border: 1px solid rgba(217, 164, 6, .42);
    border-radius: 16px;

    color: #151515;

    background:
      linear-gradient(
        145deg,
        #ffe66a 0%,
        #facc15 50%,
        #eab308 100%
      );

    box-shadow:
      0 9px 22px rgba(234, 179, 8, .27),
      0 0 0 5px rgba(255, 255, 255, .91);
  }

  html[data-theme="dark"]
    .tinr-premium-mobile-nav__item--primary
    .tinr-premium-mobile-nav__icon {
    box-shadow:
      0 10px 24px rgba(250, 204, 21, .20),
      0 0 0 5px rgba(7, 16, 29, .94);
  }

  .tinr-premium-mobile-nav__item--primary
    .tinr-premium-mobile-nav__icon svg {
    width: 25px;
    height: 25px;

    stroke-width: 1.9;
  }

  .tinr-premium-mobile-nav__item--primary
    .tinr-premium-mobile-nav__label {
    margin-top: 1px;

    color: #a56f00;

    font-size: 8.5px;
    font-weight: 860;
  }

  html[data-theme="dark"]
    .tinr-premium-mobile-nav__item--primary
    .tinr-premium-mobile-nav__label {
    color: #facc15;
  }

  .tinr-premium-mobile-nav__item--primary.tinr-premium-mobile-nav__item--active
    .tinr-premium-mobile-nav__icon {
    transform: translateY(-2px) scale(1.045);

    box-shadow:
      0 12px 28px rgba(234, 179, 8, .34),
      0 0 0 5px rgba(255, 255, 255, .94),
      0 0 24px rgba(250, 204, 21, .20);
  }

  html[data-theme="dark"]
    .tinr-premium-mobile-nav__item--primary.tinr-premium-mobile-nav__item--active
    .tinr-premium-mobile-nav__icon {
    box-shadow:
      0 12px 28px rgba(250, 204, 21, .25),
      0 0 0 5px rgba(7, 16, 29, .96),
      0 0 24px rgba(250, 204, 21, .14);
  }

  .tinr-premium-mobile-nav__item:active {
    transform: scale(.94);
  }

  .tinr-premium-mobile-nav__item--primary:active {
    transform: scale(.97);
  }

  /* Leave enough scroll space for the floating nav. */
  .main-content,
  .tinr-user-theme-surface {
    padding-bottom:
      calc(var(--tinr-mobile-bottom-nav-height) + 5px) !important;
  }

  /* The fixed Buy/Sell dock on Trade reads the same variable,
     so it will automatically sit above this premium dock. */
  .tinr-trade-page {
    scroll-padding-bottom:
      calc(var(--tinr-mobile-bottom-nav-height) + 84px);
  }
}

@media (max-width: 380px) {
  .tinr-premium-mobile-nav {
    width: calc(100vw - 8px);
  }

  .tinr-premium-mobile-nav__rail {
    padding-inline: 3px;

    border-radius: 18px;
  }

  .tinr-premium-mobile-nav__label {
    font-size: 7.2px;
  }

  .tinr-premium-mobile-nav__icon svg {
    width: 18px;
    height: 18px;
  }

  .tinr-premium-mobile-nav__item--primary
    .tinr-premium-mobile-nav__icon {
    width: 44px;
    height: 44px;
  }
}

@media (min-width: 769px) {
  .tinr-premium-mobile-nav {
    display: none !important;
  }
}
/* ==========================================================
   TradeINR Mobile App Polish V4
   Small app-level refinements. No business logic.
   ========================================================== */

@media (max-width: 768px) {
  html {
    background: var(--tinr-bg, #f4f7fb);

    overscroll-behavior-y: auto;
  }

  body {
    min-height: 100dvh;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    overscroll-behavior-y: auto;
  }

  button,
  a,
  input,
  select,
  textarea {
    -webkit-tap-highlight-color: transparent;
  }

  button,
  a {
    touch-action: manipulation;
  }

  .tinr-user-theme-surface {
    min-height: 100dvh;

    background:
      radial-gradient(
        circle at 10% 0%,
        rgba(250, 204, 21, .045),
        transparent 220px
      ),
      radial-gradient(
        circle at 100% 22%,
        rgba(37, 99, 235, .035),
        transparent 260px
      ),
      var(--tinr-bg, #f4f7fb);
  }

  html[data-theme="dark"]
    .tinr-user-theme-surface {
    background:
      radial-gradient(
        circle at 10% 0%,
        rgba(250, 204, 21, .04),
        transparent 220px
      ),
      radial-gradient(
        circle at 100% 22%,
        rgba(34, 211, 238, .025),
        transparent 260px
      ),
      var(--tinr-bg, #030712);
  }

  /* Cleaner mobile scrollbars where scroll areas are intentionally visible. */
  .tinr-user-theme-surface * {
    scrollbar-width: thin;
    scrollbar-color:
      rgba(100, 116, 139, .35)
      transparent;
  }

  /* Native-feeling focus treatment for keyboard / accessibility use. */
  .tinr-user-theme-surface
    :focus-visible {
    outline: 2px solid rgba(234, 179, 8, .55);
    outline-offset: 2px;
  }

  /* Prevent iOS input zoom while retaining compact UI. */
  .tinr-user-theme-surface
    input,
  .tinr-user-theme-surface
    select,
  .tinr-user-theme-surface
    textarea {
    font-size: max(16px, 1em);
  }

  /* Component CSS may set its own font-size; restore compact appearance
     through scale-independent line height rather than transforms. */
  .tinr-user-theme-surface
    input::placeholder,
  .tinr-user-theme-surface
    textarea::placeholder {
    opacity: .72;
  }
}

/* ==========================================================
   FINAL MOBILE DOCUMENT SCROLL FIX V13
   Loaded through MobileBottomNav -> MobileAppPolish.css.
   This is intentionally global because App.css is not guaranteed
   to be imported by the current frontend entry file.
   ========================================================== */
@media (max-width: 768px) {
  html {
    width: 100% !important;
    height: auto !important;
    min-height: 100% !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;

    overscroll-behavior-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  body {
    position: static !important;

    width: 100% !important;
    height: auto !important;
    min-height: 100dvh !important;
    max-height: none !important;

    margin: 0 !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;

    overscroll-behavior-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  #root {
    position: relative !important;

    width: 100% !important;
    height: auto !important;
    min-height: 100dvh !important;
    max-height: none !important;

    overflow: visible !important;
  }

  .main-content,
  .tinr-app-main,
  .tinr-user-theme-surface {
    position: relative;

    width: 100% !important;
    height: auto !important;
    min-height: 100dvh !important;
    max-height: none !important;

    overflow-x: hidden !important;
    overflow-y: visible !important;
  }

  .tinr-user-theme-surface {
    padding-bottom:
      calc(var(--tinr-mobile-bottom-nav-height, 88px) + 18px) !important;
  }

  /* Do not let old global "height:100%" rules trap the app in one viewport. */
  html[style],
  body[style],
  #root[style] {
    height: auto !important;
    max-height: none !important;
  }
}
/* ==========================================================
   TradeINR Support Center
   Unique scope: tinr-support-*
   Light + Dark
   ========================================================== */

.tinr-support-page {
  --ts-bg: #f4f7fb;
  --ts-surface: #ffffff;
  --ts-surface-soft: #f8fafc;
  --ts-text: #101828;
  --ts-text-soft: #344054;
  --ts-muted: #667085;
  --ts-border: #dfe5ee;
  --ts-yellow: #d6a800;
  --ts-green: #059669;
  --ts-cyan: #0891b2;
  --ts-shadow: 0 18px 50px rgba(15, 23, 42, .10);

  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 44px 22px 64px;

  color: var(--ts-text);
  background:
    radial-gradient(circle at 16% 0%, rgba(250, 204, 21, .08), transparent 24rem),
    radial-gradient(circle at 88% 14%, rgba(14, 165, 233, .06), transparent 26rem),
    var(--ts-bg);
}

html[data-theme="dark"] .tinr-support-page {
  --ts-bg: #030712;
  --ts-surface: #0b1220;
  --ts-surface-soft: #111b2d;
  --ts-text: #f8fafc;
  --ts-text-soft: #d5deea;
  --ts-muted: #94a3b8;
  --ts-border: rgba(148, 163, 184, .16);
  --ts-yellow: #facc15;
  --ts-green: #22d3a0;
  --ts-cyan: #22d3ee;
  --ts-shadow: 0 20px 55px rgba(0, 0, 0, .32);
}

.tinr-support-page *,
.tinr-support-page *::before,
.tinr-support-page *::after {
  box-sizing: border-box;
}

.tinr-support-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.tinr-support-heading {
  width: min(720px, 100%);
  margin: 0 auto 30px;
  text-align: center;
}

.tinr-support-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border: 1px solid rgba(234, 179, 8, .28);
  border-radius: 999px;
  color: var(--ts-yellow);
  background: rgba(250, 204, 21, .07);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .12em;
}

.tinr-support-heading h1 {
  margin: 12px 0 8px;
  color: var(--ts-text);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
  font-weight: 880;
  letter-spacing: -.045em;
}

.tinr-support-heading p {
  margin: 0 auto;
  max-width: 620px;
  color: var(--ts-muted);
  font-size: 13px;
  line-height: 1.65;
}

.tinr-support-grid {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: stretch;
}

.tinr-support-info-card,
.tinr-support-form-card {
  border: 1px solid var(--ts-border);
  border-radius: 20px;
  background: var(--ts-surface);
  box-shadow: var(--ts-shadow);
}

.tinr-support-info-card {
  padding: 22px;
}

.tinr-support-info-head {
  display: grid;
  gap: 3px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ts-border);
}

.tinr-support-info-head span,
.tinr-support-form-title > span {
  color: var(--ts-yellow);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.tinr-support-info-head strong {
  color: var(--ts-text);
  font-size: 17px;
  letter-spacing: -.02em;
}

.tinr-support-info-list {
  display: grid;
}

.tinr-support-info-row {
  display: grid;
  gap: 4px;
  padding: 13px 0;
  border-bottom: 1px solid var(--ts-border);
}

.tinr-support-info-row span {
  color: var(--ts-muted);
  font-size: 9px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.tinr-support-info-row strong {
  color: var(--ts-text-soft);
  font-size: 11px;
  font-weight: 720;
  overflow-wrap: anywhere;
}

.tinr-support-note {
  margin-top: 18px;
  padding: 13px 14px;
  border: 1px solid rgba(250, 204, 21, .20);
  border-radius: 12px;
  color: var(--ts-text-soft);
  background: rgba(250, 204, 21, .055);
  font-size: 9.5px;
  line-height: 1.55;
}

.tinr-support-form-card {
  padding: 22px;
}

.tinr-support-form-title {
  display: grid;
  gap: 3px;
  margin-bottom: 17px;
}

.tinr-support-form-title h2 {
  margin: 0;
  color: var(--ts-text);
  font-size: 21px;
  font-weight: 840;
  letter-spacing: -.025em;
}

.tinr-support-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tinr-support-field {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.tinr-support-field > span {
  color: var(--ts-muted);
  font-size: 9px;
  font-weight: 780;
}

.tinr-support-field input,
.tinr-support-field textarea {
  width: 100%;
  margin: 0;
  border: 1px solid var(--ts-border);
  border-radius: 11px;
  outline: 0;
  color: var(--ts-text);
  background: var(--ts-surface-soft);
  font: inherit;
  font-size: 11px;
  transition:
    border-color .16s ease,
    box-shadow .16s ease,
    background .16s ease;
}

.tinr-support-field input {
  height: 44px;
  padding: 0 12px;
}

.tinr-support-field textarea {
  min-height: 135px;
  resize: vertical;
  padding: 12px;
  line-height: 1.55;
}

.tinr-support-field input::placeholder,
.tinr-support-field textarea::placeholder {
  color: var(--ts-muted);
  opacity: .76;
}

.tinr-support-field input:focus,
.tinr-support-field textarea:focus {
  border-color: rgba(234, 179, 8, .42);
  background: var(--ts-surface);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, .08);
}

.tinr-support-field--message {
  margin-top: 12px;
}

.tinr-support-upload {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px dashed var(--ts-border);
  border-radius: 12px;
  background: var(--ts-surface-soft);
}

.tinr-support-upload-copy {
  display: grid;
  gap: 2px;
}

.tinr-support-upload-copy strong {
  color: var(--ts-text);
  font-size: 10px;
}

.tinr-support-upload-copy small {
  color: var(--ts-muted);
  font-size: 8px;
}

.tinr-support-upload-control {
  min-width: 0;
}

.tinr-support-upload input[type="file"] {
  max-width: 250px;
  color: var(--ts-muted);
  font-size: 9px;
}

.tinr-support-upload input[type="file"]::file-selector-button {
  min-height: 34px;
  margin-right: 9px;
  padding: 0 11px;
  border: 1px solid var(--ts-border);
  border-radius: 8px;
  color: var(--ts-text);
  background: var(--ts-surface);
  cursor: pointer;
  font-weight: 750;
}

.tinr-support-submit {
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  border: 1px solid rgba(234, 179, 8, .28);
  border-radius: 11px;
  color: #111827;
  background: linear-gradient(135deg, #fde047, #facc15);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  box-shadow: 0 11px 24px rgba(250, 204, 21, .13);
}

.tinr-support-submit:disabled {
  cursor: not-allowed;
  opacity: .65;
}

@media (max-width: 860px) {
  .tinr-support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .tinr-support-page {
    min-height: 100dvh;
    padding: 20px 10px calc(var(--tinr-mobile-bottom-nav-height, 76px) + 20px);
  }

  .tinr-support-heading {
    margin-bottom: 18px;
    text-align: left;
  }

  .tinr-support-heading h1 {
    font-size: 29px;
  }

  .tinr-support-heading p {
    margin: 0;
    font-size: 11px;
  }

  .tinr-support-info-card,
  .tinr-support-form-card {
    border-radius: 16px;
    padding: 15px;
  }

  .tinr-support-form-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tinr-support-field--message {
    margin-top: 10px;
  }

  .tinr-support-upload {
    align-items: stretch;
    flex-direction: column;
  }

  .tinr-support-upload input[type="file"] {
    max-width: 100%;
    width: 100%;
  }
}
/* ==========================================================
   TradeINR Refer & Earn — Premium Light / Dark
   Unique scope: tinr-refer-*
   ========================================================== */

.tinr-refer-page {
  --tr-bg: #f4f7fb;
  --tr-surface: #ffffff;
  --tr-surface-soft: #f8fafc;
  --tr-text: #101828;
  --tr-text-soft: #344054;
  --tr-muted: #667085;
  --tr-border: #dfe5ee;
  --tr-yellow: #eab308;
  --tr-green: #059669;
  --tr-orange: #d97706;
  --tr-shadow: 0 18px 48px rgba(15, 23, 42, .08);

  width: 100%;
  min-height: 100vh;
  padding: 26px 16px calc(var(--tinr-mobile-bottom-nav-height, 76px) + 34px);
  color: var(--tr-text);
  background:
    radial-gradient(circle at 10% 0%, rgba(250, 204, 21, .10), transparent 27rem),
    radial-gradient(circle at 93% 14%, rgba(34, 211, 238, .05), transparent 28rem),
    var(--tr-bg);
}

html[data-theme="dark"] .tinr-refer-page {
  --tr-bg: #030712;
  --tr-surface: #0b1220;
  --tr-surface-soft: #111b2d;
  --tr-text: #f8fafc;
  --tr-text-soft: #d7dfeb;
  --tr-muted: #94a3b8;
  --tr-border: rgba(148, 163, 184, .16);
  --tr-yellow: #facc15;
  --tr-green: #22d3a0;
  --tr-orange: #f59e0b;
  --tr-shadow: 0 20px 55px rgba(0, 0, 0, .30);
}

.tinr-refer-page *,
.tinr-refer-page *::before,
.tinr-refer-page *::after {
  box-sizing: border-box;
}

.tinr-refer-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.tinr-refer-back {
  min-height: 35px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 13px;
  padding: 0 11px;
  border: 1px solid var(--tr-border);
  border-radius: 10px;
  color: var(--tr-text-soft);
  background: var(--tr-surface);
  cursor: pointer;
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  box-shadow: 0 5px 16px var(--tr-shadow);
}

/* Hero */
.tinr-refer-hero {
  min-height: 175px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  overflow: hidden;
  margin-bottom: 12px;
  padding: 24px;
  border: 1px solid var(--tr-border);
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 40%, rgba(250, 204, 21, .16), transparent 190px),
    linear-gradient(135deg, color-mix(in srgb, var(--tr-surface-soft) 50%, transparent), transparent 60%),
    var(--tr-surface);
  box-shadow: var(--tr-shadow);
}

.tinr-refer-hero__copy {
  min-width: 0;
}

.tinr-refer-eyebrow,
.tinr-refer-share-card__head > div > span,
.tinr-refer-list-card__head > div > span {
  color: var(--tr-yellow);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .11em;
}

.tinr-refer-hero h1 {
  margin: 8px 0 8px;
  color: var(--tr-text);
  font-size: clamp(31px, 4vw, 46px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.045em;
}

.tinr-refer-hero p {
  max-width: 620px;
  margin: 0;
  color: var(--tr-muted);
  font-size: 11px;
  line-height: 1.65;
}

.tinr-refer-hero__badge {
  min-width: 205px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px;
  border: 1px solid rgba(234, 179, 8, .22);
  border-radius: 15px;
  background: rgba(250, 204, 21, .07);
}

.tinr-refer-hero__badge > svg {
  width: 28px;
  height: 28px;
  color: var(--tr-yellow);
}

.tinr-refer-hero__badge > span {
  display: grid;
  gap: 3px;
}

.tinr-refer-hero__badge small {
  color: var(--tr-muted);
  font-size: 7px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.tinr-refer-hero__badge strong {
  color: var(--tr-text);
  font-size: 22px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

/* Share */
.tinr-refer-share-card,
.tinr-refer-list-card {
  border: 1px solid var(--tr-border);
  border-radius: 18px;
  background: var(--tr-surface);
  box-shadow: 0 10px 28px var(--tr-shadow);
}

.tinr-refer-share-card {
  margin-bottom: 12px;
  padding: 18px;
}

.tinr-refer-share-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.tinr-refer-share-card__head h2,
.tinr-refer-list-card__head h2 {
  margin: 3px 0 0;
  color: var(--tr-text);
  font-size: 18px;
  font-weight: 860;
}

.tinr-refer-share-card__head > svg {
  width: 23px;
  height: 23px;
  color: var(--tr-yellow);
}

.tinr-refer-share-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 10px;
}

.tinr-refer-share-field {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.tinr-refer-share-field > span {
  color: var(--tr-muted);
  font-size: 8px;
  font-weight: 800;
}

.tinr-refer-share-control {
  min-width: 0;
  min-height: 47px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 5px 5px 5px 11px;
  border: 1px solid var(--tr-border);
  border-radius: 11px;
  background: var(--tr-surface-soft);
}

.tinr-refer-share-control strong {
  min-width: 0;
  overflow: hidden;
  color: var(--tr-text-soft);
  font-size: 9px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tinr-refer-share-control__link {
  font-size: 8px !important;
}

.tinr-refer-share-control button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  border: 1px solid rgba(234, 179, 8, .22);
  border-radius: 8px;
  color: #111827;
  background: linear-gradient(135deg, #fde047, #facc15);
  cursor: pointer;
  font: inherit;
  font-size: 7.5px;
  font-weight: 850;
}

.tinr-refer-share-control button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* Stats */
.tinr-refer-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.tinr-refer-stats article {
  min-width: 0;
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--tr-border);
  border-radius: 15px;
  background: var(--tr-surface);
  box-shadow: 0 8px 23px var(--tr-shadow);
}

.tinr-refer-stats__icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--tr-green);
  background: color-mix(in srgb, var(--tr-green) 8%, transparent);
}

.tinr-refer-stats__icon--pending {
  color: var(--tr-orange);
  background: color-mix(in srgb, var(--tr-orange) 8%, transparent);
}

.tinr-refer-stats__icon--reward {
  color: var(--tr-yellow);
  background: rgba(250, 204, 21, .07);
}

.tinr-refer-stats__icon svg {
  width: 20px;
  height: 20px;
}

.tinr-refer-stats article > div:last-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.tinr-refer-stats small {
  color: var(--tr-muted);
  font-size: 7.5px;
  font-weight: 750;
}

.tinr-refer-stats strong {
  color: var(--tr-text);
  font-size: 19px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

/* Referral list */
.tinr-refer-list-card {
  overflow: hidden;
}

.tinr-refer-list-card__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 18px 13px;
  border-bottom: 1px solid var(--tr-border);
}

.tinr-refer-count {
  min-width: 29px;
  min-height: 25px;
  display: grid;
  place-items: center;
  padding: 0 8px;
  border: 1px solid var(--tr-border);
  border-radius: 999px;
  color: var(--tr-muted);
  background: var(--tr-surface-soft);
  font-size: 8px;
  font-weight: 850;
}

.tinr-refer-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.tinr-refer-table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
}

.tinr-refer-table th {
  padding: 11px 13px;
  color: var(--tr-muted);
  background: var(--tr-surface-soft);
  font-size: 7.5px;
  font-weight: 850;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .045em;
}

.tinr-refer-table td {
  padding: 12px 13px;
  border-top: 1px solid var(--tr-border);
  color: var(--tr-text-soft);
  font-size: 8.5px;
  vertical-align: middle;
}

.tinr-refer-table tbody tr:hover {
  background: color-mix(in srgb, var(--tr-surface-soft) 60%, transparent);
}

.tinr-refer-status {
  width: fit-content;
  max-width: 160px;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 7px;
  font-weight: 800;
  overflow: hidden;
}

.tinr-refer-status svg {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
}

.tinr-refer-status--done {
  color: var(--tr-green);
  border: 1px solid color-mix(in srgb, var(--tr-green) 20%, transparent);
  background: color-mix(in srgb, var(--tr-green) 7%, transparent);
}

.tinr-refer-status--pending {
  color: var(--tr-orange);
  border: 1px solid color-mix(in srgb, var(--tr-orange) 20%, transparent);
  background: color-mix(in srgb, var(--tr-orange) 7%, transparent);
}

.tinr-refer-empty {
  min-height: 190px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 25px;
  color: var(--tr-muted);
  text-align: center;
}

.tinr-refer-empty svg {
  width: 33px;
  height: 33px;
}

.tinr-refer-empty strong {
  color: var(--tr-text);
  font-size: 12px;
}

.tinr-refer-empty span {
  font-size: 8.5px;
}

.tinr-refer-mobile-list {
  display: none;
}

/* Mobile */
@media (max-width: 768px) {
  .tinr-refer-page {
    padding: 12px 8px calc(var(--tinr-mobile-bottom-nav-height, 76px) + 20px);
  }

  .tinr-refer-back {
    margin-bottom: 10px;
  }

  .tinr-refer-hero {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 17px;
    border-radius: 16px;
  }

  .tinr-refer-hero h1 {
    font-size: 30px;
  }

  .tinr-refer-hero p {
    font-size: 10px;
  }

  .tinr-refer-hero__badge {
    width: 100%;
    min-width: 0;
  }

  .tinr-refer-share-card {
    padding: 14px;
    border-radius: 15px;
  }

  .tinr-refer-share-grid {
    grid-template-columns: 1fr;
  }

  .tinr-refer-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .tinr-refer-stats article {
    min-height: 98px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
    padding: 10px;
  }

  .tinr-refer-stats__icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    border-radius: 9px;
  }

  .tinr-refer-stats__icon svg {
    width: 16px;
    height: 16px;
  }

  .tinr-refer-stats small {
    font-size: 6.5px;
    line-height: 1.2;
  }

  .tinr-refer-stats strong {
    font-size: clamp(13px, 4vw, 18px);
  }

  .tinr-refer-table-wrap {
    display: none;
  }

  .tinr-refer-mobile-list {
    display: grid;
    gap: 9px;
    padding: 10px;
  }

  .tinr-refer-mobile-card {
    min-width: 0;
    padding: 13px;
    border: 1px solid var(--tr-border);
    border-radius: 14px;
    background: var(--tr-surface-soft);
  }

  .tinr-refer-mobile-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--tr-border);
  }

  .tinr-refer-mobile-card__head > div {
    min-width: 0;
    display: grid;
    gap: 2px;
  }

  .tinr-refer-mobile-card__head span,
  .tinr-refer-mobile-card__meta span,
  .tinr-refer-mobile-card__journey > div > span {
    color: var(--tr-muted);
    font-size: 6.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .045em;
  }

  .tinr-refer-mobile-card__head strong {
    color: var(--tr-text);
    font-size: 11px;
    font-weight: 850;
  }

  .tinr-refer-mobile-card__number {
    padding: 4px 7px;
    border: 1px solid var(--tr-border);
    border-radius: 999px;
    background: var(--tr-surface);
  }

  .tinr-refer-mobile-card__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    padding: 10px 0;
    border-bottom: 1px solid var(--tr-border);
  }

  .tinr-refer-mobile-card__meta > div {
    min-width: 0;
    display: grid;
    gap: 4px;
  }

  .tinr-refer-mobile-card__meta strong {
    color: var(--tr-text-soft);
    font-size: 8px;
    font-weight: 700;
    overflow-wrap: anywhere;
  }

  .tinr-refer-mobile-card__journey {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding-top: 10px;
  }

  .tinr-refer-mobile-card__journey > div {
    min-width: 0;
    display: grid;
    gap: 5px;
  }

  .tinr-refer-status {
    max-width: 100%;
    min-height: 25px;
    padding-inline: 6px;
    font-size: 6.4px;
  }
}

@media (max-width: 380px) {
  .tinr-refer-page {
    padding-inline: 5px;
  }

  .tinr-refer-stats article {
    padding-inline: 7px;
  }

  .tinr-refer-stats strong {
    font-size: 13px;
  }

  .tinr-refer-share-control {
    padding-left: 8px;
  }
}
/* ===== HERO ===== */
.fees-header {
  position: relative;
  padding: 120px 20px 120px;
  text-align: center;
  background: linear-gradient(180deg, #020617, #0f172a);
  overflow: hidden;
}

/* subtle grid lines (trading feel) */
.fees-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* glow spot */
.fees-header::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: #0ea5e9;
  filter: blur(120px);
  opacity: 0.2;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
}

/* TITLE */
.fees-header h1 {
  position: relative;
  font-size: 46px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #e2e8f0;
}

/* SUBTEXT */
.fees-header p {
  position: relative;
  margin-top: 12px;
  color: #94a3b8;
  font-size: 14px;
}

/* OPTIONAL BADGE */
.fees-badge {
  display: inline-block;
  margin-top: 20px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(14,165,233,0.1);
  color: #38bdf8;
  font-size: 12px;
  border: 1px solid rgba(14,165,233,0.3);
}

/* MOBILE */
@media (max-width: 600px) {
  .fees-header {
    padding: 80px 10px;
  }

  .fees-header h1 {
    font-size: 26px;
  }
}


/* ===== SECTION WRAPPER ===== */
.fees-content {
  max-width: 1200px;
  margin: -60px auto 50px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* ===== CARD ===== */
.fees-section {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: 0.3s;
}

.fees-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.7);
}

/* ===== HEADINGS ===== */
.fees-section h2 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #38bdf8;
}

/* ===== INTRO ===== */
.fees-intro {
  color: #94a3b8;
  font-size: 14px;
}

/* ===== TABLE ===== */
.fees-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 10px;
}

/* HEADER */
.fees-table th {
  background: linear-gradient(90deg, #0ea5e9, #6366f1);
  padding: 14px;
  text-align: left;
}

/* ROWS */
.fees-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* ROW STYLE */
.fees-table tbody tr {
  transition: 0.2s;
}

/* HOVER */
.fees-table tbody tr:hover {
  background: rgba(14,165,233,0.1);
}

/* ===== VIP HIGHLIGHT ===== */

/* VIP 4 (gold premium) */
.fees-table tbody tr:nth-child(5) {
  background: rgba(250,204,21,0.08);
}

.fees-table tbody tr:nth-child(5) td {
  color: #facc15;
  font-weight: bold;
}

/* VIP 3 */
.fees-table tbody tr:nth-child(4) td {
  color: #22c55e;
}

/* ===== BADGE ===== */
.vip-badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  background: rgba(99,102,241,0.2);
  color: #c7d2fe;
  margin-left: 8px;
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
  .fees-section {
    padding: 15px;
  }

  .fees-table th,
  .fees-table td {
    font-size: 13px;
    padding: 8px;
  }
}/* ===== Container ===== */
.maintenance-container {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0b0e11;
  color: white;
  flex-direction: column;
  text-align: center;
  padding: 20px;
}

/* ===== Title ===== */
.maintenance-title {
  font-size: 32px;
  margin-bottom: 10px;
}

/* ===== Text ===== */
.maintenance-text {
  font-size: 16px;
  opacity: 0.7;
}

/* ============================= */
/* 📱 Mobile Responsive */
/* ============================= */
@media (max-width: 768px) {

  .maintenance-title {
    font-size: 24px;
  }

  .maintenance-text {
    font-size: 14px;
  }

}

/* ============================= */
/* 📲 Tablet Responsive */
/* ============================= */
@media (max-width: 1024px) {

  .maintenance-title {
    font-size: 28px;
  }

}/* TradeINR transaction history — tinr-wallet-history
   Unique scope only: .tinr-wallet-history*
*/

.tinr-wallet-history {
  --tx-bg: #f4f7fb;
  --tx-surface: #ffffff;
  --tx-surface-soft: #f8fafc;
  --tx-text: #101828;
  --tx-muted: #667085;
  --tx-border: #dfe5ee;
  --tx-border-strong: #cbd5e1;
  --tx-yellow: #ca8a04;
  --tx-green: #059669;
  --tx-red: #e11d48;
  --tx-blue: #2563eb;
  --tx-cyan: #0891b2;
  --tx-shadow: rgba(15, 23, 42, .08);

  width: 100%;
  min-height: 100vh;
  padding: 34px clamp(16px, 3vw, 48px) 54px;
  color: var(--tx-text);
  background:
    radial-gradient(circle at 50% 0%, rgba(250, 204, 21, .055), transparent 24rem),
    var(--tx-bg);
  box-sizing: border-box;
}

html[data-theme="dark"] .tinr-wallet-history {
  --tx-bg: #07101d;
  --tx-surface: #0d1727;
  --tx-surface-soft: #111d30;
  --tx-text: #f8fafc;
  --tx-muted: #93a1b5;
  --tx-border: rgba(148, 163, 184, .14);
  --tx-border-strong: rgba(148, 163, 184, .22);
  --tx-yellow: #facc15;
  --tx-green: #22d3a0;
  --tx-red: #fb7185;
  --tx-blue: #60a5fa;
  --tx-cyan: #22d3ee;
  --tx-shadow: rgba(0, 0, 0, .24);
}

.tinr-wallet-history *,
.tinr-wallet-history *::before,
.tinr-wallet-history *::after {
  box-sizing: border-box;
}

.tinr-wallet-history__back {
  display: none;
  margin-bottom: 10px;
}

.tinr-wallet-history__back a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tx-muted);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.tinr-wallet-history__back a:hover {
  color: var(--tx-yellow);
}

.tinr-wallet-history__title {
  position: relative;
  width: fit-content;
  margin: 0 auto 30px;
  color: var(--tx-text);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 860;
  letter-spacing: -.035em;
  text-align: center;
}

.tinr-wallet-history__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -11px;
  width: 88px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fde047, #eab308);
  transform: translateX(-50%);
  box-shadow: 0 4px 14px rgba(250, 204, 21, .18);
}

.tinr-wallet-history__filters {
  width: min(1500px, 100%);
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto 16px;
  padding: 11px 13px;
  border: 1px solid var(--tx-border);
  border-radius: 14px;
  background: var(--tx-surface);
  box-shadow: 0 8px 26px var(--tx-shadow);
}

.tinr-wallet-history__filter-dates,
.tinr-wallet-history__filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tinr-wallet-history__filter-dates label {
  color: var(--tx-muted);
  font-size: 9.5px;
  font-weight: 750;
}

.tinr-wallet-history__filter-dates input {
  height: 39px;
  min-width: 150px;
  padding: 0 10px;
  border: 1px solid var(--tx-border);
  border-radius: 9px;
  outline: none;
  color: var(--tx-text);
  background: var(--tx-surface-soft);
  font: inherit;
  font-size: 10px;
}

.tinr-wallet-history__filter-dates input:focus {
  border-color: rgba(234, 179, 8, .42);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, .08);
}

html[data-theme="dark"] .tinr-wallet-history__filter-dates input {
  color-scheme: dark;
}

.tinr-wallet-history__filter-actions button {
  min-width: 74px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--tx-border);
  border-radius: 9px;
  color: var(--tx-text);
  background: var(--tx-surface-soft);
  cursor: pointer;
  font: inherit;
  font-size: 9.5px;
  font-weight: 800;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.tinr-wallet-history__filter-actions button:hover {
  transform: translateY(-1px);
  border-color: rgba(8, 145, 178, .28);
}

.tinr-wallet-history__filter-actions button:first-child {
  color: #042f2e;
  border-color: rgba(20, 184, 166, .24);
  background: linear-gradient(135deg, #2dd4bf, #22d3ee);
}

.tinr-wallet-history__filter-actions button:nth-last-child(-n+2) {
  color: #042f2e;
  border-color: rgba(20, 184, 166, .22);
  background: linear-gradient(135deg, #2dd4bf, #22d3ee);
}

@media (max-width: 768px) {
  .tinr-wallet-history {
    min-height: 100dvh;
    padding: 12px 8px calc(var(--tinr-mobile-bottom-nav-height, 76px) + 18px);
  }

  .tinr-wallet-history__back {
    display: block;
  }

  .tinr-wallet-history__title {
    margin-bottom: 23px;
    font-size: 22px;
    text-align: left;
  }

  .tinr-wallet-history__title::after {
    left: 0;
    width: 62px;
    transform: none;
  }

  .tinr-wallet-history__filters {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .tinr-wallet-history__filter-dates {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 7px 8px;
  }

  .tinr-wallet-history__filter-dates input {
    width: 100%;
    min-width: 0;
  }

  .tinr-wallet-history__filter-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .tinr-wallet-history__filter-actions button {
    min-width: 0;
    padding: 0 5px;
    font-size: 8.5px;
  }
}

@media (max-width: 420px) {
  .tinr-wallet-history__filter-actions {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tinr-wallet-history__table-wrap {
  width: min(1500px, 100%);
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--tx-border);
  border-radius: 14px;
  background: var(--tx-surface);
  box-shadow: 0 12px 32px var(--tx-shadow);
}

.tinr-wallet-history__table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.tinr-wallet-history__table th {
  padding: 13px 15px;
  border-bottom: 1px solid var(--tx-border);
  color: var(--tx-muted);
  background: var(--tx-surface-soft);
  font-size: 9px;
  font-weight: 850;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.tinr-wallet-history__table td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--tx-border);
  color: var(--tx-text);
  background: var(--tx-surface);
  font-size: 10.5px;
}

.tinr-wallet-history__amount {
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.tinr-wallet-history__amount--positive {
  color: var(--tx-green) !important;
}

.tinr-wallet-history__amount--negative {
  color: var(--tx-red) !important;
}

@media (max-width: 768px) {
  .tinr-wallet-history__table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .tinr-wallet-history__table {
    min-width: 0;
  }

  .tinr-wallet-history__table thead {
    display: none;
  }

  .tinr-wallet-history__table,
  .tinr-wallet-history__table tbody,
  .tinr-wallet-history__table tr,
  .tinr-wallet-history__table td {
    display: block;
    width: 100%;
  }

  .tinr-wallet-history__table tr {
    margin-bottom: 10px;
    padding: 9px 12px;
    border: 1px solid var(--tx-border);
    border-radius: 14px;
    background: var(--tx-surface);
    box-shadow: 0 7px 20px var(--tx-shadow);
  }

  .tinr-wallet-history__table td {
    min-height: 39px;
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px solid var(--tx-border);
    background: transparent !important;
    text-align: right;
  }

  .tinr-wallet-history__table td:last-child {
    border-bottom: 0;
  }

  .tinr-wallet-history__table td::before {
    content: attr(data-label);
    color: var(--tx-muted);
    font-size: 8px;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
  }
}

/* ==========================================================
   PREMIUM MOBILE V2
   Scope: .tinr-wallet-history*
   ========================================================== */
@media (max-width: 768px) {
  .tinr-wallet-history {
    min-height: 100dvh !important;
    padding: 12px 10px calc(var(--tinr-mobile-bottom-nav-height, 76px) + 24px) !important;
    background:
      radial-gradient(circle at 50% -120px, rgba(250, 204, 21, .10), transparent 280px),
      var(--tx-bg, var(--tinr-bg)) !important;
  }

  .tinr-wallet-history__back {
    display: block !important;
    margin: 0 2px 12px !important;
  }

  .tinr-wallet-history__back a {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--tx-muted, var(--tinr-muted)) !important;
    font-size: 10px !important;
    font-weight: 750 !important;
    text-decoration: none !important;
  }

  .tinr-wallet-history__title {
    width: 100% !important;
    margin: 0 0 26px !important;
    color: var(--tx-text, var(--tinr-text)) !important;
    font-size: 23px !important;
    line-height: 1.15 !important;
    font-weight: 860 !important;
    letter-spacing: -.035em !important;
    text-align: left !important;
  }

  .tinr-wallet-history__title::after {
    left: 0 !important;
    bottom: -10px !important;
    width: 54px !important;
    height: 3px !important;
    transform: none !important;
  }

  .tinr-wallet-history__filters {
    width: 100% !important;
    min-height: 0 !important;
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 11px !important;
    margin: 0 0 14px !important;
    padding: 12px !important;
    border: 1px solid var(--tx-border, var(--tinr-border)) !important;
    border-radius: 16px !important;
    background: var(--tx-surface, var(--tinr-surface)) !important;
    box-shadow: 0 10px 28px var(--tx-shadow, var(--tinr-shadow)) !important;
  }

  .tinr-wallet-history__filter-dates {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 8px 9px !important;
  }

  .tinr-wallet-history__filter-dates label {
    color: var(--tx-muted, var(--tinr-muted)) !important;
    font-size: 8px !important;
    font-weight: 850 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
  }

  .tinr-wallet-history__filter-dates input {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    padding: 0 11px !important;
    border: 1px solid var(--tx-border, var(--tinr-border)) !important;
    border-radius: 11px !important;
    color: var(--tx-text, var(--tinr-text)) !important;
    background: var(--tx-surface-soft, var(--tinr-surface-soft)) !important;
    font-size: 10px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important;
  }

  .tinr-wallet-history__filter-actions {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .tinr-wallet-history__filter-actions button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 0 5px !important;
    border-radius: 10px !important;
    border: 1px solid var(--tx-border, var(--tinr-border)) !important;
    color: var(--tx-text, var(--tinr-text)) !important;
    background: var(--tx-surface-soft, var(--tinr-surface-soft)) !important;
    font-size: 8.5px !important;
    font-weight: 850 !important;
    box-shadow: none !important;
  }

  .tinr-wallet-history__filter-actions button:first-child {
    color: #111827 !important;
    border-color: rgba(250,204,21,.42) !important;
    background: linear-gradient(135deg,#fde047,#facc15) !important;
  }

  .tinr-wallet-history__filter-actions button:nth-last-child(-n+2) {
    color: #075985 !important;
    border-color: rgba(34,211,238,.22) !important;
    background: rgba(34,211,238,.08) !important;
  }

  html[data-theme="dark"] .tinr-wallet-history__filter-actions button:nth-last-child(-n+2) {
    color: #67e8f9 !important;
  }
}

@media (max-width: 390px) {
  .tinr-wallet-history__filter-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .tinr-wallet-history__table-wrap {
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .tinr-wallet-history__table {
    min-width: 0 !important;
    display: block !important;
  }

  .tinr-wallet-history__table thead {
    display: none !important;
  }

  .tinr-wallet-history__table tbody {
    display: grid !important;
    gap: 12px !important;
  }

  .tinr-wallet-history__table tr {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    gap: 0 12px !important;
    margin: 0 !important;
    padding: 12px 13px !important;
    border: 1px solid var(--tx-border) !important;
    border-radius: 16px !important;
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--tx-surface-soft) 45%, transparent), transparent 76px),
      var(--tx-surface) !important;
    box-shadow: 0 10px 26px var(--tx-shadow) !important;
  }

  .tinr-wallet-history__table td {
    width: auto !important;
    min-height: 48px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 8px 2px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--tx-border) !important;
    background: transparent !important;
    text-align: left !important;
  }

  .tinr-wallet-history__table td::before {
    content: attr(data-label) !important;
    color: var(--tx-muted) !important;
    font-size: 7.5px !important;
    font-weight: 850 !important;
    letter-spacing: .065em !important;
    text-transform: uppercase !important;
  }

  .tinr-wallet-history__table td:nth-child(2) {
    grid-column: 1;
    grid-row: 1;
    border-bottom: 0 !important;
    font-size: 12px !important;
    font-weight: 850 !important;
  }

  .tinr-wallet-history__table td:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
    align-items: flex-end !important;
    border-bottom: 0 !important;
    font-size: 14px !important;
  }

  .tinr-wallet-history__table td:nth-child(1),
  .tinr-wallet-history__table td:nth-child(4) {
    grid-column: 1 / -1;
  }

  .tinr-wallet-history__table td:nth-child(4) {
    border-bottom: 0 !important;
    font-weight: 800 !important;
  }
}
/* ===== BACKGROUND ===== */
.about-new-container {
  min-height: 100vh;
  background: linear-gradient(180deg, #020617, #000814);
  color: white;
  font-family: "Inter", sans-serif;
}

/* ===== HERO ===== */
.about-new-hero {
  padding: 120px 20px 140px;
  text-align: center;
  background: radial-gradient(circle at center, #0ea5e9 0%, transparent 70%);
}

/* TEXT */
.hero-content h1 {
  font-size: 48px;
}

.hero-content p {
  margin-top: 10px;
  color: #94a3b8;
}

/* BUTTON */
.hero-btn {
  margin-top: 20px;
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(90deg, #0ea5e9, #6366f1);
  cursor: pointer;
}

/* ===== CONTENT ===== */
.about-new-content {
  max-width: 1000px;
  margin: -80px auto 40px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* BLOCK */
.about-block {
  background: #0f172a;
  padding: 22px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.3s;
}

.about-block:hover {
  transform: translateY(-5px);
}

/* HEADINGS */
.about-block h2 {
  color: #38bdf8;
}

/* FEATURE GRID */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 10px;
}

/* FEATURE CARD */
.feature-card {
  background: #020617;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
}

/* WARNING */
.about-warning {
  background: rgba(255,77,79,0.1);
  border-left: 4px solid red;
  padding: 15px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .about-new-content {
    margin: -40px 10px;
  }
}/* BACKGROUND */
.terms-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0b1320, #111c2e);
  color: white;
  font-family: "Segoe UI", sans-serif;
}

/* HEADER */
.terms-header {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(90deg, #ff7b7b, #ffb199);
  color: white;
}

.terms-header h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.terms-header p {
  opacity: 0.9;
}

/* CONTENT */
.terms-content {
  max-width: 1100px;
  margin: -40px auto 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* INTRO */
.intro {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 30px;
}

/* SECTION */
.terms-section {
  margin-bottom: 25px;
  padding: 15px;
  border-left: 3px solid #ff7b7b;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  transition: 0.3s;
}

.terms-section:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* HEADINGS */
.terms-section h2 {
  color: #ff7b7b;
  margin-bottom: 10px;
}

/* LIST */
.terms-section ul {
  padding-left: 20px;
}

.terms-section li {
  margin-bottom: 8px;
  color: #ddd;
}

/* WARNING */
.warning {
  margin-top: 10px;
  color: #ff4d4f;
  font-weight: bold;
}

/* MOBILE */
@media (max-width: 768px) {
  .terms-header h1 {
    font-size: 26px;
  }

  .terms-content {
    margin: -20px 10px 20px;
    padding: 20px;
  }
}/* ==========================================================
   TradeINR Privacy Policy
   Unique scope: tinr-privacy-*
   High contrast in Light + Dark
   ========================================================== */

.tinr-privacy-page {
  --tp-bg: #f4f7fb;
  --tp-surface: #ffffff;
  --tp-surface-soft: #f8fafc;
  --tp-text: #101828;
  --tp-text-soft: #344054;
  --tp-muted: #667085;
  --tp-border: #dfe5ee;
  --tp-yellow: #ca8a04;
  --tp-green: #059669;
  --tp-shadow: 0 18px 48px rgba(15, 23, 42, .08);

  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 42px 18px 64px;

  color: var(--tp-text);
  background:
    radial-gradient(circle at 50% -100px, rgba(250, 204, 21, .075), transparent 28rem),
    var(--tp-bg);
}

html[data-theme="dark"] .tinr-privacy-page {
  --tp-bg: #030712;
  --tp-surface: #0b1220;
  --tp-surface-soft: #111b2d;
  --tp-text: #f8fafc;
  --tp-text-soft: #d5deea;
  --tp-muted: #94a3b8;
  --tp-border: rgba(148, 163, 184, .16);
  --tp-yellow: #facc15;
  --tp-green: #22d3a0;
  --tp-shadow: 0 20px 55px rgba(0, 0, 0, .30);
}

.tinr-privacy-page *,
.tinr-privacy-page *::before,
.tinr-privacy-page *::after {
  box-sizing: border-box;
}

.tinr-privacy-shell {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.tinr-privacy-header {
  margin-bottom: 18px;
  padding: 28px 30px;
  border: 1px solid var(--tp-border);
  border-radius: 20px;
  background: var(--tp-surface);
  box-shadow: var(--tp-shadow);
}

.tinr-privacy-eyebrow {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(234, 179, 8, .26);
  border-radius: 999px;
  color: var(--tp-yellow);
  background: rgba(250, 204, 21, .065);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .12em;
}

.tinr-privacy-header h1 {
  margin: 13px 0 8px;
  color: var(--tp-text);
  font-size: clamp(29px, 4vw, 42px);
  line-height: 1.08;
  font-weight: 880;
  letter-spacing: -.04em;
}

.tinr-privacy-effective {
  margin: 0 0 19px;
  color: var(--tp-muted);
  font-size: 10px;
}

.tinr-privacy-effective strong {
  color: var(--tp-text-soft);
}

.tinr-privacy-intro {
  margin: 0;
  max-width: 850px;
  color: var(--tp-text-soft);
  font-size: 13px;
  line-height: 1.72;
}

.tinr-privacy-section {
  margin-bottom: 14px;
  padding: 22px 24px;
  border: 1px solid var(--tp-border);
  border-radius: 16px;
  background: var(--tp-surface);
  box-shadow: 0 9px 26px rgba(15, 23, 42, .045);
}

html[data-theme="dark"] .tinr-privacy-section {
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
}

.tinr-privacy-section h2 {
  margin: 0 0 14px;
  color: var(--tp-green);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 850;
}

.tinr-privacy-section h3 {
  margin: 18px 0 8px;
  color: var(--tp-text);
  font-size: 12px;
  font-weight: 820;
}

.tinr-privacy-section h3:first-of-type {
  margin-top: 0;
}

.tinr-privacy-section p {
  margin: 7px 0;
  color: var(--tp-text-soft);
  font-size: 11.5px;
  line-height: 1.72;
}

.tinr-privacy-section ul {
  margin: 8px 0 12px;
  padding-left: 21px;
}

.tinr-privacy-section li {
  margin: 7px 0;
  padding-left: 2px;
  color: var(--tp-text-soft);
  font-size: 11.5px;
  line-height: 1.58;
}

.tinr-privacy-section li::marker {
  color: var(--tp-yellow);
}

.tinr-privacy-section--consent {
  border-color: rgba(250, 204, 21, .24);
  background:
    linear-gradient(135deg, rgba(250, 204, 21, .055), transparent 50%),
    var(--tp-surface);
}

@media (max-width: 768px) {
  .tinr-privacy-page {
    min-height: 100dvh;
    padding: 16px 10px calc(var(--tinr-mobile-bottom-nav-height, 76px) + 22px);
  }

  .tinr-privacy-header {
    padding: 19px 16px;
    border-radius: 16px;
  }

  .tinr-privacy-header h1 {
    font-size: 27px;
  }

  .tinr-privacy-intro {
    font-size: 11px;
  }

  .tinr-privacy-section {
    padding: 17px 16px;
    border-radius: 14px;
  }

  .tinr-privacy-section h2 {
    font-size: 14px;
  }

  .tinr-privacy-section h3 {
    font-size: 11.5px;
  }

  .tinr-privacy-section p,
  .tinr-privacy-section li {
    font-size: 10.5px;
  }
}
/* BACKGROUND */
.refund-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0b1320, #111c2e);
  color: white;
  font-family: "Segoe UI", sans-serif;
}

/* HEADER */
.refund-header {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(90deg, #ff7b7b, #ffb199);
}

.refund-header h1 {
  font-size: 34px;
  margin-bottom: 10px;
}

.refund-header p {
  opacity: 0.9;
}

/* CONTENT */
.refund-content {
  max-width: 1100px;
  margin: -40px auto 40px;
  padding: 30px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* INTRO */
.refund-intro {
  color: #ccc;
  margin-bottom: 25px;
}

/* SECTION */
.refund-section {
  margin-bottom: 25px;
  padding: 15px;
  border-left: 4px solid #ff7b7b;
  background: rgba(255,255,255,0.02);
  border-radius: 6px;
  transition: 0.3s;
}

.refund-section:hover {
  background: rgba(255,255,255,0.05);
}

/* HEADINGS */
.refund-section h2 {
  color: #ff7b7b;
  margin-bottom: 10px;
}

.refund-section h4 {
  margin-top: 10px;
  color: #ffb199;
}

/* LIST */
.refund-section ul {
  padding-left: 20px;
}

.refund-section li {
  margin-bottom: 8px;
  color: #ddd;
}

/* WARNING */
.refund-warning {
  background: rgba(255,77,79,0.1);
  border-left: 4px solid #ff4d4f;
  padding: 15px;
  margin-bottom: 25px;
  color: #ff4d4f;
  font-weight: bold;
  border-radius: 6px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .refund-header h1 {
    font-size: 24px;
  }

  .refund-content {
    margin: -20px 10px 20px;
    padding: 15px;
  }
}/* BACKGROUND */
.aml-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0b1320, #111c2e);
  color: white;
  font-family: "Segoe UI", sans-serif;
}

/* HEADER */
.aml-header {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(90deg, #4facfe, #00f2fe);
}

.aml-header h1 {
  font-size: 34px;
  margin-bottom: 10px;
}

.aml-header p {
  opacity: 0.9;
}

/* CONTENT */
.aml-content {
  max-width: 1100px;
  margin: -40px auto 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* INTRO */
.aml-intro {
  color: #ccc;
  margin-bottom: 25px;
}

/* SECTION */
.aml-section {
  margin-bottom: 25px;
  padding: 15px;
  border-left: 4px solid #4facfe;
  background: rgba(255,255,255,0.02);
  border-radius: 6px;
  transition: 0.3s;
}

.aml-section:hover {
  background: rgba(255,255,255,0.05);
}

/* HEADINGS */
.aml-section h2 {
  color: #4facfe;
  margin-bottom: 10px;
}

/* LIST */
.aml-section ul {
  padding-left: 20px;
}

.aml-section li {
  margin-bottom: 8px;
  color: #ddd;
}

/* WARNING BOX */
.aml-warning {
  background: rgba(255, 77, 79, 0.1);
  border-left: 4px solid #ff4d4f;
  padding: 15px;
  margin-bottom: 25px;
  color: #ff4d4f;
  font-weight: bold;
  border-radius: 6px;
}

/* TABLET */
@media (max-width: 992px) {
  .aml-content {
    padding: 20px;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .aml-header h1 {
    font-size: 24px;
  }

  .aml-content {
    margin: -20px 10px 20px;
    padding: 15px;
  }
}/* BACKGROUND */
.risk-container {
  min-height: 100vh;
  background: linear-gradient(180deg, #020617, #000);
  color: #e2e8f0;
  font-family: "Inter", sans-serif;
}

/* HERO */
.risk-hero {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(90deg, #ef4444, #7f1d1d);
}

.risk-hero h1 {
  font-size: 40px;
}

.risk-hero p {
  margin-top: 10px;
  color: #fecaca;
}

/* CONTENT */
.risk-content {
  max-width: 1100px;
  margin: -60px auto 40px;
  padding: 20px;
}

/* INTRO */
.risk-intro {
  margin-bottom: 25px;
  color: #94a3b8;
}

/* GRID */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* CARD */
.risk-card {
  background: rgba(239,68,68,0.08);
  border-left: 4px solid #ef4444;
  padding: 18px;
  border-radius: 10px;
  transition: 0.3s;
}

.risk-card:hover {
  transform: translateY(-4px);
  background: rgba(239,68,68,0.15);
}

/* FULL WIDTH */
.risk-card.full {
  margin-top: 20px;
}

/* WARNING BOX */
.risk-warning {
  margin-top: 25px;
  padding: 20px;
  text-align: center;
  background: rgba(239,68,68,0.15);
  border: 1px solid #ef4444;
  border-radius: 10px;
  font-weight: bold;
  color: #fca5a5;
}

/* LIST */
.risk-card ul {
  padding-left: 20px;
}

.risk-card li {
  margin-bottom: 8px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .risk-grid {
    grid-template-columns: 1fr;
  }

  .risk-hero h1 {
    font-size: 26px;
  }

  .risk-content {
    margin: -40px 10px;
  }
}/* TradeINR transaction history — tinr-realized-history
   Unique scope only: .tinr-realized-history*
*/

.tinr-realized-history {
  --tx-bg: #f4f7fb;
  --tx-surface: #ffffff;
  --tx-surface-soft: #f8fafc;
  --tx-text: #101828;
  --tx-muted: #667085;
  --tx-border: #dfe5ee;
  --tx-border-strong: #cbd5e1;
  --tx-yellow: #ca8a04;
  --tx-green: #059669;
  --tx-red: #e11d48;
  --tx-blue: #2563eb;
  --tx-cyan: #0891b2;
  --tx-shadow: rgba(15, 23, 42, .08);

  width: 100%;
  min-height: 100vh;
  padding: 34px clamp(16px, 3vw, 48px) 54px;
  color: var(--tx-text);
  background:
    radial-gradient(circle at 50% 0%, rgba(250, 204, 21, .055), transparent 24rem),
    var(--tx-bg);
  box-sizing: border-box;
}

html[data-theme="dark"] .tinr-realized-history {
  --tx-bg: #07101d;
  --tx-surface: #0d1727;
  --tx-surface-soft: #111d30;
  --tx-text: #f8fafc;
  --tx-muted: #93a1b5;
  --tx-border: rgba(148, 163, 184, .14);
  --tx-border-strong: rgba(148, 163, 184, .22);
  --tx-yellow: #facc15;
  --tx-green: #22d3a0;
  --tx-red: #fb7185;
  --tx-blue: #60a5fa;
  --tx-cyan: #22d3ee;
  --tx-shadow: rgba(0, 0, 0, .24);
}

.tinr-realized-history *,
.tinr-realized-history *::before,
.tinr-realized-history *::after {
  box-sizing: border-box;
}

.tinr-realized-history__back {
  display: none;
  margin-bottom: 10px;
}

.tinr-realized-history__back a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tx-muted);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.tinr-realized-history__back a:hover {
  color: var(--tx-yellow);
}

.tinr-realized-history__title {
  position: relative;
  width: fit-content;
  margin: 0 auto 30px;
  color: var(--tx-text);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 860;
  letter-spacing: -.035em;
  text-align: center;
}

.tinr-realized-history__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -11px;
  width: 88px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fde047, #eab308);
  transform: translateX(-50%);
  box-shadow: 0 4px 14px rgba(250, 204, 21, .18);
}

.tinr-realized-history__filters {
  width: min(1500px, 100%);
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto 16px;
  padding: 11px 13px;
  border: 1px solid var(--tx-border);
  border-radius: 14px;
  background: var(--tx-surface);
  box-shadow: 0 8px 26px var(--tx-shadow);
}

.tinr-realized-history__filter-dates,
.tinr-realized-history__filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tinr-realized-history__filter-dates label {
  color: var(--tx-muted);
  font-size: 9.5px;
  font-weight: 750;
}

.tinr-realized-history__filter-dates input {
  height: 39px;
  min-width: 150px;
  padding: 0 10px;
  border: 1px solid var(--tx-border);
  border-radius: 9px;
  outline: none;
  color: var(--tx-text);
  background: var(--tx-surface-soft);
  font: inherit;
  font-size: 10px;
}

.tinr-realized-history__filter-dates input:focus {
  border-color: rgba(234, 179, 8, .42);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, .08);
}

html[data-theme="dark"] .tinr-realized-history__filter-dates input {
  color-scheme: dark;
}

.tinr-realized-history__filter-actions button {
  min-width: 74px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--tx-border);
  border-radius: 9px;
  color: var(--tx-text);
  background: var(--tx-surface-soft);
  cursor: pointer;
  font: inherit;
  font-size: 9.5px;
  font-weight: 800;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.tinr-realized-history__filter-actions button:hover {
  transform: translateY(-1px);
  border-color: rgba(8, 145, 178, .28);
}

.tinr-realized-history__filter-actions button:first-child {
  color: #042f2e;
  border-color: rgba(20, 184, 166, .24);
  background: linear-gradient(135deg, #2dd4bf, #22d3ee);
}

.tinr-realized-history__filter-actions button:nth-last-child(-n+2) {
  color: #042f2e;
  border-color: rgba(20, 184, 166, .22);
  background: linear-gradient(135deg, #2dd4bf, #22d3ee);
}

@media (max-width: 768px) {
  .tinr-realized-history {
    min-height: 100dvh;
    padding: 12px 8px calc(var(--tinr-mobile-bottom-nav-height, 76px) + 18px);
  }

  .tinr-realized-history__back {
    display: block;
  }

  .tinr-realized-history__title {
    margin-bottom: 23px;
    font-size: 22px;
    text-align: left;
  }

  .tinr-realized-history__title::after {
    left: 0;
    width: 62px;
    transform: none;
  }

  .tinr-realized-history__filters {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .tinr-realized-history__filter-dates {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 7px 8px;
  }

  .tinr-realized-history__filter-dates input {
    width: 100%;
    min-width: 0;
  }

  .tinr-realized-history__filter-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .tinr-realized-history__filter-actions button {
    min-width: 0;
    padding: 0 5px;
    font-size: 8.5px;
  }
}

@media (max-width: 420px) {
  .tinr-realized-history__filter-actions {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tinr-realized-history__table-wrap {
  width: min(1500px, 100%);
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--tx-border);
  border-radius: 14px;
  background: var(--tx-surface);
  box-shadow: 0 12px 32px var(--tx-shadow);
}

.tinr-realized-history__table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.tinr-realized-history__table th {
  padding: 13px 15px;
  border-bottom: 1px solid var(--tx-border);
  color: var(--tx-muted);
  background: var(--tx-surface-soft);
  font-size: 9px;
  font-weight: 850;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.tinr-realized-history__table td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--tx-border);
  color: var(--tx-text);
  background: var(--tx-surface);
  font-size: 10.5px;
  vertical-align: middle;
}

.tinr-realized-history__coin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.tinr-realized-history__coin-logo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: contain;
}

.tinr-realized-history__pnl {
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.tinr-realized-history__pnl--profit {
  color: var(--tx-green) !important;
}

.tinr-realized-history__pnl--loss {
  color: var(--tx-red) !important;
}

@media (max-width: 768px) {
  .tinr-realized-history__table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .tinr-realized-history__table {
    min-width: 0;
  }

  .tinr-realized-history__table thead {
    display: none;
  }

  .tinr-realized-history__table,
  .tinr-realized-history__table tbody,
  .tinr-realized-history__table tr,
  .tinr-realized-history__table td {
    display: block;
    width: 100%;
  }

  .tinr-realized-history__table tr {
    margin-bottom: 10px;
    padding: 10px 12px;
    border: 1px solid var(--tx-border);
    border-radius: 14px;
    background: var(--tx-surface);
    box-shadow: 0 7px 20px var(--tx-shadow);
  }

  .tinr-realized-history__table td {
    min-height: 38px;
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px solid var(--tx-border);
    background: transparent !important;
    text-align: right;
  }

  .tinr-realized-history__table td:last-child {
    border-bottom: 0;
  }

  .tinr-realized-history__table td:nth-child(1)::before { content: "Date"; }
  .tinr-realized-history__table td:nth-child(2)::before { content: "Coin"; }
  .tinr-realized-history__table td:nth-child(3)::before { content: "Order ID"; }
  .tinr-realized-history__table td:nth-child(4)::before { content: "Profit / Loss"; }

  .tinr-realized-history__table td::before {
    color: var(--tx-muted);
    font-size: 8px;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
  }

  .tinr-realized-history__coin {
    justify-content: flex-end;
  }
}

/* ==========================================================
   PREMIUM MOBILE V2
   Scope: .tinr-realized-history*
   ========================================================== */
@media (max-width: 768px) {
  .tinr-realized-history {
    min-height: 100dvh !important;
    padding: 12px 10px calc(var(--tinr-mobile-bottom-nav-height, 76px) + 24px) !important;
    background:
      radial-gradient(circle at 50% -120px, rgba(250, 204, 21, .10), transparent 280px),
      var(--tx-bg, var(--tinr-bg)) !important;
  }

  .tinr-realized-history__back {
    display: block !important;
    margin: 0 2px 12px !important;
  }

  .tinr-realized-history__back a {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--tx-muted, var(--tinr-muted)) !important;
    font-size: 10px !important;
    font-weight: 750 !important;
    text-decoration: none !important;
  }

  .tinr-realized-history__title {
    width: 100% !important;
    margin: 0 0 26px !important;
    color: var(--tx-text, var(--tinr-text)) !important;
    font-size: 23px !important;
    line-height: 1.15 !important;
    font-weight: 860 !important;
    letter-spacing: -.035em !important;
    text-align: left !important;
  }

  .tinr-realized-history__title::after {
    left: 0 !important;
    bottom: -10px !important;
    width: 54px !important;
    height: 3px !important;
    transform: none !important;
  }

  .tinr-realized-history__filters {
    width: 100% !important;
    min-height: 0 !important;
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 11px !important;
    margin: 0 0 14px !important;
    padding: 12px !important;
    border: 1px solid var(--tx-border, var(--tinr-border)) !important;
    border-radius: 16px !important;
    background: var(--tx-surface, var(--tinr-surface)) !important;
    box-shadow: 0 10px 28px var(--tx-shadow, var(--tinr-shadow)) !important;
  }

  .tinr-realized-history__filter-dates {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 8px 9px !important;
  }

  .tinr-realized-history__filter-dates label {
    color: var(--tx-muted, var(--tinr-muted)) !important;
    font-size: 8px !important;
    font-weight: 850 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
  }

  .tinr-realized-history__filter-dates input {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    padding: 0 11px !important;
    border: 1px solid var(--tx-border, var(--tinr-border)) !important;
    border-radius: 11px !important;
    color: var(--tx-text, var(--tinr-text)) !important;
    background: var(--tx-surface-soft, var(--tinr-surface-soft)) !important;
    font-size: 10px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important;
  }

  .tinr-realized-history__filter-actions {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .tinr-realized-history__filter-actions button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 0 5px !important;
    border-radius: 10px !important;
    border: 1px solid var(--tx-border, var(--tinr-border)) !important;
    color: var(--tx-text, var(--tinr-text)) !important;
    background: var(--tx-surface-soft, var(--tinr-surface-soft)) !important;
    font-size: 8.5px !important;
    font-weight: 850 !important;
    box-shadow: none !important;
  }

  .tinr-realized-history__filter-actions button:first-child {
    color: #111827 !important;
    border-color: rgba(250,204,21,.42) !important;
    background: linear-gradient(135deg,#fde047,#facc15) !important;
  }

  .tinr-realized-history__filter-actions button:nth-last-child(-n+2) {
    color: #075985 !important;
    border-color: rgba(34,211,238,.22) !important;
    background: rgba(34,211,238,.08) !important;
  }

  html[data-theme="dark"] .tinr-realized-history__filter-actions button:nth-last-child(-n+2) {
    color: #67e8f9 !important;
  }
}

@media (max-width: 390px) {
  .tinr-realized-history__filter-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .tinr-realized-history__table-wrap {
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .tinr-realized-history__table {
    min-width: 0 !important;
    display: block !important;
  }

  .tinr-realized-history__table thead {
    display: none !important;
  }

  .tinr-realized-history__table tbody {
    display: grid !important;
    gap: 12px !important;
  }

  .tinr-realized-history__table tr {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    gap: 0 12px !important;
    margin: 0 !important;
    padding: 12px 13px !important;
    border: 1px solid var(--tx-border) !important;
    border-radius: 16px !important;
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--tx-surface-soft) 45%, transparent), transparent 76px),
      var(--tx-surface) !important;
    box-shadow: 0 10px 26px var(--tx-shadow) !important;
  }

  .tinr-realized-history__table td {
    width: auto !important;
    min-height: 48px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 8px 2px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--tx-border) !important;
    background: transparent !important;
    text-align: left !important;
  }

  .tinr-realized-history__table td::before {
    content: attr(data-label) !important;
    color: var(--tx-muted) !important;
    font-size: 7.5px !important;
    font-weight: 850 !important;
    letter-spacing: .065em !important;
    text-transform: uppercase !important;
  }

  .tinr-realized-history__table td:nth-child(2) {
    grid-column: 1;
    grid-row: 1;
    border-bottom: 0 !important;
  }

  .tinr-realized-history__table td:nth-child(4) {
    grid-column: 2;
    grid-row: 1;
    align-items: flex-end !important;
    border-bottom: 0 !important;
    font-size: 15px !important;
  }

  .tinr-realized-history__table td:nth-child(1),
  .tinr-realized-history__table td:nth-child(3) {
    grid-column: 1 / -1;
  }

  .tinr-realized-history__table td:nth-child(3) {
    border-bottom: 0 !important;
  }

  .tinr-realized-history__coin {
    justify-content: flex-start !important;
    gap: 9px !important;
  }

  .tinr-realized-history__coin-logo {
    width: 30px !important;
    height: 30px !important;
  }
}
/* TradeINR transaction history — tinr-order-history
   Unique scope only: .tinr-order-history*
*/

.tinr-order-history {
  --tx-bg: #f4f7fb;
  --tx-surface: #ffffff;
  --tx-surface-soft: #f8fafc;
  --tx-text: #101828;
  --tx-muted: #667085;
  --tx-border: #dfe5ee;
  --tx-border-strong: #cbd5e1;
  --tx-yellow: #ca8a04;
  --tx-green: #059669;
  --tx-red: #e11d48;
  --tx-blue: #2563eb;
  --tx-cyan: #0891b2;
  --tx-shadow: rgba(15, 23, 42, .08);

  width: 100%;
  min-height: 100vh;
  padding: 34px clamp(16px, 3vw, 48px) 54px;
  color: var(--tx-text);
  background:
    radial-gradient(circle at 50% 0%, rgba(250, 204, 21, .055), transparent 24rem),
    var(--tx-bg);
  box-sizing: border-box;
}

html[data-theme="dark"] .tinr-order-history {
  --tx-bg: #07101d;
  --tx-surface: #0d1727;
  --tx-surface-soft: #111d30;
  --tx-text: #f8fafc;
  --tx-muted: #93a1b5;
  --tx-border: rgba(148, 163, 184, .14);
  --tx-border-strong: rgba(148, 163, 184, .22);
  --tx-yellow: #facc15;
  --tx-green: #22d3a0;
  --tx-red: #fb7185;
  --tx-blue: #60a5fa;
  --tx-cyan: #22d3ee;
  --tx-shadow: rgba(0, 0, 0, .24);
}

.tinr-order-history *,
.tinr-order-history *::before,
.tinr-order-history *::after {
  box-sizing: border-box;
}

.tinr-order-history__back {
  display: none;
  margin-bottom: 10px;
}

.tinr-order-history__back a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tx-muted);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.tinr-order-history__back a:hover {
  color: var(--tx-yellow);
}

.tinr-order-history__title {
  position: relative;
  width: fit-content;
  margin: 0 auto 30px;
  color: var(--tx-text);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 860;
  letter-spacing: -.035em;
  text-align: center;
}

.tinr-order-history__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -11px;
  width: 88px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fde047, #eab308);
  transform: translateX(-50%);
  box-shadow: 0 4px 14px rgba(250, 204, 21, .18);
}

.tinr-order-history__filters {
  width: min(1500px, 100%);
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto 16px;
  padding: 11px 13px;
  border: 1px solid var(--tx-border);
  border-radius: 14px;
  background: var(--tx-surface);
  box-shadow: 0 8px 26px var(--tx-shadow);
}

.tinr-order-history__filter-dates,
.tinr-order-history__filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tinr-order-history__filter-dates label {
  color: var(--tx-muted);
  font-size: 9.5px;
  font-weight: 750;
}

.tinr-order-history__filter-dates input {
  height: 39px;
  min-width: 150px;
  padding: 0 10px;
  border: 1px solid var(--tx-border);
  border-radius: 9px;
  outline: none;
  color: var(--tx-text);
  background: var(--tx-surface-soft);
  font: inherit;
  font-size: 10px;
}

.tinr-order-history__filter-dates input:focus {
  border-color: rgba(234, 179, 8, .42);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, .08);
}

html[data-theme="dark"] .tinr-order-history__filter-dates input {
  color-scheme: dark;
}

.tinr-order-history__filter-actions button {
  min-width: 74px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--tx-border);
  border-radius: 9px;
  color: var(--tx-text);
  background: var(--tx-surface-soft);
  cursor: pointer;
  font: inherit;
  font-size: 9.5px;
  font-weight: 800;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.tinr-order-history__filter-actions button:hover {
  transform: translateY(-1px);
  border-color: rgba(8, 145, 178, .28);
}

.tinr-order-history__filter-actions button:first-child {
  color: #042f2e;
  border-color: rgba(20, 184, 166, .24);
  background: linear-gradient(135deg, #2dd4bf, #22d3ee);
}

.tinr-order-history__filter-actions button:nth-last-child(-n+2) {
  color: #042f2e;
  border-color: rgba(20, 184, 166, .22);
  background: linear-gradient(135deg, #2dd4bf, #22d3ee);
}

@media (max-width: 768px) {
  .tinr-order-history {
    min-height: 100dvh;
    padding: 12px 8px calc(var(--tinr-mobile-bottom-nav-height, 76px) + 18px);
  }

  .tinr-order-history__back {
    display: block;
  }

  .tinr-order-history__title {
    margin-bottom: 23px;
    font-size: 22px;
    text-align: left;
  }

  .tinr-order-history__title::after {
    left: 0;
    width: 62px;
    transform: none;
  }

  .tinr-order-history__filters {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .tinr-order-history__filter-dates {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 7px 8px;
  }

  .tinr-order-history__filter-dates input {
    width: 100%;
    min-width: 0;
  }

  .tinr-order-history__filter-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .tinr-order-history__filter-actions button {
    min-width: 0;
    padding: 0 5px;
    font-size: 8.5px;
  }
}

@media (max-width: 420px) {
  .tinr-order-history__filter-actions {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tinr-order-history__head,
.tinr-order-history__row {
  width: min(1500px, 100%);
  display: grid;
  grid-template-columns: 1.2fr 1.2fr .9fr .6fr .7fr .9fr .8fr .65fr .8fr;
  gap: 8px;
  align-items: center;
  margin-inline: auto;
}

.tinr-order-history__head {
  padding: 12px 13px;
  border: 1px solid var(--tx-border);
  border-radius: 13px 13px 0 0;
  color: var(--tx-muted);
  background: var(--tx-surface-soft);
  font-size: 8.5px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.tinr-order-history__row {
  min-height: 62px;
  margin-top: 7px;
  padding: 10px 13px;
  border: 1px solid var(--tx-border);
  border-radius: 12px;
  color: var(--tx-text);
  background: var(--tx-surface);
  box-shadow: 0 7px 20px var(--tx-shadow);
  font-size: 10px;
}

.tinr-order-history__row > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.tinr-order-history__coin {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
}

.tinr-order-history__coin-logo {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  object-fit: contain;
}

.tinr-order-history__number {
  font-variant-numeric: tabular-nums;
}

.tinr-order-history__leverage {
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid rgba(96, 165, 250, .22);
  border-radius: 7px;
  color: var(--tx-blue);
  background: rgba(96, 165, 250, .07);
  font-weight: 850;
}

.tinr-order-history__status {
  width: fit-content;
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 850;
}

.tinr-order-history__status--filled {
  color: var(--tx-green);
  border: 1px solid rgba(34, 211, 160, .20);
  background: rgba(34, 211, 160, .07);
}

.tinr-order-history__status--cancelled {
  color: var(--tx-red);
  border: 1px solid rgba(251, 113, 133, .20);
  background: rgba(251, 113, 133, .07);
}

.tinr-order-history__status--open,
.tinr-order-history__status--pending {
  color: var(--tx-yellow);
  border: 1px solid rgba(250, 204, 21, .20);
  background: rgba(250, 204, 21, .07);
}

@media (max-width: 768px) {
  .tinr-order-history__head {
    display: none;
  }

  .tinr-order-history__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 12px;
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .tinr-order-history__row > div {
    min-height: 42px;
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    padding: 7px 0;
    border-bottom: 1px solid var(--tx-border);
    text-align: right;
  }

  .tinr-order-history__row > div::before {
    content: attr(data-label);
    color: var(--tx-muted);
    font-size: 7.5px;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
  }

  .tinr-order-history__coin {
    justify-content: flex-end;
  }

  .tinr-order-history__leverage,
  .tinr-order-history__status {
    justify-self: end;
  }
}

@media (max-width: 430px) {
  .tinr-order-history__row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   PREMIUM MOBILE V2
   Scope: .tinr-order-history*
   ========================================================== */
@media (max-width: 768px) {
  .tinr-order-history {
    min-height: 100dvh !important;
    padding: 12px 10px calc(var(--tinr-mobile-bottom-nav-height, 76px) + 24px) !important;
    background:
      radial-gradient(circle at 50% -120px, rgba(250, 204, 21, .10), transparent 280px),
      var(--tx-bg, var(--tinr-bg)) !important;
  }

  .tinr-order-history__back {
    display: block !important;
    margin: 0 2px 12px !important;
  }

  .tinr-order-history__back a {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--tx-muted, var(--tinr-muted)) !important;
    font-size: 10px !important;
    font-weight: 750 !important;
    text-decoration: none !important;
  }

  .tinr-order-history__title {
    width: 100% !important;
    margin: 0 0 26px !important;
    color: var(--tx-text, var(--tinr-text)) !important;
    font-size: 23px !important;
    line-height: 1.15 !important;
    font-weight: 860 !important;
    letter-spacing: -.035em !important;
    text-align: left !important;
  }

  .tinr-order-history__title::after {
    left: 0 !important;
    bottom: -10px !important;
    width: 54px !important;
    height: 3px !important;
    transform: none !important;
  }

  .tinr-order-history__filters {
    width: 100% !important;
    min-height: 0 !important;
    align-items: stretch !important;
    flex-direction: column !important;
    gap: 11px !important;
    margin: 0 0 14px !important;
    padding: 12px !important;
    border: 1px solid var(--tx-border, var(--tinr-border)) !important;
    border-radius: 16px !important;
    background: var(--tx-surface, var(--tinr-surface)) !important;
    box-shadow: 0 10px 28px var(--tx-shadow, var(--tinr-shadow)) !important;
  }

  .tinr-order-history__filter-dates {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 8px 9px !important;
  }

  .tinr-order-history__filter-dates label {
    color: var(--tx-muted, var(--tinr-muted)) !important;
    font-size: 8px !important;
    font-weight: 850 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
  }

  .tinr-order-history__filter-dates input {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    padding: 0 11px !important;
    border: 1px solid var(--tx-border, var(--tinr-border)) !important;
    border-radius: 11px !important;
    color: var(--tx-text, var(--tinr-text)) !important;
    background: var(--tx-surface-soft, var(--tinr-surface-soft)) !important;
    font-size: 10px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important;
  }

  .tinr-order-history__filter-actions {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .tinr-order-history__filter-actions button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 0 5px !important;
    border-radius: 10px !important;
    border: 1px solid var(--tx-border, var(--tinr-border)) !important;
    color: var(--tx-text, var(--tinr-text)) !important;
    background: var(--tx-surface-soft, var(--tinr-surface-soft)) !important;
    font-size: 8.5px !important;
    font-weight: 850 !important;
    box-shadow: none !important;
  }

  .tinr-order-history__filter-actions button:first-child {
    color: #111827 !important;
    border-color: rgba(250,204,21,.42) !important;
    background: linear-gradient(135deg,#fde047,#facc15) !important;
  }

  .tinr-order-history__filter-actions button:nth-last-child(-n+2) {
    color: #075985 !important;
    border-color: rgba(34,211,238,.22) !important;
    background: rgba(34,211,238,.08) !important;
  }

  html[data-theme="dark"] .tinr-order-history__filter-actions button:nth-last-child(-n+2) {
    color: #67e8f9 !important;
  }
}

@media (max-width: 390px) {
  .tinr-order-history__filter-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .tinr-order-history__head {
    display: none !important;
  }

  .tinr-order-history__row {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 0 12px !important;
    margin: 0 0 12px !important;
    padding: 12px 13px !important;
    border: 1px solid var(--tx-border) !important;
    border-radius: 16px !important;
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--tx-surface-soft) 45%, transparent), transparent 78px),
      var(--tx-surface) !important;
    box-shadow: 0 10px 26px var(--tx-shadow) !important;
  }

  .tinr-order-history__row > div {
    min-width: 0 !important;
    min-height: 52px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 8px 2px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--tx-border) !important;
    color: var(--tx-text) !important;
    text-align: left !important;
    overflow-wrap: anywhere !important;
  }

  .tinr-order-history__row > div::before {
    content: attr(data-label) !important;
    color: var(--tx-muted) !important;
    font-size: 7.5px !important;
    font-weight: 850 !important;
    letter-spacing: .065em !important;
    text-transform: uppercase !important;
  }

  .tinr-order-history__coin {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    min-height: 62px !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 9px !important;
  }

  .tinr-order-history__coin::before {
    display: none !important;
  }

  .tinr-order-history__coin-logo {
    width: 34px !important;
    height: 34px !important;
  }

  .tinr-order-history__coin span {
    color: var(--tx-text) !important;
    font-size: 15px !important;
    font-weight: 900 !important;
  }

  .tinr-order-history__row > div:nth-child(1),
  .tinr-order-history__row > div:nth-child(2) {
    font-size: 9.5px !important;
  }

  .tinr-order-history__leverage,
  .tinr-order-history__status {
    width: fit-content !important;
    min-height: 28px !important;
    align-self: flex-start !important;
    justify-self: start !important;
    padding: 0 9px !important;
  }

  .tinr-order-history__row > div:nth-child(8),
  .tinr-order-history__row > div:nth-child(9) {
    border-bottom: 0 !important;
  }
}
/* GLOBAL SETTINGS */
.contact-container {
  min-height: 100vh;
  background-color: #020617;
  background-image: 
    radial-gradient(at 0% 0%, rgba(14, 165, 233, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(99, 102, 241, 0.1) 0px, transparent 50%);
  color: #f8fafc;
  font-family: "Inter", -apple-system, sans-serif;
  line-height: 1.6;
}

/* HERO SECTION */
.contact-hero {
  padding: 120px 20px 140px;
  text-align: center;
  background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
  clip-path: ellipse(150% 100% at 50% 0%);
}

.contact-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.contact-hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}

/* CONTENT WRAPPER */
.contact-content {
  max-width: 900px;
  margin: -80px auto 60px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* CARD STYLING */
.contact-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  padding: 32px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.3);
  background: rgba(15, 23, 42, 0.8);
}

.contact-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* EMAIL GRID */
.email-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.email-box {
  background: rgba(2, 6, 23, 0.5);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.2s;
}

.email-box:hover {
  background: rgba(14, 165, 233, 0.05);
  border-color: #0ea5e9;
}

.email-box span {
  display: block;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 4px;
}

.email-box p {
  font-weight: 500;
  color: #f1f5f9;
  word-break: break-all;
}

/* LINKS */
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.links span {
  background: rgba(99, 102, 241, 0.1);
  color: #a5b4fc;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(99, 102, 241, 0.2);
  cursor: pointer;
  transition: 0.2s;
}

.links span:hover {
  background: #6366f1;
  color: white;
}

/* WARNING SECTION */
.contact-warning {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-left: 4px solid #ef4444;
  padding: 20px;
  border-radius: 12px;
  color: #fca5a5;
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .contact-hero {
    padding: 80px 20px 100px;
  }

  .contact-content {
    margin-top: -60px;
    gap: 16px;
  }

  .contact-card {
    padding: 24px;
  }

  .email-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .links {
    justify-content: center;
  }
  
  .links span {
    width: 100%;
    text-align: center;
  }
}/* BACKGROUND */
.disclaimer-container {
  min-height: 100vh;
  background: linear-gradient(180deg, #020617, #0f172a);
  color: #e2e8f0;
  font-family: "Inter", sans-serif;
}

/* HERO */
.disclaimer-hero {
  padding: 90px 20px;
  text-align: center;
  background: linear-gradient(90deg, #1e293b, #020617);
}

.disclaimer-hero h1 {
  font-size: 38px;
}

.disclaimer-hero p {
  margin-top: 8px;
  color: #94a3b8;
}

/* CONTENT */
.disclaimer-content {
  max-width: 1000px;
  margin: -50px auto 40px;
  padding: 20px;
}

/* INTRO */
.intro {
  margin-bottom: 20px;
  color: #cbd5f5;
}

/* SECTION */
.disclaimer-section {
  margin-bottom: 20px;
  padding: 18px;
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
  border-left: 3px solid #0ea5e9;
  transition: 0.3s;
}

.disclaimer-section:hover {
  background: rgba(255,255,255,0.05);
}

/* HEADINGS */
.disclaimer-section h2 {
  color: #38bdf8;
  margin-bottom: 8px;
}

/* LIST */
.disclaimer-section ul {
  padding-left: 20px;
}

.disclaimer-section li {
  margin-bottom: 6px;
}

/* WARNING */
.disclaimer-warning {
  margin: 25px 0;
  padding: 15px;
  background: rgba(239,68,68,0.1);
  border: 1px solid #ef4444;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  color: #fca5a5;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .disclaimer-hero h1 {
    font-size: 26px;
  }

  .disclaimer-content {
    margin: -30px 10px;
  }
}/* ==========================================================
   TradeINR Forgot Password
   Unique scope: tinr-forgot-*
   Premium Dark + Light Theme
   ========================================================== */

.tinr-forgot-page {
  --tf-bg: #030712;
  --tf-bg-2: #07101d;
  --tf-panel: #0b1220;
  --tf-input: #07101c;
  --tf-border: rgba(148,163,184,.14);
  --tf-border-strong: rgba(148,163,184,.24);
  --tf-text: #f8fafc;
  --tf-muted: #8f9bad;
  --tf-yellow: #facc15;
  --tf-yellow-deep: #eab308;
  --tf-green: #22d3a0;
  --tf-red: #fb6471;
  --tf-cyan: #22c7ee;
  --tf-shadow: 0 30px 90px rgba(0,0,0,.42);

  min-height: 100vh;
  width: 100%;
  display: grid;
  place-items: center;
  padding: 118px 24px 72px;
  overflow-x: hidden;
  color: var(--tf-text);
  background:
    radial-gradient(circle at 12% 8%, rgba(250,204,21,.07), transparent 27rem),
    radial-gradient(circle at 88% 24%, rgba(37,99,235,.10), transparent 32rem),
    linear-gradient(145deg, var(--tf-bg), var(--tf-bg-2));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tinr-forgot-page *,
.tinr-forgot-page *::before,
.tinr-forgot-page *::after {
  box-sizing: border-box;
}

.tinr-forgot-page button,
.tinr-forgot-page input {
  font: inherit;
}

/* ---------------- SHELL ---------------- */
.tinr-forgot-shell {
  width: min(1040px,100%);
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(410px,.92fr);
  overflow: hidden;
  border: 1px solid var(--tf-border);
  border-radius: 28px;
  background: rgba(8,15,27,.84);
  box-shadow: var(--tf-shadow);
  backdrop-filter: blur(18px);
}

/* ---------------- BRAND PANEL ---------------- */
.tinr-forgot-brand-panel {
  position: relative;
  isolation: isolate;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  border-right: 1px solid var(--tf-border);
  background: linear-gradient(160deg,rgba(16,25,42,.98),rgba(6,12,22,.98));
}

.tinr-forgot-brand-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(rgba(148,163,184,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(148,163,184,.025) 1px,transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom,rgba(0,0,0,.75),transparent 88%);
}

.tinr-forgot-brand-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.tinr-forgot-brand-orb--one {
  top: -100px;
  left: -90px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle,rgba(250,204,21,.17),transparent 68%);
}

.tinr-forgot-brand-orb--two {
  right: -140px;
  bottom: -150px;
  width: 410px;
  height: 410px;
  background: radial-gradient(circle,rgba(37,99,235,.20),transparent 69%);
}

.tinr-forgot-brand-content {
  position: relative;
  z-index: 2;
  margin: auto 0;
}

.tinr-forgot-brand-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
  padding: 7px 10px;
  border: 1px solid rgba(250,204,21,.17);
  border-radius: 999px;
  color: var(--tf-yellow);
  background: rgba(250,204,21,.055);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .10em;
}

.tinr-forgot-brand-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tf-yellow);
  box-shadow: 0 0 0 4px rgba(250,204,21,.07);
}

.tinr-forgot-brand-title {
  max-width: 500px;
  margin: 0;
  color: var(--tf-text);
  font-size: clamp(36px,4.1vw,54px);
  font-weight: 860;
  line-height: 1.03;
  letter-spacing: -.052em;
}

.tinr-forgot-brand-title span {
  color: var(--tf-yellow);
}

.tinr-forgot-brand-copy {
  max-width: 470px;
  margin: 20px 0 28px;
  color: var(--tf-muted);
  font-size: 14px;
  line-height: 1.7;
}

.tinr-forgot-brand-grid {
  display: grid;
  gap: 10px;
}

.tinr-forgot-brand-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(420px,100%);
  padding: 11px 12px;
  border: 1px solid rgba(148,163,184,.10);
  border-radius: 13px;
  background: rgba(255,255,255,.018);
}

.tinr-forgot-brand-stat-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(250,204,21,.12);
  border-radius: 10px;
  color: var(--tf-yellow);
  background: rgba(250,204,21,.05);
  font-size: 12px;
  font-weight: 850;
}

.tinr-forgot-brand-stat > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.tinr-forgot-brand-stat strong {
  color: var(--tf-text);
  font-size: 11px;
  font-weight: 800;
}

.tinr-forgot-brand-stat > div > span {
  color: var(--tf-muted);
  font-size: 9.5px;
  line-height: 1.35;
}

.tinr-forgot-brand-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  color: var(--tf-muted);
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.tinr-forgot-brand-footer span:first-child {
  color: var(--tf-text);
  font-weight: 850;
}

/* ---------------- CARD ---------------- */
.tinr-forgot-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 42px;
  background:
    radial-gradient(circle at 100% 0%,rgba(34,199,238,.055),transparent 18rem),
    rgba(8,15,27,.96);
}

.tinr-forgot-card-top {
  margin-bottom: 20px;
}

.tinr-forgot-eyebrow,
.tinr-forgot-section-kicker {
  display: inline-block;
  color: var(--tf-yellow);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .11em;
}

.tinr-forgot-eyebrow {
  margin-bottom: 8px;
}

.tinr-forgot-title {
  margin: 0;
  color: var(--tf-text);
  font-size: 33px;
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.tinr-forgot-subtitle {
  margin: 9px 0 0;
  color: var(--tf-muted);
  font-size: 11.5px;
  line-height: 1.55;
}

/* ---------------- PROGRESS ---------------- */
.tinr-forgot-progress {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.tinr-forgot-progress-step {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: var(--tf-muted);
}

.tinr-forgot-progress-step > span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid var(--tf-border);
  border-radius: 50%;
  background: rgba(255,255,255,.018);
  font-size: 9px;
  font-weight: 850;
}

.tinr-forgot-progress-step strong {
  font-size: 8px;
  font-weight: 750;
}

.tinr-forgot-progress-step--active {
  color: var(--tf-yellow);
}

.tinr-forgot-progress-step--active > span {
  color: #0b1016;
  border-color: var(--tf-yellow);
  background: var(--tf-yellow);
}

.tinr-forgot-progress-step--done {
  color: var(--tf-green);
}

.tinr-forgot-progress-step--done > span {
  color: #07120d;
  border-color: var(--tf-green);
  background: var(--tf-green);
}

.tinr-forgot-progress-line {
  height: 1px;
  background: var(--tf-border);
}

.tinr-forgot-progress-line--active {
  background: linear-gradient(90deg,var(--tf-green),var(--tf-yellow));
}

/* ---------------- FORM ---------------- */
.tinr-forgot-form {
  display: grid;
  gap: 14px;
}

.tinr-forgot-field {
  display: grid;
  gap: 7px;
}

.tinr-forgot-label {
  color: #c9d3df;
  font-size: 10px;
  font-weight: 750;
}

.tinr-forgot-input {
  width: 100%;
  min-height: 49px;
  padding: 0 14px;
  border: 1px solid var(--tf-border);
  border-radius: 12px;
  outline: 0;
  color: var(--tf-text);
  background: var(--tf-input);
  font-size: 13px;
  font-weight: 600;
  transition: border-color .18s ease,box-shadow .18s ease,background .18s ease;
}

.tinr-forgot-input::placeholder {
  color: #617086;
  font-weight: 500;
}

.tinr-forgot-input:hover:not(:disabled) {
  border-color: var(--tf-border-strong);
}

.tinr-forgot-input:focus {
  border-color: rgba(250,204,21,.50);
  box-shadow: 0 0 0 3px rgba(250,204,21,.07);
}

.tinr-forgot-input:disabled {
  cursor: not-allowed;
  opacity: .68;
}

/* ---------------- VERIFICATION ---------------- */
.tinr-forgot-verification-card,
.tinr-forgot-password-card {
  display: grid;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--tf-border);
  border-radius: 14px;
  background: rgba(255,255,255,.018);
}

.tinr-forgot-verification-head,
.tinr-forgot-password-head {
  display: grid;
  gap: 3px;
}

.tinr-forgot-verification-head {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.tinr-forgot-verification-head > div {
  display: grid;
  gap: 3px;
}

.tinr-forgot-verification-head strong,
.tinr-forgot-password-head strong {
  color: var(--tf-text);
  font-size: 11px;
  font-weight: 800;
}

.tinr-forgot-password-head p {
  margin: 0;
  color: var(--tf-muted);
  font-size: 9px;
  line-height: 1.5;
}

.tinr-forgot-status {
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 7.5px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tinr-forgot-status--pending {
  color: var(--tf-yellow);
  border: 1px solid rgba(250,204,21,.15);
  background: rgba(250,204,21,.055);
}

.tinr-forgot-status--verified {
  color: var(--tf-green);
  border: 1px solid rgba(34,211,160,.16);
  background: rgba(34,211,160,.055);
}

.tinr-forgot-otp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.tinr-forgot-otp-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

/* ---------------- BUTTONS ---------------- */
.tinr-forgot-primary-btn,
.tinr-forgot-verify-btn,
.tinr-forgot-resend-btn {
  min-height: 42px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 10.5px;
  font-weight: 800;
  transition: transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

.tinr-forgot-primary-btn {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(250,204,21,.40);
  color: #0b1016;
  background: linear-gradient(135deg,#ffe66d,var(--tf-yellow) 58%,var(--tf-yellow-deep));
  box-shadow:
    0 12px 28px rgba(250,204,21,.16),
    inset 0 1px 0 rgba(255,255,255,.34);
  font-size: 12.5px;
  font-weight: 850;
}

.tinr-forgot-primary-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow:
    0 15px 34px rgba(250,204,21,.22),
    inset 0 1px 0 rgba(255,255,255,.40);
}

.tinr-forgot-primary-btn:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.tinr-forgot-verify-btn {
  border: 1px solid rgba(34,211,160,.18);
  color: var(--tf-green);
  background: rgba(34,211,160,.055);
}

.tinr-forgot-resend-btn {
  padding: 0 12px;
  border: 1px solid var(--tf-border);
  color: var(--tf-muted);
  background: transparent;
}

.tinr-forgot-verify-btn:hover:not(:disabled),
.tinr-forgot-resend-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.tinr-forgot-verify-btn:disabled,
.tinr-forgot-resend-btn:disabled {
  cursor: not-allowed;
  opacity: .55;
}

/* ---------------- PASSWORD ---------------- */
.tinr-forgot-password-wrap {
  position: relative;
}

.tinr-forgot-input--password {
  padding-right: 48px;
}

.tinr-forgot-eye-btn {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  padding: 0;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--tf-muted);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
}

.tinr-forgot-eye-btn:hover {
  color: var(--tf-text);
  border-color: var(--tf-border);
  background: rgba(255,255,255,.025);
}

/* ---------------- ERROR / FOOTER ---------------- */
.tinr-forgot-error {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 11px;
  border: 1px solid rgba(251,100,113,.17);
  border-radius: 10px;
  color: var(--tf-red);
  background: rgba(251,100,113,.055);
  font-size: 9.5px;
  line-height: 1.45;
}

.tinr-forgot-error-icon {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  flex: 0 0 20px;
  border-radius: 6px;
  background: rgba(251,100,113,.08);
  font-weight: 900;
}

.tinr-forgot-footer-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 17px;
  color: var(--tf-muted);
  font-size: 9.5px;
}

.tinr-forgot-footer-link button {
  padding: 0;
  border: 0;
  color: var(--tf-yellow);
  background: transparent;
  cursor: pointer;
  font-size: inherit;
  font-weight: 800;
}

.tinr-forgot-footer-link button:hover {
  text-decoration: underline;
}

/* ==========================================================
   LIGHT THEME
   ========================================================== */
html[data-theme="light"] .tinr-forgot-page {
  --tf-bg: #f4f7fb;
  --tf-bg-2: #eef3f8;
  --tf-panel: #ffffff;
  --tf-input: #ffffff;
  --tf-border: rgba(15,23,42,.11);
  --tf-border-strong: rgba(15,23,42,.20);
  --tf-text: #111827;
  --tf-muted: #64748b;
  --tf-yellow: #d6a800;
  --tf-yellow-deep: #b98a00;
  --tf-green: #059669;
  --tf-red: #dc2626;
  --tf-cyan: #0284c7;
  --tf-shadow: 0 26px 70px rgba(15,23,42,.12);

  color-scheme: light;
  background:
    radial-gradient(circle at 12% 8%,rgba(234,179,8,.09),transparent 27rem),
    radial-gradient(circle at 88% 24%,rgba(37,99,235,.055),transparent 32rem),
    linear-gradient(145deg,var(--tf-bg),var(--tf-bg-2));
}

html[data-theme="light"] .tinr-forgot-shell {
  background: rgba(255,255,255,.93);
}

html[data-theme="light"] .tinr-forgot-brand-panel {
  background: linear-gradient(160deg,rgba(255,255,255,.99),rgba(246,249,252,.99));
}

html[data-theme="light"] .tinr-forgot-brand-panel::before {
  background:
    linear-gradient(rgba(15,23,42,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(15,23,42,.035) 1px,transparent 1px);
  background-size: 34px 34px;
}

html[data-theme="light"] .tinr-forgot-brand-stat {
  background: rgba(255,255,255,.80);
}

html[data-theme="light"] .tinr-forgot-card {
  background:
    radial-gradient(circle at 100% 0%,rgba(8,145,178,.045),transparent 18rem),
    rgba(255,255,255,.98);
}

html[data-theme="light"] .tinr-forgot-label {
  color: #475569;
}

html[data-theme="light"] .tinr-forgot-input {
  color: #111827 !important;
  background: #ffffff !important;
}

html[data-theme="light"] .tinr-forgot-input::placeholder {
  color: #94a3b8;
}

html[data-theme="light"] .tinr-forgot-verification-card,
html[data-theme="light"] .tinr-forgot-password-card {
  background: #f8fafc;
}

html[data-theme="light"] .tinr-forgot-eye-btn:hover {
  background: #f8fafc;
}

html[data-theme="light"] .tinr-forgot-primary-btn {
  color: #111827;
}

html[data-theme="light"] .tinr-forgot-progress-step > span {
  background: #ffffff;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 900px) {
  .tinr-forgot-page {
    padding-inline: 18px;
  }

  .tinr-forgot-shell {
    width: min(620px,100%);
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .tinr-forgot-brand-panel {
    min-height: 250px;
    padding: 30px;
    border-right: 0;
    border-bottom: 1px solid var(--tf-border);
  }

  .tinr-forgot-brand-content {
    margin: 0;
  }

  .tinr-forgot-brand-title {
    max-width: 520px;
    font-size: 35px;
  }

  .tinr-forgot-brand-copy {
    margin: 13px 0 18px;
  }

  .tinr-forgot-brand-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 7px;
  }

  .tinr-forgot-brand-stat {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 9px;
  }

  .tinr-forgot-brand-footer {
    display: none;
  }

  .tinr-forgot-card {
    padding: 36px 34px;
  }
}

@media (max-width: 600px) {
  .tinr-forgot-page {
    place-items: start center;
    min-height: 100svh;
    padding: 88px 10px 92px;
  }

  .tinr-forgot-shell {
    width: 100%;
    border-radius: 18px;
  }

  .tinr-forgot-brand-panel {
    min-height: 0;
    padding: 22px 18px 20px;
  }

  .tinr-forgot-brand-badge {
    margin-bottom: 11px;
    padding: 5px 8px;
    font-size: 7.5px;
  }

  .tinr-forgot-brand-title {
    max-width: 340px;
    font-size: 27px;
  }

  .tinr-forgot-brand-copy {
    max-width: 360px;
    margin: 10px 0 0;
    font-size: 11px;
    line-height: 1.55;
  }

  .tinr-forgot-brand-grid {
    display: none;
  }

  .tinr-forgot-card {
    padding: 26px 18px 24px;
  }

  .tinr-forgot-title {
    font-size: 27px;
  }

  .tinr-forgot-progress {
    gap: 5px;
  }

  .tinr-forgot-progress-step strong {
    font-size: 7.5px;
  }

  .tinr-forgot-input {
    min-height: 48px;
    font-size: 16px;
  }

  .tinr-forgot-otp-grid,
  .tinr-forgot-otp-actions {
    grid-template-columns: 1fr;
  }

  .tinr-forgot-verification-head {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .tinr-forgot-status {
    width: fit-content;
  }
}

@media (max-width: 380px) {
  .tinr-forgot-page {
    padding-inline: 7px;
  }

  .tinr-forgot-card {
    padding-inline: 14px;
  }

  .tinr-forgot-brand-title {
    font-size: 24px;
  }

  .tinr-forgot-progress-step strong {
    display: none;
  }
}

@media (hover: none) {
  .tinr-forgot-primary-btn:hover:not(:disabled),
  .tinr-forgot-verify-btn:hover:not(:disabled),
  .tinr-forgot-resend-btn:hover:not(:disabled) {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tinr-forgot-page *,
  .tinr-forgot-page *::before,
  .tinr-forgot-page *::after {
    transition-duration: .01ms !important;
  }
}

.tinr-forgot-input[type="password"]::-ms-reveal,
.tinr-forgot-input[type="password"]::-ms-clear {
  display: none;
}
.form-container-help-for-registered {
  width: 700px;
  margin: 60px auto;
  padding: 25px 35px;
  background: #0b1220;
  border: 1px solid #1e2a44;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  font-family: Arial, sans-serif;
}

.form-title-help-for-registered {
  text-align: center;
  color: #ffffff;
  margin-bottom: 25px;
  font-size: 26px;
  font-weight: 600;
}

.label-help-for-registered {
  display: block;
  margin-bottom: 8px;
  color: #d1d5db;
  font-size: 15px;
  font-weight: 500;
}

.input-help-for-registered,
.textarea-help-for-registered {
  width: 100%;
  min-height: 50px;
  max-width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #2d3b57;
  border-radius: 8px;
  background-color: #111827;
  color: #ffffff;
  font-size: 17px;
  outline: none;
  transition: 0.3s ease;
  box-sizing: border-box;

  resize: none;
  overflow-y: hidden;
}

/* .textarea-help-for-registered {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #2d3b57;
  border-radius: 8px;
  background-color: #111827;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  transition: 0.3s ease;
  box-sizing: border-box;
} */

.input-help-for-registered::placeholder,
.textarea-help-for-registered::placeholder {
  color: #9ca3af;
}

.input-help-for-registered:focus,
.textarea-help-for-registered:focus {
  border-color: #1d9bf0;
  box-shadow: 0 0 8px rgba(29, 155, 240, 0.4);
}

.button-help-for-registered {
  width: 100%;
  padding: 13px;
  background: linear-gradient(90deg, #1d9bf0, #2563eb);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.button-help-for-registered:hover {
  background: linear-gradient(90deg, #2563eb, #1d4ed8);
  transform: translateY(-1px);
}



.file-input-help-for-registered {
  width: 100%;
  margin-bottom: 20px;
  color: white;
  font-size: 14px;
}


.pending-status-box {
  margin-top: 15px;
  padding: 10px;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid #ffc107;
  border-radius: 8px;
  color: white;
  font-size: 14px;
}

.pending-status-text {
  color: #ffc107;
  font-weight: 700;
  margin-left: 5px;
}






.ticket-history-container {
  margin-top: 35px;
  width: 92%;
  margin-left: auto;
  margin-right: auto;
}

.ticket-history-title {
  color: white;
  margin-bottom: 18px;
  font-size: 28px;
  font-weight: 700;
}

.ticket-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid #1e293b;
  background: #081028;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
}

.ticket-history-table {
  width: 100%;
  border-collapse: collapse;
}

.ticket-history-table thead {
  background: #1e293b;
}

.ticket-history-table th {
  padding: 16px;
  text-align: left;
  color: #38bdf8;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid #334155;
}

.ticket-history-table td {
  padding: 16px;
  border-bottom: 1px solid #1e293b;
  color: #e2e8f0;
  font-size: 14px;
  vertical-align: middle;
}

.ticket-history-table tr {
  transition: 0.3s;
}

.ticket-history-table tbody tr:hover {
  background: rgba(30, 41, 59, 0.45);
}

.ticket-table-image {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #334155;
}

.ticket-image-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.view-image-link {
  background: linear-gradient(90deg,
      #0ea5e9,
      #2563eb);
  color: white;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: 0.3s;
}

.view-image-link:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.pending-badge {
  background: #f59e0b;
  color: white;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
}

.closed-badge {
  background: #22c55e;
  color: white;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
}

.no-ticket-cell {
  text-align: center;
  color: #94a3b8;
  padding: 30px;
}

.no-image-text {
  color: #94a3b8;
  font-size: 13px;
}

/* View Message Button */
.view-message-btn {
  background: linear-gradient(90deg,
      #0ea5e9,
      #2563eb);
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.view-message-btn:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}




@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden;
  }

  .form-container-help-for-registered {
    width: 95%;
    margin: 25px auto;
    padding: 18px;
    box-sizing: border-box;
    border-radius: 14px;
  }

  .form-title-help-for-registered {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .input-help-for-registered,
  .textarea-help-for-registered {
    font-size: 17px;
    padding: 10px;
  }

  .button-help-for-registered {
    padding: 12px;
    font-size: 14px;
  }

  .ticket-history-container {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .ticket-history-title {
    font-size: 25px;
    margin-bottom: 15px;
    text-align: center;
  }

  .ticket-table-wrapper {
    width: 100%;
    overflow-x: hidden;
    border-radius: 14px;
  }

  .ticket-history-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
  }

  .ticket-history-table th,
  .ticket-history-table td {
    padding: 8px 5px;
    font-size: 13px;
    word-break: break-word;
    overflow-wrap: break-word;
    vertical-align: middle;
    text-align: center;
  }

  /* Column widths */
  .ticket-history-table th:nth-child(1),
  .ticket-history-table td:nth-child(1) {
    width: 24%;
  }

  .ticket-history-table th:nth-child(2),
  .ticket-history-table td:nth-child(2) {
    width: 16%;
  }

  .ticket-history-table th:nth-child(3),
  .ticket-history-table td:nth-child(3) {
    width: 28%;
  }

  .ticket-history-table th:nth-child(4),
  .ticket-history-table td:nth-child(4) {
    width: 14%;
  }

  .ticket-history-table th:nth-child(5),
  .ticket-history-table td:nth-child(5) {
    width: 18%;
  }

  /* Image button */
  .view-image-link {
    padding: 5px 10px;
    font-size: 10px;
    border-radius: 6px;
    display: inline-block;
    white-space: nowrap;
  }

  /* Status badges */
  .pending-badge,
  .closed-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    padding: 5px 8px;
    font-size: 10px;
    border-radius: 20px;
    font-weight: 700;
    white-space: nowrap;
  }

  .ticket-image-wrapper {
    justify-content: center;
  }

  .no-image-text {
    font-size: 10px;
  }

  .view-message-btn {
    padding: 5px 10px;
    font-size: 10px;
    border-radius: 6px;
    white-space: nowrap;
  }
}/* =========================
   PAGE
========================= */

.tpsl-page {

    min-height: 100vh;

    background: #000814;

    color: white;

    padding: 24px 20px;

    max-width: 760px;

    margin: auto;
}

/* =========================
   HEADER
========================= */

.tpsl-top {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 5px;
}

.back-btn {

    background: transparent;

    border: none;

    color: white;

    font-size: 24px;

    cursor: pointer;
}

.tpsl-top h1 {

    font-size: 28px;

    font-weight: 700;
}

/* =========================
   PAIR
========================= */

.pair-box {

    display: flex;

    align-items: center;

    gap: 8px;

    /* margin-bottom: 10px; */
}

.pair-box h2 {

    font-size: 24px;

    font-weight: 700;
}

.pair-box span {

    font-size: 16px;

    font-weight: 600;

    color: #14f195;
}

/* =========================
   INFO GRID
========================= */

.tpsl-info-grid {

    display: flex;

    justify-content: space-between;

    gap: 10px;

    margin-bottom: 24px;
}

.tpsl-info-grid div {

    flex: 1;

    min-width: 0;
}

.tpsl-info-grid span {

    display: block;

    color: #7c8599;

    font-size: 11px;

    margin-bottom: 5px;
}

.tpsl-info-grid h4 {

    font-size: 15px;

    font-weight: 700;

    white-space: nowrap;

    word-break: break-word;

    line-height: 1.4;
}

/* =========================
   LIQUIDATION
========================= */

.liquidation-box {

    margin-bottom: 24px;
}

.liquidation-box span {

    font-size: 15px;

    color: #cbd5e1;
}

.liquidation-box h4 {

    margin-top: 4px;

    font-size: 20px;

    font-weight: 700;

    color: #f59e0b;
}

/* =========================
   CARD
========================= */

.tpsl-card {

    background: #0b1120;

    border-radius: 18px;

    padding: 18px;

    margin-bottom: 18px;

    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* =========================
   CARD HEADER
========================= */

.tpsl-card-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 16px;
}

.tpsl-card-header h3 {

    font-size: 22px;

    font-weight: 700;
}

.cancel-text {

    font-size: 14px;

    color: #7c8599;
}

/* =========================
   LABELS
========================= */

.tpsl-label-row {

    display: flex;

    justify-content: space-between;

    margin-bottom: 8px;
}

.tpsl-label-row span {

    font-size: 13px;

    color: #cbd5e1;
}

/* =========================
   INPUT ROW
========================= */

.tpsl-input-row {

    display: flex;

    gap: 10px;

    margin-bottom: 12px;
}

/* =========================
   INPUT BOX
========================= */

.tpsl-input-box {

    flex: 1;

    height: 48px;

    border-radius: 12px;

    background: #1b2235;

    border: 1px solid rgba(255, 255, 255, 0.06);

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 12px;
}

.tpsl-input-box input {

    width: 100%;

    background: transparent;

    border: none;

    outline: none;

    color: white;

    font-size: 15px;
}

.tpsl-input-box input::placeholder {

    color: #7c8599;
}

.tpsl-input-box span {

    font-size: 14px;

    color: #7c8599;
}

/* =========================
   EST TEXT
========================= */

.est-text {

    font-size: 14px;

    color: #cbd5e1;
}

.est-profit {

    color: #14f195;

    font-weight: 700;

    margin-left: 6px;
}

.est-loss {

    color: #ff4d4f;

    font-weight: 700;

    margin-left: 6px;
}

/* =========================
   BUTTON
========================= */

.confirm-btn {

    width: 100%;

    height: 56px;

    border: none;

    border-radius: 14px;

    background: #14f195;

    color: #08111f;

    font-size: 20px;

    font-weight: 700;

    cursor: pointer;

    margin-top: 10px;
}


.tpsl-input-box input:disabled {

    opacity: 0.7;

    cursor: not-allowed;
}

.delete-btn {

    background: transparent;

    border: none;

    color: #7c8599;

    font-size: 18px;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: 0.3s;
}

.delete-btn:hover {

    color: #ff4d4f;

    transform: scale(1.08);
}

.error-text {
    color: #ff4d4f;
    font-size: 13px;
    margin-top: 8px;
}

.delete-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.confirm-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    body,
    html {

        overflow-x: hidden;
    }

    .tpsl-page {

        padding: 14px;

        overflow-x: hidden;
    }

    .tpsl-top {

        margin-bottom: -10px;
    }

    .tpsl-top h1 {

        font-size: 22px;
    }

    .back-btn {

        font-size: 22px;
    }



    .pair-box h2 {

        font-size: 18px;
    }

    .pair-box span {

        font-size: 15px;
    }

    .tpsl-info-grid {

        display: grid;

        grid-template-columns: repeat(5, 1fr);

        gap: 12px 8px;

        margin-bottom: 15px;
    }

    .tpsl-info-grid div {

        min-width: 0;
    }

    .tpsl-info-grid span {

        display: block;

        font-size: 13px;

        color: #7c8599;

        margin-bottom: 4px;

        line-height: 0.5;

        text-align: center;
    }

    .tpsl-info-grid h4 {

        font-size: 11px;

        font-weight: 700;

        line-height: 1;

        text-align: center;

        word-break: break-word;
    }

    .liquidation-box span {

        font-size: 14px;
    }

    .liquidation-box h4 {

        font-size: 16px;
    }

    .tpsl-card {

        padding: 16px;

        border-radius: 16px;
    }

    .tpsl-card-header h3 {

        font-size: 18px;
    }

    .cancel-text {

        font-size: 13px;
    }

    .tpsl-label-row span {

        font-size: 12px;
    }

    .tpsl-input-row {

        gap: 8px;
    }

    .tpsl-input-box {

        height: 48px;

        padding: 0 12px;
    }

    .tpsl-input-box input {

        font-size: 15px;
    }

    .tpsl-input-box span {

        font-size: 15px;
    }

    .est-text {

        font-size: 13px;
    }

    .confirm-btn {

        height: 54px;

        border-radius: 14px;

        font-size: 18px;
    }
}/* ==========================================================
   TradeINR Orders Page
   Unique scope: tinr-orders-page*
   ========================================================== */

.tinr-orders-page {
  width: 100%;
  min-height: 100vh;
  padding: 18px;
  color: var(--tinr-text, #101828);
  background: var(--tinr-bg, #f4f7fb);
}

.tinr-orders-page__shell {
  width: min(1500px, 100%);
  margin: 0 auto;
}

.tinr-orders-page__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;

  margin-bottom: 10px;
  padding: 5px;

  border: 1px solid var(--tinr-border, #dfe5ee);
  border-radius: 14px;

  background: var(--tinr-surface, #ffffff);
  box-shadow: 0 8px 24px var(--tinr-shadow, rgba(15, 23, 42, .07));
}

.tinr-orders-page__tab {
  min-height: 44px;
  margin: 0;
  padding: 0 14px;

  border: 1px solid transparent;
  border-radius: 10px;

  color: var(--tinr-muted, #667085);
  background: transparent;

  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;

  transition:
    color .16s ease,
    background .16s ease,
    border-color .16s ease;
}

.tinr-orders-page__tab:hover {
  color: var(--tinr-text, #101828);
  background: var(--tinr-hover-bg, #f1f5f9);
}

.tinr-orders-page__tab--active {
  color: #111827;
  border-color: rgba(250, 204, 21, .30);
  background: linear-gradient(135deg, #fde047, #facc15);
  box-shadow: 0 7px 18px rgba(250, 204, 21, .12);
}

.tinr-orders-page__back {
  margin: 8px 2px 14px;
}

.tinr-orders-page__back a {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  color: var(--tinr-muted, #667085);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.tinr-orders-page__back a:hover {
  color: var(--tinr-primary, #eab308);
}

.tinr-orders-page__content {
  min-width: 0;
}

html[data-theme="dark"] .tinr-orders-page {
  color: #f8fafc;
  background: #030712;
}

html[data-theme="dark"] .tinr-orders-page__tabs {
  border-color: rgba(148, 163, 184, .14);
  background: #0b1220;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}

html[data-theme="dark"] .tinr-orders-page__tab {
  color: #94a3b8;
}

html[data-theme="dark"] .tinr-orders-page__tab:hover {
  color: #f8fafc;
  background: rgba(148, 163, 184, .08);
}

html[data-theme="dark"] .tinr-orders-page__tab--active {
  color: #111827;
  background: linear-gradient(135deg, #fde047, #facc15);
}

@media (max-width: 768px) {
  .tinr-orders-page {
    min-height: 100dvh;
    padding: 8px 8px calc(var(--tinr-mobile-bottom-nav-height, 76px) + 18px);
  }

  .tinr-orders-page__tabs {
    position: sticky;
    top: 0;
    z-index: 30;
    margin: 0 0 8px;
    border-radius: 12px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .tinr-orders-page__tab {
    min-height: 42px;
    padding-inline: 8px;
    font-size: 11px;
  }

  .tinr-orders-page__back {
    margin: 8px 4px 12px;
  }

  .tinr-orders-page__back a {
    font-size: 10.5px;
  }
}
/* ==========================================================
   TradeINR Premium Profile Hub V4
   Unique scope: tinr-profile-menu*
   ========================================================== */

.tinr-profile-menu-page {
  --pm-bg: #f3f6fa;
  --pm-surface: #ffffff;
  --pm-surface-soft: #f8fafc;
  --pm-text: #101828;
  --pm-text-soft: #344054;
  --pm-muted: #667085;
  --pm-border: #dfe5ee;
  --pm-yellow: #eab308;
  --pm-green: #059669;
  --pm-red: #dc3545;
  --pm-shadow: rgba(15, 23, 42, .08);

  width: 100%;
  min-height: 100vh;

  padding:
    24px
    14px
    calc(var(--tinr-mobile-bottom-nav-height, 88px) + 24px);

  color: var(--pm-text);

  background:
    radial-gradient(
      circle at 50% -80px,
      rgba(250, 204, 21, .11),
      transparent 280px
    ),
    radial-gradient(
      circle at 100% 22%,
      rgba(37, 99, 235, .05),
      transparent 250px
    ),
    var(--pm-bg);
}

html[data-theme="dark"] .tinr-profile-menu-page {
  --pm-bg: #030712;
  --pm-surface: #0b1220;
  --pm-surface-soft: #111b2d;
  --pm-text: #f8fafc;
  --pm-text-soft: #d7dfeb;
  --pm-muted: #94a3b8;
  --pm-border: rgba(148, 163, 184, .16);
  --pm-yellow: #facc15;
  --pm-green: #22d3a0;
  --pm-red: #fb7185;
  --pm-shadow: rgba(0, 0, 0, .30);
}

.tinr-profile-menu-page *,
.tinr-profile-menu-page *::before,
.tinr-profile-menu-page *::after {
  box-sizing: border-box;
}

.tinr-profile-menu-shell {
  width: min(720px, 100%);
  margin: 0 auto;
}

.tinr-profile-menu-hero {
  position: relative;

  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;

  overflow: hidden;

  margin-bottom: 12px;
  padding: 17px;

  border: 1px solid var(--pm-border);
  border-radius: 20px;

  background:
    linear-gradient(
      140deg,
      rgba(250, 204, 21, .09),
      transparent 42%
    ),
    var(--pm-surface);

  box-shadow:
    0 12px 30px var(--pm-shadow);
}

.tinr-profile-menu-hero::after {
  content: "";

  position: absolute;
  top: -45px;
  right: -45px;

  width: 130px;
  height: 130px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(250, 204, 21, .11),
      transparent 68%
    );

  pointer-events: none;
}

.tinr-profile-menu-avatar {
  width: 53px;
  height: 53px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(234, 179, 8, .34);
  border-radius: 17px;

  color: #111827;

  background:
    linear-gradient(
      145deg,
      #ffe66a,
      #facc15 55%,
      #eab308
    );

  box-shadow:
    0 9px 20px rgba(234, 179, 8, .20);
}

.tinr-profile-menu-avatar span {
  font-size: 20px;
  font-weight: 900;
}

.tinr-profile-menu-identity {
  min-width: 0;

  display: grid;
  gap: 3px;
}

.tinr-profile-menu-kicker {
  color: var(--pm-yellow);

  font-size: 7px;
  font-weight: 850;
  letter-spacing: .11em;
}

.tinr-profile-menu-identity strong {
  overflow: hidden;

  color: var(--pm-text);

  font-size: 14px;
  font-weight: 860;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.tinr-profile-menu-identity small {
  color: var(--pm-muted);

  font-size: 8px;
  line-height: 1.35;
}

.tinr-profile-menu-theme {
  position: relative;
  z-index: 1;

  min-width: 56px;
  min-height: 48px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;

  border: 1px solid var(--pm-border);
  border-radius: 13px;

  color: var(--pm-text-soft);
  background: var(--pm-surface-soft);

  cursor: pointer;
  font: inherit;

  -webkit-tap-highlight-color: transparent;
}

.tinr-profile-menu-theme svg {
  width: 18px;
  height: 18px;

  color: var(--pm-yellow);
}

.tinr-profile-menu-theme span {
  font-size: 7px;
  font-weight: 800;
}

/* ---------- Quick cards ---------- */

.tinr-profile-menu-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;

  margin-bottom: 12px;
}

.tinr-profile-menu-quick button {
  min-width: 0;
  min-height: 92px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;

  padding: 12px;

  border: 1px solid var(--pm-border);
  border-radius: 16px;

  color: var(--pm-text);
  background: var(--pm-surface);

  cursor: pointer;
  font: inherit;
  text-align: left;

  box-shadow:
    0 8px 22px var(--pm-shadow);

  transition:
    transform .16s ease,
    border-color .16s ease,
    box-shadow .16s ease;
}

.tinr-profile-menu-quick button:active {
  transform: scale(.975);
}

.tinr-profile-menu-quick__icon {
  width: 31px;
  height: 31px;

  display: grid;
  place-items: center;

  margin-bottom: 3px;

  border: 1px solid rgba(234, 179, 8, .18);
  border-radius: 9px;

  color: var(--pm-yellow);
  background: rgba(250, 204, 21, .065);
}

.tinr-profile-menu-quick__icon svg {
  width: 17px;
  height: 17px;
}

.tinr-profile-menu-quick strong {
  color: var(--pm-text);

  font-size: 9px;
  font-weight: 850;
}

.tinr-profile-menu-quick small {
  color: var(--pm-muted);

  font-size: 6.8px;
  line-height: 1.3;
}

/* ---------- Menu groups ---------- */

.tinr-profile-menu-card {
  overflow: hidden;

  margin-bottom: 12px;

  border: 1px solid var(--pm-border);
  border-radius: 18px;

  background: var(--pm-surface);

  box-shadow:
    0 9px 25px var(--pm-shadow);
}

.tinr-profile-menu-card__title {
  padding: 12px 14px 8px;
}

.tinr-profile-menu-card__title span {
  color: var(--pm-muted);

  font-size: 7px;
  font-weight: 850;
  letter-spacing: .105em;
}

.tinr-profile-menu-row {
  width: 100%;
  min-height: 65px;

  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;

  margin: 0;
  padding: 9px 14px;

  border: 0;
  border-top: 1px solid var(--pm-border);

  color: var(--pm-text);
  background: transparent;

  cursor: pointer;
  font: inherit;
  text-align: left;

  -webkit-tap-highlight-color: transparent;
}

.tinr-profile-menu-row__icon {
  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  border: 1px solid var(--pm-border);
  border-radius: 10px;

  color: var(--pm-text-soft);
  background: var(--pm-surface-soft);
}

.tinr-profile-menu-row__icon svg {
  width: 17px;
  height: 17px;
}

.tinr-profile-menu-row__copy {
  min-width: 0;

  display: grid;
  gap: 2px;
}

.tinr-profile-menu-row__copy strong {
  color: var(--pm-text);

  font-size: 9.5px;
  font-weight: 820;
}

.tinr-profile-menu-row__copy small {
  color: var(--pm-muted);

  font-size: 7px;
}

.tinr-profile-menu-row__chevron {
  display: grid;
  place-items: center;

  color: var(--pm-muted);

  font-size: 18px;

  transition: transform .18s ease;
}

.tinr-profile-menu-row__chevron svg {
  width: 15px;
  height: 15px;
}

.tinr-profile-menu-row--open
  .tinr-profile-menu-row__chevron {
  transform: rotate(180deg);
}

.tinr-profile-menu-submenu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;

  padding: 9px 12px 12px;

  border-top: 1px solid var(--pm-border);

  background: var(--pm-surface-soft);
}

.tinr-profile-menu-submenu button {
  min-width: 0;
  min-height: 47px;

  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 7px;

  padding: 7px 9px;

  border: 1px solid var(--pm-border);
  border-radius: 10px;

  color: var(--pm-text-soft);
  background: var(--pm-surface);

  cursor: pointer;
  font: inherit;
  text-align: left;
}

.tinr-profile-menu-submenu button > span {
  width: 24px;
  height: 24px;

  display: grid;
  place-items: center;

  border-radius: 7px;

  color: var(--pm-yellow);
  background: rgba(250, 204, 21, .06);
}

.tinr-profile-menu-submenu button svg {
  width: 14px;
  height: 14px;
}

.tinr-profile-menu-submenu button strong {
  min-width: 0;

  color: var(--pm-text-soft);

  font-size: 7.5px;
  font-weight: 780;
  line-height: 1.25;
}

/* ---------- Logout ---------- */

.tinr-profile-menu-logout {
  width: 100%;
  min-height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  margin-top: 2px;

  border: 1px solid rgba(220, 53, 69, .15);
  border-radius: 14px;

  color: var(--pm-red);
  background: rgba(220, 53, 69, .055);

  cursor: pointer;
  font: inherit;
  font-size: 9px;
  font-weight: 850;
}

html[data-theme="dark"] .tinr-profile-menu-logout {
  border-color: rgba(251, 113, 133, .17);
  background: rgba(251, 113, 133, .065);
}

@media (min-width: 769px) {
  .tinr-profile-menu-page {
    padding: 34px 24px 50px;
  }
}

@media (max-width: 380px) {
  .tinr-profile-menu-page {
    padding-inline: 8px;
  }

  .tinr-profile-menu-hero {
    gap: 9px;

    padding: 13px;
  }

  .tinr-profile-menu-avatar {
    width: 47px;
    height: 47px;

    border-radius: 14px;
  }

  .tinr-profile-menu-theme {
    min-width: 50px;
  }

  .tinr-profile-menu-quick button {
    min-height: 86px;

    padding: 9px;
  }

  .tinr-profile-menu-quick small {
    display: none;
  }

  .tinr-profile-menu-submenu {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================
   PROFILE HUB — MOBILE CENTERING / PREMIUM V5
   ========================================================== */
@media (max-width: 768px) {
  .tinr-profile-menu-page {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding:
      9px
      5px
      calc(var(--tinr-mobile-bottom-nav-height, 88px) + 18px)
      !important;

    overflow-x: clip !important;
    box-sizing: border-box !important;
  }

  .tinr-profile-menu-shell,
  .tinr-profile-menu-hero,
  .tinr-profile-menu-quick,
  .tinr-profile-menu-card,
  .tinr-profile-menu-logout {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin-left: auto !important;
    margin-right: auto !important;

    box-sizing: border-box !important;
  }

  .tinr-profile-menu-shell {
    max-width: 520px !important;
  }

  .tinr-profile-menu-hero {
    padding: 15px !important;
    border-radius: 18px !important;
  }

  .tinr-profile-menu-identity strong {
    font-size: 13px !important;
  }

  .tinr-profile-menu-identity small {
    font-size: 7.5px !important;
  }

  .tinr-profile-menu-quick {
    gap: 7px !important;
  }

  .tinr-profile-menu-quick button {
    min-height: 94px !important;
    border-radius: 15px !important;
    padding: 11px !important;
  }

  .tinr-profile-menu-quick strong {
    font-size: 9.5px !important;
  }

  .tinr-profile-menu-quick small {
    font-size: 7px !important;
  }

  .tinr-profile-menu-card {
    border-radius: 16px !important;
  }

  .tinr-profile-menu-row {
    min-height: 67px !important;
    padding-inline: 13px !important;
  }

  .tinr-profile-menu-row__copy strong {
    font-size: 10px !important;
  }

  .tinr-profile-menu-row__copy small {
    font-size: 7.2px !important;
  }

  .tinr-profile-menu-theme,
  .tinr-profile-menu-quick button,
  .tinr-profile-menu-row,
  .tinr-profile-menu-submenu button,
  .tinr-profile-menu-logout {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .tinr-profile-menu-theme:active,
  .tinr-profile-menu-quick button:active,
  .tinr-profile-menu-row:active,
  .tinr-profile-menu-submenu button:active,
  .tinr-profile-menu-logout:active {
    transform: scale(.985);
  }
}


/* ==========================================================
   PROFILE ICON POLISH V6
   Gives every React icon a consistent premium tile treatment.
   ========================================================== */

.tinr-profile-menu-row__icon,
.tinr-profile-menu-quick__icon,
.tinr-profile-menu-submenu button > span {
  position: relative;
  overflow: hidden;
}

.tinr-profile-menu-row__icon::after,
.tinr-profile-menu-quick__icon::after,
.tinr-profile-menu-submenu button > span::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(250, 204, 21, .08), transparent 52%);
  pointer-events: none;
}

.tinr-profile-menu-row__icon svg,
.tinr-profile-menu-quick__icon svg,
.tinr-profile-menu-submenu button svg {
  position: relative;
  z-index: 1;
  stroke-width: 1.65;
}

.tinr-profile-menu-row:hover .tinr-profile-menu-row__icon,
.tinr-profile-menu-quick button:hover .tinr-profile-menu-quick__icon,
.tinr-profile-menu-submenu button:hover > span {
  border-color: rgba(234, 179, 8, .24);
  color: var(--pm-yellow);
  box-shadow:
    0 7px 16px rgba(234, 179, 8, .08);
}

@media (max-width: 768px) {
  .tinr-profile-menu-row:active .tinr-profile-menu-row__icon,
  .tinr-profile-menu-quick button:active .tinr-profile-menu-quick__icon,
  .tinr-profile-menu-submenu button:active > span {
    transform: scale(.94);
  }
}
/* ==========================================================
   TradeINR Premium Admin User Details V8
   ========================================================== */

/* The legacy /admin/user-details route is outside /admin-dashboard in App.jsx.
   Hide the public header while this admin-only screen is mounted. */
body.tinr-admin-userdetails-route .tinr-public-header {
  display: none !important;
}

body.tinr-admin-userdetails-route .main-content {
  margin-top: 0 !important;
  min-height: 100vh !important;
  padding: 0 !important;
  background: var(--tinr-bg) !important;
}

.tinr-admin-userdetails-standalone {
  min-height: 100vh;
}

.tinr-admin-userdetails-page {
  width: 100%;
  min-width: 0;
}

.tinr-admin-userdetails-state {
  min-height: 220px;

  display: grid;
  place-items: center;

  border: 1px solid var(--ta-border);
  border-radius: 16px;

  color: var(--ta-muted);
  background: var(--ta-surface);

  box-shadow: var(--ta-shadow);
}

/* Header */
.tinr-admin-userdetails-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(230px, auto);
  align-items: center;
  gap: 14px;

  margin-bottom: 14px;
  padding: 14px;

  border: 1px solid var(--ta-border);
  border-radius: 16px;

  background:
    radial-gradient(circle at 92% 30%, rgba(250, 204, 21, .07), transparent 180px),
    var(--ta-surface);

  box-shadow: var(--ta-shadow-sm);
}

.tinr-admin-userdetails-back {
  min-height: 37px;

  display: inline-flex;
  align-items: center;
  gap: 7px;

  padding: 0 10px;

  border: 1px solid var(--ta-border);
  border-radius: 9px;

  color: var(--ta-text-soft);
  background: var(--ta-surface-soft);

  cursor: pointer;
  font-size: 8px;
}

.tinr-admin-userdetails-back svg {
  width: 15px;
  height: 15px;
}

.tinr-admin-userdetails-title {
  min-width: 0;
}

.tinr-admin-userdetails-title > span {
  color: var(--ta-yellow);

  font-size: 7px;
  font-weight: 850;
  letter-spacing: .11em;
}

.tinr-admin-userdetails-title h1 {
  margin: 3px 0 2px;
  font-size: 24px;
  font-weight: 880;
}

.tinr-admin-userdetails-title p {
  margin: 0;
  color: var(--ta-muted);
  font-size: 8px;
}

.tinr-admin-userdetails-identity {
  min-width: 0;

  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 9px;

  padding: 8px 10px;

  border: 1px solid var(--ta-border);
  border-radius: 11px;

  background: var(--ta-surface-soft);
}

.tinr-admin-userdetails-avatar {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(234, 179, 8, .26);
  border-radius: 11px;

  color: #111827;
  background: linear-gradient(145deg, #ffe66a, #facc15);

  font-size: 15px;
  font-weight: 900;
}

.tinr-admin-userdetails-identity > span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.tinr-admin-userdetails-identity small {
  color: var(--ta-muted);
  font-size: 6.5px;
}

.tinr-admin-userdetails-identity strong,
.tinr-admin-userdetails-identity em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tinr-admin-userdetails-identity strong {
  color: var(--ta-text);
  font-size: 9.5px;
  font-style: normal;
  font-weight: 850;
}

.tinr-admin-userdetails-identity em {
  color: var(--ta-muted);
  font-size: 7px;
  font-style: normal;
}

/* Stats */
.tinr-admin-userdetails-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;

  margin-bottom: 10px;
}

.tinr-admin-userdetails-stats article {
  min-width: 0;
  min-height: 86px;

  display: flex;
  align-items: center;
  gap: 11px;

  padding: 13px;

  border: 1px solid var(--ta-border);
  border-radius: 14px;

  background: var(--ta-surface);

  box-shadow: var(--ta-shadow-sm);
}

.tinr-admin-userdetails-stat-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;

  display: grid;
  place-items: center;

  border-radius: 10px;
}

.tinr-admin-userdetails-stat-icon svg {
  width: 19px;
  height: 19px;
}

.tinr-admin-userdetails-stat-icon--blue {
  color: var(--ta-blue);
  background: color-mix(in srgb, var(--ta-blue) 7%, transparent);
}

.tinr-admin-userdetails-stat-icon--green {
  color: var(--ta-green);
  background: color-mix(in srgb, var(--ta-green) 7%, transparent);
}

.tinr-admin-userdetails-stat-icon--red {
  color: var(--ta-danger);
  background: color-mix(in srgb, var(--ta-danger) 7%, transparent);
}

.tinr-admin-userdetails-stat-icon--gold {
  color: var(--ta-yellow);
  background: rgba(250, 204, 21, .06);
}

.tinr-admin-userdetails-stat-icon--violet {
  color: var(--ta-violet);
  background: color-mix(in srgb, var(--ta-violet) 7%, transparent);
}

.tinr-admin-userdetails-stats article > div:last-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.tinr-admin-userdetails-stats small {
  color: var(--ta-muted);
  font-size: 7px;
  font-weight: 750;
}

.tinr-admin-userdetails-stats strong {
  overflow: hidden;

  color: var(--ta-text);

  font-size: 16px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.tinr-admin-userdetails-value--positive {
  color: var(--ta-green) !important;
}

.tinr-admin-userdetails-value--negative {
  color: var(--ta-danger) !important;
}

.tinr-admin-userdetails-kyc {
  width: fit-content;
  padding: 4px 8px;

  border: 1px solid var(--ta-border);
  border-radius: 999px;

  font-size: 8px !important;
  text-transform: capitalize;
}

.tinr-admin-userdetails-kyc--approved {
  color: var(--ta-green) !important;
  border-color: color-mix(in srgb, var(--ta-green) 20%, transparent);
  background: color-mix(in srgb, var(--ta-green) 7%, transparent);
}

.tinr-admin-userdetails-kyc--pending {
  color: var(--ta-orange) !important;
  border-color: color-mix(in srgb, var(--ta-orange) 20%, transparent);
  background: color-mix(in srgb, var(--ta-orange) 7%, transparent);
}

.tinr-admin-userdetails-kyc--rejected,
.tinr-admin-userdetails-kyc--failed {
  color: var(--ta-danger) !important;
  border-color: color-mix(in srgb, var(--ta-danger) 20%, transparent);
  background: color-mix(in srgb, var(--ta-danger) 7%, transparent);
}

/* Cards */
.tinr-admin-userdetails-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 10px;
}

.tinr-admin-userdetails-card {
  min-width: 0;

  overflow: hidden;

  border: 1px solid var(--ta-border);
  border-radius: 15px;

  background: var(--ta-surface);

  box-shadow: var(--ta-shadow-sm);
}

.tinr-admin-userdetails-card--activity {
  grid-column: 1 / -1;
}

.tinr-admin-userdetails-card > header {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 9px;

  padding: 12px 14px;

  border-bottom: 1px solid var(--ta-border);

  background: var(--ta-surface-soft);
}

.tinr-admin-userdetails-card__icon {
  width: 36px;
  height: 36px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(250, 204, 21, .14);
  border-radius: 10px;

  color: var(--ta-yellow);
  background: rgba(250, 204, 21, .05);
}

.tinr-admin-userdetails-card__icon svg {
  width: 17px;
  height: 17px;
}

.tinr-admin-userdetails-card header > div {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.tinr-admin-userdetails-card header small {
  color: var(--ta-yellow);
  font-size: 6.5px;
  font-weight: 850;
  letter-spacing: .09em;
}

.tinr-admin-userdetails-card header h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 850;
}

.tinr-admin-userdetails-rows {
  padding: 5px 14px 9px;
}

.tinr-admin-userdetails-rows > div {
  min-width: 0;
  min-height: 38px;

  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  align-items: center;
  gap: 10px;

  border-bottom: 1px solid var(--ta-border);
}

.tinr-admin-userdetails-rows > div:last-child {
  border-bottom: 0;
}

.tinr-admin-userdetails-rows span {
  color: var(--ta-muted);
  font-size: 7.5px;
  font-weight: 700;
}

.tinr-admin-userdetails-rows strong {
  min-width: 0;

  overflow-wrap: anywhere;

  color: var(--ta-text-soft);

  font-size: 8.5px;
  font-weight: 760;
  text-align: right;
}

/* Activity links */
.tinr-admin-userdetails-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;

  padding: 10px;
}

.tinr-admin-userdetails-links button {
  min-width: 0;
  min-height: 65px;

  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;

  padding: 8px;

  border: 1px solid var(--ta-border);
  border-radius: 10px;

  color: var(--ta-text);
  background: var(--ta-surface-soft);

  cursor: pointer;
  font: inherit;
  text-align: left;
}

.tinr-admin-userdetails-links button:hover {
  border-color: rgba(250, 204, 21, .20);
  background: rgba(250, 204, 21, .04);
}

.tinr-admin-userdetails-link-icon {
  width: 32px;
  height: 32px;

  display: grid;
  place-items: center;

  border-radius: 9px;

  color: var(--ta-yellow);
  background: rgba(250, 204, 21, .055);
}

.tinr-admin-userdetails-link-icon svg {
  width: 15px;
  height: 15px;
}

.tinr-admin-userdetails-links button > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.tinr-admin-userdetails-links strong {
  color: var(--ta-text);
  font-size: 8.3px;
  font-weight: 820;
}

.tinr-admin-userdetails-links small {
  color: var(--ta-muted);
  font-size: 6.4px;
}

.tinr-admin-userdetails-links em {
  color: var(--ta-muted);
  font-size: 16px;
  font-style: normal;
}

@media (max-width: 1120px) {
  .tinr-admin-userdetails-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tinr-admin-userdetails-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .tinr-admin-userdetails-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .tinr-admin-userdetails-back {
    width: fit-content;
  }

  .tinr-admin-userdetails-identity {
    width: 100%;
  }

  .tinr-admin-userdetails-grid {
    grid-template-columns: 1fr;
  }

  .tinr-admin-userdetails-card--activity {
    grid-column: auto;
  }

  .tinr-admin-userdetails-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .tinr-admin-userdetails-stats {
    grid-template-columns: 1fr;
  }

  .tinr-admin-userdetails-rows > div {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 8px 0;
  }

  .tinr-admin-userdetails-rows strong {
    text-align: left;
  }

  .tinr-admin-userdetails-links {
    grid-template-columns: 1fr;
  }
}
/* body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
} */

/* body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #0b1220 0%, #0d1628 100%);
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
} */


