/* =========================================
   SecureOneBank — Demo Trading Stylesheet
   Used ONLY by /pages/trade.html
   Safe, isolated, no conflicts
========================================= */

/* Sections */

.section {
  padding: 40px 0;
}

.section-light {
  background: #f4f4f9;
  color: #333;
}

.section-dark {
  background: #111827;
  color: #f9fafb;
}

/* Container */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Grid */

.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

@media (max-width: 800px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Cards */

.card {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.card-wide {
  width: 100%;
}

.card-body {
  padding: 20px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #d4af37, #807A23);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  background: #4DB823;
  box-shadow: 0 4px 10px rgba(77,184,35,0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #374151;
  color: #e5e7eb;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.btn-secondary:hover {
  background: #4B5563;
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

/* Text helpers */

.muted {
  color: #6b7280;
  font-size: 0.95rem;
}

.mt-lg {
  margin-top: 20px;
}

/* Media panel */

.media-panel {
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-placeholder {
  border-radius: 10px;
  border: 1px dashed #9ca3af;
  padding: 24px;
  text-align: center;
  background: rgba(15,23,42,0.03);
}

/* Quote panel */

.quote-panel {
  background: #111827;
  color: #e5e7eb;
  border-radius: 10px;
  border: 1px solid #374151;
  padding: 16px;
  min-height: 80px;
}

/* Demo banner */

.demo-banner {
  background: #005bbb;
  color: white;
  padding: 12px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

/* Demo history table */

.demo-history-table {
  width: 100%;
  border-collapse: collapse;
  background: #0b1120;
  color: #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.demo-history-table thead {
  background: #111827;
}

.demo-history-table th,
.demo-history-table td {
  padding: 10px;
  border-bottom: 1px solid #1f2937;
}

.demo-history-table th {
  font-weight: 600;
}
