@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
  font-family: 'Plus Jakarta Sans', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

/* Sembunyikan Scroll Bar Sepenuhnya (Modern Frameless Workstation) */
::-webkit-scrollbar {
  width: 0px !important;
  height: 0px !important;
  display: none !important;
  background: transparent !important;
}

::-webkit-scrollbar-thumb {
  background: transparent !important;
}

::-webkit-scrollbar-track {
  background: transparent !important;
}

html {
  background-color: #0A0A0C;
}

body {
  background-color: #0A0A0C; /* Mencegah blank white flash di Android WebView */
  color: #FFFFFF;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

/* Frameless Window Container - Pure Monochrome Black & White */
.window-frame {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #0c0c0c;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: none;
  transition: border-radius 0.15s ease;
}

.window-frame.maximized {
  border-radius: 0px !important;
  border: none !important;
}

/* Custom Titlebar with Drag Region */
.titlebar {
  height: 44px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  -webkit-app-region: drag;
  z-index: 100;
}

.titlebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #F40500;
  box-shadow: 0 0 10px rgba(244, 5, 0, 0.8);
}

.brand-text {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #FFFFFF;
}

.brand-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

/* Window Control Buttons */
.window-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  -webkit-app-region: no-drag;
}

.control-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #8e8e8e;
  cursor: pointer;
  transition: all 0.15s ease;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.control-btn.close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}
