.step-decor {
  transition: all 0.3s ease;
  border-left: 4px solid #3273dc;
  margin-bottom: 1rem;
}

.notice-warning {
  background-color: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 0.75rem;
  border-radius: 4px;
  margin: 0.5rem 0;
}

.ingredient-tag {
  display: inline-block;
  background-color: #e3f2fd;
  color: #1976d2;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  margin: 0.25rem;
  font-size: 0.8rem;
}


/* Aplicar fondo de completado a elementos hijos */
.step.has-background-primary-light .table,
.step.has-background-primary-light .mb-3 {
  background-color: transparent;
}

.step.has-background-primary-light {
  background-color: #e7f5ff !important;
}


.has-text-link {
  color: #4183C4 !important;
}

.table thead {
  background-color: #F9FAFB;
}

.table {
  border-top: 0.1em solid #DB2828;
}

.navbar.is-dark .navbar-item.is-active {
  background-color: #6435C9;
}

.button.is-primary {
  background-color: #6435C9;
  color: #FFFFFF;
  text-shadow: none;
  background-image: none;
}

.button.is-secondary {
  background-color: #9627ba;
  color: #FFFFFF;
  text-shadow: none;
  background-image: none;
}

.button.is-red {
  background-color: #DB2828;
  color: #FFFFFF;
  text-shadow: none;
  background-image: none;
}


.button.is-back {
  background-color: #E03997;
  color: #FFFFFF;
  text-shadow: none;
  background-image: none;
}


html {
  font-size: 14px;
  /* Esto redefine qué es 1rem para todo el sitio */
}

body {
  font-size: 1rem;
  /* Asegura que el cuerpo use los 14px */
}

.app-shell {
  min-height: 100vh;
}

.app-shell.has-sidebar .app-shell__backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 10, 10, 0.4);
  z-index: 39;
}

.app-shell.has-sidebar .app-layout {
  min-height: 100vh;
  margin-bottom: 0;
}

.app-shell.has-sidebar .app-sidebar-column {
  width: 16rem;
  flex: none;
  transition: width 0.25s ease, transform 0.25s ease;
}

.app-shell.has-sidebar .app-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  padding: 0.75rem;
  overflow-y: auto;
  z-index: 40;
  transition: width 0.25s ease, transform 0.25s ease;
  box-shadow: 0 0.5rem 1.5rem rgba(10, 10, 10, 0.18);
}

.app-shell.has-sidebar .app-sidebar__inner {
  min-height: calc(100vh - 1.5rem);
  display: flex;
  flex-direction: column;
}

.app-shell.has-sidebar .app-sidebar__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.app-shell.has-sidebar .app-sidebar__brand .icon,
.app-shell.has-sidebar .app-sidebar__link .icon {
  flex-shrink: 0;
  min-width: 1.5rem;
  justify-content: center;
}

.app-shell.has-sidebar .app-sidebar__toggle {
  min-width: 2.5rem;
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.app-shell.has-sidebar .app-sidebar__footer .box {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.app-shell.has-sidebar .app-sidebar__user-card {
  background-color: rgba(255, 255, 255, 0.06) !important;
  color: #f5f5f5 !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.app-shell.has-sidebar .app-sidebar .menu-label {
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.app-shell.has-sidebar .app-sidebar__link {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
  min-height: 3rem;
  border-radius: 0.85rem;
  padding: 0.75rem 0.9rem;
  background-color: transparent !important;
  border: none;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.92) !important;
}

.app-shell.has-sidebar .app-sidebar__link:hover,
.app-shell.has-sidebar .app-sidebar__link:focus {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

.app-shell.has-sidebar .app-sidebar__link.is-active {
  background-color: rgba(100, 53, 201, 0.85) !important;
  color: #ffffff !important;
  font-weight: 600;
}

.app-shell.has-sidebar .app-sidebar__link--danger {
  color: #ffb3b3 !important;
}

.app-shell.has-sidebar .app-sidebar__link--danger:hover,
.app-shell.has-sidebar .app-sidebar__link--danger:focus {
  background-color: rgba(219, 40, 40, 0.18) !important;
  color: #ffffff !important;
}

.app-shell.has-sidebar .app-main-column {
  min-width: 0;
}

.app-shell.has-sidebar .app-content {
  min-height: 100vh;
}

.app-shell.has-sidebar .app-sidebar__mobile-trigger {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 30;
  display: none;
}

.app-shell.has-sidebar.is-sidebar-collapsed .app-sidebar-column,
.app-shell.has-sidebar.is-sidebar-collapsed .app-sidebar {
  width: 5.25rem;
}

.app-shell.has-sidebar.is-sidebar-collapsed .app-sidebar__label,
.app-shell.has-sidebar.is-sidebar-collapsed .app-sidebar .menu-label,
.app-shell.has-sidebar.is-sidebar-collapsed .app-sidebar__user-card {
  display: none;
}

.app-shell.has-sidebar.is-sidebar-collapsed .app-sidebar__brand,
.app-shell.has-sidebar.is-sidebar-collapsed .app-sidebar__link {
  justify-content: center;
}

.app-shell.has-sidebar.is-sidebar-collapsed .app-sidebar__header .is-flex {
  flex-direction: column;
  gap: 0.75rem;
}

@media (max-width: 1023px) {
  .app-shell.has-sidebar .app-layout {
    display: block;
  }

  .app-shell.has-sidebar .app-sidebar-column {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 16rem;
    z-index: 40;
    transform: translateX(-110%);
  }

  .app-shell.has-sidebar .app-sidebar {
    position: relative;
    width: 16rem;
  }

  .app-shell.has-sidebar .app-sidebar__mobile-trigger {
    display: inline-flex;
  }

  .app-shell.has-sidebar .app-content {
    padding-top: 4.25rem;
  }

  .app-shell.has-sidebar.is-sidebar-open .app-sidebar-column {
    transform: translateX(0);
  }
}