



/* ====================
 *  LIGHT THEME TOKENS
 *  =================== */


:root {
  /* Layout Dimensions */
  --max-width: 1440px;
  --wrapper-width: 250px;     /* Set this to your ideal desktop default size */
  --preview-height: 200px;    /* Set this to your ideal desktop default size */

  --preview-height-sm: 64px;
  --preview-height-md: 128px;
  --preview-height-lg: 256px;
  --preview-height-xl: 512px;

  --bp-compact: 600px;
  --bp-medium: 900px;
  --bp-large: 1200px;
  --bp-xlarge: 1440px;
  --bp-xxlarge: 1920px;



  /* Typography System */
  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Courier New', monospace;
  --font-heading: 'Segoe UI', 'Helvetica Neue', sans-serif;
  --font-body: var(--font-sans);

  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;

  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-loose: 1.75;

  /* Spacing Scale (Margins and Paddings) */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;

  /* Component Sizing (Icons & Buttons) */
  --icon-size: 32px;
  /*--icon-border-radius: 50%;*/ /* Using 50% forces a perfect circle automatically */
  --icon-border-radius: 32px;
  --ico-size: 16px;
  --ico-border-radius: 8px;

  /* Light Theme Colors */


  /* Backgrounds *//*
  --bg-main: #ffef00;
  --bg-main-rgb: 255, 180, 0;
  --bg-primary: #ffffff;
  --bg-primary-rgb: 255,255,255;
  --bg-secondary: #f1f3f5;
  --bg-tertiary: #e9ecef;
  --bg-card: #ffffff;
  --bg-input: #ffffff;
  --bg-modal: #ffffff;
  --bg-tooltip: #212529;
  --bg-header: #ffffff;
  --bg-hover: #f8f9fa;
  --bg-active: #e9ecef;
  --bg-focus: rgba(0,102,204,.12);
  --bg-overlay: rgba(0,0,0,.50);
  --bg-disabled: #e9ecef;
  --bg-glass: rgba(255,255,255,.40);
  --bg-selection: rgba(147,51,234,.20);
  --bg-code: #f1f3f5;

  --bg-panel: rgba(255,255,255,.40);
  --bg-footer: rgba(255,255,255,.40);
  --bg-aside: rgba(200,200,200,.40);*/

  /* Foregrounds *//*
  --fg-main: #000000;
  --fg-main-rgb: 0,0,0;
  --fg-primary: #343a40;
  --fg-secondary: #495057;
  --fg-tertiary: #6c757d;
  --fg-muted: #adb5bd;
  --fg-disabled: #ced4da;
  --fg-placeholder: #868e96;
  --fg-heading: #111827;
  --fg-label: #495057;
  --fg-inverse: #ffffff;
  --fg-glow: rgba(255,255,255,.80);
  --fg-selection: #9333ea;

  --fg-panel: Gold;
  --fg-footer: Purple;
  --fg-aside: Lime;*/




  /* Backgrounds */
  --bg-main: Snow;
  --bg-primary: HoneyDew;
  --bg-primary-rgb: 240, 255, 240;
  --bg-secondary: Azure;
  --bg-tertiary: AliceBlue;
  --bg-card: GhostWhite;
  --bg-input: WhiteSmoke;
  --bg-modal: SeaShell;
  --bg-tooltip: Beige;
  --bg-header: OldLace;
  --bg-hover: Ivory;
  --bg-active: LavenderBlush;
  --bg-focus: rgba(0,102,204,.12);
  --bg-overlay: rgba(0,0,0,.50);
  --bg-disabled: #e9ecef;
  --bg-glass: rgba(255,255,255,.40);
  --bg-selection: rgba(147,51,234,.20);
  --bg-code: #f1f3f5;

  --bg-panel: rgba(255,255,255,.40);
  --bg-footer: rgba(255,255,255,.40);
  --bg-aside: rgba(200,200,200,.40);

  /* Foregrounds */
  --fg-main: DarkSlateGray;
  --fg-primary: SlateGray;
  --fg-secondary: LightSlateGray;
  --fg-tertiary: DimGray;
  --fg-muted: LightGray;
  --fg-disabled: Gainsboro;
  --fg-placeholder: Silver;
  --fg-heading: DarkGray;
  --fg-label: Gray;
  --fg-inverse: White;
  --fg-glow: rgba(255,255,255,.80);
  --fg-selection: DeepSkyBlue;

  --fg-panel: Gold;
  --fg-footer: Purple;
  --fg-aside: Lime;





  /* Colors */
  --shadow: 255, 248, 220;



  /*Backdrops*/
  --main-backdrop: url('/backdrop') center/cover no-repeat fixed;

  /* Accent */
  --accent: #0066cc;
  --accent-rgb: 0,102,204;
  --accent-hover: #005bb5;
  --accent-active: #004080;
  --accent-muted: #99ccee;
  --accent-glow: rgba(0,102,204,.20);

  /* Links */
  --link: var(--accent);
  --link-hover: #004c99;

  /* Status */
  --success: #28a745;
  --success-bg: #e9f8ef;

  --warning: #ffc107;
  --warning-bg: #fff8e1;

  --info: #17a2b8;
  --info-bg: #e8f8fb;

  --error: #dc3545;
  --error-bg: #fdecec;

  --danger: #b00020;
  --danger-bg: #fde8ea;

  /* Borders */
  --border-subtle: #f1f3f5;
  --border: #dee2e6;
  --border-strong: #adb5bd;
  --border-focus: var(--accent);

  /* Buttons */
  --button-bg: DarkSlateGray;
  --button-bg-hover: DimGray;
  --button-bg-active: Gainsboro;
  --button-fg: Snow;
  --button-border: transparent;

  /* Inputs */
  --input-bg: var(--bg-input);
  --input-fg: var(--fg-main);
  --input-border: var(--border);
  --input-placeholder: var(--fg-placeholder);
  --input-focus: var(--accent);

  /* Scrollbars */
  --scrollbar: 16,16,16;
  --scrollbar-hover: 0,0,0;
  --scrollbar-track: 10,10,10;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.05);
  --shadow-sm: 0 2px 6px rgba(0,0,0,.08);
  --shadow-md: 0 8px 20px rgba(0,0,0,.12);
  --shadow-lg: 0 16px 40px rgba(0,0,0,.18);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.25);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  --radius-circle: 50%;

  /* Spacing */
  --space-xs: .25rem;
  --space-sm: .5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;

  /* Motion */
  --duration: 1600ms;
  --transition-fast: .15s ease-in-out;
  --transition-medium: .30s ease;
  --transition-slow: .50s ease-out;
  --transition: all .30s ease;
  --easing: cubic-bezier(.4,0,.2,1);

  /* Misc */
  --hr-height: 4px;
  --hr-color: #9333ea;
  --min-scale: .1;
  --border-width: 1px;

  /* Layers */
  --z-base: 1;
  --z-dropdown: 500;
  --z-sticky: 900;
  --z-overlay: 1000;
  --z-modal: 2000;
  --z-toast: 2500;
  --z-tooltip: 3000;

  /* Semantic Components */
  --panel-bg: var(--bg-secondary);
  --panel-border: var(--border);
  --panel-shadow: var(--shadow-sm);

  --footer-bg: var(--bg-footer);
  --footer-fg: var(--fg-secondary);

  --header-bg: var(--bg-header);
  --header-fg: var(--fg-main);



  --mirror-mask: linear-gradient(
    to bottom,
    rgba(var(--shadow), 0.8),
                                 var(--fg-glow)
  );


}


