/* ===========================================================
   FAR OUT RESEARCH — Financial Times–inspired theme
   =========================================================== */
@import url('https://fonts.googleapis.com/css2?family=josefin+Sans:wght@400;500;600;700&display=swap');

:root{

    --logo-html:<h5>FAR oUt ReSeArCh CeNtEr | <span class='logo-start'>FOUR</span> <span class='logo-end'>CENT</span></h5>;
  --above-typical-image: aabove.webp;
  --above-typical-text: &#8593;  
  --typical-image:  agood.webp;
   --typical-text:  &#8596;  
  --below-typical-image: abelow.webp;
  --below-typical-text: &#8595;  

  --gamma-color: #9e2f50;
    --primary-color: rgb(255, 0, 0);
    --logo-color-1: #0370C2;
    --logo-color-2: rgb(155, 79, 79);

  --ft-paper:     radial-gradient(200px 600px at 20% -10%, rgba(34,211,238,.25), transparent 60%),
                  radial-gradient(200px  400px at 90% 10%, rgba(125,211,252,.2), transparent 70%),
                  linear-gradient(180deg, rgba(15,23,42,.9), rgba(2,6,23,.95));
  --ft-ink:   #1c1d1e;        /* near-black */
  --ft-ink-2: #223261;        /* secondary text */
  --ft-toolbar-ink: #eff1f5;        /* secondary text */
  --ft-rule:  #f0ece9;        /* hairline rules */
  --ft-accent:#411422;        /* claret accent */
  --ft-link:  #8fc7e4;        /* restrained blue links */

}

:target {
  scroll-margin-top: 88px; /* Adjust this value to match your toolbar's height */
}

.status-bar-hangup
{

    border:0px solid cyan;
    float: right;
}
.card
{
        background: radial-gradient(1200px 600px at 20% -10%, rgba(34,211,238,.25), transparent 60%),
                  radial-gradient(800px 400px at 90% 10%, rgba(125,211,252,.2), transparent 70%),
                  linear-gradient(180deg, rgba(15,23,42,.9), rgba(2,6,23,.95));
      border-bottom: 1px solid rgba(148,163,184,.2);
        margin:5px;
    }
