/* ==========================================================================
    Universal Portal Stylesheet
   Auth, Identity Verification, and User Dashboard Flow
   ========================================================================== */

:root {
  --itc-green: #7ea842;
  --itc-green-hover: #709738;
  --itc-green-active: #62862e;
  --itc-green-light: #eef6e4;
  --itc-green-badge: #eaf3dc;
  --itc-navy-950: #070b19;
  --itc-navy-900: #0d1527;
  --itc-navy-800: #131c33;
  --itc-navy-700: #1b2644;
  --itc-text-main: #111827;
  --itc-text-muted: #4b5563;
  --itc-text-sub: #6b7280;
  --itc-text-placeholder: #9ca3af;
  --itc-cancel-color: #d9534f;
  --itc-cancel-hover: #c9302c;
  --itc-border-light: #e5e7eb;
  --itc-border-focus: #7ea842;
  --itc-bg-app: #f9fafb;
  --itc-card-bg: #ffffff;
  --itc-card-radius: 12px;
  --itc-btn-radius: 8px;
  --itc-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --itc-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --itc-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --itc-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Base resets & typography */
.itc-portal-body {
  font-family: var(--itc-font-family);
  color: var(--itc-text-main);
  background-color: var(--itc-bg-app);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.itc-portal-body *,
.itc-portal-body *::before,
.itc-portal-body *::after {
  box-sizing: border-box;
}

/* ==========================================================================
   LAYOUTS
   ========================================================================== */

/* Overrides to neutralize external cloned css rules on layout elements */
main.itc-auth-container,
div.itc-auth-container,
.itc-auth-container,
main.itc-dash-content-wrap,
div.itc-dash-content-wrap,
.itc-dash-content-wrap {
  position: static !important;
  top: 0 !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  contain: none !important;
}

/* Auth Layout Shell */
.itc-auth-shell {
  min-height: 100vh;
  background-color: #f8fafc;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.itc-auth-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--itc-border-light);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative !important;
  top: 0 !important;
  width: 100%;
  flex-shrink: 0;
  z-index: 10;
}

.itc-auth-header-inner {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.itc-auth-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.itc-auth-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.itc-auth-container {
  flex: 1 1 auto;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100%;
  padding: 40px 20px !important;
  box-sizing: border-box;
  margin: 0 auto !important;
}

.itc-auth-page-wrapper {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.itc-verify-page-wrapper {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.itc-auth-card,
.itc-verify-card {
  margin: 0 auto;
}

h1, .itc-auth-title, .itc-verify-title {
  scroll-margin-top: 120px;
}

.itc-auth-footer {
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--itc-text-sub);
  border-top: 1px solid #edf2f7;
  background-color: #ffffff;
}

.itc-auth-footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 8px;
}

.itc-auth-footer-links a {
  color: var(--itc-text-sub);
  text-decoration: none;
  transition: color 0.15s ease;
}

.itc-auth-footer-links a:hover {
  color: var(--itc-green);
}

/* Dashboard Layout Shell */
.itc-dash-shell {
  min-height: 100vh;
  background-color: #f3f4f6;
  display: flex;
  flex-direction: column;
}

.itc-dash-navbar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--itc-border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.itc-dash-navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.itc-dash-nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
  min-width: 0;
}

.itc-dash-nav-left .itc-auth-logo-img {
  height: 30px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.itc-dash-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.itc-dash-nav-links a {
  color: var(--itc-text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 4px 0;
  position: relative;
  transition: color 0.15s ease;
}

.itc-dash-nav-links a:hover,
.itc-dash-nav-links a.active {
  color: var(--itc-green);
  font-weight: 600;
}

.itc-dash-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.itc-nav-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--itc-text-muted);
  text-decoration: none;
  transition: all 0.15s ease;
}

.itc-nav-icon-link:hover {
  background-color: #f3f4f6;
  color: var(--itc-green);
}

.itc-user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background-color: #f9fafb;
  border: 1px solid var(--itc-border-light);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--itc-text-main);
  text-decoration: none;
  transition: background-color 0.15s ease;
  flex-shrink: 0;
}

.itc-user-pill:hover {
  background-color: #f3f4f6;
}

.itc-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--itc-green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

.itc-user-logout {
  display: inline-flex;
  align-items: center;
  color: #94a3b8;
  transition: color 0.15s ease;
  margin-left: 2px;
}

.itc-user-logout:hover {
  color: #ef4444;
}

/* Mobile Hamburger Toggle */
.itc-mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  background: #ffffff;
  border: 1px solid var(--itc-border-light);
  border-radius: 8px;
  color: var(--itc-text-main);
  cursor: pointer;
  transition: all 0.15s ease;
}

.itc-mobile-menu-btn:hover {
  background-color: #f3f4f6;
  color: var(--itc-green);
}

/* Mobile Drawer Backdrop */
.itc-mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(2px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.itc-mobile-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Slide-Out Drawer */
.itc-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 290px;
  max-width: 85vw;
  background-color: #ffffff;
  z-index: 1060;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.itc-mobile-drawer.is-open {
  transform: translateX(0);
}

.itc-mobile-drawer-header {
  padding: 16px 18px;
  border-bottom: 1px solid var(--itc-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f9fafb;
}

.itc-mobile-user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.itc-mobile-user-info {
  min-width: 0;
}

.itc-mobile-user-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--itc-text-main);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.itc-mobile-user-email {
  font-size: 12px;
  color: var(--itc-text-muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.itc-mobile-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.itc-mobile-drawer-close:hover {
  background-color: #e2e8f0;
  color: #0f172a;
}

.itc-mobile-drawer-nav {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.itc-mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.itc-mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 8px;
  color: var(--itc-text-main);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s ease;
}

.itc-mobile-nav-item:hover {
  background-color: #f3f4f6;
  color: var(--itc-green);
}

.itc-mobile-nav-item.active {
  background-color: #e6f7f0;
  color: var(--itc-green);
  font-weight: 600;
}

.itc-mobile-nav-item svg {
  flex-shrink: 0;
}

.itc-mobile-logout {
  color: #ef4444 !important;
}

.itc-mobile-logout:hover {
  background-color: #fef2f2 !important;
  color: #b91c1c !important;
}

.itc-mobile-drawer-divider {
  height: 1px;
  background-color: var(--itc-border-light);
  margin: 12px 0;
}

/* Responsive Media Queries for Header */
@media (max-width: 860px) {
  .itc-dash-navbar-inner {
    padding: 10px 16px;
  }

  .itc-dash-nav-links {
    display: none !important;
  }

  .itc-mobile-menu-btn {
    display: inline-flex !important;
  }
}

@media (max-width: 540px) {
  .itc-dash-nav-left .itc-auth-logo-img {
    height: 24px;
    max-width: 130px;
  }

  .itc-user-name {
    display: none !important;
  }

  .itc-user-pill {
    padding: 4px 6px;
    gap: 6px;
  }

  .itc-nav-icon-link {
    display: none !important;
  }

  .itc-dash-content-wrap {
    padding: 20px 16px 48px;
  }
}

.itc-dash-content-wrap {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 24px 60px;
}

/* ==========================================================================
   VERIFICATION FLOW STYLES (Screenshots 1, 2, 3, 4)
   ========================================================================== */

.itc-verify-card {
  background-color: var(--itc-card-bg);
  border-radius: var(--itc-card-radius);
  border: 1px solid var(--itc-border-light);
  padding: 40px 48px;
  box-shadow: var(--itc-shadow-sm);
  position: relative;
}

@media (max-width: 640px) {
  .itc-verify-card {
    padding: 24px 18px;
  }
}

/* Header bar inside verify page */
.itc-verify-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.itc-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--itc-green);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.15s ease;
  text-decoration: none;
}

.itc-back-btn:hover {
  color: var(--itc-green-hover);
  background-color: var(--itc-green-light);
}

.itc-cancel-link {
  color: var(--itc-cancel-color);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease;
  margin-left: auto;
}

.itc-cancel-link:hover {
  color: var(--itc-cancel-hover);
  text-decoration: underline;
}

.itc-verify-subtitle {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}

.itc-verify-title {
  font-size: 26px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 28px 0;
  letter-spacing: -0.02em;
}

/* Screenshot 1 - Requirements Box */
.itc-verify-req-box {
  background-color: #ffffff;
  border: 1px solid var(--itc-border-light);
  border-radius: 10px;
  padding: 28px 32px;
  margin-bottom: 24px;
}

.itc-verify-req-heading {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #111827;
  margin-bottom: 20px;
}

.itc-verify-req-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.itc-verify-req-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  font-weight: 500;
  color: #1f2937;
  margin-bottom: 12px;
}

