/* assets/css/style.css - Dark Theme Crypto & Binary Options Styling */
:root {
  --bg-main: #13141f;
  --bg-card: #1f2133;
  --bg-card-secondary: #27293d;
  --bg-input: #1a1b2b;
  --text-main: #ffffff;
  --text-muted: #8c8fa7;
  --text-sub: #b6b9db;
  --accent-purple: #9333ea;
  --accent-purple-light: #a855f7;
  --accent-blue: #3b82f6;
  --color-green: #22c55e;
  --color-red: #ef4444;
  --border-color: #2e3048;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: #0b0c14;
  color: var(--text-main);
  font-family: var(--font-family);
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

.app-container {
  width: 100%;
  max-width: 480px;
  background-color: var(--bg-main);
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: 75px; /* for fixed bottom nav */
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
}

@media (min-width: 768px) {
  body {
    padding: 20px 0;
  }
  .app-container {
    border-radius: 20px;
    overflow: hidden;
    min-height: calc(100vh - 40px);
    border: 1px solid var(--border-color);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header */
.top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--bg-main);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-header .header-left, .top-header .header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-header .header-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.header-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
}

.lang-selector {
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
}

/* Banner */
.banner-card {
  margin: 14px 16px;
  background: linear-gradient(135deg, #18192a 0%, #0d1b38 100%);
  border-radius: 14px;
  padding: 20px 18px;
  position: relative;
  overflow: hidden;
  border: 1px solid #282a44;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.banner-badge {
  display: inline-block;
  background: #4f46e5;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  font-style: italic;
  margin-bottom: 6px;
}

.banner-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  font-style: italic;
}

.banner-sub {
  font-size: 15px;
  font-style: italic;
  font-weight: 600;
  color: #a5b4fc;
}

.banner-icon {
  width: 58px;
  height: 58px;
  background: radial-gradient(circle, #06b6d4 0%, #0f172a 70%);
  border-radius: 16px;
  border: 2px solid #22d3ee;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.4);
}

/* Notice Ticker */
.notice-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.notice-bar marquee {
  flex: 1;
  color: #cbd5e1;
}

.notice-more {
  color: var(--text-muted);
  font-size: 12px;
}

/* Quick Actions */
.quick-actions {
  display: flex;
  justify-content: space-around;
  padding: 12px 16px 20px;
}

.quick-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
}

.quick-action-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}

.quick-action-icon:hover {
  transform: translateY(-2px);
}

.quick-action-item span {
  font-size: 13px;
  color: #e2e8f0;
}

.icon-withdraw {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: white;
}

.icon-service {
  background: linear-gradient(135deg, #f43f5e, #be185d);
  color: white;
}

.icon-deposit {
  background: linear-gradient(135deg, #6366f1, #4338ca);
  color: white;
}

/* Price Highlights (BTC & ETH cards) */
.market-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 16px 16px;
}

.market-highlight-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.market-highlight-pair {
  font-size: 13px;
  color: #cbd5e1;
  font-weight: 500;
  margin-bottom: 6px;
}

.market-highlight-price {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
  font-family: monospace, sans-serif;
}

.market-highlight-change {
  font-size: 12px;
  font-weight: 600;
}

.color-up {
  color: var(--color-green) !important;
}

.color-down {
  color: var(--color-red) !important;
}

/* Market List */
.market-list {
  padding: 0 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.market-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: background 0.2s;
}

.market-item:hover {
  background: var(--bg-card-secondary);
}

.coin-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.coin-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 15px;
}

.coin-name {
  font-size: 15px;
  font-weight: 600;
}

.coin-price {
  font-size: 15px;
  font-weight: 600;
  font-family: monospace, sans-serif;
}

.coin-change {
  font-size: 13px;
  font-weight: 600;
  min-width: 60px;
  text-align: right;
}

/* Bottom Navigation Bar */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: 64px;
  background: #151624;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 100;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-item svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.nav-item.active {
  color: #c084fc;
}

/* Wallets Page Styles */
.wallet-card {
  margin: 16px;
  background: var(--bg-card);
  border-radius: 14px;
  padding: 20px;
  border: 1px solid var(--border-color);
}

