/* Common application styles */

/* Clickable card hover effect */
.is-clickable {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.is-clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Delete button cursor */
.delete {
  cursor: pointer;
}

/* Card minimum heights for consistency */
.card-content-min {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-content-min-small {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Image container styles */
.image-preview-container {
  object-fit: contain;
  border: 1px solid #dbdbdb;
  border-radius: 6px;
}

/* Processing placeholder */
.processing-placeholder {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fix Bulma tags.has-addons - remove gaps between tags */
.tags.has-addons {
  flex-wrap: wrap;
  gap: 0 !important;
}

/* Bulma's .tags adds margin to .tag elements - override with !important */
.tags.has-addons > .tag {
  margin-bottom: 0 !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  margin-top: 0 !important;
  border-radius: 0;
}

/* First tag in has-addons should have left border-radius */
.tags.has-addons > .tag:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

/* Last tag in has-addons should have right border-radius */
.tags.has-addons > .tag:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
/* Team / Organization members avatar placeholder */
.avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7057ff 0%, #4a90e2 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  user-select: none;
  flex-shrink: 0;
}

.member-row.is-hidden {
  display: none !important;
}

.pending-invites .card {
  border-left: 3px solid hsl(48, 100%, 67%);
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04);
}

/* Organization show page tabs — only the active tab content is visible */
[data-controller~="organization"] > .tab-content { display: none; }
[data-controller~="organization"] > .tab-content.is-active { display: block; }

