.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-action {
  margin-top: 12px;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
}

.modal[hidden] {
  display: none;
}

.modal-card {
  width: 92%;
  max-width: 520px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #0b1220;
}

.modal-title {
  margin: 0 0 8px;
}

.modal-desc {
  margin: 0 0 18px;
  color: var(--muted);
}

.modal-fields {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.modal-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.modal-input {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  background: transparent;
  color: var(--text);
}

.modal-confirm-label {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.modal-channel-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.modal-logo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.modal-logo-btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 8px 16px rgba(37, 211, 102, 0.2);
}

.modal-logo-btn-email {
  background: linear-gradient(135deg, #7ad49f, #3ca66e);
  box-shadow: 0 8px 16px rgba(122, 212, 159, 0.2);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.modal-cancel {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
}

@media (max-width: 768px) {
  .topbar-actions {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .modal {
    align-items: flex-end;
    padding: 16px;
  }

  .modal-card {
    width: 100%;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 22px;
  }

  .modal-actions {
    flex-direction: column-reverse;
  }

  .modal-cancel {
    min-height: 44px;
  }
}