/* --- Reset & base --- */
* { box-sizing: border-box; }
html, body { height: 100%; }
[data-bs-theme] body {
  xbackground: var(--ft-paper);
   background: "/images/wild.jpg";
  color: var(--ft-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

   background-image: url(/images/ice.jpg); /* Replace with your image path */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed; /* Optional: keeps the background image fixed during scrolling */
  margin: 0; /* Remove default body margin */
  padding: 0; /* Remove default body padding */
  height: 100vh; /* Ensures the body takes up the full viewport height */
  width: 100vw; /* Ensures the body takes up the full viewport width */    
}

body {
  font-family: "josefin Sans","Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size:14px;
  line-height: 1.45;
}
.DESKTOP 
{
    border:12px solid sandybrown;
}
.jumbotron
{
    width: 80%;
    border-radius: 24px;
    border: 1px solid white;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    background: rgb(0, 0, 0);
    color: white;
    padding:40px;
}
.login_form
{
    padding: 10px;
    width:100%;
    background: rgba(243, 200, 200, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.simulator_status_text
{
    color:darkred;
    right:0;
}
.local-desktop-video
{
    margin:4px;
    width: 60px; 
    height:40px;
    border-radius: 8px;
    display: block;
    background: transparent; 
    border: 0px solid cyan;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transform: scaleX(-1); /* Flip horizontally to mirror */
}
.remote-video
{
    margin:4px;
    width: 100%;
    top:0px;
    position: absolute;
    height: auto;
    border-radius: 8px;
    display: block;
    margin:1px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transform: scaleX(-1); /* Flip horizontally to mirror */
}
.remote-mesh-canvas
{
    border:1px solid rgb(65, 65, 65);
    top:0px;
    position: absolute;
    margin:1px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    background: transparent;
    xborder: none;
    transform: scaleX(-1); /* Flip horizontally to mirror */
 
}
.store-quote
{
    padding:30px;
    background: peachpuff;
}
.header-text
{
    color: white;
    padding-top:90px;
}
.local-mesh-canvas
{
    border:1px solid rgb(65, 65, 65);
    margin:8px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.5);
    xborder: none;
    transform: scaleX(-1); /* Flip horizontally to mirror */
 
}
.postureCanvas
{
    border:0px solid orange;
    margin-left: auto;
    width:50%;
}
.local-canvas
{
    border:3px solid green;
    margin:4px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    transform: scaleX(-1); /* Flip horizontally to mirror */
}

/* --- Typography --- */
h1, h2, h3, .display-hero {
  letter-spacing: .1px;
  color: var(--ft-ink);
}
.lead { color: var(--ft-ink-2); }
small, .small, .text-secondary { color: var(--ft-ink-2) !important; }

/* --- Navbar & footer --- */
.navbar.bg-body {
  background: var(--ft-paper) /*8portant;*/
}
.spin_slow
{
    animation: verticalRotate 20s linear infinite;
}
.spin_fast
{
    animation: horizontalRotate 2s linear infinite;
}
.shadow-below
{
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.shadow-above
{
    text-shadow: -2px -2px 5px rgba(0, 0, 0, 0.5);
}


.navbar .navbar-brand {
  fxont-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--ft-ink) !important;


  
}
@keyframes horizontalRotate {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}
@keyframes verticalRotate {
  0% {
    transform: rotateX(0deg);
  }
  100% {
    transform: rotateX(360deg);
  }
}
.navbar .nav-link { color: var(--ft-toolbar-ink) !important; }
.navbar .nav-link:hover { color: var(--ft-ink) !important; }

footer {
  background: var(--ft-paper);
  border-top: 1px solid var(--ft-rule) !important;
  color: var(--ft-ink-2);
}
.white_paper_index
{
    background: rgba(209, 254, 212, 0.321);
    border-radius:20px;
    border: 1px solid rgb(249, 249, 249);
}
.whitepaper-title
{
    color: rgb(255, 255, 255);
    text-transform: uppercase;
}
.whitepaper-author
{
   float:right;
    color: gray;
}
.white_paper_conainter
{
    background: rgba(45, 120, 50, 0.321);
    border-radius:20px;
    border: 1px solid rgb(249, 249, 249);
}
.status-bar-video
{
    width:100%;
    height:auto;
    border:0px solid yellow;
}
.status-bar-canvas
{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}
/* --- Hero (editorial, understated) --- */
.gradient-hero {
  background: linear-gradient(180deg, #fff5ee, var(--ft-paper));
  border-bottom: 1px solid var(--ft-rule);
}
.hero-kicker{
  color: var(--ft-accent);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 800;
}
.display-hero strong { color: var(--ft-ink); }
#currentSmileStatus
{
    font-size:24px;
}
/* --- Sections & rules --- */
section{ scroll-margin-top: 6rem; }
main section { padding-top: 2rem; padding-bottom: 2rem; }
main section.border-bottom { border-color: var(--ft-rule) !important; }

/* --- Links & buttons --- */
a { 
    color: var(--ft-link); 
}
.frontpage-container a
{
    color:rgb(49, 54, 49);
}
.jumbotrom a
{
    color:rgb(230, 255, 230);
}
a:hover, a:focus { color: #005b8a; }

.btn-brand{
  --bs-btn-bg: var(--ft-accent);
  --bs-btn-border-color: var(--ft-accent);
  --bs-btn-hover-bg: #7d2340;
  --bs-btn-hover-border-color: #7d2340;
  --bs-btn-color: #fff;
  box-shadow: none;
}
.btn-outline-info{
  --bs-btn-color: var(--ft-accent);
  --bs-btn-border-color: var(--ft-accent);
  --bs-btn-hover-bg: var(--ft-accent);
  --bs-btn-hover-border-color: var(--ft-accent);
  --bs-btn-hover-color: #fff;
}
.visualizer-chooser
{
    xborder-radius: 17px;
    border:1px solid rgb(26, 26, 26);
    background: rgba(10, 10, 10, 0.59);
    border-right:1px solid rgb(233, 230, 230);
    border-bottom:1px solid rgb(236, 233, 233);
}
.neumorph
{   
    width:98%;
    border-radius: 27px;
      margin-left: auto;
  margin-right: auto;
    background: #11364A;
    box-shadow: inset -5px -5px 10px #0c2635,
                inset 5px 5px 10px #16465f;
}
.neumorph-in
{   
    border-radius: 7px;
    background: #081e2a;
    box-shadow:  -5px -5px 10px #051117,
                5px 5px 10px #15435d;
}
.document_library_text
{
    padding-right:15px;
    color:rgb(255, 163, 113);
    font-weight: 700;
}
.card-document-card
{
    background: transparent;
    color: white;
    padding:4px;
    width:45%;
}
.bordered_card
{
    border:1px solid rgba(255, 255, 255, 0.301);
    color: var(--ft-ink);
}
.icon-card {
  border:1px solid var(--ft-rule);

  border-radius: 20px;
  padding: 18px;
  background: #fff9f5;
  transition: transform .12s ease, box-shadow .12s ease;
}
.outline_card
{
    border:5px red;
    border-radius:30px;
}
.icon-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.icon-badge{
  width:48px; height:48px;
  border-radius:12px;
  display:grid; place-items:center;
  background: rgba(158,47,80,.12);
  color: var(--ft-accent);
}

/* --- TOC sidebar (white paper pages) --- */
.toc{ position: sticky; top: 5.5rem; border-left: 1px dashed var(--ft-rule); padding-left: 1rem; }
.toc a{ text-decoration:none; color: var(--ft-ink-2); }
.toc a.active, .toc a:hover{ color: var(--ft-ink); }

/* --- Tables --- */
.table {
  background: var(--ft-paper);
  color: var(--ft-ink);
}
.table thead th {
  background: #220e6f; /* light FT band */
  color: var(--ft-ink);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  border-bottom: 1px solid var(--ft-rule);
}
.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: #faf3ee;
}
.table td, .table th { border-color: var(--ft-rule); }
.table-hover tbody tr:hover { background-color: #f3e6dc; }

/* --- Inputs --- */
#filterBox, input[type="search"] {
  background: #fff;
  border: 1px solid var(--ft-rule);
  color: var(--ft-ink);
}
#filterBox::placeholder { color: #7a7e87; }

/* --- Callouts --- */
.callout{
  border: 1px solid var(--ft-rule);
  background: #fff9f5;
  border-radius: 1rem;
}

/* --- Back-to-top --- */
#backToTop{
  position: fixed; right: 1rem; bottom: 1rem; z-index: 1050; display:none;
  background: var(--ft-accent); border: none;
}

/* --- Print --- */
@media print{
  #navbar, #backToTop, .toc-col, .no-print { display:none !important; }
  a[href]:after{ content:""; }
  .gradient-hero{ background:white; color:black; border:none; }
  .btn{ display:none; }
  .callout{ border:1px solid #333; background:#fff; }
}

.fft-window
{
  visibility: hidden;
}
.visualizer-display
{
  border:1px solid rgba(255, 255, 255, 0.49);
  box-shadow: 
    /* Top shadow */
    0 -5px 20px -5px rgba(247, 244, 244, 0.5), 
    /* Bottom shadow */
    0 5px 20px -5px rgba(0, 0, 0, 0.5);
}
.brain_metrics_tile
{
    xbackground-color: rgb(224, 197, 197);
    border-radius: 18px;

    border-radius: 15px; /* Rounded corners like a credit card */
    background: linear-gradient(
        45deg,
       
        rgb(255, 255, 255),#0370C2
    ); /* Example gradient colors */
    border:1px solid rgb(255, 255, 255);
   
    bxox-shadow: -10px -10px 20px rgba(0, 0, 0, 0.5); /* Optional: add a subtle shadow */
    display: flex; /* For centering content if needed */
    justify-content: center;
    align-items: center;
    color: rgb(38, 42, 82); /* Example text color */
    font-family: josefin Sans,sans-serif;
    font-size: 12px;
    padding: 20px;
    margin:4px;
    box-sizing: border-box; /* Include padding in width/height */
}
.brainMetrics 
{
    height:600px;
    overflow-y: auto; /* Or scroll */
}
.card-headquarters
{
  width:100%;
  background-color: rgba(158, 110, 5, 0.976);
}
.main_toolbar
{
    color: white;
    xbackground:#74a2f892;
      xbox-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
         xbackdrop-filter: blur(5px);
}
.frontpage-container
{
    width:100%;
    
    /* From https://css.glass */
    background: rgba(220, 220, 247, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    margin:5px;
    border-radius:16px;
    -webkit-backdrop-filter: blur(5px);
    border-top:1px solid rgba(255, 250, 250, 0.464);
    border-left: 1px solid rgba(255, 255, 255, 0.821);
       border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    border-right: 1px solid rgba(9, 9, 9, 0.6);
}

.login_info
{
    left:50%;
    
    right:0; 
    position:absolute; 
    top:10px;
}
.white-paper-on-index-page
{
    width: 100%;
    background-color:rgb(34, 35, 41);
}
.metric-name
{
    font-size:26px;
}
/* Fancy Metric Gauges */
.metric-gauges-container {
    display: none !important;
}

.metric-gauges-container.local-gauges {
    display: none !important;
}

.metric-gauges-container.remote-gauges {
    display: none !important;
}

.gauge-wrapper {
    pointer-events: auto;
}

.gauge {
    position: relative;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5),
                inset 0 0 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.gauge-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.gauge-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 8;
}

.gauge-fill {
    fill: none;
    stroke: #8b3a3a;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 0.5s ease,
                stroke 0.3s ease;
}

.gauge-fill-focus {
    stroke: #2a7a75;
}

.gauge-fill-fatigue {
    stroke: #a89020;
}

.gauge-fill-meditation {
    stroke: #9b59b6;
}

.gauge-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}

.gauge-value {
    font-size: 10px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    font-family: 'Arial', sans-serif;
}

.gauge-label {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Color coding based on value - darker versions */
.gauge[data-status="low"] .gauge-fill {
    stroke: #2a7a75;
}

.gauge[data-status="medium"] .gauge-fill {
    stroke: #a89020;
}

.gauge[data-status="high"] .gauge-fill {
    stroke: #8b3a3a;
}

/* Glow effects */
.gauge:hover {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6),
                inset 0 0 25px rgba(255, 255, 255, 0.05),
                0 0 20px rgba(255, 255, 255, 0.1);
}

.gauge[data-status="high"] {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5),
                inset 0 0 20px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(255, 107, 107, 0.3);
}


/*****************************SIMULATOR */
/***************************** */
/***************************** Playback Control Panel - Compact */
.playback-control-panel {
    position: absolute;
    top: 70px;
    right: 25px;
 
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 25px;
    box-shadow: 3px 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 8px 12px;
    cursor: move;
    user-select: none;
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.playback-control-panel.hidden {
    transform: translateX(-50%) translateY(100px) scale(0.8);
    opacity: 0;
    pointer-events: none;
}

/* Animation keyframes */
@keyframes slideInBounce {
    0% {
        transform: translateX(0) translateY(0) scale(0);
        opacity: 0;
    }
    50% {
        transform: translateX(0) translateY(-10) scale(1);
    }
    100% {
        transform: translateX(0) translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes slideOutBounce {
    0% {
        transform: translateX(0%) translateY(0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateX(0%) translateY(-10px) scale(1);
    }
    100% {
        transform: translateX(0%) translateY(100px) scale(1);
        opacity: 0;
    }
}

.playback-control-panel.show-animation {
    animation: slideInBounce 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.playback-control-panel.hide-animation {
    animation: slideOutBounce 0.4s cubic-bezier(0.6, -0.28, 0.735, 0.045) forwards;
}

.playback-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.playback-controls-row {
    display: flex;
    gap: 6px;
}

.playback-btn-compact {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.playback-btn-compact:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
    transform: scale(1.05);
}

.playback-btn-compact.active {
    background: rgba(16, 185, 129, 0.3);
    border-color: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.playback-progress-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 200px;
}

.playback-time {
    font-size: 11px;
    color: #aaa;
    min-width: 35px;
    text-align: right;
}

.playback-speed-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
}

.speed-display {
    font-size: 11px;
    color: #10b981;
    font-weight: bold;
    min-width: 35px;
    text-align: right;
}

.speed-slider-compact {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, #f59e0b, #10b981, #3b82f6);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.speed-slider-compact::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #10b981;
}

.speed-slider-compact::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #10b981;
}

.window-close-btn-compact {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 18px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.window-close-btn-compact:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: #ef4444;
    transform: scale(1.1);
}

.playback-progress-bar {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.playback-progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 4px rgba(16, 185, 129, 0.5);
}

.playback-progress-bar::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 4px rgba(16, 185, 129, 0.5);
}

/* ===========================================================
   Users List - Clickable User Items for Calling
   =========================================================== */

.users-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 0;
    align-items: center;
}

.users-list .no-users {
    color: var(--ft-ink-2);
    font-size: 14px;
    font-style: italic;
    margin: 0;
}

.user-item {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 180px;
    padding: 12px 20px;

    /* Glassmorphism effect matching theme */
    background: rgba(39, 58, 68, 0.787);
    border: 2px solid rgba(195, 229, 247, 0.3);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2),
                inset 0 0 20px rgba(195, 229, 247, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    /* Text styling */
    color: var(--ft-link);
    font-size: 16px;
    font-weight: 600;
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    letter-spacing: 0.3px;

    /* Interaction */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.user-item:hover {
    transform: translateY(-2px) scale(1.03);
    background: rgba(195, 229, 247, 0.2);
    border-color: var(--ft-link);
    box-shadow: 0 8px 24px rgba(195, 229, 247, 0.25),
                inset 0 0 30px rgba(195, 229, 247, 0.1),
                0 0 20px rgba(195, 229, 247, 0.2);
    color: #ffffff;
}

.user-item:active {
    transform: translateY(0) scale(0.98);
}

/* Self user styling - different color scheme */
.user-item.self {
    background: rgba(158, 47, 80, 0.15);
    border-color: rgba(246, 75, 127, 0.4);
    color: var(--ft-accent);
    cursor: default;
    pointer-events: none;
}

.user-item.self:hover {
    transform: none;
    background: rgba(158, 47, 80, 0.15);
    border-color: rgba(246, 75, 127, 0.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2),
                inset 0 0 20px rgba(246, 75, 127, 0.05);
    color: var(--ft-accent);
}

/* ===== PPG Cardiovascular Metrics Styling ===== */
.ppg-metrics-section {
    background: rgba(30, 30, 30, 0.5);
    border-radius: 8px;
}

.ppg-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.metric-item-ppg {
    padding: 8px;
    background: rgba(50, 50, 50, 0.3);
    border-radius: 4px;
    font-size: 13px;
}

.metric-label-ppg {
    color: #aaa;
    font-weight: bold;
    display: inline-block;
    margin-right: 8px;
}

.metric-value-ppg {
    color: #fff;
    font-weight: bold;
    font-size: 14px;
}

/* Heart Rate Color Classes */
.bpm-low {
    color: #4fc3f7 !important;
}

.bpm-normal {
    color: #66bb6a !important;
}

.bpm-high {
    color: #ff6b6b !important;
}

/* HRV Color Classes */
.hrv-low {
    color: #ff6b6b !important;
}

.hrv-normal {
    color: #66bb6a !important;
}

.hrv-high {
    color: #00e676 !important;
}

/* Signal Quality Color Classes */
.quality-poor {
    color: #ff6b6b !important;
}

.quality-good {
    color: #ffb74d !important;
}

.quality-excellent {
    color: #66bb6a !important;
}

/* Stress Level Color Classes */
.stress-low {
    color: #66bb6a !important;
}

.stress-moderate {
    color: #ffb74d !important;
}

.stress-high {
    color: #ff6b6b !important;
}

/* Relaxation Level Color Classes */
.relaxation-low {
    color: #ff6b6b !important;
}

.relaxation-moderate {
    color: #ffb74d !important;
}

.relaxation-high {
    color: #66bb6a !important;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: #212529;
    border: 1px solid #495057;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
}

.modal-content h2 {
    color: #6ea8fe;
    margin-bottom: 15px;
}

.modal-content p {
    color: #e0e0e0;
}

.modal-content p {
    margin-bottom: 20px;
    font-size: 16px;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-accept,
.btn-reject {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept {
    background: #10b981;
    color: white;
}

.btn-accept:hover {
    background: #059669;
    transform: scale(1.05);
}

.btn-reject {
    background: #ef4444;
    color: white;
}

.btn-reject:hover {
    background: #dc2626;
    transform: scale(1.05);
}

.status-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgb(255, 72, 0);
    border: 2px black;
    color:black;
    padding: 15px 20px;
    border-radius: 8px;
    xbox-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 99999;
    display: none;
    max-width: 300px;
}

.status-message.show {
    display: block;
    animation: slideIn 0.9s ease;
}

.status-message.success {
    border: 4px solid #10b981;
}

.status-message.error {
    border: 4px solid #c14848;
}

.status-message.info {
    border: 4px solid #3b82f6;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Google Maps Places Autocomplete Styling */
.pac-container {
    background-color: rgba(0, 0, 0, 0.95) !important;
    border: 1px solid #00ff00 !important;
    font-family: monospace !important;
    margin-top: 2px !important;
    z-index: 10000 !important;
}

.pac-item {
    background-color: rgba(0, 0, 0, 0.95) !important;
    color: #00ff00 !important;
    border-top: 1px solid #003300 !important;
    padding: 8px !important;
    cursor: pointer !important;
}

.pac-item:hover {
    background-color: rgba(0, 255, 0, 0.1) !important;
}

.pac-item-selected,
.pac-item-selected:hover {
    background-color: rgba(0, 255, 0, 0.2) !important;
}

.pac-icon {
    display: none !important;
}

.pac-item-query {
    color: #00ff00 !important;
    font-size: 14px !important;
}

.pac-matched {
    font-weight: bold !important;
    color: #00ff00 !important;
}

.pac-logo:after {
    display: none !important;
}
