.broker-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  max-width: 880px;
  margin: 1rem auto;
  font-family: "Inter", sans-serif;
}

.broker-card__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* Logo */
.broker-card__logo img {
  width: 130px;
  height: auto;
}

/* Titolo */
.broker-card__name {
  font-size: 1.2rem;
  margin: 0;
  font-weight: 600;
}

/* Rating */
.broker-card__rating {
  color: #f59e0b;
  font-size: 0.9rem;
  margin: 0.2rem 0 0.8rem;
}

/* Lista */
.broker-card__features {
  list-style: none;
  padding: 0;
  margin: 0 !important;
  color: #374151;
  font-size: 0.9rem;
}

.broker-card__features li {
  margin: 0 0 0.3rem 0 !important;
}

/* Azioni */
.broker-card__actions {
  text-align: right;
  min-width: 160px;
}

.broker-card__deposit {
  font-size: 0.9rem;
  color: #6b7280;
}

.broker-card__deposit .amount {
  display: block;
  color: #f59e0b;
  font-weight: 700;
  font-size: 1.5rem;
  margin-top: 0.3rem;
}

.broker-card__button {
  display: inline-block;
  background-color: #2563eb;
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 0.5rem;
}

.broker-card__risk {
  display: block;
  color: #9ca3af;
  font-size: 0.75rem;
  margin-top: 0.4rem;
}

/* Footer */
.broker-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: #999;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.broker-card__footer div {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.broker-card__reviews .brand {
  color: #16a34a;
  font-weight: 600;
}

/* ------------------------ */
/* VERSIONE MOBILE */
/* ------------------------ */
@media (max-width: 768px) {
  .broker-card {
    padding: 1rem;
  }

  .broker-card__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .broker-card__logo img {
    width: 90px;
    margin-bottom: 1rem;
  }

  .broker-card__details {
    order: 2;
    width: 100%;
  }

  .broker-card__actions {
    order: 3;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }

  .broker-card__button {
    width: 100%;
    max-width: 220px;
  }

  .broker-card__footer {
    flex-direction: column;
    text-align: center;
    gap: 0.4rem;
  }
}