/*
 * The empty state of every listing page (empty-state.js,
 * partials/empty-state.blade.php). appyMenu's own colours: primary
 * #E32929, rose tints #FFE4E6 / #FECDD3, slate text.
 */
.am-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  grid-column: 1 / -1;
  width: 100%;
  min-height: 340px;
  padding: 56px 24px;
  text-align: center;
  font-family: Outfit, sans-serif;
  background-color: #ffffff;
  border: 1.5px dashed #FECDD3;
  border-radius: 16px;
  box-sizing: border-box;
}
.am-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  color: #E32929;
  background-color: #FFE4E6;
  border-radius: 9999px;
}
.am-empty-icon.is-muted {
  color: #64748B;
  background-color: #F1F5F9;
}
.am-empty-title {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: #0F172A;
}
.am-empty-text {
  max-width: 440px;
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #64748B;
}
.am-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.am-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font: 500 15px Outfit, sans-serif;
  line-height: 1.2;
  color: #ffffff;
  white-space: nowrap;
  text-decoration: none;
  background-color: #E32929;
  border: 1px solid #E32929;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 150ms;
}
.am-empty-btn:hover {
  color: #ffffff;
  background-color: #dc2626;
}
.am-empty-btn.is-outline {
  color: #E32929;
  background-color: #ffffff;
}
.am-empty-btn.is-outline:hover {
  color: #E32929;
  background-color: #FFF1F2;
}
.am-empty-btn:focus-visible {
  outline: 2px solid rgba(227, 41, 41, 0.4);
  outline-offset: 2px;
}
.am-empty-hint {
  margin-top: 12px;
  font-size: 12.5px;
  color: #94A3B8;
}

/* A section inside a page (Home, My Folders): one row. */
.am-empty--sm {
  flex-direction: row;
  justify-content: flex-start;
  gap: 16px;
  min-height: 0;
  padding: 18px 20px;
  text-align: left;
  border-radius: 14px;
}
.am-empty--sm .am-empty-icon {
  width: 48px;
  height: 48px;
  margin: 0;
}
.am-empty--sm .am-empty-body {
  flex: 1;
  min-width: 0;
}
.am-empty--sm .am-empty-title {
  font-size: 16px;
}
.am-empty--sm .am-empty-text {
  max-width: none;
  margin-top: 2px;
}

@media (max-width: 640px) {
  .am-empty--sm {
    flex-wrap: wrap;
  }
}

.dark .am-empty {
  background-color: #1e293b;
  border-color: #475569;
}
.dark .am-empty-icon {
  background-color: rgb(227 41 41 / 18%);
}
.dark .am-empty-icon.is-muted {
  color: #cbd5e1;
  background-color: #334155;
}
.dark .am-empty-title {
  color: #f1f5f9;
}
.dark .am-empty-text,
.dark .am-empty-hint {
  color: #94a3b8;
}
.dark .am-empty-btn.is-outline {
  background-color: transparent;
}
.dark .am-empty-btn.is-outline:hover {
  background-color: rgb(227 41 41 / 12%);
}
