/* General Layout */
.lm-tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-bottom: 1em;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.5em;
  border-radius: 6px;
}

.lm-tab-button {
  border: 1px solid #888;
  background: transparent;
  color: inherit;
  padding: 0.25em 0.75em;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
}

.lm-tab-button[data-tab="tab-broken"] {
  color: #d33;
  border-color: #d33;
}

.lm-tab-content {
  background: rgba(0, 0, 0, 0.1);
  padding: 1em;
  margin-bottom: 2em;
  border-radius: 8px;
}

/* Category Viewer and Editor */
.lm-cat-row {
  border-bottom: 1px solid #444;
  padding: 1em 0;
  font-size: 1em;
}

.lm-cat-top,
.lm-cat-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1em;
  margin-bottom: 0.5em;
}

.lm-cat-top label,
.lm-cat-bottom label {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.lm-cat-top input[type="text"],
.lm-cat-top select {
  font-size: 1em;
  padding: 0.2em 0.4em;
  max-width: 10ch;
}

.lm-cat-bottom input[type="checkbox"] {
  transform: scale(1.2);
  margin-right: 0.3em;
}

/* Link Row Styling */
.lm-link-row {
  display: flex;
  gap: 1em;
  padding: 1em 0;
  border-bottom: 1px solid #444;
  align-items: flex-start;
}

.lm-link-label {
  font-weight: bold;
  margin-bottom: 0.25em;
}

.lm-link-meta {
  font-size: 0.9em;
  opacity: 0.7;
}

/* Buttons */
button.button,
input[type="submit"].button {
  font-size: 0.9em;
  padding: 0.3em 0.75em;
  margin: 0.25em 0;
}

/* Horizontal row container */
.lf-link-horizontal-group {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2em; /* spacing between each box */
    flex-wrap: wrap; /* allows wrapping on mobile */
    list-style: none;
    margin: 1.5em 0 2em 0;
    padding: 0;
}

/* Each icon/label box */
.lf-link-horizontal-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
    max-width: 120px;
    /* Optional: padding/border for button effect */
}

/* Consistent icon size */
.lf-link-horizontal-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 0.3em;
    background: #191919;
    box-shadow: 0 1px 5px #0002;
}

.lf-label {
    display: block;
    text-align: center;
    font-size: 1em;
    margin-top: 0.2em;
    font-weight: 500;
    word-break: break-word;
    max-width: 100%;
}

.lf-link-sep {
    font-size: 2em;
    line-height: 1;
    margin: 0 0.3em;
    align-self: center;
}
i
.linkfolio-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2em; /* or adjust to taste */
  flex-wrap: wrap; /* optional, allows wrapping on small screens */
}

.linkfolio-link.linkfolio-horizontal {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0.5em;
}

.lf-separator {
  align-self: center;
  font-size: 2em;
  margin: 0 0.5em;
  user-select: none;
  opacity: 0.7;
}

