body {
  font-family: 'Inter', sans-serif;
  background-color: #fef8f4;
  color: #1a1a1a;
  margin: 0;
  padding: 0;
}

.main-container {
  max-width: 700px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 24px 16px !important;
  box-sizing: border-box !important;
}

/* HEADER -------------------------------------------- */
.dashboard-header {
  background: linear-gradient(to right, #cfe8ff, #8cb7ff);
  color: #1a1a1a;
  padding: 12px 20px 10px;
  margin-bottom: 28px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  font-size: 15px;
  line-height: 1.4;
}
.dashboard-header h2 {
  font-size: 20px;
  margin-bottom: 4px;
}
.dashboard-header p {
  font-size: 13px;
  margin: 1px 0;
}

/* BOT CARD -------------------------------------------- */
.bot-card {
  background-color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
  padding: 16px 20px;
}
.bot-card h3 {
  font-size: 16px;
  margin: 0 0 6px;
}
.bot-card .bot-details {
  font-size: 13px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  color: #333;
}
.bot-title {
  font-weight: bold;
  font-size: 15px;
}


/* BUTTON ROW -------------------------------------------- */
.button-row {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.button-row button {
  flex: 1;
  padding: 8px 0;
  font-size: 13px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #1a1a1a;
  background-color: transparent;
}
.button-row button:hover {
  background-color: #547bf1;
  color: #ffffff;
}
.button-row button.active-btn {
  background-color: #547bf1;
  color: #ffffff;
}

/* INDIVIDUAL BUTTON STYLES ---------------------------- */
.button-row .code-btn {
  background: #eef6ff;
  border-left: 4px solid #4f7cff;
}
.button-row .cancel-btn {
  background: #fff4f4;
  border-left: 4px solid #ff4f4f;
}
.button-row .price-btn {
  background: #f6f1ff;
  border-left: 4px solid #b36bff;
}
.button-row .stats-btn {
  background: #edf8ff;
  border-left: 4px solid #00b4d8;
}

/* EXPANDED SECTIONS (NEW WINDOWS) ---------------------- */
.bot-window {
  display: none;
  margin-top: 12px;
  padding: 16px;
  border-radius: 12px;
  background: #fafbff;
  border: 1px solid #e4ecf7;
  font-size: 14px;
}

/* Special alignment notes — you can customize per window */
.code-window     { justify-content: flex-start; }
.price-window    { justify-content: center; }
.stats-window,
.cancel-window   { justify-content: flex-end; }

/* Legacy (can still be used if needed) */
.bot-expanded h4 {
  font-size: 15px;
  margin-top: 0;
}
.bot-expanded .metric-box {
  background: #ffffff;
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  margin-top: 10px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.metric-grid .metric-box h5 {
  font-size: 13px;
  margin: 0 0 4px;
  color: #666;
}
.metric-grid .metric-box p {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  color: #2d2d2d;
}
.metric-grid .metric-box p span {
  font-size: 13px;
  font-weight: normal;
  color: #888;
}