.itc-verify-req-list li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: #9ca3af;
  font-size: 20px;
  line-height: 1;
  top: -1px;
}

/* Accordion / Disclosure */
.itc-verify-disclosure-toggle {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  color: #60a5fa;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  text-align: left;
  margin-bottom: 8px;
  font-weight: 500;
}

.itc-verify-disclosure-toggle:hover {
  text-decoration: underline;
  color: #3b82f6;
}

.itc-verify-disclosure-text {
  font-size: 12px;
  line-height: 1.6;
  color: #9ca3af;
  margin: 0 0 32px 0;
}

/* Primary Green Action Button */
.itc-btn-primary {
  display: block;
  width: 100%;
  max-width: 380px;
  margin: 32px auto 0;
  padding: 13px 28px;
  background-color: var(--itc-green);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(126, 168, 66, 0.25);
  transition: all 0.2s ease;
}

.itc-btn-primary:hover {
  background-color: var(--itc-green-hover);
  color: #ffffff;
  box-shadow: 0 4px 8px rgba(126, 168, 66, 0.35);
  transform: translateY(-1px);
}

.itc-btn-primary:active {
  background-color: var(--itc-green-active);
  transform: translateY(0);
}

.itc-btn-primary:disabled {
  background-color: #cbd5e1;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* ==========================================================================
   FORM CONTROLS & INPUTS (Screenshots 2 & 3)
   ========================================================================== */

.itc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

@media (max-width: 640px) {
  .itc-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.itc-form-group {
  display: flex;
  flex-direction: column;
}

.itc-form-group.span-2 {
  grid-column: span 2;
}

@media (max-width: 640px) {
  .itc-form-group.span-2 {
    grid-column: span 1;
  }
}

.itc-label {
  font-size: 13px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 6px;
  display: block;
}

.itc-label-req {
  color: #1e3a8a;
}

.itc-input {
  width: 100%;
  height: 44px;
  padding: 10px 14px;
  font-size: 15px;
  font-family: inherit;
  color: #111827;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
}

.itc-input:focus {
  border-color: var(--itc-green);
  box-shadow: 0 0 0 2px rgba(126, 168, 66, 0.2);
}

.itc-input::placeholder {
  color: #9ca3af;
}

.itc-input:disabled {
  background-color: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}

.itc-select-wrapper {
  position: relative;
  width: 100%;
}

.itc-select {
  width: 100%;
  height: 44px;
  padding: 10px 36px 10px 14px;
  font-size: 15px;
  font-family: inherit;
  color: #111827;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease;
}

.itc-select:focus {
  border-color: var(--itc-green);
  box-shadow: 0 0 0 2px rgba(126, 168, 66, 0.2);
}

.itc-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #1e3a8a;
}

/* Custom Checkbox */
.itc-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  user-select: none;
  margin-top: 10px;
}

.itc-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  border: 1.5px solid #84cc16;
  background-color: #ffffff;
  cursor: pointer;
  accent-color: var(--itc-green);
  margin-top: 2px;
}

/* ==========================================================================
   REVIEW SUMMARY SCREEN (Screenshot 4)
   ========================================================================== */

.itc-review-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.itc-review-row {
  border-bottom: 1px solid #f1f5f9;
}

.itc-review-row:last-child {
  border-bottom: 1px solid var(--itc-border-light);
}

.itc-review-label {
  padding: 16px 8px 16px 0;
  font-size: 15px;
  font-weight: 500;
  color: #2563eb;
  width: 40%;
}

.itc-review-val {
  padding: 16px 0 16px 8px;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.itc-mask-toggle {
  background: none;
  border: none;
  color: #4b5563;
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  transition: color 0.15s ease;
}

.itc-mask-toggle:hover {
  color: var(--itc-green);
}

.itc-consent-box {
  margin-top: 24px;
  padding: 16px;
  background-color: #f8fafc;
  border: 1px solid var(--itc-border-light);
  border-radius: 8px;
}

.itc-consent-box .itc-checkbox-label {
  margin-top: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #4b5563;
}

.itc-consent-box a {
  color: #2563eb;
  text-decoration: underline;
}

/* ==========================================================================
   DASHBOARD SCREEN (Screenshot 5)
   ========================================================================== */

.itc-dash-title {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 24px 0;
}

.itc-dash-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}

@media (max-width: 992px) {
  .itc-dash-grid {
    grid-template-columns: 1fr;
  }
}

/* Left Column Components */
.itc-dash-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Green Promo Banner */
.itc-promo-banner {
  position: relative;
  background: linear-gradient(135deg, #4d8014 0%, #30580c 45%, #183304 100%);
  border-radius: 12px;
  padding: 32px 36px;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(48, 88, 12, 0.2);
}

.itc-promo-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.15s ease;
}

.itc-promo-close:hover {
  color: #ffffff;
}

.itc-promo-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.itc-promo-logo {
  height: 38px;
  width: auto;
}