.wallet-label {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.wallet-balance {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.wallet-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.credit-rate-bar-wrap {
  margin-bottom: 18px;
}

.credit-rate-label {
  font-size: 13px;
  color: var(--text-sub);
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.credit-rate-bar {
  width: 100%;
  height: 6px;
  background: #33364f;
  border-radius: 3px;
  overflow: hidden;
}

.credit-rate-fill {
  height: 100%;
  background: #3b82f6;
  border-radius: 3px;
  transition: width 0.3s;
}

.wallet-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.btn-wallet-action {
  background: var(--bg-card-secondary);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.btn-wallet-action:hover {
  background: #32354f;
}

/* List Menus (Wallets page) */
.menu-group {
  margin: 0 16px;
  border-top: 1px solid var(--border-color);
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  color: #e2e8f0;
}

.menu-item-left {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}

.menu-item-left svg {
  color: var(--text-muted);
  width: 20px;
  height: 20px;
}

.menu-arrow {
  color: var(--text-muted);
  font-size: 14px;
}

/* Authentication (Login & Register) */
.auth-page-container {
  padding: 24px 20px;
}

.auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.auth-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 24px 20px;
  border: 1px solid var(--border-color);
}

.flag-center {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.flag-box {
  width: 140px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}

.flag-box svg {
  width: 100%;
  height: 100%;
}

.auth-tabs {
  display: flex;
  justify-content: space-around;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.auth-tab {
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
}

.auth-tab.active {
  color: #fff;
  font-weight: 600;
}

.auth-tab.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 14px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: var(--accent-blue);
}

.auth-btn-primary {
  width: 100%;
  background: #4f46e5;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s;
}

.auth-btn-primary:hover {
  background: #4338ca;
}

.auth-footer-links {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  font-size: 13px;
}

.link-red {
  color: #f87171;
  text-decoration: none;
}

/* Trading Page (Second) Styles */
.trading-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
}

.trading-pair-title {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pair-accent {
  color: #c084fc;
}

.trading-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
  padding: 16px;
}

.trading-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.order-amount-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 10px 12px;
  color: #fff;
  font-size: 14px;
  outline: none;
}

.time-selector-label {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 6px;
}

.time-chips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.time-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 9px 4px;
  border-radius: 6px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.time-chip.active {
  background: #111827;
  border-color: #6b7280;
  box-shadow: inset 0 0 4px rgba(255,255,255,0.2);
}

.trade-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.trade-meta-label {
  color: var(--text-sub);
}

.trade-meta-val {
  font-weight: 600;
  color: #fff;
}

.btn-buy-up {
  width: 100%;
  background: #22c55e;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-buy-down {
  width: 100%;
  background: #f43f5e;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-buy-up:hover, .btn-buy-down:hover {
  opacity: 0.9;
}

/* Order Book (Right Side) */
.order-book {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 10px;
  border: 1px solid var(--border-color);
  font-size: 11.5px;
  font-family: monospace, sans-serif;
}

.order-book-head {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-size: 11px;
}

.order-row {
  display: flex;
  justify-content: space-between;
  padding: 2.5px 0;
}

.order-row.sell {
  color: var(--color-red);
}

.order-row.buy {
  color: var(--color-green);
}

.order-current-price {
  text-align: center;
  padding: 7px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-red);
  border-top: 1px dashed var(--border-color);
  border-bottom: 1px dashed var(--border-color);
  margin: 5px 0;
}

/* Positions Section (In transaction & Closed position) */
.positions-section {
  padding: 10px 16px;
}

.positions-tabs {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.pos-tab {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
}

.pos-tab.active {
  color: #f59e0b;
}

.pos-tab.active::after {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #f59e0b;
}

.positions-table-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  font-size: 11px;
  color: var(--text-muted);
  padding-bottom: 8px;
  text-align: center;
}

.trade-item-row {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  align-items: center;
  text-align: center;
  font-size: 12px;
  border: 1px solid var(--border-color);
}

.countdown-badge {
  background: #4338ca;
  color: #fff;
  padding: 3px 6px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 11px;
}

/* Upper Side Pair Dropdown Menu */
.pair-dropdown-wrapper {
  position: relative;
}

.upper-pair-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 12px;
  right: 12px;
  background: #191b2e;
  border: 1px solid #333652;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
  z-index: 1000;
  overflow: hidden;
  animation: slideDownMenu 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.upper-pair-dropdown.active {
  display: block;
}

@keyframes slideDownMenu {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pair-dropdown-header {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #141524;
}

.pair-search-box {
  width: 100%;
  background: #0f101a;
  border: 1px solid #2b2e47;
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  font-size: 13px;
  outline: none;
}

.pair-search-box:focus {
  border-color: #6366f1;
}

.pair-dropdown-list {
  max-height: 360px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 6px;
}

.pair-dropdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.pair-dropdown-item:hover, .pair-dropdown-item.current {
  background: rgba(99, 102, 241, 0.16);
}

.pair-dropdown-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
}

.pair-dropdown-backdrop.active {
  display: block;
}

/* User Notification Bell */
.user-notification-wrapper {
  position: relative;
  display: inline-block;
}

.user-notification-bell {
  position: relative;
  background: transparent;
  border: none;
  color: var(--text-sub);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.user-notification-bell:hover {
  color: #fff;
  background: rgba(99, 102, 241, 0.15);
}

.user-notification-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border-radius: 50%;
  min-width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 4px;
  box-shadow: 0 1px 4px rgba(239, 68, 68, 0.5);
}

.user-notification-panel {
  position: absolute;
  top: 100%;
  right: 0;
  width: 300px;
  max-width: calc(100vw - 20px);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
  flex-direction: column;
  max-height: 60vh;
  overflow: hidden;
  margin-top: 8px;
}

.user-notification-panel.active {
  display: flex;
}

.user-notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.7);
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.user-notification-mark-all {
  background: transparent;
  border: none;
  color: var(--accent-purple);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
}