/* ====================
 *  DARK THEME TOKENS
 *  =================== */
:root.dark {

  /* Backgrounds *//*
  --bg-main: #100800;
  --bg-main-rgb: 10,8,0;
  --bg-primary: #1e1e1e;
  --bg-primary-rgb: 30,30,30;
  --bg-secondary: #252525;
  --bg-tertiary: #2d2d2d;
  --bg-card: #1e1e1e;
  --bg-input: #1c1c1c;
  --bg-modal: #252525;
  --bg-tooltip: #303030;
  --bg-header: #1b1b1b;
  --bg-hover: #2a2a2a;
  --bg-active: #333333;
  --bg-focus: rgba(51,153,255,.20);
  --bg-overlay: rgba(0,0,0,.80);
  --bg-disabled: #333333;
  --bg-glass: rgba(0,0,0,.40);
  --bg-selection: rgba(168,85,247,.30);
  --bg-code: #1a1a1a;


  --bg-panel: rgba(48,48,48,.40);
  --bg-footer: rgba(32,32,32,.40);
  --bg-aside: rgba(64,64,64,.40);*/


  /* Foregrounds *//*
  --fg-main: #ffffff;
  --fg-main-rgb: 255, 255, 255;
  --fg-primary: #e0e0e0;
  --fg-secondary: #b0b0b0;
  --fg-tertiary: #888888;
  --fg-muted: #666666;
  --fg-disabled: #555555;
  --fg-placeholder: #777777;
  --fg-heading: #ffffff;
  --fg-label: #d0d0d0;
  --fg-inverse: #121212;
  --fg-glow: rgba(255,255,255,.15);
  --fg-selection: #c084fc;

  --fg-panel: Gold;
  --fg-footer: Purple;
  --fg-aside: Lime;*/




  /* Backgrounds */
  --bg-main: DarkSlateGray;
  --bg-primary: SlateGray;
  --bg-primary-rgb: 30,30,30;
  --bg-secondary: LightSlateGray;
  --bg-tertiary: DimGray;
  --bg-card: Gray;
  --bg-input: DarkGray;
  --bg-modal: Silver;
  --bg-tooltip: LightGray;
  --bg-header: LightGray;
  --bg-hover: Silver;
  --bg-active: LightGray;
  --bg-focus: rgba(51,153,255,.20);
  --bg-overlay: rgba(0,0,0,.80);
  --bg-disabled: Gainsboro;
  --bg-glass: rgba(0,0,0,.40);
  --bg-selection: rgba(168,85,247,.30);
  --bg-code: DimGray;


  --bg-panel: rgba(48,48,48,.40);
  --bg-footer: rgba(32,32,32,.40);
  --bg-aside: rgba(64,64,64,.40);


  /* Foregrounds */
  --fg-main: Snow;
  --fg-primary: HoneyDew;
  --fg-secondary: MintCream;
  --fg-tertiary: Azure;
  --fg-muted: #666666;
  --fg-disabled: Gray;
  --fg-placeholder: GhostWhite;
  --fg-heading: WhiteSmoke;
  --fg-label: SeaShell;
  --fg-inverse: Black;
  --fg-glow: rgba(255,255,255,.15);
  --fg-selection: Beige;

  --fg-panel: Gold;
  --fg-footer: Purple;
  --fg-aside: Lime;




  /*Backdrops*/
  --main-backdrop: url('/backdrop') center/cover no-repeat fixed;

  /* Accent */
  --accent: #3399ff;
  --accent-rgb: 51,153,255;
  --accent-hover: #4dabf7;
  --accent-active: #005bb5;
  --accent-muted: #1c3d5a;
  --accent-glow: rgba(51,153,255,.25);

  /* Links */
  --link: #66b2ff;
  --link-hover: #3399ff;

  /* Status */
  --success: #28d17b;
  --success-bg: rgba(40,209,123,.15);

  --warning: #ffc93c;
  --warning-bg: rgba(255,201,60,.15);

  --info: #1ecbe1;
  --info-bg: rgba(30,203,225,.15);

  --error: #ff6b6b;
  --error-bg: rgba(255,107,107,.15);

  --danger: #ff4757;
  --danger-bg: rgba(255,71,87,.15);

  /* Borders */
  --border-subtle: #232323;
  --border: #333333;
  --border-strong: #555555;
  --border-focus: var(--accent);

  /* Buttons */
  --button-bg: Snow;
  --button-bg-hover: Silver;
  --button-bg-active: Gainsboro;
  --button-fg: DarkSlateGray;
  --button-border: transparent;



  /* Inputs */
  --input-bg: var(--bg-input);
  --input-fg: var(--fg-main);
  --input-border: var(--border);
  --input-placeholder: var(--fg-placeholder);
  --input-focus: var(--accent);

  /* Scrollbars */
  --scrollbar: 241,241,241;
  --scrollbar-hover: 255,255,255;
  --scrollbar-track: 244,244,244;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.35);
  --shadow-sm: 0 2px 6px rgba(0,0,0,.45);
  --shadow-md: 0 8px 20px rgba(0,0,0,.55);
  --shadow-lg: 0 16px 40px rgba(0,0,0,.70);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.85);

  /* Semantic Components */
  --panel-bg: var(--bg-secondary);
  --panel-border: var(--border);
  --panel-shadow: var(--shadow-sm);

  --footer-bg: var(--bg-footer);
  --footer-fg: var(--fg-secondary);

  --header-bg: var(--bg-header);
  --header-fg: var(--fg-main);



  --mirror-mask: linear-gradient(
    to bottom,
    rgba(var(--shadow), 0.8),
                                 var(--fg-glow)
  );
}














/* ============================================
 *   1. BASE DEFAULT STYLES (~1441px - 1919px)
 *   ========================================== */


/* dev side */
#devscreen {
background: var(--bg-glass);
color: var(--fg-primary);
padding: 3rem;
max-height: 25%;
border-radius : var(--radius-lg);
margin-top: 32px;
}

/* common */

* {
  background: transparent;
  color: var(--fg-main);
}
*:hover {
  border-radius : var(--radius-sm);
}

*::selection {
  background-color: var(--bg-selection);
  color:var(--fg-selection);
}

/* scrollbar */

