/* buttons.css - Button components and variants */

/* ---------- Base button ---------- */
.btn {
  width: 100%;
  max-width: var(--btn-width);
  height: var(--btn-height);
  min-height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 var(--btn-padding-x);
  border-radius: var(--btn-radius);

  font-family: "Satoshi", sans-serif;
  font-size: 16px;
  line-height: 1;
  text-align: center;

  cursor: pointer;
  user-select: none;
  touch-action: manipulation;

  box-shadow: 0px 10px 40px rgba(37, 94, 214, 0.26);
}

/* Disabled (opacity from JSX) */
.btn:disabled {
  opacity: 0.45;
  cursor: default;
}

/* Full-width override */
.btn--full {
  max-width: none;
}


/* ---------------------------------------------------------
   Person pill row (matches screenshot)
   - Additive only (doesn't modify existing classes)
   - Reuses .btn + .btn--active for the Ping button
   --------------------------------------------------------- */

.dt-person-pill {
  width: 100%;
  max-width: 340px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  padding: 10px 12px;
  border-radius: 14px;

  background: #ffffff;
  box-shadow: 0 10px 30px rgba(20, 45, 90, 0.06);
}

.dt-person-pill__left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.dt-person-pill__avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  flex: 0 0 auto;
}

.dt-person-pill__name {
  font-family: "Satoshi", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #0b1220;

  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Small button variant that *extends* your existing .btn */
.btn--mini {
  width: auto;
  max-width: none;
  height: 34px;
  min-height: 34px;

  padding: 0 16px;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 700;

  box-shadow: none; /* screenshot button is flat */
}

.btn--small {
  max-width: 220px;   /* smaller than your 330px default */
  height: 44px;       /* tighter than 51px */
  font-size: 14px;
  box-shadow: none;   /* matches inactive/disabled feel */
}

.btn-container {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 1000;
  width: auto;
}