/* ===== GENERAL ===== */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #0f172a;
  color: #e2e8f0;
}

/* ===== LANDING ===== */
.landing {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  min-height: 100vh;
}

.crypto-card {
  background: #1e293b;
  padding: 30px;
  border-radius: 16px;
  transition: 0.25s;
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
}

.crypto-card:hover {
  transform: translateY(-6px);
  background: #334155;
}

.card-link {
  text-decoration: none;
  color: inherit;
}

/* ===== APP LAYOUT ===== */
.app-container {
  display: flex;
  min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
  width: 230px;
  background: #111827;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar h3 {
  margin-bottom: 20px;
}

.sidebar a {
  color: #cbd5e1;
  text-decoration: none;
  padding: 10px;
  border-radius: 8px;
  transition: 0.2s;
}

.sidebar a:hover,
.sidebar a.active {
  background: #2563eb;
  color: white;
}

/* MAIN */
.workspace {
  flex: 1;
  padding: 30px;
}

.workspace-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

/* GRID */
.workspace-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.panel {
  background: #1e293b;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

textarea {
  width: 100%;
  min-height: 180px;
  background: #0f172a;
  color: #e2e8f0;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 10px;
  resize: vertical;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .workspace-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }
}
