/* Shared UI styling for tenant.php & mitra.php (mobile-first, reference-like) */

:root {
  --mk-primary: #007bfd;
  --mk-primary-soft: #007bfd1a;
}

.mk-safe-pad {
  padding-bottom: calc(env(safe-area-inset-bottom) + 96px);
}

.mk-tabbar::-webkit-scrollbar {
  display: none;
}

.mk-tabbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.mk-chip {
  background: #f1f5f9;
}

.mk-chip-active {
  background: var(--mk-primary);
  color: #fff;
}

.mk-primary-bg {
  background: var(--mk-primary);
}

.mk-primary-text {
  color: var(--mk-primary);
}

.mk-primary-soft-bg {
  background: var(--mk-primary-soft);
}

.mk-input-focus:focus {
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--mk-primary) 25%, transparent);
}

/* Fallback when color-mix isn't supported */
@supports not (color: color-mix(in srgb, black, white)) {
  .mk-input-focus:focus {
    box-shadow: 0 0 0 2px rgba(0, 123, 253, 0.2);
  }
}
