/* --- PRO DASHBOARD STYLES --- */

.dashboard-section {
  background: #fff;
  border-radius: 16px;
  border: 2px solid #ecf0f1;
  border-bottom: 5px solid #bdc3c7;
  padding: 20px;
  margin-bottom: 30px;
}
.section-title h2 { margin: 0; color: #2c3e50; font-size: 22px; }
.section-title p { margin: 5px 0 15px 0; color: #7f8c8d; font-size: 14px; }

/* 1. TIMERS GRID */
.timer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.timer-card {
  padding: 15px; border-radius: 12px; color: white; text-align: center;
  border: 2px solid rgba(255,255,255,0.3);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.timer-card.red-theme { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.timer-card.blue-theme { background: linear-gradient(135deg, #3498db, #2980b9); }
.timer-card.gold-theme { background: linear-gradient(135deg, #f1c40f, #f39c12); }

.timer-icon { font-size: 30px; margin-bottom: 5px; }
.countdown { font-size: 32px; font-family: 'Fredoka One'; margin: 10px 0; text-shadow: 2px 2px 0 rgba(0,0,0,0.2); }
.sync-btn {
  background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.5);
  color: white; padding: 5px 10px; border-radius: 20px; cursor: pointer; font-size: 12px;
}
.sync-btn:hover { background: rgba(255,255,255,0.4); }

/* SPLIT LAYOUT */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }

/* 2. PROFIT CALC */
.result-display {
  background: #e8f8f5; border: 2px dashed #2ecc71; padding: 15px;
  border-radius: 10px; margin-top: 15px; text-align: center;
}
.big-money { font-size: 28px; color: #27ae60; font-family: 'Fredoka One'; margin: 5px 0; }

/* 3. SCAM CHECKER */
.scam-checker { text-align: center; }
.trade-arrow { font-weight: bold; color: #95a5a6; margin: 10px 0; }
.alert-box {
  margin-top: 15px; padding: 15px; border-radius: 10px; text-align: left;
  animation: popIn 0.4s ease;
}
.alert-box.safe { background: #d4edda; border: 2px solid #c3e6cb; color: #155724; }
.alert-box.danger { 
  background: #f8d7da; border: 2px solid #f5c6cb; color: #721c24;
  animation: pulseRed 1s infinite;
}
.hidden { display: none; }

@keyframes pulseRed { 0% { transform: scale(1); } 50% { transform: scale(1.02); } 100% { transform: scale(1); } }

/* 4. MARKET GRAPH */
.market-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.trend-indicator { font-weight: bold; padding: 5px 10px; border-radius: 5px; }
.trend-indicator.up { background: #d4edda; color: #155724; }
.trend-indicator.down { background: #f8d7da; color: #721c24; }

.graph-container {
  height: 200px; display: flex; align-items: flex-end; gap: 10px; padding-left: 40px;
  position: relative; border-left: 2px solid #eee; border-bottom: 2px solid #eee;
}
.y-axis {
  position: absolute; left: 0; height: 100%; display: flex; flex-direction: column;
  justify-content: space-between; font-size: 10px; color: #999; padding-bottom: 10px;
}
.bars-area {
  display: flex; align-items: flex-end; justify-content: space-around; width: 100%; height: 100%;
}
.graph-bar {
  width: 30px; background: #3498db; border-radius: 5px 5px 0 0;
  transition: height 1s ease; position: relative;
}
.graph-bar:hover { background: #2980b9; }
.graph-bar::after {
  content: attr(data-val); position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  font-size: 10px; color: #333; font-weight: bold; opacity: 0; transition: 0.2s;
}
.graph-bar:hover::after { opacity: 1; top: -25px; }

.x-axis {
  display: flex; justify-content: space-around; padding-left: 40px; margin-top: 5px;
  font-size: 12px; color: #7f8c8d;
}

/* Responsive */
@media (max-width: 768px) {
  .split-layout { grid-template-columns: 1fr; }
  .timer-grid { grid-template-columns: 1fr; }
}