/* DualShot Bot - Compact Custom Styles (Overrides for LDP base) */

/* Compression Indicator - Compact */
.compression-section {
  margin: 8px 0;
  padding: 8px;
  /* background: #f9f9f9; */
  border-radius: 5px;
}

/* Trading Signal Box - Clean with Dot Indicator */
.trading-signal-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  margin-bottom: 8px;
  border-radius: 5px;
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
  background: white;
}

.signal-icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #e0e0e0;
  position: relative;
}

.trading-signal-box.ready .signal-icon {
  background: #2ecc40;
  animation: pulse-dot 2s ease-in-out infinite;
}

.trading-signal-box.wait .signal-icon {
  background: #ff851b;
}

.trading-signal-box.not-ready .signal-icon {
  background: #ff4136;
}

@keyframes pulse-dot {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(46, 204, 64, 0.7);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(46, 204, 64, 0);
  }
}

.signal-icon i {
  display: none;
}

.signal-content {
  flex: 1;
}

.signal-status {
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 1px;
  line-height: 1.2;
}

.trading-signal-box.ready .signal-status {
  color: #2ecc40;
}

.trading-signal-box.wait .signal-status {
  color: #ff851b;
}

.trading-signal-box.not-ready .signal-status {
  color: #ff4136;
}

.signal-message {
  font-size: 9px;
  color: #6c757d;
  line-height: 1.2;
}

.signal-ticks {
  font-size: 14px;
  font-weight: 700;
  color: #374151;
  font-family: 'SF Mono', Monaco, monospace;
  flex-shrink: 0;
}

/* Advanced Details Collapsible */
.compression-details {
  margin-top: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 8px;
  background: white;
}

.compression-details summary {
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  color: #6c757d;
  padding: 4px;
  user-select: none;
}

.compression-details summary:hover {
  color: #374151;
}

.compression-bar {
  height: 12px;
  background: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
  margin: 4px 0;
}

.compression-fill {
  height: 100%;
  background: linear-gradient(90deg, #2ecc40, #ff851b, #ff4136);
  transition: width 0.3s ease;
}

.compression-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 8px 0;
}

.compression-metric {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px;
  background: white;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
}

.metric-label {
  font-size: 9px;
  color: #6c757d;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.metric-value {
  font-size: 13px;
  font-weight: 700;
  color: #212529;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
}

.compression-status {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: bold;
}

.compression-status.compressed {
  background: #2ecc40;
  color: white;
}

.compression-status.neutral {
  background: #ff851b;
  color: white;
}

.compression-status.expanded {
  background: #ff4136;
  color: white;
}

.ready-indicator {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  margin-top: 8px;
  background: linear-gradient(135deg, #2ecc40 0%, #27ae60 100%);
  color: white;
  font-weight: 700;
  font-size: 12px;
  border-radius: 6px;
  animation: pulse 1.5s ease-in-out infinite;
  box-shadow: 0 2px 8px rgba(46, 204, 64, 0.3);
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(46, 204, 64, 0.3);
  }

  50% {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(46, 204, 64, 0.5);
  }
}

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

