/**
 * DS Mobile Menu — Layout: Modern
 *
 * Card-elevated navigation bar with a smooth active indicator line
 * and subtle icon-scale on tap.
 *
 * @package DSMobileMenu
 * @since   1.0.0
 */

/* Elevated card with top border-radius */
.dsmm-layout-modern {
  border-top-left-radius:  16px;
  border-top-right-radius: 16px;
  box-shadow: var(--dsmm-shadow);
}

/* Active indicator line above the active item */
.dsmm-layout-modern .dsmm-nav__link.dsmm-is-active::before {
  content:         '';
  position:        absolute;
  top:             0;
  left:            50%;
  transform:       translateX(-50%);
  width:           28px;
  height:          3px;
  border-radius:   0 0 4px 4px;
  background:      var(--dsmm-active);
  transition:      width var(--dsmm-transition);
}

.dsmm-layout-modern .dsmm-nav__link {
  position:        relative;
  border-radius:   12px;
}

/* Gentle scale on tap */
.dsmm-layout-modern .dsmm-nav__link:active {
  transform:       scale(0.94);
}

/* Active icon enlargement */
.dsmm-layout-modern .dsmm-nav__link.dsmm-is-active .dsmm-nav__icon-wrap {
  transform:       translateY(-2px);
  transition:      transform var(--dsmm-transition);
}

/* Active state: perfect pill */
.dsmm-layout-modern .dsmm-nav__link.dsmm-is-active {
  border-radius:   9999px;
}
