/* ==========================================================================
   Design Token Architecture & Variable Registry
   ========================================================================== */
 
	@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');
	
	/* SET FONT-SIZE */ 
	@font-face {
		font-family: 'Sacramento';
		src: url('Sacramento-Regular.ttf') format('truetype');
		font-weight: normal;
		font-style: normal;    
	}    
	
:root {
  --brand-dark: #1a191f;
  --brand-surface: #222129;
  --brand-card: #2a2933;
  --accent-color: #0056b3;
  --accent-whatsapp: #25d366;
  --text-main: #ffffff;
  /*--text-gray: #94a3b8;*/
  --text-gray: #eee;
  /*--text-muted: #64748b;*/
  --text-muted: #999;
  --border-glow: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(255, 255, 255, 0.18);
  --accent-color-rgb: 255, 0, 0;
}

/* ==========================================================================
   Core Engine Reset & Base System Definitions
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  
  font-family: 'Montserrat', sans-serif;
  -webkit-tap-highlight-color: transparent;
  
     
		 
		touch-action: manipulation !important;   

		-webkit-touch-callout: none !important;              /* prevent callout to copy image, etc when tap to hold */
		-webkit-text-size-adjust: none !important;             /* prevent webkit from resizing text to fit */
		-webkit-user-select: auto !important;                  /* prevent copy paste, to allow, change 'none' to 'text' */


	/* no select */
	  -moz-user-select: none !important;
	  -khtml-user-select: none !important;  
	  -webkit-user-select: auto  !important;  
	  -ms-user-select: none !important;  
	  user-select: none !important;
}


 /* scroll bar */
	::-webkit-scrollbar { width: 0px; height: 0px; }
	
	html, body {
		/* prevent pull refresh on mobile */ 
		overflow: hidden;    
		overscroll-behavior: none;
	}
	
body {
  background: #0d0c10;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  color: var(--text-main);
  
  	
}

/* ==========================================================================
   Application Canvas Frame Constraints (PWA Standard)
   ========================================================================== */
.app {
  width: 100%;
  max-width: 380px;
  height: 900px;
  max-height: 900px;
  background: var(--brand-dark);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-glow);
}

/* Fluid Viewport Adaptability for Dedicated Devices / Shorter Screens */
@media (max-height: 900px) {
  .app {
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    border: none;
  }
  body {
    padding: 0;
  }
}

/* Scroll Layer Surface Wrapper */
.content {
  flex: 1;
  overflow-y: auto;
  /*  padding-bottom: 50px; Safeguard padding against structural layout clipping */
  scrollbar-width: none;
  border: none;
  background: rgba(9, 9, 11, 0.8);
}

.content::-webkit-scrollbar {
  display: none;
}

/* Main Content Container Grid Padding */
.container {
  padding: 20px 16px;
  margin-top: 110px;
  background: rgba(9, 9, 11, 0.8);
}

/* ==========================================================================
   Universal Shared Standard Components (Header & Core UI Blocks)
   ========================================================================== */
.app-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 24px 20px 16px 20px;
  border-bottom: 1px solid var(--border-glow);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.header-brand-dock {
  display: flex;
  align-items: stretch;
  gap: 14px;
}

.brand-accent-line {
  width: 4px;
  background: linear-gradient(180deg, var(--accent-color) 0%, #3b82f6 100%);
  border-radius: 4px;
  box-shadow: 0 0 12px var(--accent-color);
}

.brand-meta-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-meta-group h1 {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.8px;
  color: var(--text-main);
}

.brand-meta-group h1 span {
  font-weight: 400;
  color: var(--text-gray);
}

/* Pulse Element Assembly */
.live-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.15);
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 5px;
  width: max-content;
}

.pulse-node {
  width: 5px;
  height: 5px;
  background-color: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 8px #38bdf8;
}

.live-status-tag span {
  font-size: 10px;
  font-weight: 700;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Navigation & Header Action Cluster Mechanics */
.header-action-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.action-control-node {
  width: 38px;
  height: 38px;
  background: var(--brand-surface);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  font-size: 14px;
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.action-control-node-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.node-sub-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.action-control-node:active {
  background: var(--brand-card);
  color: var(--text-main);
}

.notification-alert-ring {
  position: absolute;
  top: 11px;
  right: 12px;
  width: 6px;
  height: 6px;
  background-color: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 6px #ef4444;
}

/* Primary Button Framework */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--accent-color);
  color: var(--text-main);
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.2s ease, transform 0.1s ease;
}

.btn:active {
  transform: scale(0.97);
  opacity: 0.9;
}

/* ==========================================================================
   Shared System Card Layout Framework
   ========================================================================== */
.card {
  background: rgba(9, 9, 11, 0.8);
  border-radius: 18px;
  padding: 15px 18px; 
  margin-bottom: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);   
}

.card h2 {
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card h2 i {
  color: var(--accent-color);
  font-size: 14px;
}

.card p {
  color: var(--text-gray);
  line-height: 1.5;
  font-size: 14px;
  font-weight: 400;
} 