  /* Define theme colors */
  :root, html[data-theme="light"] {
    --bg-color: #ffffff;
    --text-color: #222222;
	--bg-glass: rgba(230, 230, 230, 0.99);
  }
  html[data-theme="dark"] {
    --bg-color: #4d4d4d;
    --text-color: #f5f5f5;
	--bg-glass: rgba(77, 77, 77, 0.99); 
  }
  body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.2s, color 0.2s;
	overflow-x: hidden;
  }	

/* Apply this to elements you want to protect */
.no-copy {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none;     /* IE 10 and IE 11 */
    user-select: none;         /* Standard syntax for Chrome, Firefox, Opera */
}

@media print {
    /* Hide the entire body content when printing the webpage */
    body {
        display: none !important;
    }
}


.heading{
	position: inline-block;
  top: 0;
    width:100%;
  z-index: 5;
	display: flex;
	align-items: left;
	padding: 0 !important;
}


    /* 3. GLASSMORPHIC NAVBAR LAYOUT WITH LEFT ALIGNMENT */
    .navbar {
      position: absolute;
      top: auto;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: 1600px;
   /*   background: var(--bg-glass); */
	  background-color: rgba(19, 21, 23, 0.4);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 0px solid var(--border-glass);
      border-radius: 0px;
      padding: 2px 7px;
      z-index: 4;
      box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
	  color: inherit;
    }

    .nav-container {
      display: flex;
      align-items: center;
      justify-content: flex-start; /* Forces content to align to the absolute left edge */
	  color: inherit;
	  margin-left: 10px !important; 
	  margin-right: 10px !important;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 5px;
      width: 100%; /* Spans full width of the container for solid left-dock alignment */
	  color: inherit;
    }

    .nav-item {
	transition: opacity 0.2s ease;
	text-decoration: none;
	color: CanvasText;
	color: inherit;
    }

    .nav-item:hover {
      opacity: 0.9;
    }
	
	ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;            /* Adds spacing between items */
  list-style: none;     /* Removes default bullet points */
  padding: 0;
  margin: 0;
}

li {
  flex: 1 1 200px;      /* Grows, shrinks, and sets a 200px ideal width */
  box-sizing: border-box;
}


    /* 4. CONTROLLER BUTTON & PURE UL/LI RESET */
    .dropdown-wrapper {
      position: relative;
    }

    .menu-btn {
      background: transparent !important;
      border: none !important;
      padding: 0px 2px !important;
      margin: 0 !important;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 3px;
	  color: inherit;
    }

    .arrow-icon {
      font-size: 0.4em;
      transition: transform 0.2s ease;
      display: inline-block;
    }

    /* Force absolute removal of list bullet markers and margins */
    .dropdown-menu, 
    .dropdown-menu li {
      list-style: none !important;
      list-style-type: none !important;
      padding: 0 !important;
      margin: 0 !important;
	  color: inherit;
    }

    .dropdown-menu {
      position: absolute;
      top: calc(100% + 8px);
      left: 0; /* Aligns dropdown list directly below the left edge of the button wrapper */
      background: var(--bg-glass) !important;
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 0px solid var(--border-glass);
      border-radius: 6px;
      padding: 3px !important; /* Slight boundary padding for items container */
      min-width: 120px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      display: none; /* Controlled asynchronously via script state */
	  color: inherit;
    }

    .dropdown-item {
      display: block;
      padding: 10px 14px;
      border-radius: 8px;
      transition: background 0.2s ease;
	  color: inherit;
    }

    .dropdown-item:hover {
      background: var(--bg-hover);
    }


    /* 5. STATE MODIFIERS */
    .dropdown-wrapper.is-open .dropdown-menu {
      display: block;
    }

    .dropdown-wrapper.is-open .arrow-icon {
      transform: rotate(180deg); /* Flips the standard indicator chevron arrow */
    }

        /* Flexbox navigation button container */
        .nav-controls {
			width: 100%;
		display: flex;
          /* justify-content: space-between; */
            padding: 0px;
         /*background-color: #bac6d2;   */
		/*border-top: 1px solid grey;     */	
        }

html, body, :fullscreen {
  min-height: 100dvh !important; /* Dynamic Viewport Height fills the true pixel area */
  height: 100dvh !important;
  margin: 0;
  padding: 0 !important;
  overflow: none; /* Prevents tiny sub-pixel scrolling gaps */
}
  

/*------------------about popup-------------------*/
    .about-link:hover {
      text-decoration: underline;
    }

    /* Backdrop Dimmer (Hidden by default) */
    .popup-overlay {
      display: none; 
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 1000;
    }

    /* Pop-Up Window Box */
    .popup-content {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: var(--bg-glass);
      padding: 30px;
      border-radius: 8px;
      width: 400px;
      max-width: 90%;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    /* Close Button Layout */
    .close-btn {
      float: right;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
      color: #aaa;
      line-height: 20px;
    }
    .close-btn:hover {
      color: #000;
    }

/* ------------------------------- show hide forms ---------------------------*/
.toggle-form{
	  margin: 0 !important;
  padding: 0 !important;
}

/* Base button styles */
.toggle-btn {
/*	border: 1px solid; */
	cursor: pointer;
	transition: background-color 0.2s;
	display: block;
	padding: 2px 2px !important; 
	border-radius: 8px;
	transition: background 0.2s ease;
	color: inherit;
	text-decoration: none;
}

/* Highlight style when a button is selected */
.toggle-btn.active {
 background-color: #6d6d6d;
  border-color: white;
/*  font-weight: bold; 
  text-decoration: underline;
  text-decoration-color: #BA4343; *//* Sets the line color to red */ 
  
}

.main-container{
		  margin-left: 10px !important; 
	  margin-right: 10px !important;
}

