/* 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;
}
