/**
 * 定投计划管理组件样式 - 高级优化版
 */

/* ============ 弹窗容器 ============ */
.invest-plan-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: investModalFadeIn 0.25s ease;
}

.invest-plan-modal-content {
  background: linear-gradient(180deg, #1f1f1f 0%, #1c1917 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: investModalSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.invest-plan-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: sticky;
  top: 0;
  background: linear-gradient(180deg, rgba(31, 31, 31, 0.98) 0%, rgba(28, 25, 23, 0.95) 100%);
  backdrop-filter: blur(20px);
  z-index: 10;
}

.invest-plan-modal-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.3);
  color: var(--accent-rose);
  transform: rotate(90deg);
}

/* ============ 统计卡片 ============ */
.invest-plan-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 24px 28px;
  background: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

@media (max-width: 768px) {
  .invest-plan-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
  }
}

.invest-stat-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.invest-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.invest-stat-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.invest-stat-icon {
  font-size: 28px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.invest-stat-content {
  flex: 1;
}

.invest-stat-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: -0.02em;
}

.invest-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* ============ 操作按钮 ============ */
.invest-plan-actions {
  display: flex;
  gap: 12px;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  flex-wrap: wrap;
}

.invest-plan-btn {
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.invest-plan-btn.primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0a0a0a;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);
}

.invest-plan-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.invest-plan-btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.invest-plan-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
}

/* ============ 即将执行提醒 ============ */
.invest-plan-upcoming {
  padding: 20px 28px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.02) 100%);
  border-bottom: 1px solid rgba(245, 158, 11, 0.15);
}

.invest-plan-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.invest-plan-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0a0a0a;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.invest-upcoming-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.invest-upcoming-item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  border-left: 3px solid var(--accent-amber);
  transition: all 0.2s ease;
}

.invest-upcoming-item:hover {
  background: rgba(0, 0, 0, 0.3);
  transform: translateX(4px);
}

.invest-upcoming-fund {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.invest-upcoming-amount {
  font-size: 14px;
  color: var(--accent-amber);
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}

.invest-upcoming-date {
  font-size: 12px;
  color: var(--text-muted);
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.invest-upcoming-execute {
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.invest-upcoming-execute:hover {
  background: rgba(16, 185, 129, 0.25);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.2);
}

/* ============ 计划列表 ============ */
.invest-plan-list-section {
  padding: 24px 28px;
}

.invest-plan-empty {
  text-align: center;
  padding: 80px 20px;
}

.invest-plan-empty-icon {
  font-size: 56px;
  margin-bottom: 20px;
  opacity: 0.6;
}

.invest-plan-empty-text {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-weight: 500;
}

.invest-plan-empty-hint {
  font-size: 14px;
  color: var(--text-muted);
}

.invest-plan-list {
  display: grid;
  gap: 14px;
}

/* ============ 计划卡片 ============ */
.invest-plan-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.invest-plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.invest-plan-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  transform: translateX(6px);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
}

.invest-plan-card.status-active {
  border-left: 3px solid var(--accent-emerald);
}

.invest-plan-card.status-paused {
  border-left: 3px solid var(--accent-amber);
  opacity: 0.85;
}

.invest-plan-card.status-completed {
  border-left: 3px solid var(--accent-cyan);
  opacity: 0.7;
}

.invest-plan-card.status-cancelled {
  border-left: 3px solid var(--accent-rose);
  opacity: 0.5;
}

.invest-plan-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.invest-plan-fund-info {
  flex: 1;
}

.invest-plan-fund-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.invest-plan-fund-code {
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 4px;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  display: inline-block;
}

.invest-plan-status-badge {
  padding: 5px 12px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.invest-plan-status-badge.status-active {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.1);
}

.invest-plan-status-badge.status-paused {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
}

.invest-plan-status-badge.status-completed {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
}

.invest-plan-status-badge.status-cancelled {
  background: rgba(244, 63, 94, 0.15);
  color: var(--accent-rose);
}

.invest-plan-card-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

@media (max-width: 480px) {
  .invest-plan-card-body {
    grid-template-columns: 1fr;
  }
}

.invest-plan-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.04);
}

.invest-plan-detail:last-child {
  border-bottom: none;
}

.invest-plan-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.invest-plan-value {
  font-size: 13px;
  color: var(--text-secondary);
}

.invest-plan-value.highlight {
  color: var(--accent-amber);
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
}

.invest-plan-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.invest-plan-action-btn {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.invest-plan-action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.invest-plan-action-btn.execute {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
}

.invest-plan-action-btn.execute:hover {
  background: rgba(16, 185, 129, 0.2);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.15);
}

.invest-plan-action-btn.delete {
  color: var(--accent-rose);
  border-color: rgba(244, 63, 94, 0.15);
}

.invest-plan-action-btn.delete:hover {
  background: rgba(244, 63, 94, 0.1);
  border-color: rgba(244, 63, 94, 0.3);
}

/* ============ 表单 ============ */
.invest-plan-form-container {
  padding: 28px;
}

.invest-plan-form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.invest-plan-form-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 600px) {
  .invest-plan-form-body {
    grid-template-columns: 1fr;
  }
}

.invest-plan-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.invest-plan-form-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.invest-plan-form-input,
.invest-plan-form-select,
.invest-plan-form-textarea {
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: 'JetBrains Mono', monospace;
  outline: none;
  transition: all 0.2s ease;
}

.invest-plan-form-input:focus,
.invest-plan-form-select:focus,
.invest-plan-form-textarea:focus {
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
  background: rgba(0, 0, 0, 0.3);
}