::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px var(--bg-main);
  border-radius: var(--space-xl);
  background: linear-gradient(
    to bottom,
    rgba(var(--scrollbar-track), 0.4),
                              rgba(var(--scrollbar-track), 1),
                              rgba(var(--scrollbar-track), 0.4)
  ),
  linear-gradient(
    to right,
    rgba(var(--scrollbar-track),0.25),
                  rgba(var(--scrollbar-track),0),
                  rgba(var(--scrollbar-track),0.2)
  );
}

::-webkit-scrollbar-thumb {
  border-radius: var(--space-sm);
  background: linear-gradient(
    to bottom,
    rgba(var(--scrollbar), 0.4),
                              rgba(var(--scrollbar), 1),
                              rgba(var(--scrollbar), 0.4)
  ),
  linear-gradient(
    to right,
    rgba(var(--scrollbar),0.25),
                  rgba(var(--scrollbar),0),
                  rgba(var(--scrollbar),0.2)
  );

}
::-webkit-scrollbar-thumb:hover {
  filter: brightness(1.1);
  background: linear-gradient(
    to bottom,
    rgba(var(--scrollbar-hover), 0.4),
                              rgba(var(--scrollbar-hover), 1),
                              rgba(var(--scrollbar-hover), 0.4)
  ),
  linear-gradient(
    to right,
    rgba(var(--scrollbar-hover),0.25),
                  rgba(var(--scrollbar-hover),0),
                  rgba(var(--scrollbar-hover),0.2)
  );
}

/* core elements */

html {
  height:100%;
  margin:0;
  padding:0;
  font-family: Arial, sans-serif;
  /**
   * 1. Correct the line height in all browsers.
   * 2. Prevent adjustments of font size after orientation changes in iOS.
   */
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}



body {
  background: var(--main-backdrop);
  color: var(--fg-main);
  font-family: var(--font-base);
  font-size: var(--font-size-md);
  transition: background 0.3s, color 0.3s;
  margin: 0;
  padding: 0;
  min-height:100%;
  overflow-x: hidden;
}
main,aside,footer {
  margin-top: var(--space-md);
}

header,main,aside,footer {
  padding: var(--space-md);
}

/* unify background */

.mainPanel,.mainContent,.mainAside,.mainFooter {
  background-color: var(--bg-glass);
}



/* Main Panel Styling */
.mainPanel {
  width: 100%;              /* Light text for contrast */
  font-size: var(--font-size-xl);
  font-weight: 500;
  border-bottom: 1px solid #333;  /* Subtle separator */
  padding: 0;
}
.mainPanel:hover,
.mainPanel.scrolled {
  background-color: var(--bg-overlay);
  box-shadow: 0 2px 6px var(--shadow);
}

.mainSearchBox {
  font-size: var(--font-size-md);
  background-color: var(--bg-glass);
  color: var(--fg-main)
  width: 60%;
  height: var(--icon-size);
  border-radius:var(--icon-border-radius);
}




.mainLayout {
  display:flex;
}

.mainContent {
  flex:1;

  margin-right: var(--space-sm);
}

.mainAside {
  flex:0 0 30%;
  position: sticky;
  top: 1rem;
  margin-left: var(--space-sm);
}

.mainFooter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /*   justify-content: flex-start; */
  justify-content: space-between;
  gap: 1rem;
  color: var(--fg-footer);
}
.footerContainer {

  display: flex;
  flex-wrap: wrap;      /* Items go to next line if no space */
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.875rem;
  /*   color: #6c757d; */
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  letter-spacing: 0.05em;
  width: 100%;
}


.rot--6 {
  transform: rotate(-6deg);
}
.rot--16 {
  transform: rotate(-16deg);
}

