/* CSS Quản lý Nhà Trọ - Mobile First */
body {
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #0f172a;
  -webkit-tap-highlight-color: transparent;
}

/* Khung cố định di động (Mobile Frame Container) */
.mobile-frame {
  width: 100%;
  max-width: 430px;
  height: 100vh;
  background-color: #f8fafc;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .mobile-frame {
    height: 880px;
    border-radius: 40px;
    border: 8px solid #1e293b;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  }
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.bottom-sheet,
.sidebar-drawer {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Chặn nảy màn hình và kéo reload mặc định của trình duyệt */
html, body {
  overscroll-behavior-y: none;
  touch-action: pan-x pan-y;
}

.mobile-frame {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
