/*
* makerkit.css
*
* Makerkit-specific global styles
* Use this file to add any global styles that are specific to Makerkit's components
 */

/*
Optimize dropdowns for mobile
 */
[data-radix-popper-content-wrapper] {
  @apply w-full md:w-auto;
}

[data-radix-menu-content] {
  @apply w-full rounded-none md:w-auto md:rounded-lg;
}

[data-radix-menu-content] [role='menuitem'] {
  @apply min-h-12 md:min-h-0;
}

.site-header > .container:before,
.site-footer > .container:before {
  background: radial-gradient(
    62.87% 100% at 50% 100%,
    var(--color-gray-200) 0%,
    rgba(255, 255, 255, 0) 100%
  );

  bottom: 0;
  content: '';
  height: 1px;
  left: 0;
  position: absolute;
  width: 100%;
}

.dark .site-header > .container:before,
.dark .site-footer > .container:before {
  background: radial-gradient(
    62.87% 100% at 50% 100%,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.site-footer > .container:before {
  top: 0;
}