.itc-promo-tagline {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.itc-promo-subtext {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 20px 0;
}

.itc-promo-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.itc-promo-btn-open {
  padding: 8px 24px;
  background-color: var(--itc-green);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.itc-promo-btn-open:hover {
  background-color: #6d9337;
}

.itc-promo-btn-learn {
  padding: 8px 24px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.itc-promo-btn-learn:hover {
  background: rgba(0, 0, 0, 0.35);
}

/* Section Card & List items */
.itc-section-group {
  background-color: #ffffff;
  border-radius: 10px;
  border: 1px solid var(--itc-border-light);
  overflow: hidden;
  box-shadow: var(--itc-shadow-sm);
}

.itc-section-title {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  padding: 16px 20px 10px;
  margin: 0;
}

.itc-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid #f3f4f6;
  color: #1f2937;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  background-color: #ffffff;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.itc-action-row:hover {
  background-color: #f9fafb;
  color: var(--itc-green);
}

.itc-action-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.itc-action-row-chevron {
  color: var(--itc-green);
  font-size: 16px;
  font-weight: bold;
}

/* Right Column Widgets */
.itc-dash-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Refer a friend card */
.itc-referral-card {
  background-color: #ffffff;
  border-radius: 10px;
  border: 1px solid var(--itc-border-light);
  overflow: hidden;
  box-shadow: var(--itc-shadow-sm);
}

.itc-referral-header {
  background-color: #164e22;
  color: #ffffff;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.itc-referral-header:hover {
  background-color: #113f1b;
}

.itc-referral-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 18px 20px;
  text-align: center;
}

.itc-referral-stat-col:first-child {
  border-right: 1px solid #f1f5f9;
}

.itc-referral-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 6px;
}

.itc-referral-stat-val {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
}

/* Fear and Greed Index */
.itc-fear-greed-card {
  background-color: #ffffff;
  border-radius: 10px;
  border: 1px solid var(--itc-border-light);
  padding: 20px;
  box-shadow: var(--itc-shadow-sm);
}

.itc-fear-greed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.itc-fear-greed-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.itc-fear-greed-sentiment {
  font-size: 14px;
  font-weight: 800;
  color: #15803d;
}

.itc-fear-greed-sub {
  font-size: 12px;
  font-weight: 600;
  color: #dc2626;
  margin-bottom: 12px;
}

.itc-fear-greed-score {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 8px;
}

.itc-gauge-track {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, #ef4444 0%, #f59e0b 35%, #84cc16 70%, #22c55e 100%);
  position: relative;
  margin: 10px 0 4px;
}

.itc-gauge-indicator {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 2.5px solid #111827;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Ask Trusty (Beta) */
.itc-trusty-card {
  background: linear-gradient(90deg, #5b9e24 0%, #16a34a 50%, #0d9488 100%);
  border-radius: 10px;
  padding: 14px 18px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.25);
  transition: transform 0.15s ease;
}

.itc-trusty-card:hover {
  transform: translateY(-1px);
}

.itc-trusty-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.itc-trusty-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.itc-trusty-content {
  display: flex;
  flex-direction: column;
}

.itc-trusty-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.itc-trusty-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.itc-trusty-beta {
  background-color: #fef08a;
  color: #854d0e;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.itc-trusty-quote {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
}

.itc-trusty-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Market Watch Widget */
.itc-market-card {
  background-color: #ffffff;
  border-radius: 10px;
  border: 1px solid var(--itc-border-light);
  padding: 18px;
  box-shadow: var(--itc-shadow-sm);
}

.itc-market-title {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 14px;
}

.itc-market-search-wrap {
  position: relative;
  margin-bottom: 14px;
}

.itc-market-search-input {
  width: 100%;
  height: 38px;
  border: 1px solid var(--itc-border-light);
  border-radius: 6px;
  padding: 8px 36px 8px 12px;
  font-size: 14px;
  color: #111827;
  outline: none;
}

.itc-market-search-input:focus {
  border-color: var(--itc-green);
}

.itc-market-search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}

.itc-market-tabs {
  display: flex;
  border-bottom: 1px solid var(--itc-border-light);
  margin-bottom: 14px;
  gap: 18px;
}

.itc-market-tab {
  background: none;
  border: none;
  padding: 8px 2px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  position: relative;
  transition: color 0.15s ease;
}

.itc-market-tab:hover {
  color: #111827;
}

.itc-market-tab.active {
  color: #111827;
}

.itc-market-tab.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--itc-green);
}

.itc-market-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.itc-market-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  text-decoration: none;
}

.itc-market-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.itc-coin-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.itc-coin-meta {
  display: flex;
  flex-direction: column;
}

.itc-coin-name {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.itc-coin-sym {
  font-size: 12px;
  color: #6b7280;
}

.itc-market-item-right {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: right;
}

.itc-coin-price-block {
  display: flex;
  flex-direction: column;
}

.itc-coin-price {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.itc-coin-change {
  font-size: 12px;
  font-weight: 600;
}

.itc-coin-change.up {
  color: #16a34a;
}

.itc-coin-change.down {
  color: #dc2626;
}

.itc-coin-star {
  color: #d1d5db;
  cursor: pointer;
  transition: color 0.15s ease;
  font-size: 16px;
}

.itc-coin-star:hover,
.itc-coin-star.favorited {
  color: #f59e0b;
}

/* ==========================================================================
   AUTH PAGES: SIGN UP & LOGIN CARDS
   ========================================================================== */

.itc-auth-card {
  background-color: #ffffff;
  border-radius: var(--itc-card-radius);
  border: 1px solid var(--itc-border-light);
  padding: 36px 40px;
  box-shadow: var(--itc-shadow-md);
}

@media (max-width: 480px) {
  .itc-auth-card {
    padding: 24px 20px;
  }
}

.itc-auth-title {
  font-size: 24px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 6px 0;
  text-align: center;
}

.itc-auth-subtitle {
  font-size: 14px;
  color: var(--itc-text-sub);
  margin: 0 0 28px 0;
  text-align: center;
}

.itc-auth-subtitle a {
  color: var(--itc-green);
  text-decoration: none;
  font-weight: 600;
}

.itc-auth-subtitle a:hover {
  text-decoration: underline;
}

.itc-password-field-wrap {
  position: relative;
  width: 100%;
}

.itc-password-toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.itc-auth-flex-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0 24px;
}

.itc-auth-link {
  font-size: 13px;
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.itc-auth-link:hover {
  text-decoration: underline;
}

.itc-auth-divider {
  display: flex;
  align-items: center;
  margin: 28px 0 20px;
  color: #94a3b8;
  font-size: 13px;
}

.itc-auth-divider::before,
.itc-auth-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}

.itc-auth-divider span {
  padding: 0 12px;
}

/* ==========================================================================
   VERIFICATION WIZARD — STEP PROGRESS INDICATOR
   ========================================================================== */

.itc-step-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 0 32px 0;
  padding: 0 8px;
}

/* Individual step */
.itc-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* Circle */
.itc-step-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  background-color: #ffffff;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s ease;
}

