:root {
  --tertiary-faded: rgba(211, 211, 211, 0.851);
}

.card {
  background-color: var(--bg-secondary);
  border-radius: 15px;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
  text-decoration: none !important;
  box-shadow: 0px -5px 7px 2px var(--secondary);
  padding: 1rem;
}

.card-body {
  color: var(--text-secondary);
  text-align: left;
  margin: 0;
  padding: 10px;
}

/* Form control styles - expanded from index */
.form-control {
  background-color: var(--bg-secondary);
  border: 2px solid var(--secondary);
  color: var(--text-secondary);
  height: auto;
  padding: 0.75rem 1rem;
}

.form-control:focus {
  background-color: var(--bg-secondary);
  border-color: var(--secondary);
  color: var(--text-secondary);
  box-shadow: 0 0 0 0.25rem var(--secondary);
}

.form-control::placeholder {
  color: var(--text-secondary);
  opacity: 0.5;
}

/* Quantity selector styles */
.quantity-btn {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  color: var(--text-secondary);
  background-color: var(--tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.quantity-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Error message styling */
.alert-danger {
  background-color: var(--bg-secondary);
  border-color: var(--tertiary);
  color: var(--text-secondary);
}

/* Price display styles */
.price-display {
  margin: 2rem 0;
  position: relative;
  padding: 0.75rem 0;
}

.price-display::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--secondary),
    transparent
  );
}

.price-display::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--secondary),
    transparent
  );
}

.price-sats {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--secondary);
  text-shadow: 0 0 10px rgba(21, 149, 178, 0.3);
  margin-bottom: 0.5rem;
}

.price-details {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.price-btc,
.price-usd {
  color: var(--text-secondary);
  margin: 0;
}

.price-btc::after {
  content: "•";
  margin-left: 0.5rem;
}

/* Summary and price layout styles */
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1.5rem 0;
  padding: 1rem 0;
  position: relative;
  border-top: 1px solid rgba(21, 149, 178, 0.3);
  border-bottom: 1px solid rgba(21, 149, 178, 0.3);
}

.summary-col {
  text-align: left;
  flex: 1;
}

.price-col {
  text-align: right;
}

.summary-title {
  color: var(--text-secondary);
  font-weight: bold;
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

/* Multisig display specific to buy page */
.multisig-display {
  font-size: 3rem;
  font-weight: 600;
}

#threshold {
  display: inline-block;
  transition: opacity 0.6s ease;
  color: var(--tertiary-faded);
  font-size: 4rem;
  font-weight: 600;
}

#QUANTITY {
  display: inline-block;
  transition: opacity 0.6s ease;
  color: var(--tertiary);
  font-size: 4rem;
  font-weight: 600;
}

.threshold-fade {
  opacity: 0.4;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.08);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.threshold-pulse {
  animation: pulse 0.8s ease-in-out;
}

/* Device showcase styles */
.device-showcase {
  margin-bottom: 2rem;
}