.compression-title {
  font-size: 11px;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.compression-bar-container {
  margin: 8px 0;
}

.compression-labels {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #6c757d;
  margin-top: 4px;
}

.compression-labels span {
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Dual Outcome Charts - Professional */
#dual-charts-section {
  margin: 15px 0;
}

.dual-charts-section {
  margin: 10px 0;
}

.dual-chart-container {
  display: flex;
  gap: 8px;
  margin: 8px 0;
}

.outcome-card {
  flex: 1;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.outcome-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.outcome-card.winning {
  border-color: #2ecc40;
  background: linear-gradient(to bottom, #ffffff 0%, #f0fff0 100%);
}

.outcome-card.losing {
  border-color: #ff4136;
  background: linear-gradient(to bottom, #ffffff 0%, #fff5f5 100%);
}

.outcome-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid #f0f0f0;
}

.outcome-title {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
}

.outcome-title i {
  font-size: 14px;
}

.outcome-status {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
}

.outcome-status.active {
  background: linear-gradient(135deg, #29abe2 0%, #1e87c4 100%);
}

.outcome-status.won {
  background: linear-gradient(135deg, #2ecc40 0%, #27ae60 100%);
}

.outcome-status.lost {
  background: linear-gradient(135deg, #ff4136 0%, #e74c3c 100%);
}

.outcome-chart {
  height: 130px;
  margin: 8px 0;
  border-radius: 4px;
  overflow: hidden;
}

.outcome-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 8px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 7px;
  background: #f8f9fa;
  border-radius: 4px;
  font-size: 10px;
}

.info-row span {
  color: #666;
  font-weight: 500;
}

.info-row strong {
  color: #333;
  font-family: monospace;
  font-size: 11px;
  font-weight: 600;
}

.pnl-value {
  font-weight: bold;
  font-family: monospace;
}

.pnl-value.positive {
  color: #2ecc40;
}

.pnl-value.negative {
  color: #ff4136;
}

/* Control Panel - Professional Trading UI */
.control-panel {
  margin: 8px 0;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.control-panel:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.control-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 8px;
  align-items: end;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.control-group label {
  font-size: 10px;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.control-input,
.control-select {
  width: 100%;
  padding: 6px 8px;
  font-size: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: white;
  transition: all 0.2s;
  font-weight: 500;
}

.control-input:focus,
.control-select:focus {
  outline: none;
  border-color: #4CAF50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.control-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 14px;
  padding-right: 28px;
}

.proposal-info {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 8px;
  padding: 10px;
  background: #ffffff;
  border-radius: 6px;
  margin: 8px 0;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.proposal-section {
  background: transparent;
  border-radius: 4px;
  padding: 6px 8px;
  border: 1px solid #e5e7eb;
}

.call-section {
  border-color: #2ecc40;
}

.put-section {
  border-color: #ff4136;
}

.proposal-label {
  font-size: 9px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  text-align: center;
}

.proposal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.proposal-row:last-child {
  margin-bottom: 0;
}

.proposal-key {
  font-size: 9px;
  color: #6b7280;
  font-weight: 500;
}

.proposal-value {
  font-size: 10px;
  color: #111827;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
  font-weight: 700;
}

.proposal-calculation {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
  padding: 6px 8px;
  border-radius: 4px;
  border: 1px solid #2ecc40;
}

.calc-label {
  font-size: 9px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  text-align: center;
}

.calc-formula {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
}

.calc-value {
  font-size: 10px;
  font-weight: 700;
  color: #111827;
}

.calc-op {
  font-size: 10px;
  font-weight: 600;
  color: #6b7280;
}

.calc-result {
  font-size: 11px;
  font-weight: 700;
  color: #2ecc40;
}

.info-divider {
  display: none;
}

.action-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.fire-button {
  flex: 1;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.fire-button:hover:not(:disabled) {
  background: #45a049;
}

.fire-button:active:not(:disabled) {
  background: #3d8b40;
}

.fire-button:disabled {
  background: #cbd5e0;
  cursor: not-allowed;
}

/* Auto Mode Toggle Switch */
.auto-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 7px;
  transition: all 0.2s;
}

.auto-toggle:hover {
  border-color: #4CAF50;
  background: #f0fdf4;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  margin: 0;
}

.toggle-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 24px;
  transition: all 0.3s ease;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked+.toggle-slider {
  background-color: #4CAF50;
}

.toggle-switch input:checked+.toggle-slider:before {
  transform: translateX(20px);
}

.toggle-switch input:focus+.toggle-slider {
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.toggle-label {
  font-size: 11px;
  font-weight: 600;
  color: #374151;
  user-select: none;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* Risk Management - Professional */
.risk-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
  padding: 8px 10px;
  /* background: #f8f9fa; */
  border-radius: 6px;
  border: 1px solid #e9ecef;
}

.risk-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 10px;
}

.risk-item span {
  font-weight: 600;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.risk-item strong {
  color: #333;
  font-family: monospace;
  font-size: 11px;
  padding: 4px 6px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  text-align: center;
}

.risk-item input.risk-input {
  width: 100%;
  padding: 5px 8px;
  font-size: 11px;
  text-align: center;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-family: monospace;
  font-weight: 500;
  background: white;
  transition: all 0.2s;
}

.risk-item input.risk-input:focus {
  outline: none;
  border-color: #4CAF50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.session-pnl {
  font-weight: bold;
  font-family: monospace;
}

.session-pnl.positive {
  color: #2ecc40;
}

.session-pnl.negative {
  color: #ff4136;
}

/* Activity Log - Compact */
.activity-section {
  margin: 10px 0;
  margin-bottom: 85px;
}

.activity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding: 0 4px;
}

.activity-header span {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.clear-log-btn {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 3px;
  transition: all 0.2s;
}

.clear-log-btn:hover {
  background: #f0f0f0;
  color: #ff4136;
}

.activity-log {
  max-height: 180px;
  overflow-y: auto;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  padding: 0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
}

.log-entry {
  font-size: 10px;
  padding: 8px 10px;
  margin: 0;
  border-left: 4px solid transparent;
  border-bottom: 1px solid #f0f0f0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.log-entry:hover {
  background: #f8f9fa;
}

.log-entry:last-child {
  border-bottom: none;
}

.log-fire {
  color: #d97706;
  font-weight: 600;
  border-left-color: #f59e0b;
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.1) 0%, transparent 100%);
}

.log-win {
  color: #059669;
  font-weight: 600;
  border-left-color: #10b981;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.1) 0%, transparent 100%);
}

.log-loss {
  color: #dc2626;
  font-weight: 600;
  border-left-color: #ef4444;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.1) 0%, transparent 100%);
}

.log-info {
  color: #4b5563;
  border-left-color: #60a5fa;
  background: linear-gradient(90deg, rgba(96, 165, 250, 0.05) 0%, transparent 100%);
}

/* Log entry icons and badges */
.log-entry::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.log-fire::before {
  background: #f59e0b;
  box-shadow: 0 0 4px rgba(245, 158, 11, 0.5);
}

.log-win::before {
  background: #10b981;
  box-shadow: 0 0 4px rgba(16, 185, 129, 0.5);
}

.log-loss::before {
  background: #ef4444;
  box-shadow: 0 0 4px rgba(239, 68, 68, 0.5);
}

.log-info::before {
  background: #60a5fa;
  box-shadow: 0 0 4px rgba(96, 165, 250, 0.5);
}

/* Custom scrollbar for activity log */
.activity-log::-webkit-scrollbar {
  width: 6px;
}

.activity-log::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.activity-log::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 3px;
}

.activity-log::-webkit-scrollbar-thumb:hover {
  background: #a0aec0;
}

/* Buttons - Compact */
.btn-small {
  padding: 3px 8px;
  font-size: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: white;
  cursor: pointer;
}

.btn-small:hover {
  background: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .dual-chart-container {
    flex-direction: column;
    gap: 12px;
  }

  .outcome-card {
    width: 100%;
  }

  .outcome-info {
    grid-template-columns: 1fr;
  }

  .control-row {
    flex-direction: column;
  }

  .risk-panel {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .risk-item {
    width: 100%;
  }

  .proposal-info {
    grid-template-columns: 1fr 1fr;
    padding: 8px;
    gap: 6px;
  }

  .proposal-section {
    padding: 5px 6px;
  }

  .proposal-label {
    font-size: 8px;
    margin-bottom: 3px;
  }

  .proposal-key {
    font-size: 8px;
  }

  .proposal-value {
    font-size: 9px;
  }

  .proposal-calculation {
    grid-column: 1 / -1;
    padding: 5px 6px;
  }

  .calc-label {
    font-size: 8px;
    margin-bottom: 3px;
  }

  .calc-formula {
    gap: 4px;
  }

  .calc-value {
    font-size: 9px;
  }

  .calc-op {
    font-size: 9px;
  }

  .calc-result {
    font-size: 10px;
  }

  .compression-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .activity-log {
    max-height: 180px;
  }

  .log-entry {
    font-size: 10px;
    padding: 8px 10px;
  }
}

/* FAQ Styles */
.faq-item {
  border: 2px solid #f1f5f9;
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
}

.faq-item:hover {
  border-color: rgba(102, 126, 234, 0.3);
}

.faq-item.active {
  border-color: #667eea;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
}

.faq-question {
  padding: .5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fafbfc;
  transition: all 0.3s ease;
  user-select: none;
}

.faq-question:hover {
  background: #f0f4f8;
}

.faq-item.active .faq-question {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.faq-icon {
  font-size: 1.25rem;
  font-weight: bold;
  color: #667eea;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  background: white;
  color: #667eea;
  transform: rotate(45deg);
}

.faq-text {
  font-weight: 600;
  font-size: 1rem;
  color: #2c3e50;
  flex: 1;
}

.faq-item.active .faq-text {
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  margin: 0;
  color: #5a6c7d;
  line-height: 1.7;
  font-size: 0.95rem;
}


/* _________________________________________ */

/* Toast Notifications - Compact Style */
.notyf__toast {
  padding: 6px 10px !important;
  min-height: auto !important;
  max-width: 260px !important;
  border-radius: 4px !important;
  opacity: 1 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: none !important;
  z-index: 9999 !important;
}

/* Solid background colors for different toast types */
.notyf__toast--success,
.notyf--success .notyf__toast {
  background: #10b981 !important;
  background-color: #10b981 !important;
}

.notyf__toast--error,
.notyf--error .notyf__toast {
  background: #ef4444 !important;
  background-color: #ef4444 !important;
}

.notyf__toast--warning,
.notyf--warning .notyf__toast {
  background: #f59e0b !important;
  background-color: #f59e0b !important;
}

.notyf__toast--info,
.notyf--info .notyf__toast,
.notyf__toast {
  background: #3b82f6 !important;
  background-color: #3b82f6 !important;
}

.notyf__wrapper {
  padding-top: 4px;
  padding-bottom: 7px;
}

.notyf__toast--dismissible .notyf__wrapper {
  font-size: 11px !important;
  padding: 3px 6px !important;
  padding-left: 0 !important;
}

.notyf__message {
  font-size: 11px !important;
  line-height: 1.2 !important;
  color: #ffffff !important;
}

.notyf__icon {
  width: 16px !important;
  height: 16px !important;
  margin-right: 8px !important;
}