/* Label under circle */
.itc-step-label {
  font-size: 11px;
  font-weight: 500;
  color: #9ca3af;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

/* Connector line between steps */
.itc-step-connector {
  flex: 1;
  height: 2px;
  background-color: #e5e7eb;
  min-width: 24px;
  max-width: 80px;
  margin-bottom: 18px; /* align with circle center */
  transition: background-color 0.2s ease;
}

/* Active step */
.itc-step-item.is-active .itc-step-circle {
  border-color: var(--itc-green);
  background-color: var(--itc-green);
  color: #ffffff;
}

.itc-step-item.is-active .itc-step-label {
  color: var(--itc-green);
  font-weight: 700;
}

/* Completed step */
.itc-step-item.is-complete .itc-step-circle {
  border-color: var(--itc-green);
  background-color: var(--itc-green);
  color: #ffffff;
}

.itc-step-item.is-complete .itc-step-label {
  color: #4b5563;
}

/* Completed connector */
.itc-step-connector.is-complete {
  background-color: var(--itc-green);
}

/* Wizard step transition */
.itc-wizard-step-enter {
  animation: wizardStepIn 0.2s ease forwards;
}

@keyframes wizardStepIn {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   IRA WIZARD PAGE
   ========================================================================== */

.itc-ira-wizard-page-wrapper {
  display: flex;
  justify-content: center;
}

.itc-ira-page-panel {
  background-color: #ffffff;
  border-radius: 12px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
}

/* Top bar for Page */
.itc-ira-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #f1f5f9;
}

.itc-ira-back-btn {
  color: var(--itc-green);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.itc-ira-back-btn:hover {
  opacity: 0.8;
}

.itc-ira-cancel-btn {
  color: #ef4444; /* subtle red/orange */
  font-weight: 600;
  font-size: 14px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.itc-ira-cancel-btn:hover {
  text-decoration: underline;
}

/* Step content body */
.itc-ira-body {
  padding: 24px 32px 36px;
}

/* Step header */
.itc-ira-step-header {
  margin-bottom: 28px;
}

.itc-ira-subtitle {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #4b5563;
  margin-bottom: 4px;
}

.itc-ira-title {
  font-size: 24px;
  font-weight: 800;
  color: #111827;
  margin: 0;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   IRA SELECT FUNDING STEP
   ========================================================================== */

.itc-funding-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}

.itc-funding-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.itc-funding-option:hover {
  border-color: var(--itc-green);
  background-color: #f7faf2;
  color: var(--itc-green);
}

.itc-funding-option.is-selected {
  border-color: var(--itc-green);
  background-color: #f7faf2;
  color: var(--itc-green);
  border-width: 2px;
}

.itc-funding-option-text {
  display: flex;
  flex-direction: column;
}

.itc-funding-option-title {
  font-weight: 600;
}

.itc-ira-step-footer {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.itc-ira-link-btn {
  color: var(--itc-green);
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.itc-ira-link-btn:hover {
  text-decoration: underline;
}

.itc-funding-chevron {
  color: var(--itc-green);
  flex-shrink: 0;
}

.itc-ira-learn-link {
  font-size: 14px;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}

.itc-ira-learn-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   IRA FORM FIELDS
   ========================================================================== */

.itc-ira-form-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.itc-ira-field {
  display: flex;
  flex-direction: column;
}

.itc-ira-label {
  font-size: 13px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 6px;
}

.itc-ira-field-hint {
  font-size: 12px;
  color: #3b82f6;
  margin-top: 4px;
  line-height: 1.4;
}

.itc-ira-cta {
  margin-top: 28px !important;
  max-width: 100% !important;
}

/* ==========================================================================
   IRA AGREEMENT STEP
   ========================================================================== */

.itc-agreement-box {
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 20px 24px;
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 20px;
}

.itc-agreement-heading {
  font-size: 13px;
  font-weight: 800;
  color: #111827;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.itc-agreement-article {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  margin: 16px 0 4px;
}

.itc-agreement-body {
  font-size: 12px;
  color: #4b5563;
  line-height: 1.65;
  margin: 0;
}

.itc-agreement-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #374151;
}

.itc-agreement-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.itc-docusign-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #9ca3af;
}

.itc-docusign-badge strong {
  font-style: italic;
  color: #1e40af;
}

/* ==========================================================================
   IRA SUCCESS MODAL
   ========================================================================== */

.itc-ira-success-backdrop {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  backdrop-filter: blur(4px);
  z-index: 20;
  padding: 20px;
}

.itc-ira-success-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 32px 28px;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.itc-ira-success-title {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 16px;
  line-height: 1.25;
}

.itc-ira-success-method {
  font-size: 14px;
  color: #111827;
  margin-bottom: 10px;
}

.itc-ira-success-body {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 24px;
}

.itc-ira-success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.itc-ira-success-btn-primary {
  flex: 1;
  padding: 11px 20px;
  background-color: var(--itc-green);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.itc-ira-success-btn-primary:hover {
  background-color: var(--itc-green-hover);
}

.itc-ira-success-btn-secondary {
  flex: 1;
  padding: 11px 20px;
  background-color: #dbeafe;
  color: #1e40af;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.itc-ira-success-btn-secondary:hover {
  background-color: #bfdbfe;
}

/* ==========================================================================
   POST-ACCOUNT: IRA ACCOUNT BANNER
   ========================================================================== */

.itc-promo-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.itc-promo-brand {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.itc-ira-account-banner {
  background: linear-gradient(135deg, #0d1527 0%, #131c33 100%);
  border-radius: 12px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 4px 12px rgba(13, 21, 39, 0.3);
  flex-wrap: wrap;
}

.itc-ira-account-banner-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.itc-ira-account-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.itc-ira-badge-logo {
  height: 36px;
  width: auto;
}

.itc-ira-badge-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1;
}

.itc-ira-badge-type {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-top: 2px;
}

.itc-ira-account-status {
  display: flex;
  align-items: center;
  gap: 7px;
}

.itc-ira-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #4ade80;
  animation: statusPulse 2s infinite;
  flex-shrink: 0;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.itc-ira-status-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.itc-ira-account-banner-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.itc-ira-account-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  text-align: right;
}

.itc-ira-account-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.itc-ira-account-btn-primary {
  padding: 8px 20px;
  background-color: var(--itc-green);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease;
  text-decoration: none;
}

.itc-ira-account-btn-primary:hover {
  background-color: var(--itc-green-hover);
}

.itc-ira-account-btn-secondary {
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
}

.itc-ira-account-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 540px) {
  .itc-ira-body {
    padding: 20px 18px 28px;
  }

  .itc-ira-account-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .itc-ira-account-banner-right {
    align-items: flex-start;
  }
}

/* ==========================================================================
   ACTIVE IRA ACCOUNTS CARD (POST-OPEN)
   ========================================================================== */
.itc-ira-accounts-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
  overflow: hidden;
}

.itc-ira-accounts-header {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.itc-ira-acc-logo {
  height: 20px;
  width: auto;
  margin-right: 8px;
}

.itc-ira-acc-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
}

.itc-ira-acc-count {
  font-weight: 500;
  color: #64748b;
  margin-left: 2px;
}

.itc-ira-account-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
}

.itc-ira-col {
  display: flex;
  flex-direction: column;
}

.itc-ira-col-name {
  align-items: flex-start;
}

.itc-ira-col-gains {
  align-items: center;
}

.itc-ira-col-value {
  align-items: flex-end;
  position: relative;
  padding-right: 20px; /* space for chevron */
}

.itc-ira-val-main {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
}

.itc-ira-val-sub {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

.itc-ira-chevron {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--itc-green);
  font-weight: 700;
  font-size: 18px;
}

.itc-ira-accounts-actions {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
}

.itc-ira-btn-blue {
  background-color: #60a5fa;
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s;
}

.itc-ira-btn-blue:hover {
  background-color: #3b82f6;
}

.itc-ira-btn-green {
  background-color: var(--itc-green);
  color: white;
  border: none;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 36px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
}

.itc-ira-btn-green:hover {
  background-color: var(--itc-green-hover);
}

.itc-ira-accounts-footer {
  padding: 12px 20px;
  background-color: #fcfcfc;
}

.itc-ira-open-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--itc-green);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.itc-ira-open-link:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .itc-ira-account-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  
  .itc-ira-col-value {
    grid-column: 1 / -1;
    align-items: flex-start;
  }
}