.user-notification-mark-all:hover {
  background: rgba(99, 102, 241, 0.15);
}

.user-notification-list {
  overflow-y: auto;
  flex: 1;
}

.user-notification-item {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.user-notification-item.unread {
  background: rgba(99, 102, 241, 0.08);
}

.user-notification-content {
  flex: 1;
  min-width: 0;
}

.user-notification-message {
  display: block;
  font-size: 13px;
  color: var(--text-main);
  margin-bottom: 3px;
  word-break: break-word;
}

.user-notification-time {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

.user-notification-empty {
  padding: 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.header-chat-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--text-sub);
  border-radius: 8px;
  transition: all 0.2s;
}

.header-chat-link:hover {
  color: #fff;
  background: rgba(99, 102, 241, 0.15);
}

.header-chat-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border-radius: 50%;
  min-width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 4px;
  box-shadow: 0 1px 4px rgba(239, 68, 68, 0.5);
}

/* Floating Chat Button (mobile) */
.floating-chat-button {
  position: fixed;
  right: 16px;
  bottom: 70px;
  width: 50px;
  height: 50px;
  background: var(--accent-purple);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
  cursor: pointer;
  z-index: 2000;
  transition: all 0.3s;
}

.floating-chat-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

/* Chat Window */
.chat-window {
  position: fixed;
  right: 16px;
  bottom: 80px;
  width: 320px;
  max-width: calc(100vw - 32px);
  height: 400px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-window.active {
  display: flex;
}

.chat-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  font-size: 15px;
  font-weight: 600;
}

.chat-window-header .chat-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
}

.chat-message {
  margin-bottom: 12px;
  max-width: 80%;
  word-break: break-word;
}

.chat-message.user {
  margin-left: auto;
  text-align: right;
}

.chat-message.admin {
  margin-right: auto;
  text-align: left;
}

.chat-message .msg-bubble {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.4;
}

.chat-message.user .msg-bubble {
  background: var(--accent-purple);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-message.admin .msg-bubble {
  background: var(--bg-card-secondary);
  color: var(--text-main);
  border-bottom-left-radius: 4px;
}

.chat-message .msg-time {
  display: block;
  font-size: 10px;
  margin-top: 3px;
  opacity: 0.7;
}

.chat-input {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
}

.chat-input input[type="text"] {
  flex: 1;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 8px 14px;
  color: var(--text-main);
  font-size: 13px;
  outline: none;
}

.chat-input input[type="text"]:focus {
  border-color: var(--accent-purple);
}

.chat-input button {
  background: var(--accent-purple);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.chat-input button:hover {
  background: var(--accent-purple-light);
}
