/* ═══════════════════════════════════════════════════════════════════════════
   🎯 PROFITABLE TRADES FINDER - Simple Strategy Finder Styles
   ═══════════════════════════════════════════════════════════════════════════ */

.profitable-trades-finder {
  margin-top: 20px !important;
}

/* Big Green Button */
.profitable-trades-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
  border: 2px solid #00ff88;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: 
    0 4px 15px rgba(0, 255, 136, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.profitable-trades-btn:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 6px 20px rgba(0, 255, 136, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #00ffaa 0%, #00dd77 100%);
}

.profitable-trades-btn:active {
  transform: translateY(0);
}

.profitable-trades-btn .btn-icon {
  font-size: 24px;
}

.profitable-trades-btn .btn-text {
  font-size: 16px;
  font-weight: 800;
  color: #0a3d2a;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.profitable-trades-btn .btn-subtitle {
  font-size: 11px;
  color: rgba(10, 61, 42, 0.8);
  font-weight: 600;
}

/* Loading State */
.profitable-trades-loading {
  text-align: center;
  padding: 30px;
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 8px;
  margin-top: 15px;
}

.loading-spinner-simple {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 255, 136, 0.2);
  border-top-color: #00ff88;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

.loading-text-simple {
  font-size: 13px;
  color: #00ff88;
  font-weight: 600;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Results Display */
.profitable-trades-results {
  margin-top: 15px;
  padding: 15px;
  background: rgba(0, 255, 136, 0.03);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 8px;
}

.results-summary-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 15px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
}

.summary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.summary-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.summary-value {
  font-size: 12px;
  color: #00ff88;
  font-weight: 700;
}

.strategies-tested-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 6px;
  margin-bottom: 15px;
}

.info-icon {
  font-size: 16px;
}

.info-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.info-text strong {
  color: #ffd700;
  font-weight: 700;
}

/* Best Strategy Card */
.best-strategy-card {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 204, 106, 0.05) 100%);
  border: 2px solid rgba(0, 255, 136, 0.3);
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.1);
}

.strategy-card-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.strategy-badge {
  display: inline-block;
  padding: 4px 10px;
  background: linear-gradient(135deg, #ffd700 0%, #f0b90b 100%);
  color: #1a1a1a;
  font-size: 10px;
  font-weight: 800;
  border-radius: 4px;
  letter-spacing: 0.5px;
  width: fit-content;
}

.strategy-name {
  font-size: 16px;
  font-weight: 800;
  color: #00ff88;
  text-shadow: 0 2px 4px rgba(0, 255, 136, 0.3);
}

.strategy-description {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.2);
  border-left: 3px solid #00ff88;
  border-radius: 4px;
}

/* Trade Setup Display */
.trade-setup-display {
  margin-bottom: 15px;
}

.setup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
}

.setup-direction {
  font-size: 14px;
  font-weight: 800;
  color: #00ff88;
  padding: 6px 12px;
  background: rgba(0, 255, 136, 0.2);
  border: 1px solid rgba(0, 255, 136, 0.4);
  border-radius: 6px;
}

.setup-direction.short {
  color: #ff3d00;
  background: rgba(255, 61, 0, 0.2);
  border-color: rgba(255, 61, 0, 0.4);
}

.setup-confluence {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.setup-confluence strong {
  color: #ffd700;
  font-size: 14px;
}

.setup-levels {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.level-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
}

.level-row.entry {
  border-left: 3px solid #4CAF50;
}

.level-row.stop {
  border-left: 3px solid #ff3d00;
}

.level-row.target {
  border-left: 3px solid #00ff88;
}

.level-row.rr {
  border-left: 3px solid #ffd700;
}

.level-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.level-value {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.level-row.entry .level-value {
  color: #4CAF50;
}

.level-row.stop .level-value {
  color: #ff3d00;
}

.level-row.target .level-value {
  color: #00ff88;
}

.level-percent {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-left: 8px;
}

.rr-value {
  color: #ffd700 !important;
  font-size: 16px !important;
}

/* Expected Performance */
.expected-performance-box {
  margin-bottom: 15px;
  padding: 12px;
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 6px;
}

.performance-header {
  font-size: 12px;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 10px;
}

.performance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.performance-item {
  display: flex;
  justify-content: space-between;
}

.perf-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.perf-value {
  font-size: 12px;
  font-weight: 700;
  color: #ffd700;
}

.performance-warning {
  font-size: 10px;
  color: rgba(255, 152, 0, 0.8);
  padding: 8px;
  background: rgba(255, 152, 0, 0.1);
  border-radius: 4px;
  text-align: center;
}

/* No Strategy Found */
.no-strategy-found {
  text-align: center;
  padding: 40px 20px;
}

.no-strategy-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.no-strategy-title {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
}

.no-strategy-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 600px) {
  .results-summary-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .profitable-trades-btn .btn-text {
    font-size: 14px;
  }
  
  .profitable-trades-btn .btn-icon {
    font-size: 20px;
  }
}