/* ==========================================================================
   ACCOUNT DETAILS & ADD FUNDS FLOW
   ========================================================================== */

.itc-acc-page-container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 24px 20px 80px;
  overflow-x: hidden;
}

.itc-acc-layout {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}

.itc-acc-main {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

/* =========================================================================
   SIDEBAR RESPONSIVE VISIBILITY: DESKTOP VS MOBILE
   ========================================================================= */

/* By default (Desktop > 860px): Show desktop sidebar, HIDE mobile drawer and trigger */
.itc-acc-sidebar-desktop {
  display: flex !important;
}

.itc-acc-drawer,
.itc-acc-drawer-backdrop,
.itc-acc-mobile-menu-trigger {
  display: none !important;
}

/* Mobile Viewport (<= 860px) */
@media (max-width: 860px) {
  .itc-acc-page-container {
    padding: 16px 14px 40px !important;
  }

  .itc-acc-layout {
    grid-template-columns: 100% !important;
    gap: 16px;
  }

  /* HIDE desktop sidebar completely on mobile */
  .itc-acc-sidebar-desktop {
    display: none !important;
  }

  /* SHOW mobile trigger button in top back bar */
  .itc-acc-mobile-menu-trigger {
    display: inline-flex !important;
  }

  /* Mobile Backdrop */
  .itc-acc-drawer-backdrop {
    display: block !important;
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(2px);
    z-index: 999;
  }

  /* Mobile Off-Canvas Drawer (Sliding sidebar) */
  .itc-acc-drawer {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background-color: #ffffff;
    z-index: 1000;
    box-shadow: -4px 0 25px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
  }

  .itc-acc-drawer.open,
  .itc-acc-drawer.is-open {
    transform: translateX(0);
  }

  .itc-acc-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    background-color: #f8fafc;
    flex-shrink: 0;
  }

  .itc-acc-drawer-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
  }

  .itc-acc-drawer-close {
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .itc-acc-drawer-close:hover {
    color: #0f172a;
  }

  .itc-acc-drawer-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
  }
}

/* Back to Dashboard Link & Mobile Action Trigger */
.itc-acc-back-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}

.itc-acc-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
  padding: 4px 0;
}

.itc-acc-back-link:hover {
  color: #0f172a;
}

.itc-acc-back-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.15s ease;
}

.itc-acc-back-link:hover .itc-acc-back-arrow {
  transform: translateX(-3px);
}

