/*
Theme Name: App Gen Ai Digital Library
Theme URI: http://appgenai.live/
Author: Google Studio AI
Description: Custom digital library theme for novels, stories, and top readers system. Matches the premium dark/light slate visual look.
Version: 1.0.0
Text Domain: app-gen-ai-library
*/

body {
  background-color: #f8fafc;
  color: #1e293b;
  font-family: 'Cairo', 'Amiri', sans-serif;
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: border-box;
}

/* Header and wrapper layouts constraints on mobile to prevent overflow and scrolling */
header, .max-w-7xl, main, footer {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Touch controls optimization */
.mobile-touch-control {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 12px;
  margin: 6px;
  font-weight: bold;
}

/* Image covers */
.object-cover {
  object-fit: cover;
}

/* Scrollbar hide helpers helper */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Sliding animation drawer support */
#mobile-drawer {
  transition: transform 0.3s ease-in-out;
}
#mobile-drawer-overlay {
  transition: opacity 0.3s ease-in-out;
}

html, body {
  width: 100%;
  margin: 0;
  padding: 0;
}
