/* =====================================================
   TRADE EVALUATION – MATCHING KNOWLEDGE LAB STYLE
   ===================================================== */

/* SCROLL AREA */
.trade-evaluation-page {
  height: calc(100vh - 120px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 40px 0 70px;
}

/* CONTAINER */
.trade-evaluation-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* CARD */
.trade-card {
  position: relative;
  background: radial-gradient(
    140% 140% at 0% 0%,
    rgba(0, 170, 255, 0.10),
    rgba(0, 0, 0, 0.95)
  );
  border-radius: 18px;
  padding: 26px 28px 30px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 22px 55px rgba(0, 0, 0, 0.7);
}

/* FADED BLUE LINE */
.trade-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(
    180deg,
    rgba(0, 200, 255, 0),
    rgba(0, 200, 255, 0.85),
    rgba(0, 200, 255, 0)
  );
}

/* CARD HEAD */
.trade-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #5fd0ff;
  margin-bottom: 18px;
}

/* FORM GRID */
.trade-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px 22px;
}

/* LABEL */
.trade-label {
  font-size: 13px;
  color: #9ab3c8;
  margin-bottom: 6px;
  display: block;
}

/* INPUTS */
.trade-input,
.trade-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: #eaf6ff;
  outline: none;
}

.trade-input:focus,
.trade-select:focus {
  border-color: rgba(0, 200, 255, 0.7);
  box-shadow: 0 0 0 2px rgba(0, 200, 255, 0.15);
}

/* BUTTON */
.trade-button {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(
    135deg,
    rgba(0, 190, 255, 0.95),
    rgba(0, 120, 200, 0.95)
  );
  color: #00131f;
  border: none;
  border-radius: 12px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.trade-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 38px rgba(0, 190, 255, 0.45);
}

/* HELPER TEXT */
.trade-helper {
  margin-top: 10px;
  font-size: 13px;
  color: #8fa9bf;
}

/* GENERATED PROMPT */
.generated-prompt-box {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 14px;
  padding: 18px 20px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  line-height: 1.65;
  color: #d9edff;
  max-height: 360px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* SCROLLBAR */
.trade-evaluation-page::-webkit-scrollbar {
  width: 10px;
}

.trade-evaluation-page::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(0, 200, 255, 0.9),
    rgba(0, 120, 200, 0.9)
  );
  border-radius: 10px;
}

/* MOBILE */
@media (max-width: 768px) {
  .trade-card {
    padding: 22px 20px 26px;
  }
}