.itc-acc-mobile-menu-trigger {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #1e293b;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.itc-acc-mobile-menu-trigger:hover {
  background-color: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

/* Account Details Header */
.itc-acc-header {
  margin-bottom: 24px;
}

.itc-acc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.itc-acc-badge-text {
  font-size: 13px;
  font-weight: 700;
  color: #4b5563;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.itc-acc-info-icon {
  font-size: 13px;
  color: #94a3b8;
  cursor: pointer;
  user-select: none;
}

.itc-acc-total-value {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.itc-acc-total-amount {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.itc-acc-total-label {
  font-size: 15px;
  font-weight: 600;
  color: #64748b;
}

/* Account Cards */
.itc-acc-card {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
  overflow: hidden;
}

.itc-acc-card-header {
  padding: 16px 20px 12px;
  border-bottom: 1px solid #f1f5f9;
}

.itc-acc-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

/* My USD Row */
.itc-acc-usd-row {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.itc-acc-usd-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.itc-acc-usd-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #22c55e;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.itc-acc-usd-info {
  display: flex;
  flex-direction: column;
}

.itc-acc-usd-symbol {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.itc-acc-usd-name {
  font-size: 12px;
  color: #64748b;
  margin-top: 1px;
}

.itc-acc-usd-balance {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

/* My Assets Table */
.itc-acc-table-wrapper {
  overflow-x: auto;
}

.itc-acc-table {
  width: 100%;
  border-collapse: collapse;
}

.itc-acc-table th {
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-align: left;
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.itc-acc-table th.itc-th-allocation,
.itc-acc-table th.itc-th-price {
  text-align: left;
}

.itc-acc-table th.itc-th-balance {
  text-align: right;
}

.itc-acc-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
  vertical-align: middle;
}

.itc-acc-table tr:last-child td {
  border-bottom: none;
}

.itc-asset-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.itc-crypto-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.itc-crypto-btc {
  background-color: #f7931a;
}

.itc-crypto-eth {
  background-color: #627eea;
}

.itc-asset-info {
  display: flex;
  flex-direction: column;
}

.itc-asset-symbol {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.itc-asset-name {
  font-size: 12px;
  color: #64748b;
  margin-top: 1px;
}

.itc-alloc-val {
  font-weight: 500;
  color: #334155;
}

.itc-price-val {
  font-weight: 600;
  color: #0f172a;
}

.itc-balance-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.itc-bal-usd {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.itc-bal-crypto {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

/* Right Sidebar */
.itc-acc-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.itc-acc-sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.itc-acc-btn-add-funds {
  background-color: #3b82f6;
  color: #ffffff;
  padding: 11px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
  display: block;
}

.itc-acc-btn-add-funds:hover {
  background-color: #2563eb;
  color: #ffffff;
}

.itc-acc-btn-buy {
  background-color: #558b2f;
  color: #ffffff !important;
  padding: 11px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
  display: block;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
  width: 100%;
  box-sizing: border-box;
}

.itc-acc-btn-buy:hover {
  background-color: #436e25;
  color: #ffffff !important;
}

.itc-acc-btn-sell {
  background-color: #52781a;
  color: #ffffff !important;
  padding: 11px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
  display: block;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
  width: 100%;
  box-sizing: border-box;
}

.itc-acc-btn-sell:hover {
  background-color: #415f14;
  color: #ffffff !important;
}

.itc-acc-sidebar-menu {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.itc-acc-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.itc-acc-menu-row:last-child {
  border-bottom: none;
}

.itc-acc-menu-row:hover {
  background-color: #f8fafc;
  color: #0f172a;
}

.itc-acc-menu-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.itc-acc-menu-icon {
  width: 18px;
  height: 18px;
  color: #94a3b8;
  flex-shrink: 0;
}

.itc-acc-menu-arrow {
  color: var(--itc-green);
  font-weight: 700;
  font-size: 16px;
}

/* ==========================================================================
   MOBILE OFF-CANVAS DRAWER
   ========================================================================== */

/* Drawer Backdrop */
.itc-acc-drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.itc-acc-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

/* Off-Canvas Mobile Drawer Panel */
.itc-acc-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background-color: #ffffff;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.18);
  z-index: 1060;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.itc-acc-mobile-drawer.is-open {
  transform: translateX(0);
}

.itc-acc-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  background-color: #f8fafc;
}

.itc-acc-drawer-title-group {
  display: flex;
  flex-direction: column;
}

.itc-acc-drawer-badge {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.itc-acc-drawer-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 2px 0 0;
}

.itc-acc-drawer-close {
  background: none;
  border: none;
  font-size: 18px;
  color: #64748b;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  border-radius: 4px;
}

.itc-acc-drawer-close:hover {
  background-color: #e2e8f0;
  color: #0f172a;
}

.itc-acc-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px 40px;
  -webkit-overflow-scrolling: touch;
}

/* ==========================================================================
   ADD FUNDS MULTI-STEP FLOW
   ========================================================================== */

/* Add Funds Header (Directly in main area, with Cancel at top right) */
.itc-af-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.itc-af-header-left {
  display: flex;
  align-items: center;
}

.itc-af-header-titles {
  display: flex;
  flex-direction: column;
}

.itc-af-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 2px;
  font-weight: 500;
}

.itc-af-title {
  font-size: 24px;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
  letter-spacing: -0.01em;
}

.itc-af-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.itc-af-cancel-link {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.15s ease;
}

.itc-af-cancel-link:hover {
  color: #dc2626;
  text-decoration: underline;
}

/* Add Funds Option Cards (Method & Source Steps) */
.itc-af-options-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.itc-af-option-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 22px 24px;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.itc-af-option-card:hover {
  border-color: #cbd5e1;
  background-color: #fafafa;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}

.itc-af-option-title {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.itc-af-option-bullets {
  margin: 0;
  padding-left: 20px;
  font-size: 13px;
  color: #475569;
}

.itc-af-option-bullets li {
  line-height: 1.5;
}

/* ACH Form (Step 3) */
.itc-af-form {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 26px 28px 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.itc-af-form-group {
  margin-bottom: 20px;
}

.itc-af-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
}

.itc-af-bank-card {
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  background-color: #f8fafc;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.itc-af-bank-card:hover {
  border-color: #cbd5e1;
}

.itc-af-bank-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background-color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.itc-af-bank-details {
  display: flex;
  flex-direction: column;
}

.itc-af-bank-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.itc-af-bank-type {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

.itc-af-bank-link-btn {
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  background-color: #f8fafc;
  transition: all 0.15s ease;
}

.itc-af-bank-link-btn:hover {
  border-color: var(--itc-green);
  color: var(--itc-green);
  background-color: #ffffff;
}

.itc-af-plus-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--itc-green);
  color: var(--itc-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

.itc-af-input-prefix-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.itc-af-currency-symbol {
  position: absolute;
  left: 14px;
  font-size: 15px;
  font-weight: 600;
  color: #64748b;
  pointer-events: none;
}

.itc-af-input {
  width: 100%;
  height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
  color: #0f172a;
  background-color: #ffffff;
  padding: 0 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.itc-af-input-currency {
  padding-left: 28px;
  font-weight: 600;
  font-size: 15px;
}

.itc-af-input:focus {
  outline: none;
  border-color: var(--itc-green);
  box-shadow: 0 0 0 3px rgba(101, 163, 13, 0.15);
}

.itc-af-hint {
  font-size: 12px;
  color: #64748b;
  margin-top: 6px;
  margin-bottom: 0;
}

.itc-af-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.itc-af-select {
  width: 100%;
  height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0 36px 0 12px;
  font-size: 14px;
  color: #0f172a;
  background-color: #ffffff;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.itc-af-select:focus {
  outline: none;
  border-color: var(--itc-green);
  box-shadow: 0 0 0 3px rgba(101, 163, 13, 0.15);
}

.itc-af-select-chevron {
  position: absolute;
  right: 14px;
  font-size: 9px;
  color: #64748b;
  pointer-events: none;
}

.itc-af-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0 28px;
}

.itc-af-checkbox {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--itc-green);
}

.itc-af-checkbox-label {
  font-size: 13px;
  color: #334155;
  line-height: 1.5;
  cursor: pointer;
  user-select: none;
}

.itc-af-submit-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.itc-af-btn-secondary {
  background-color: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.itc-af-btn-secondary:hover {
  background-color: #e2e8f0;
  color: #0f172a;
  border-color: #94a3b8;
}

.itc-af-step-back-wrapper {
  display: flex;
  justify-content: flex-start;
  margin-top: 4px;
}

.itc-af-submit-btn {
  background-color: var(--itc-green);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 12px 64px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.itc-af-submit-btn:hover:not(:disabled) {
  background-color: var(--itc-green-hover);
}

.itc-af-submit-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Sublabels for Transfer Assets */
.itc-af-sublabel {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

/* IRA Transfer Dynamic Assets */
.itc-af-assets-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.itc-af-asset-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  background-color: #f8fafc;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.itc-af-asset-col {
  display: flex;
  flex-direction: column;
}

.itc-af-remove-asset-btn {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
  font-size: 14px;
}

.itc-af-remove-asset-btn:hover {
  background-color: #fee2e2;
  border-color: #fca5a5;
  color: #ef4444;
}

.itc-af-add-asset-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 10px 16px;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
  justify-content: center;
}

.itc-af-add-asset-btn:hover {
  border-color: var(--itc-green);
  color: var(--itc-green);
  background-color: #f7fee7;
}

.itc-af-plus-icon {
  font-size: 16px;
  font-weight: 700;
}

/* IRA Transfer Digital Signature Card (Screenshot 4) */
.itc-af-signature-card {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background-color: #ffffff;
  padding: 24px 28px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.itc-af-sig-header {
  margin-bottom: 12px;
}

.itc-af-sig-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.itc-af-sig-pad-wrapper {
  display: flex;
  flex-direction: column;
}

.itc-af-signature-svg {
  width: 100%;
  height: 80px;
  max-width: 500px;
  margin: 0 auto;
}

.itc-af-sig-baseline-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.itc-af-sig-x {
  font-size: 16px;
  font-weight: 700;
  color: #334155;
}

.itc-af-sig-line {
  flex: 1;
  height: 1px;
  background-color: #475569;
}

.itc-af-sig-instructions {
  margin-top: 8px;
  font-size: 13px;
  color: #64748b;
  font-style: italic;
}

/* IRA Transfer Confirmation Review (Screenshot 2) */
.itc-af-review-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.itc-af-review-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.itc-af-review-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.itc-af-review-val {
  font-size: 15px;
  color: #0f172a;
  font-weight: 700;
}

.itc-af-review-assets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.itc-af-review-assets-table {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.itc-af-review-asset-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 6px 12px;
}

.itc-af-asset-sym {
  font-size: 12px;
  font-weight: 800;
  color: #1e293b;
}

.itc-af-asset-qty {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

/* Employer Plan Rollover Agreement Card (Screenshot 1) */
.itc-af-agreement-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 28px 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.itc-af-agreement-header {
  margin-bottom: 20px;
}

.itc-af-ag-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 11px;
  color: #64748b;
  margin-bottom: 16px;
}

.itc-af-ag-treasury {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.itc-af-ag-irs {
  text-align: right;
}

.itc-af-ag-title-block {
  text-align: center;
  margin-bottom: 16px;
}

.itc-af-ag-main-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
}

.itc-af-ag-sub-title {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px;
}

.itc-af-ag-code-ref {
  font-size: 11px;
  font-style: italic;
  color: #64748b;
  margin: 0;
}

.itc-af-ag-divider {
  height: 1px;
  background-color: #cbd5e1;
  width: 100%;
}

.itc-af-agreement-body {
  font-size: 12.5px;
  color: #334155;
  line-height: 1.6;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 8px;
}

.itc-af-ag-custodian-line {
  margin-bottom: 12px;
}

.itc-af-ag-article {
  margin-top: 14px;
}

.itc-af-ag-article-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
}

.itc-af-ag-accept-row {
  margin: 16px 0 24px;
}

.itc-af-ag-label-bold {
  font-weight: 600;
  color: #0f172a;
}

/* Info Callout Box (Screenshot 2) */
.itc-af-info-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: #f0f9ff;
  border: 1px solid #bae6fd;
  border-left: 4px solid #0284c7;
  border-radius: 6px;
  padding: 14px 16px;
  margin: 20px 0 24px;
}

.itc-af-info-icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.itc-af-info-content {
  flex: 1;
}

.itc-af-info-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0369a1;
  margin: 0 0 4px;
}

.itc-af-info-text {
  font-size: 12.5px;
  color: #0c4a6e;
  line-height: 1.5;
  margin: 0;
}

.itc-af-agreement-inline-link {
  color: #0284c7;
  font-weight: 700;
  text-decoration: underline;
  margin-left: 4px;
}

.itc-af-agreement-inline-link:hover {
  color: #0369a1;
}

/* Submitted Confirmation Modal */
.itc-af-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.itc-af-modal-card {
  background-color: #ffffff;
  border-radius: 12px;
  max-width: 380px;
  width: 100%;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
  animation: modalFadeIn 0.2s ease forwards;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.itc-af-modal-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px;
}

.itc-af-modal-body {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 24px;
}

.itc-af-modal-ok-btn {
  background-color: var(--itc-green);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 10px 48px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.itc-af-modal-ok-btn:hover {
  background-color: var(--itc-green-hover);
}

/* ==========================================================================
   MOBILE RESPONSIVENESS OVERRIDES
   ========================================================================== */

@media (max-width: 640px) {
  .itc-acc-total-amount {
    font-size: 24px;
  }
  
  .itc-acc-total-label {
    font-size: 13px;
  }

  .itc-acc-card {
    border-radius: 8px;
    margin-bottom: 16px;
  }

  .itc-acc-card-header {
    padding: 14px 16px 10px;
  }

  .itc-acc-usd-row {
    padding: 14px 16px;
  }

  .itc-acc-usd-icon {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .itc-acc-usd-balance {
    font-size: 14px;
  }

  .itc-acc-table th,
  .itc-acc-table td {
    padding: 12px 10px;
    font-size: 12px;
  }

  /* Hide allocation column on narrow mobile screens so table fits 100% without blowout */
  .itc-th-allocation,
  .itc-td-allocation {
    display: none;
  }

  .itc-asset-cell {
    gap: 8px;
  }

  .itc-crypto-icon {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .itc-af-form {
    padding: 20px 16px;
  }

  .itc-af-option-card {
    padding: 16px 18px;
  }

  .itc-af-title {
    font-size: 20px;
  }

  .itc-af-submit-wrapper {
    flex-direction: column-reverse;
    gap: 10px;
  }

  .itc-af-submit-btn,
  .itc-af-btn-secondary {
    width: 100%;
    text-align: center;
  }

  .itc-af-checkbox-label {
    font-size: 12px;
  }
}

/* ==========================================================================
   MARKET ASSETS & TRADING MODULE
   ========================================================================== */

.itc-market-account-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 4px;
}

.itc-market-info-icon {
  width: 14px;
  height: 14px;
  color: #94a3b8;
}

.itc-market-page-title {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

/* Search Box */
.itc-market-search-box {
  position: relative;
  width: 100%;
  margin-bottom: 16px;
}

.itc-market-search-input {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 10px 42px 10px 14px;
  font-size: 14px;
  color: #0f172a;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.itc-market-search-input:focus {
  border-color: #558b2f;
  box-shadow: 0 0 0 2px rgba(85, 139, 47, 0.15);
}

.itc-market-search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #94a3b8;
  pointer-events: none;
}

/* Category Tabs */
.itc-market-tabs-row {
  display: flex;
  gap: 28px;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 8px;
}

.itc-market-tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 8px 4px 10px 4px;
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  margin-bottom: -2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.itc-market-tab-btn:hover {
  color: #1e293b;
}

.itc-market-tab-btn.active {
  color: #1e293b;
  border-bottom-color: #558b2f;
}

/* Asset List */
.itc-market-asset-list {
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
  overflow: hidden;
}

.itc-market-empty {
  padding: 36px 16px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
}

.itc-market-asset-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.itc-market-asset-row:last-child {
  border-bottom: none;
}

.itc-market-asset-row:hover {
  background-color: #f8fafc;
}

.itc-market-asset-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.itc-market-coin-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.itc-market-name-group {
  display: flex;
  flex-direction: column;
}

.itc-market-asset-name {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}

.itc-market-asset-symbol {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.itc-market-asset-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.itc-market-price-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.itc-market-price {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}

.itc-market-unit {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
}

.itc-market-change {
  font-size: 12px;
  font-weight: 700;
}

.itc-market-change.positive {
  color: #16a34a;
}

.itc-market-change.negative {
  color: #dc2626;
}

.itc-market-star-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #cbd5e1;
  transition: color 0.15s ease, transform 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.itc-market-star-btn:hover {
  color: #f59e0b;
  transform: scale(1.1);
}

.itc-market-star-btn.favorited {
  color: #f59e0b;
}

.itc-star-icon {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   ASSET DETAILS PAGE & CHART
   ========================================================================== */

.itc-detail-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}

.itc-detail-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.itc-detail-symbol {
  font-size: 16px;
  font-weight: 600;
  color: #64748b;
  margin-left: 4px;
}

.itc-detail-price {
  font-size: 30px;
  font-weight: 800;
  color: #0f172a;
  margin: 2px 0 2px 0;
  letter-spacing: -0.02em;
}

.itc-detail-unit {
  font-size: 16px;
  font-weight: 500;
  color: #64748b;
}

.itc-detail-change {
  font-size: 12px;
  font-weight: 700;
}

.itc-detail-change.positive {
  color: #16a34a;
}

.itc-detail-change.negative {
  color: #dc2626;
}

.itc-detail-star {
  margin-top: 4px;
}

/* Chart */
.itc-chart-container {
  width: 100%;
  height: 160px;
  margin: 16px 0 8px 0;
  position: relative;
}

.itc-price-chart-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.itc-chart-timeframes {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 20px;
}

.itc-tf-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 6px 4px 10px 4px;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  margin-bottom: -2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.itc-tf-btn:hover {
  color: #1e293b;
}

.itc-tf-btn.active {
  color: #1e293b;
  border-bottom-color: #558b2f;
}

/* Portfolio Stats Cards */
.itc-stats-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.itc-stat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.itc-stat-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.itc-stat-coin-icon {
  width: 32px;
  height: 32px;
  font-size: 14px;
}

.itc-stat-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.itc-stat-title {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.itc-stat-right {
  text-align: right;
}

.itc-stat-value {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.itc-stat-sub {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

/* ==========================================================================
   TRADE PAGE (Buy / Sell)
   ========================================================================== */

.itc-trade-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.itc-trade-header-side {
  font-size: 17px;
  font-weight: 700;
  color: #1e293b;
}

.itc-trade-cancel-link {
  font-size: 13px;
  font-weight: 700;
  color: #ea580c;
  text-decoration: none;
  cursor: pointer;
}

.itc-trade-cancel-link:hover {
  text-decoration: underline;
}

.itc-trade-selectors-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.itc-trade-selector-box {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s ease;
}

.itc-trade-selector-box:hover {
  border-color: #94a3b8;
}

.itc-trade-asset-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.itc-trade-coin-icon {
  width: 28px;
  height: 28px;
  font-size: 13px;
}

.itc-trade-asset-names {
  display: flex;
  align-items: center;
  gap: 4px;
}

.itc-trade-asset-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.itc-trade-asset-ticker {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

.itc-trade-asset-liveprice {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-left: 6px;
}

.itc-trade-chevron {
  width: 16px;
  height: 16px;
  color: #64748b;
  transition: transform 0.2s ease;
}

.itc-trade-chevron.open {
  transform: rotate(180deg);
}

.itc-trade-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  max-height: 260px;
  overflow-y: auto;
  z-index: 50;
}

.itc-trade-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  font-size: 13px;
  transition: background-color 0.15s ease;
}

.itc-trade-dropdown-item:last-child {
  border-bottom: none;
}

.itc-trade-dropdown-item:hover,
.itc-trade-dropdown-item.selected {
  background-color: #f1f5f9;
}

.itc-trade-dropdown-coin {
  width: 22px;
  height: 22px;
  font-size: 10px;
}

.itc-trade-ordertype-box {
  cursor: default;
}

.itc-trade-ordertype-label {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

/* Trade Tabs (Buy | Sell) */
.itc-trade-tabs-row {
  display: flex;
  gap: 32px;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 14px;
}

.itc-trade-tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 8px 4px 10px 4px;
  font-size: 15px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  margin-bottom: -2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.itc-trade-tab-btn:hover {
  color: #1e293b;
}

.itc-trade-tab-btn.active {
  color: #1e293b;
  border-bottom-color: #558b2f;
}

/* Available Balance */
.itc-trade-balance-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

.itc-trade-balance-label {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

.itc-trade-balance-val {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

/* Amount Input */
.itc-trade-input-group {
  margin-bottom: 16px;
}

.itc-trade-input-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.itc-trade-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.itc-trade-number-input {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 12px 68px 12px 14px;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  outline: none;
  transition: border-color 0.15s ease;
}

.itc-trade-number-input:focus {
  border-color: #558b2f;
  box-shadow: 0 0 0 2px rgba(85, 139, 47, 0.15);
}

.itc-trade-input-currency-prefix {
  position: absolute;
  left: 14px;
  font-size: 15px;
  font-weight: 600;
  color: #94a3b8;
  pointer-events: none;
  z-index: 1;
}

.itc-trade-input-with-prefix {
  padding-left: 28px !important;
}

.itc-trade-btn-max {
  position: absolute;
  right: 10px;
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.itc-trade-btn-max:hover {
  background-color: #e2e8f0;
}

.itc-trade-input-hint {
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}

/* Review Accordion */
.itc-trade-review-container {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.itc-trade-review-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  text-align: left;
}

.itc-trade-review-arrow {
  width: 16px;
  height: 16px;
  color: #64748b;
  transition: transform 0.2s ease;
}

.itc-trade-review-arrow.open {
  transform: rotate(180deg);
}

.itc-trade-review-body {
  padding: 0 16px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.itc-trade-review-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.itc-trade-review-term {
  color: #64748b;
  font-weight: 500;
}

.itc-trade-review-def {
  color: #0f172a;
  font-weight: 600;
}

.itc-trade-review-total {
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
  margin-top: 4px;
  font-size: 14px;
}

.itc-trade-disclaimer {
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
  margin-bottom: 20px;
}

.itc-trade-error-msg {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.itc-trade-submit-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.itc-trade-submit-btn {
  background-color: #558b2f;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 42px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  min-width: 260px;
  text-align: center;
  transition: background-color 0.15s ease, transform 0.1s ease;
  box-shadow: 0 2px 6px rgba(85, 139, 47, 0.25);
}

.itc-trade-submit-btn:hover {
  background-color: #436e25;
}

.itc-trade-submit-btn:active {
  transform: scale(0.98);
}

/* ==========================================================================
   MODAL DIALOG (Confirm Order & Success)
   ========================================================================== */

.itc-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}

.itc-modal-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 28px 24px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  animation: itcModalFadeIn 0.2s ease-out;
}

@keyframes itcModalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.itc-modal-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px 0;
  text-align: center;
}

.itc-modal-body-text {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 24px 0;
  text-align: center;
}

.itc-modal-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.itc-modal-btn-cancel {
  background: none;
  border: none;
  color: #ea580c;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 16px;
  transition: opacity 0.15s ease;
}

.itc-modal-btn-cancel:hover {
  opacity: 0.8;
}

.itc-modal-btn-confirm {
  background-color: #558b2f;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 32px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
  box-shadow: 0 2px 4px rgba(85, 139, 47, 0.2);
}

.itc-modal-btn-confirm:hover {
  background-color: #436e25;
}

.itc-success-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
}

@media (max-width: 640px) {
  .itc-trade-selectors-row {
    grid-template-columns: 1fr;
  }
}
