.tickers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

.tickers-list .chart-wrapper {
  background: #2c2c2c;
  border-radius: 8px;
  padding: 10px;
  width: 100%;
  max-width: 300px;
  box-sizing: border-box;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

.ticker-card {
  background: #2a2a2a;
  padding: 14px;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 300px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ticker-card h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #f1f1f1;
}

.ticker-card iframe {
  border-radius: 6px;
  overflow: hidden;
}

.ticker-card a {
  text-align: right;
  font-size: 12px;
  text-decoration: none;
  color: #00bcd4;
}

.remove-btn {
  background: #b34747; /* toned-down red */
  color: white;
  border: none;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 4px;
  cursor: pointer;
  align-self: flex-start; /* left-align within flex column */
  transition: background 0.2s ease;
  margin-top: -20px;
}

.remove-btn:hover {
  background: #cc5c5c;
}

/* Form Wrapper */
form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 40px auto 20px;
  padding-top: 20px;
  max-width: 700px;
  border-top: 1px solid #444;
  align-items: center;
}

form input[type="text"] {
  padding: 8px 12px;
  background: #1f1f1f;
  color: #f1f1f1;
  border: 1px solid #444;
  border-radius: 4px;
  font-size: 14px;
  flex: 1 1 200px;
}

form button[type="submit"] {
  background: #3a3a3a;
  color: #f1f1f1;
  border: 1px solid #555;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

form button[type="submit"]:hover {
  background: #4a4a4a;
  border-color: #777;
}

/* Reset Button (left of inputs) */
.reset-btn {
  background: #444;
  color: #f1f1f1;
  border: 1px solid #555;
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.reset-btn:hover {
  background: #555;
  border-color: #777;
}