.water-text {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.water-text-base {
  /*   font-size: 3rem; */
  font-weight: bold;
}

/* The reflection */
.water-text-mirror {
  transform: translateX(4px) scale3d(1, -1, 0.5) rotate(6deg);
  opacity: 0.25;

  /* Fade it away vertically */
  -webkit-mask-image: var(--mirror-mask);
  mask-image: var(--mirror-mask);
}



/*
 * .water-text {
 *  position: relative;
 *  display: inline-block;
 *  margin-bottom: 4rem;
 * }
 *
 * .water-text::after {
 *  content: attr(data-text);
 *  position: absolute;
 *  left: 0;
 *  top: 100%;
 *
 *  transform: scaleY(-1);
 *  transform-origin: top;
 *
 *  opacity: 0.7;
 *
 *  -webkit-mask-image: linear-gradient(
 *    to bottom,
 *    rgba(0, 0, 0, 0.7),
 *                                      transparent
 *  );
 *  mask-image: linear-gradient(
 *    to bottom,
 *    rgba(0, 0, 0, 0.7),
 *                              transparent
 *  );
 * }
 * .water-text::after {
 *  content: attr(data-text);
 *  position: absolute;
 *  left: 0;
 *  top: 100%;
 *
 *  transform: scaleY(-1);
 *  opacity: 0.25;
 *
 *  filter: blur(1px);
 *
 *  -webkit-mask-image: linear-gradient(
 *    to bottom,
 *    black,
 *    transparent
 *  );
 *
 *  mask-image: linear-gradient(
 *    to bottom,
 *    black,
 *    transparent
 *  );
 *
 *  animation: waterReflection 2s ease-in-out infinite alternate;
 * }
 *
 * @keyframes waterReflection {
 *  from {
 *    transform: scaleY(-1) skewX(-1deg);
 *  }
 *
 *  to {
 *    transform: scaleY(-1) skewX(1deg);
 *  }
 * }*/


/* Base container */
.flex-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Base child layout fallback */
.flex-grid > * {
  flex: 1 1 0%;
}

/* Child width rules (Accounting for CSS gap spacing via calc) */
.col-1 { flex: 0 0 100%; }
.col-2 { flex: 0 0 calc(50% - (1rem * 1 / 2)); }
.col-3 { flex: 0 0 calc(33.333% - (1rem * 2 / 3)); }
.col-4 { flex: 0 0 calc(25% - (1rem * 3 / 4)); }
.col-6 { flex: 0 0 calc(16.666% - (1rem * 5 / 6)); }




/* 1. Soft & Subtle (Great for standard cards) */
.bs-soft {
  box-shadow: 0 4px 6px -1px rgba(var(--shadow), 0.1), 0 2px 4px -1px rgba(var(--shadow), 0.06);
}

/* 2. Elevated & Floating (Great for popups or hover states) */
.bs-elevated {
  box-shadow: 0 20px 25px -5px rgba(var(--shadow), 0.1), 0 10px 10px -5px rgba(var(--shadow), 0.04);
}

/* 3. Sharp / Retro / Brutalist (Hard offset border shadow) */
.bs-sharp {
  box-shadow: 4px 4px 0px #000000;
}

/* 4. Inner / Pressed (Inset shadow for recessed inputs) */
.bs-inset {
  box-shadow: inset 0 2px 4px 0 rgba(var(--shadow), 0.06);
}

/* 5. Colored Neon Glow (Vibrant blue highlight) */
.bs-glow {
  box-shadow: 0 0 15px 2px rgba(var(--shadow), 0.5);
}

/* Base scale */
.bs-1 { box-shadow: 0 1px 3px rgba(0,0,0,0.12); }
.bs-2 { box-shadow: 0 4px 6px rgba(0,0,0,0.08); }
.bs-3 { box-shadow: 0 10px 15px rgba(0,0,0,0.05); }

/* Special variants */
.bs-in { box-shadow: inset 0 2px 4px rgba(0,0,0,0.06); }
.bs-hard { box-shadow: 4px 4px 0 #000; }






.reflecty-hr{
  width: 100%;
  height: 0.3px;
  background-color: rgba(var(--bg-primary-rgb),0.8)
}





/* ===========================================================
 *  Responsive Breakpoints (Desktop First)
 *  Base layout is designed for standard desktop screens
 *  (~1441px - 1919px)
 *  =========================================================== */

/* Very large displays / TVs / Future large screens */
@media (min-width: 1920px) {

}

/* Large desktops */
@media (max-width: 1440px) {

}

/* Laptops */
@media (max-width: 1200px) {

}

/* Tablets */
@media (max-width: 900px) {

}

/* Phones */
@media (max-width: 600px) {
  .mainLayout {
    flex-direction: column;
    align-items: stretch;
  }

  .mainAside {
    width: 100%;
    margin-left: 0;
  }

  .mainContent {
    width: 100%;
    margin-right: 0;
  }
}





/* This rule completely disables transitions, safely hosted in your file */
.no-transitions,
.no-transitions * {
  transition: none !important;
  animation: none !important;
}






input:focus,
textarea:focus,
select:focus,
button:focus,
[contenteditable]:focus {
  outline: none;
}

textarea {
  display: block;
  width: 100%;
}

pre {
  background-color: var(--bg-code);
  overflow-x: auto;
  white-space: pre;
  display: block;
  max-width: 100%;
}

/* pre,code { text-align: left;} */
.code-block {
  position: relative;
  margin: 1em 0;
  background: var(--bg-code);
  border-radius: 6px;
  overflow: hidden;
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  font-size: 12px;
  /*   color: #94a3b8; */
  background: linear-gradient(
    to right,
    rgba(var(--bg-primary-rgb), 0.4),
                              rgba(var(--bg-primary-rgb), 1),
                              rgba(var(--bg-primary-rgb), 0.4)
  ),
  linear-gradient(
    to right,
    rgba(255,255,255,0.25),
                  rgba(255,255,255,0),
                  rgba(0,0,0,0.2)
  );
}

.code-lang {
  text-transform: uppercase;
  letter-spacing: .04em;
}

.code-block pre {
  margin: 0;
  padding: 12px;
}


input {
  height: var(--space-lg);
  width: 96%;
  text-align: center;
}


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


.favicon {
  background: url('/favicon.ico') center/contain no-repeat;
}


/* container for the 'hr' (keeps semantics optional) */
.fancy-hr{
  width: 100%;
  display: block;
  margin: 1.25rem 0;
  height: var(--hr-height);
  overflow: visible; /* let SVG breathe */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* the SVG spans the full width but the visible line is centered */
.fancy-hr svg{
  width: 100%;
  height: var(--hr-height);
  display: block;
}

/* the single line — we use transform:scaleX to shorten/expand centered */
.fancy-hr line{
  stroke: var(--hr-color);
  stroke-width: var(--hr-height);
  stroke-linecap: round;
  /* make the transform origin the center of the viewport */
  transform-origin: 50% 50%;
  transform-box: fill-box; /* ensures origin is inside SVG's object box */
  animation: shrinkExpand var(--duration) var(--easing) infinite;
  will-change: transform;
}

@keyframes shrinkExpand{
  0%   { transform: scaleX(1); }
  45%  { transform: scaleX(calc(var(--min-scale) + 0.02)); }
  55%  { transform: scaleX(calc(var(--min-scale) + 0.02)); }
  100% { transform: scaleX(1); }
}

button,
select,
.btn {
  background: var(--bg-main);
  color: var(--fg-main);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  height: var(--icon-size);
}

.btn-user {
  background: url('/face') center/contain no-repeat;
}



/* Variants */
.btn-primary { background: var(--fg-primary); color: var(--fg-main); }
.btn-danger  { background: var(--danger);  color: var(--fg-main); }
.btn-success { background: var(--success); color: var(--fg-main); }
.btn-outline { background: transparent; color: var(--fg-main); border: 1px solid var(--border); }

/* Sizes */
.btn-sm  { padding: var(--space-xs) var(--space-sm); font-size: var(--font-size-sm); }
.btn-md  { padding: var(--space-sm) var(--space-md); font-size: var(--font-size-md); }
.btn-lg  { padding: var(--space-md) var(--space-lg); font-size: var(--font-size-lg); }

/* Icon-style (square) */
.btn-icon {
  padding: var(--space-sm);
  width: var(--icon-size);
  height: var(--icon-size);
  border-radius:var(--icon-border-radius);
  justify-content: center;
}

.ico-copy {
  position: relative;
}

.ico-copy::after {
  content: '';
  position: absolute;
  inset: 0;
}

.*[data-state="copied"]::after {
  content: 'Copied';
  display: grid;
  place-items: center;
  font-size: 12px;
  background: rgba(0,0,0,.6);
  color: white;
  border-radius: 4px;
}


.face {/*
  width: var(--icon-size);
  height: var(--icon-size);
  border-radius:var(--icon-border-radius);*/
  background: url('/face') center/contain no-repeat;
  cursor: pointer;
}
.icon {
  width: var(--icon-size);
  height: var(--icon-size);
  border-radius:var(--icon-border-radius);
  cursor: pointer;
  box-shadow: 0 0 6px 1px rgba(var(--shadow), 0.5);
}
/*.icon-home {
 *  background: url('/icon/home') center/contain no-repeat;
 * }
 * .icon-email {
 *  background: url('/icon/email') center/contain no-repeat;
 * }
 * .icon-phone {
 *  background: url('/icon/phone') center/contain no-repeat;
 * }
 * .icon-whatsapp {
 *  background: url('/icon/whatsapp') center/contain no-repeat;
 * }*/
.ico {
  width: var(--ico-size);
  height: var(--ico-size);
  border-radius:var(--ico-border-radius);
  cursor: pointer;
}
.bg-live {
  background-image: url('/backdrop/live');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  background-attachment: fixed;
}
.panel {
  width: 100%;
  background-image: url('/backdrop/live');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  background-attachment: fixed;
  background-color: var(--bg-glass);
  color: var(--fg-primary);
  font-size: var(--font-size-xl);
  font-weight: 500;
  border-bottom: 1px solid #333;  /* Subtle separator */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.panel-bottom {
  margin-bottom: -16px;
}











.offscreen {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
}


.offscreen-top {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
}

.offscreen-bottom {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
}

.offscreen-left {
  position: fixed;
  top: 0;
  left: -100%;
  height: 100%;
}

.offscreen-right {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100%;
}


/* Horizontal Flex Layout */

.horFlex {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-left: auto;
  margin-right: auto; /* Centers this block */
}


.verFlex {
  display: flex;
  flex-direction: column;       /* Stack items vertically */
  align-items: flex-start;      /* Align items horizontally (start by default) */
  justify-content: flex-start;  /* Align items vertically */
  gap: 1rem;                    /* Spacing between items */
}
.flexCenter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.flexAround {
  display: flex;
  justify-content: space-around; /* Items spread with space around each */
  align-items: center;
}

.flexEven {
  display: flex;
  justify-content: space-evenly; /* Equal spacing between items and edges */
  align-items: center;
}
.flexWrap {
  display: flex;
  flex-wrap: wrap;      /* Items go to next line if no space */
  gap: 1rem;
}
.horFlexReverse { display: flex; flex-direction: row-reverse; align-items: center; justify-content: flex-start; gap: 1rem; }
.verFlexReverse { display: flex; flex-direction: column-reverse; align-items: flex-start; justify-content: flex-start; gap: 1rem; }



/* Sticky Top Panel */
.stickyTop {
  position: sticky;
  top: 0;
  z-index: 1000;             /* Ensure it stays above other content */
  background-color: inherit; /* Keeps background consistent */
  box-shadow: 0 2px 4px rgba(var(--shadow), 0.1); /* Optional subtle shadow */
}
.stickyBottom {
  position: sticky;
  bottom: 0;
  z-index: 1000;             /* Ensure it stays above other content */
  background-color: inherit; /* Keeps background consistent */
  box-shadow: 0 2px 4px rgba(var(--shadow), 0.1); /* Optional subtle shadow */
}
.stickrelbot {
  position: relative;
  bottom: 0;
  z-index: 1000;             /* Ensure it stays above other content */
  background-color: inherit; /* Keeps background consistent */
  box-shadow: 0 2px 4px rgba(var(--shadow), 0.1); /* Optional subtle shadow */
}

.horiScroll {
  overflow-x: none;
  overflow-y: hidden;
}
.vertScroll {
  overflow-x: hidden;
  overflow-y: none;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.col {
  flex: 1;
  min-width: 200px;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}
.text-left {
  text-align: left;
}


.hidden {
  display:none;
}

.inline {
  display:inline;
}
/* line *//* link */
.logo {
  display:inline;
}

/* Utility Classes */
.m-0 { margin: 0; }
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }
.ml-1 { margin-left: 1rem; }
.mr-1 { margin-right: 1rem; }

.p-0 { padding: 0; }
.pt-1 { padding-top: 1rem; }
.pb-1 { padding-bottom: 1rem; }
.pl-1 { padding-left: 1rem; }
.pr-1 { padding-right: 1rem; }

.text-uppercase {
  text-transform: uppercase;
}

.text-lowercase {
  text-transform: lowercase;
}

.text-capitalize {
  text-transform: capitalize;
}


/* Cards */
.card {
  background-color: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 15px;
  box-shadow: 0 4px 6px rgba(var(--shadow), 0.1);
}

.card-header {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.card-body {
  font-size: 1rem;
  color: var(--fg-secondary);
}

.card-footer {
  text-align: right;
  font-size: 0.875rem;
  color: var(--fg-tertiary);
}






/* Margin */
.m-xs { margin: var(--space-xs); }
.m-sm { margin: var(--space-sm); }
.m-md { margin: var(--space-md); }
.m-lg { margin: var(--space-lg); }

.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-xs { margin-bottom: var(--space-xs); }
.ml-xs { margin-left: var(--space-xs); }
.mr-xs { margin-right: var(--space-xs); }
/* repeat for sm, md, lg as needed */

/* Padding */
.p-xs { padding: var(--space-xs); }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }

.pt-xs { padding-top: var(--space-xs); }
.pb-xs { padding-bottom: var(--space-xs); }
.pl-xs { padding-left: var(--space-xs); }
.pr-xs { padding-right: var(--space-xs); }
/* repeat for sm, md, lg */


/* Display */
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-flex { display: inline-flex; }
.d-flex { display: flex; }

/* Flex alignment */
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.align-start { align-items: flex-start; }
.align-center { align-items: center; }
.align-end { align-items: flex-end; }

/* Grid system */
.grid {
  display: grid;
  gap: var(--space-sm);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }




/* Dynamic via CSS variables */
.w-auto  { width: auto; }
.h-auto  { height: auto; }

/* .w-[50%] { width: 50%; } /* or generate dynamically via preprocessor */


.wide {
  width: 100%;
}



.slideHide { transform: translateY(-100%); opacity: 0; }
.offScreen { transform: translateY(-100%); opacity: 0; }
.offScreen-top { transform: translateY(-100%); opacity: 0; }
.offScreen-bottom { transform: translateY(100%); opacity: 0; }
.offScreen-left { transform: translateX(-100%); opacity: 0; }
.offScreen-right { transform: translateX(100%); opacity: 0; }


.offScreen--top { transform: translateY(-100%); opacity: 0; }
.offScreen--bottom { transform: translateY(100%); opacity: 0; }
.offScreen--left { transform: translateX(-100%); opacity: 0; }
.offScreen--right { transform: translateX(100%); opacity: 0; }



.slowmo {
  transition: transform 500ms ease-out, opacity 500ms ease-out;
}





.no-scroll {
  overflow: hidden;
}


.mh-90vh {
  max-height: 90vh;
}

.fixed-position {
  position: fixed;
}
.bg-overlay {
  background: var(--bg-overlay);
}

.bg-glass {
  background: var(--bg-glass);
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  /*     text-align: center; */
}

.modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  background: var(--bg-glass);
  border-radius: 8px;
  max-width: 500px;
  width: 100%;
  padding: 1rem;
  transition: max-width .25s ease, width .25s ease;

  max-height: 90vh;      /* ❗ keep modal inside screen */
  overflow-y: hidden;
  overflow-x: hidden;
}

.modal-wide .modal-content {
  max-width: 900px;
  width: 90vw;
  padding: 1.5rem;
  max-height: 90vh;      /* keep the constraint */
  overflow-y: auto;      /* inherit or set explicitly */
}

/*@media (min-width: 1200px) {
 *  .modal-wide .modal-content {
 *    max-width: 1000px;
 *  }
 * }*/

.modal-title {
  /*   text-align: center; */
}

.modal-body {
  overflow-y: hidden;
  overflow-x: hidden;
  /*   text-align: center; */
  /*  display: flex;
   *  justify-content: center;
   *  align-items: center;*/
}


.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.modal-footer {
  /*   text-align: center; */
}



.ai-container {
  max-height: 100%;
  max-width: 100%;
  width: 100%;
  height: 100%;
}
.ai-chat {
  max-height: 80%;
  max-width: 100%;
  width: 100%;
  height: 60vh;
  overflow-y: hidden;
  overflow-x: auto;
}
.ai-input-container {
  max-height: 20%;
  max-width: 100%;
  width: 100%;
  height: 10%;
  position: sticky;
  bottom: 0;
}
.ai-input {

  min-width: 80%;
  max-width: 90%;

  max-height: 20%;
  min-height: 2%;

  height: auto;

  padding: var(--space-md);
  margin: var(--space-md);
  border-radius: var(--radius-lg);

  box-shadow: 2px 8px 12px 6px var(--shadow-deep);
  border: none;
}
.ai-panel {
  max-height: 5%;
  max-width: 100%;
  width: 100%;
  height: 2.5%;
}
.ai-aside {

  max-height: 100%;
  max-width: 30%;
  width: 30%;
  height: 100%;
  float: left;
}

.ai-question,.ai-answer {
  min-width: 80%;
  max-width: 90%;
  padding: var(--space-md);
  margin: var(--space-md);
  border-radius: var(--space-sm);
  clear: both;
}
.ai-question {
  box-shadow: 2px 8px 12px -6px var(--shadow-deep);
  border-right: 1px solid var(--border);
  float:right;
}
.ai-answer {
  box-shadow: -2px 8px 12px -6px var(--shadow-deep);
  border-left: 1px solid var(--border);
  float: left;
}




.profile-page {
  background: transparent;
  font-family: system-ui, sans-serif;
}

.profile-header {
  background: transparent;
  position: relative;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ---- Cover ---- */
.cover-container {
  background: transparent;
  position: relative;
  height: 256px;
  overflow: hidden;
}

.cover-container img.cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-cover-change {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 6px 12px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.3s;
  cursor: pointer;
}

.cover-container:hover .btn-cover-change {
  opacity: 1;
}

/* ---- Profile Image ---- */
.profile-info {
  background: transparent;
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding: 0 16px 16px;
}

.profile-image-container {
  background: transparent;
  position: absolute;
  bottom: -20px;
  left: 16px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-profile-change {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.3s;
}

.profile-image-container:hover .btn-profile-change {
  opacity: 1;
}

/* ---- Name & Controls ---- */
.profile-details {
  margin-left: 180px; /* offset for floating image */
  flex: 1;
}

.profile-details .fullname {
  margin: 0;
  font-size: 1.5em;
  font-weight: 600;
}

.profile-controls {
  margin-top: 8px;
  background: transparent;
}

.profile-controls .btn-control {
  margin-right: 8px;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  cursor: pointer;
  transition: background 0.2s;
}

/*.profile-controls .btn-control:hover {
 *    background: transparent;
 * }*/



.nobg { background: transparent; }

.float-right { float:right; }
.float-left { float:left; }

#___gcse_0 { transform: translateY(-100%); opacity: 0; }


.wrapper {
  margin: var(--space-lg);
  padding: var(--space-lg);
}

.wrapper-sm { width: var(--wrapper-width-sm); }
.wrapper-md { width: var(--wrapper-width-md); }
.wrapper-lg { width: var(--wrapper-width-lg); }



.preview-image {
  border-radius: 0.5rem;
  object-fit: contain;
  display: block;
}

.preview-sm { height: var(--preview-height-sm); }
.preview-md { height: var(--preview-height-md); }
.preview-lg { height: var(--preview-height-lg); }


/* remote computer manager */

.rcmDesktop {
  height: var(--preview-height-md);
}


/* Container for all notifications */
#notifyContainer{
background: url('/backdrop/live') center/cover no-repeat;
position: fixed;
top: var(--space-lg);
right: var(--space-lg);
display: flex;
flex-direction: column;
gap: 10px;
z-index: 99999;
pointer-events: none; /* allow clicks through gaps */
}

.notify{
  min-width: 240px;
  max-width: 360px;
  /*     background: linear-gradient(180deg, #fff, #fafafa); */
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 12px 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  pointer-events: auto; /* enable clicks on the box */
  transform-origin: top right;
  animation: slideIn 260ms cubic-bezier(.2,.9,.2,1);
}

.notifyIcon{
  width: 36px;
  height: 36px;
  border-radius: 6px;
  /*     background: #f0f0f3; */
  display: grid;
  place-items: center;
  font-weight: 700;
  /*     color: #333; */
  flex-shrink: 0;
}

.notifyContent{
  flex: 1 1 auto;
  min-width: 0;
}

.notifyTitle{
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 2px 0;
  /*     color: #111; */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notifyBody{
  font-size: 13px;
  margin: 0;
  /*     color: #444; */
  line-height: 1.2;
  max-height: 3.6em;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notifyClose{
  margin-left: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  /*     color: #888; */
  padding: 4px;
}




.fs--3 { font-size: 0.512rem; } /* 1rem / 1.25^3  */
.fs--2 { font-size: 0.64rem;  } /* 1rem / 1.25^2  */
.fs--1 { font-size: 0.8rem;   } /* 1rem / 1.25    */
.fs-0  { font-size: 1rem;     } /* base           */
.fs-1  { font-size: 1.25rem;  } /* 1rem * 1.25    */
.fs-2  { font-size: 1.563rem; } /* 1rem * 1.25^2  */
.fs-3  { font-size: 1.953rem; } /* 1rem * 1.25^3  */
.fs-4  { font-size: 2.441rem; } /* 1rem * 1.25^4  */
.fs-5  { font-size: 3.052rem; } /* 1rem * 1.25^5  */


/* negative / small sizes — more spacing for readability */
.lh--3 { line-height: 1.55; }  /* micro text */
.lh--2 { line-height: 1.45; }  /* extra small */
.lh--1 { line-height: 1.35; }  /* small text */

/* base */
.lh-0  { line-height: 1.25; }  /* normal text */

/* positive sizes — tighter for headings */
.lh-1  { line-height: 1.20; }  /* title */
.lh-2  { line-height: 1.15; }  /* section title */
.lh-3  { line-height: 1.10; }  /* big heading */
.lh-4  { line-height: 1.05; }  /* main heading */
.lh-5  { line-height: 1.00; }  /* hero / display */



.image {
  /* Basic styling for the image container (optional, but good for demonstration) */
  width: 300px;
  height: 200px;
  background-color: #f0f0f0; /* Light background for visibility */
  border-radius: 8px; /* Slightly rounded corners */
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: sans-serif;
  color: #555;

  /* The cool box shadow */
  box-shadow:
  0 4px 6px rgba(var(--shadow), 0.1), /* Main shadow, slightly below */
  0 10px 20px rgba(var(--shadow), 0.08), /* Wider, softer shadow for depth */
  0 20px 40px rgba(var(--shadow), 0.05); /* Even wider, very soft shadow */
}



.w-1 { width: 1%; } .h-1 { height: 1%; }
.w-2 { width: 2%; } .h-2 { height: 2%; }
.w-3 { width: 3%; } .h-3 { height: 3%; }
.w-4 { width: 4%; } .h-4 { height: 4%; }
.w-5 { width: 5%; } .h-5 { height: 5%; }
.w-6 { width: 6%; } .h-6 { height: 6%; }
.w-7 { width: 7%; } .h-7 { height: 7%; }
.w-8 { width: 8%; } .h-8 { height: 8%; }
.w-9 { width: 9%; } .h-9 { height: 9%; }
.w-10 { width: 10%; } .h-10 { height: 10%; }
.w-11 { width: 11%; } .h-11 { height: 11%; }
.w-12 { width: 12%; } .h-12 { height: 12%; }
.w-13 { width: 13%; } .h-13 { height: 13%; }
.w-14 { width: 14%; } .h-14 { height: 14%; }
.w-15 { width: 15%; } .h-15 { height: 15%; }
.w-16 { width: 16%; } .h-16 { height: 16%; }
.w-17 { width: 17%; } .h-17 { height: 17%; }
.w-18 { width: 18%; } .h-18 { height: 18%; }
.w-19 { width: 19%; } .h-19 { height: 19%; }
.w-20 { width: 20%; } .h-20 { height: 20%; }
.w-21 { width: 21%; } .h-21 { height: 21%; }
.w-22 { width: 22%; } .h-22 { height: 22%; }
.w-23 { width: 23%; } .h-23 { height: 23%; }
.w-24 { width: 24%; } .h-24 { height: 24%; }
.w-25 { width: 25%; } .h-25 { height: 25%; }
.w-26 { width: 26%; } .h-26 { height: 26%; }
.w-27 { width: 27%; } .h-27 { height: 27%; }
.w-28 { width: 28%; } .h-28 { height: 28%; }
.w-29 { width: 29%; } .h-29 { height: 29%; }
.w-30 { width: 30%; } .h-30 { height: 30%; }
.w-31 { width: 31%; } .h-31 { height: 31%; }
.w-32 { width: 32%; } .h-32 { height: 32%; }
.w-33 { width: 33%; } .h-33 { height: 33%; }
.w-34 { width: 34%; } .h-34 { height: 34%; }
.w-35 { width: 35%; } .h-35 { height: 35%; }
.w-36 { width: 36%; } .h-36 { height: 36%; }
.w-37 { width: 37%; } .h-37 { height: 37%; }
.w-38 { width: 38%; } .h-38 { height: 38%; }
.w-39 { width: 39%; } .h-39 { height: 39%; }
.w-40 { width: 40%; } .h-40 { height: 40%; }
.w-41 { width: 41%; } .h-41 { height: 41%; }
.w-42 { width: 42%; } .h-42 { height: 42%; }
.w-43 { width: 43%; } .h-43 { height: 43%; }
.w-44 { width: 44%; } .h-44 { height: 44%; }
.w-45 { width: 45%; } .h-45 { height: 45%; }
.w-46 { width: 46%; } .h-46 { height: 46%; }
.w-47 { width: 47%; } .h-47 { height: 47%; }
.w-48 { width: 48%; } .h-48 { height: 48%; }
.w-49 { width: 49%; } .h-49 { height: 49%; }
.w-50 { width: 50%; } .h-50 { height: 50%; }
.w-51 { width: 51%; } .h-51 { height: 51%; }
.w-52 { width: 52%; } .h-52 { height: 52%; }
.w-53 { width: 53%; } .h-53 { height: 53%; }
.w-54 { width: 54%; } .h-54 { height: 54%; }
.w-55 { width: 55%; } .h-55 { height: 55%; }
.w-56 { width: 56%; } .h-56 { height: 56%; }
.w-57 { width: 57%; } .h-57 { height: 57%; }
.w-58 { width: 58%; } .h-58 { height: 58%; }
.w-59 { width: 59%; } .h-59 { height: 59%; }
.w-60 { width: 60%; } .h-60 { height: 60%; }
.w-61 { width: 61%; } .h-61 { height: 61%; }
.w-62 { width: 62%; } .h-62 { height: 62%; }
.w-63 { width: 63%; } .h-63 { height: 63%; }
.w-64 { width: 64%; } .h-64 { height: 64%; }
.w-65 { width: 65%; } .h-65 { height: 65%; }
.w-66 { width: 66%; } .h-66 { height: 66%; }
.w-67 { width: 67%; } .h-67 { height: 67%; }
.w-68 { width: 68%; } .h-68 { height: 68%; }
.w-69 { width: 69%; } .h-69 { height: 69%; }
.w-70 { width: 70%; } .h-70 { height: 70%; }
.w-71 { width: 71%; } .h-71 { height: 71%; }
.w-72 { width: 72%; } .h-72 { height: 72%; }
.w-73 { width: 73%; } .h-73 { height: 73%; }
.w-74 { width: 74%; } .h-74 { height: 74%; }
.w-75 { width: 75%; } .h-75 { height: 75%; }
.w-76 { width: 76%; } .h-76 { height: 76%; }
.w-77 { width: 77%; } .h-77 { height: 77%; }
.w-78 { width: 78%; } .h-78 { height: 78%; }
.w-79 { width: 79%; } .h-79 { height: 79%; }
.w-80 { width: 80%; } .h-80 { height: 80%; }
.w-81 { width: 81%; } .h-81 { height: 81%; }
.w-82 { width: 82%; } .h-82 { height: 82%; }
.w-83 { width: 83%; } .h-83 { height: 83%; }
.w-84 { width: 84%; } .h-84 { height: 84%; }
.w-85 { width: 85%; } .h-85 { height: 85%; }
.w-86 { width: 86%; } .h-86 { height: 86%; }
.w-87 { width: 87%; } .h-87 { height: 87%; }
.w-88 { width: 88%; } .h-88 { height: 88%; }
.w-89 { width: 89%; } .h-89 { height: 89%; }
.w-90 { width: 90%; } .h-90 { height: 90%; }
.w-91 { width: 91%; } .h-91 { height: 91%; }
.w-92 { width: 92%; } .h-92 { height: 92%; }
.w-93 { width: 93%; } .h-93 { height: 93%; }
.w-94 { width: 94%; } .h-94 { height: 94%; }
.w-95 { width: 95%; } .h-95 { height: 95%; }
.w-96 { width: 96%; } .h-96 { height: 96%; }
.w-97 { width: 97%; } .h-97 { height: 97%; }
.w-98 { width: 98%; } .h-98 { height: 98%; }
.w-99 { width: 99%; } .h-99 { height: 99%; }
.w-100 { width: 100%; } .h-100 { height: 100%; }





/* 1. Wobble */
@keyframes wobble {
  0%   { transform: rotate(0deg); }
  20%  { transform: rotate(6deg); }
  40%  { transform: rotate(-6deg); }
  60%  { transform: rotate(3deg); }
  80%  { transform: rotate(-3deg); }
  100% { transform: rotate(0deg); }
}
.anim-wobble { animation: wobble 300ms ease; }

/* 2. Squish */
@keyframes squish {
  0%   { transform: scale(1) rotate(0deg); }
  20%  { transform: scale(0.9, 1.1) rotate(4deg); }
  40%  { transform: scale(1.1, 0.9) rotate(-4deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.anim-squish { animation: squish 250ms ease; }

/* 3. Pop */
@keyframes pop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.15); }
  80%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}
.anim-pop { animation: pop 220ms ease; }

/* 4. Shake */
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20% { transform: translateX(-3px); }
  40% { transform: translateX(3px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}
.anim-shake { animation: shake 250ms ease; }

/* 5. Flip */
@keyframes flip {
  0%   { transform: rotateY(0deg); }
  50%  { transform: rotateY(25deg); }
  100% { transform: rotateY(0deg); }
}
.anim-flip { animation: flip 350ms ease; }

/* 6. Tilt */
@keyframes tilt {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(5deg); }
  50%  { transform: rotate(-5deg); }
  75%  { transform: rotate(3deg); }
  100% { transform: rotate(0deg); }
}
.anim-tilt { animation: tilt 300ms ease; }







.label-block {
  display: block;
  margin-bottom: 0.25rem; /* space before input */
  font-weight: 500;
}

.label-inline {
  display: inline-block;
  width: 120px;   /* align all labels */
  text-align: right;
  margin-right: 1rem;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}



.float-label {
  position: relative;
}

.float-label input {
  padding-top: 1.2rem;
}

.float-label label {
  position: absolute;
  left: 0.5rem;
  top: 0.8rem;
  transition: 0.2s;
  pointer-events: none;
}

.float-label input:focus + label,
.float-label input:not(:placeholder-shown) + label {
  top: -0.4rem;
  font-size: 0.75rem;
  color: #555;
}

.label-required::after {
  content: " *";
  color: red;
}

.helper-text {
  display: block;
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 0.25rem;
}

.label { display:block; margin-bottom: .3rem; font-weight:500; }
.label-inline { display:inline-block; margin-right:.5rem; }





pre code.language-javascript {
  display: block;
  padding: 1rem 1.2rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95rem;
  line-height: 1.5;

  background: var(--bg-code, #0f111a);
  color: #cbd3e1;

  overflow-x: auto;
  border-radius: 8px;
  tab-size: 2;
}
/* comments */
.language-javascript {
  --comment: #7f8c98;
  --string:  #ecc48d;
  --keyword: #82aaff;
  --number:  #f78c6c;
}
.language-javascript .comment { color: var(--comment); font-style: italic; }
.language-javascript .string  { color: var(--string); }
.language-javascript .number  { color: var(--number); }
.language-javascript .keyword { color: var(--keyword); font-weight: 500; }
.language-javascript::selection {
  background: #334155;
}
.language-javascript .function {
  color: #c792ea;
}




.mail-wrapper {
  max-width: 600px;
  margin: 60px auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  font-family: system-ui, sans-serif;
}

.mail-header h1 {
  margin-bottom: 8px;
}

.subtitle {
  color: #6b7280;
}

.btn-primary {
  display: inline-block;
  padding: 12px 20px;
  background: #2563eb;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.mail-footer {
  margin-top: 40px;
  font-size: 0.9rem;
  color: #6b7280;
}





.input-label {
  display: block;              /* sits above input */
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  /*   color: #222;                 /* adjust for theme */ */
}

.input-description {
  display: block;              /* forces it under the input */
  font-size: 0.8rem;           /* small text */
  line-height: 1.4;
  margin-top: 0.35rem;
  color: #666;                 /* softer than label */
}







/*
 *
 * .mainAside {
 *  width: 280px;
 *  padding: 20px;
 *  background: #f7f9fc;
 *  border-left: 1px solid #ddd;
 *  box-sizing: border-box;
 *  position: sticky;
 *  top: 20px;
 *  align-self: flex-start;
 * }
 *
 * .mainAside .asideSection {
 *  background: white;
 *  padding: 16px;
 *  margin-bottom: 16px;
 *  border-radius: 8px;
 *  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
 * }
 *
 * .mainAside h3 {
 *  margin-top: 0;
 *  margin-bottom: 12px;
 *  font-size: 1rem;
 * }
 *
 *
 *
 *
 *
 * .mainFooter {
 *  width: 100%;
 *  margin-top: 40px;
 *  background: #1f2937;
 *  color: #fff;
 *  padding: 40px 20px 20px;
 *  box-sizing: border-box;
 * }
 * .mainFooter .footerContainer {
 *  display: flex;
 *  flex-wrap: wrap;
 *  justify-content: space-between;
 *  gap: 30px;
 *  max-width: 1200px;
 *  margin: 0 auto;
 * }
 * .mainFooter .footerBrand,
 * .mainFooter .footerLinks,
 * .mainFooter .footerContact {
 *  flex: 1;
 *  min-width: 220px;
 * }
 * .mainFooter a {
 *  color: #d1d5db;
 *  text-decoration: none;
 * }
 *
 * .mainFooter a:hover {
 *  color: white;
 * }
 * .mainFooter .footerBottom {
 *  margin-top: 30px;
 *  padding-top: 16px;
 *  border-top: 1px solid rgba(255,255,255,0.15);
 *  text-align: center;
 *  font-size: 0.9rem;
 *  color: #bbb;
 * }
 *
 *
 */




.tsh-emboss {
  text-shadow: 1px 1px 0 rgba(var(--fg-main-rgb), 0.1), -1px -1px 0 rgba(var(--shadow), 0.5);
}

/* Subtle 1px depth (Great for high-contrast dark backgrounds) */
.text-shadow-subtle {
  text-shadow: 1px 1px 2px rgba(var(--shadow), 0.4);
}

/* Hard highlight / 3D Emboss (Great for colored or blocky footer sections) */
.text-shadow-emboss {
  text-shadow: 1px 1px 0 rgba(var(--fg-main-rgb), 0.1), -1px -1px 0 rgba(var(--shadow), 0.5);
}

/* Glow Effect (Perfect for neon-accented or modern tech/dark mode footers) */
.text-shadow-glow {
  text-shadow: 0 0 8px rgba(var(--shadow) 0.6), 0 0 12px rgba(var(--shadow) 0.3);
}

/* Soft Pop (Helps footer headings or copyright text lift off busy images) */
.text-shadow-lift {
  text-shadow: 0 4px 6px rgba(var(--shadow), 0.7);
}



/* ==========================================
 *   1. BASE STYLES (Desktop / Large Screens)
 *   Applies to ALL screen sizes by default.
 *   ========================================== */