.invest-plan-form-textarea {
  resize: vertical;
  min-height: 90px;
  font-family: inherit;
}

.invest-plan-form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

/* ============ 日历视图 ============ */
.invest-plan-calendar {
  padding: 24px;
}

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

.invest-calendar-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.invest-calendar-nav {
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.invest-calendar-nav:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.invest-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.invest-calendar-weekday {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  padding: 10px;
  font-weight: 600;
}

.invest-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.invest-calendar-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  border: 1px solid transparent;
}

.invest-calendar-day:hover:not(.empty) {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.invest-calendar-day.empty {
  cursor: default;
  background: transparent;
}

.invest-calendar-day.today {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.invest-calendar-day.past {
  opacity: 0.4;
}

.invest-calendar-day.has-plan {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.invest-calendar-day.has-plan:hover {
  background: rgba(16, 185, 129, 0.15);
}

.invest-calendar-day-number {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.invest-calendar-day-plans {
  position: absolute;
  bottom: 6px;
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
  padding: 0 4px;
}

.invest-calendar-plan-dot {
  font-size: 9px;
  background: var(--accent-emerald);
  color: #0a0a0a;
  padding: 1px 4px;
  border-radius: 4px;
  font-weight: 700;
  white-space: nowrap;
}

/* ============ 执行记录列表 ============ */
.invest-execution-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.invest-execution-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border-radius: 14px;
  border-left: 3px solid var(--accent-emerald);
  transition: all 0.2s ease;
}

.invest-execution-item:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  transform: translateX(4px);
}

.invest-execution-fund {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.invest-execution-details {
  display: flex;
  gap: 18px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.invest-execution-amount,
.invest-execution-nav,
.invest-execution-shares {
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.invest-execution-amount {
  color: var(--accent-amber);
  font-weight: 700;
}

.invest-execution-date {
  font-size: 11px;
  color: var(--text-muted);
  text-align: right;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  height: fit-content;
}

/* ============ 错误提示 ============ */
.invest-plan-error {
  text-align: center;
  padding: 60px 20px;
  color: var(--accent-rose);
  font-size: 15px;
}

/* ============ 动画 ============ */
@keyframes investModalFadeIn {
  from { 
    opacity: 0; 
  }
  to { 
    opacity: 1; 
  }
}

@keyframes investModalSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ============ 响应式优化 ============ */
@media (max-width: 600px) {
  .invest-plan-modal-header {
    padding: 18px 20px;
  }
  
  .invest-plan-modal-title {
    font-size: 18px;
  }
  
  .invest-plan-stats {
    padding: 16px;
  }
  
  .invest-plan-actions {
    padding: 16px;
  }
  
  .invest-plan-list-section {
    padding: 16px;
  }
  
  .invest-plan-card {
    padding: 16px;
  }
  
  .invest-plan-form-container {
    padding: 20px;
  }
  
  .invest-plan-upcoming {
    padding: 16px;
  }
  
  .invest-upcoming-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .invest-upcoming-execute {
    width: 100%;
    justify-content: center;
  }
}

/* ============ 资产配置建议 - 风险偏好切换按钮 ============ */
.risk-tab {
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #a1a1aa;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s ease;
}

.risk-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #d4d4d8;
}

.risk-tab.active {
  border-color: rgba(167, 139, 250, 0.4);
  background: rgba(167, 139, 250, 0.15);
  color: #a78bfa;
  font-weight: 500;
}

/* ============ 操作记录 - 标签切换按钮 ============ */
.trade-tab {
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #a1a1aa;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s ease;
}

.trade-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #d4d4d8;
}

.trade-tab.active {
  border-color: rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.1);
  color: #22d3ee;
  font-weight: 500;
}

/* ============ 待确认执行记录 ============ */
.pending-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #ef4444;
  color: white;
  font-size: 11px;
  font-weight: 700;
  border-radius: 9px;
  margin-left: 6px;
}

.invest-plan-pending {
  padding: 24px;
}

.invest-plan-pending-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.invest-plan-pending-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.invest-plan-pending-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  padding: 12px 16px;
  background: rgba(245, 158, 11, 0.08);
  border-radius: 10px;
  border-left: 3px solid #f59e0b;
}

.invest-plan-pending-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.invest-pending-fund {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.invest-pending-fund-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.invest-pending-fund-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.invest-pending-count {
  font-size: 12px;
  color: #f59e0b;
  padding: 4px 10px;
  background: rgba(245, 158, 11, 0.12);
  border-radius: 8px;
  font-weight: 600;
}

.invest-pending-executions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.invest-pending-exec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.invest-pending-exec-info {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.invest-pending-exec-date,
.invest-pending-exec-amount,
.invest-pending-exec-nav,
.invest-pending-exec-shares {
  font-size: 12px;
  color: var(--text-secondary);
}

.invest-pending-exec-amount {
  color: #f59e0b;
  font-weight: 700;
}

.invest-pending-exec-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.invest-pending-nav-input {
  width: 100px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  outline: none;
  transition: all 0.2s ease;
}

.invest-pending-nav-input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.invest-plan-btn.small {
  padding: 8px 14px;
  font-size: 12px;
}

@media (max-width: 600px) {
  .invest-pending-exec {
    flex-direction: column;
    align-items: stretch;
  }
  
  .invest-pending-exec-actions {
    margin-top: 12px;
  }
  
  .invest-pending-nav-input {
    flex: 1;
  }
}
