body::before {
  content: "";	/* this string will be shown as watermark */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-25deg);
  font-size: 5rem;
  color: rgba(150, 150, 150, 0.20);
  z-index: 9999;
  pointer-events: none;
}

body {
    font-family: Arial, sans-serif;
    background:url(../images/noise.png) repeat scroll 0 0;
    padding: 5px;
}
 .center-text {
 text-align: center;
 padding: 5px;
 width:100%;
 position: absolute;
 margin-left: auto;
 margin-right: auto;
 }
 table {
 margin-left: auto;
 margin-right: auto;
}


h1{
	margin: 0;
	font:400 30px/36px 'Roboto', Arial, sans-serif;
	color:#343b41; 
	margin-bottom: 60px;
	margin-top:30px;
	letter-spacing: -1px;
	font-size: 2.2rem;
}
h1 img{max-width: inherit;}

h3{
	margin-top: 30px;
	font:300 21px/30px 'Roboto', Arial, sans-serif;
	color:#343b41; 
	margin-bottom: 10px;
	letter-spacing: 0px;
}
h3.v2{
	font:300 19px/24px 'Roboto', Arial, sans-serif;
	margin-bottom: 18px;
	letter-spacing: 0px;
}
h3.v3{margin-bottom: 13px;}
h3.v4{
	font:300 21px/21px 'Roboto', Arial, sans-serif;
	margin-bottom: 17px;
}
h3.v5{
	margin-top: 10px;
}

.white_bg{
	width: 100%;
	position: relative;
	background: inherit;
	border: none;
	margin-bottom: 40px;
	padding: 40px 0 10px;
	border-top:  1px solid #ccc;
}

.white_bg_privacy{
	width: 80%;
	/* position: relative; */
	float: center;
	background: inherit;
	border: none;
	margin-bottom: 40px;
	padding: 40px 0 10px;
	padding-left:10%;
	color:666;
	font-size: 1.3em;
	text-align:left;
}
.gray_bg_{
	width: 100%;
	position: relative;
	background: #f8f8f8;
	border: none;
	margin-top: -1px;
	margin-bottom: 0px;
	padding: 73px 0 70px;
}
.gray_bg{
	width: 100%;
	position: relative;
	background:url(../images/backgrounds/noise.png) repeat scroll 0 0;
	border: none;
	margin-top: -1px;
	margin-bottom: 0px;
	padding: 73px 0 70px;
}

/* Container for text and image */
.hover-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* The text */
.hover-text {
    font-size: 15px;
    color: #333;
    padding: 5px 10px;
    background: #D5FBFA;
    border: 1px solid #ccc;
    border-radius: 15px;
    transition: background 0.3s ease;
}

.hover-text:hover {
    background: #e0e0e0;
}

/* The image overlay (hidden by default) */
.hover-image {
    position: absolute;
    top: 110%; /* below the text */
    left: 100%;
    transform: translateX(-10%);
    display: none;
    border: 2px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 10;
}

/* Show image on hover */
.hover-container:hover .hover-image {
    display: block;
}

/* Optional: smooth fade-in */
.hover-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.hover-container:hover .hover-image {
    opacity: 1;
}

.tab-content { display: none; } .tab-content.active { display: block; }

.tab-group {
  width: 100%;
  max-width: 100vw;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;       /* allow wrapping on small screens */
  margin-bottom: 20px;
}

.tab {
  cursor: pointer;
  padding: 8px 15px;
  background: #eee;
  border: 1px solid #ccc;
  border-radius: 10px 10px 0 0;
  flex: 1 1 auto;        /* tabs grow/shrink evenly */
  text-align: center;    /* center label text */
  max-width:300px;
  margin-left:auto;
  margin-right:auto;
}

.tab.active {
  background: #717171;
  color: #fff;
  max-width:300px;
  margin-left:auto;
  margin-right:auto;
}

/* Mobile portrait adjustments */
@media (max-width: 500px) {
  .tab-group {
	width: 90%;
    flex-direction: column;   /* stack vertically */
	height: 40px;
	margin-left: 50%;
	align-content:center;
  }
  .tab {
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px 10px 10px 10px;
    /*margin-bottom: 5px;       /* spacing between stacked tabs */
  }
  .tab.active {
    background: #717171;
    color: #fff;
    margin-left:auto;
    margin-right:auto;
  }
  .tab:last-child {
    margin-bottom: 0;
  }
  table {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  
  }}

.table-wrapper {
  position: relative;
}

.table-wrapper::after {
  content: "→";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.5;
}

.table-viewport {
  width: 100%;              /* fits parent tab width */
  max-width: 150vw;         /* never exceed viewport */
  overflow-x: auto;         /* horizontal scroll enabled */
  overflow-y: hidden;       /* prevent vertical scrollbars */
  -webkit-overflow-scrolling: touch; /* smooth iOS scrolling */
  overflow-y: scroll;
}

.table-viewport table {
  min-width: 600px;         /* force table wider than viewport */
  border-collapse: collapse;
}

.table-viewport th, td {
  padding: 2px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.no-row-borders th, .no-row-borders td { border-top: none !important; border-bottom: 1px solid #ccc !important; }

.table-viewport tr:hover {background-color: #D6EEEE;}


/* -------------------------------------- */
th, td { text-align: center; padding: 5px; border-bottom: 1px solid #787373; } tr:hover { background-color: #D6EEEE; border-radius: 10px 10px 10px 10px; }
a:link {color: white; /* Unvisited link */}
a:visited {color: gray; /* Visited link */}
a:hover {color: red; /* Mouse over link */}
a:active {color: yellow; /* Selected link */}
.sortable th:hover {background-color: #eee; /* Visual feedback on hover */color: #777;}

.sortable th {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 30px; /* Make room for arrow */
}

.sortable th.sort-asc::after {
    content: "▼";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
    opacity: 0.8;
}

.sortable th.sort-desc::after {
    content: "▲";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
    opacity: 0.8;
}

table tr:first-child th:last-child {
  border-top-right-radius: 0.7rem;
  /* border-bottom-right-radius: 0.5rem; */
}
table tr:first-child th:first-child {
  border-top-left-radius: 0.7rem;
  /* border-bottom-left-radius: 0.5rem; */
  text-align:center;
}
 
.popup {
  cursor: pointer;
  padding: 4px 10px;
  background: transparent;
  border: 1px solid #9cac9b;
  border-radius: 10px 10px 10px 10px;
  flex: 1 1 auto;        /* tabs grow/shrink evenly */
  text-align: center;    /* center label text */
}

.watermark-title {
  padding-top:20px;
  padding-left:20px;
  position: relative;
  text-align: left;
  line-height:1.3;
  color: #41547A;
  padding-bottom:30px;
}

.watermark-title::before {
  content: "";
  position: absolute;
  /*top: 50%;
  left: 50%;*/
  transform: translate(-10%, -25%);
  background: url('../images/dv-lens.png') no-repeat center;
  background-size: contain;
  width: 150px;   /* adjust size */
  height: 150px;
  opacity: 0.2;   /* transparency */
  z-index: -1;    /* push behind text */
}

/* ===== DASHBOARD HEADER (Fixed at bottom) ===== */
.dashboard-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px; /* Height of your watermark/title area */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
  pointer-events: none; /* Allow clicks through to content below */
}

/* ===== SCROLLABLE CONTENT CONTAINER ===== */
.scroll-container {
  padding-top: 10px;
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding-bottom: 50px; /* Space for fixed header */
  
  backdrop-filter: blur(25px);
  border-radius: 35px;
  margin: 250px auto;
  max-width: 1400px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

/* Fixed menu pinned to viewport */
.fixed-menu {
	position: fixed;
	top: 5px;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	width: fit-content; /* Critical for this method */
	backdrop-filter: blur(5px); /* This creates the frosted glass effect */
	-webkit-backdrop-filter: blur(5px); /* Safari support */

	/*display: flex;*/
  flex-direction: column;
  gap: 5px;
  background: rgba(../images/noise.png) repeat scroll 0 0;
  padding: 10px 15px;
  border-radius: 50px;
  box-shadow: 9px 5px 15px rgba(0,0,0,0.15);
  z-index: 999;          /* above everything */
}

.fixed-menu a {
  text-decoration: none;
  font:16px/21px 'Roboto', Arial, sans-serif;
  color:  rgba(0, 0, 0, 0.6);
}

.fixed-menu a:hover {color: red; /* Mouse over link */}

/* Scrollable table wrapper */
.table-wrapper {
  overflow-x: auto;
  margin-top: 20px;
}

.legal-notice {
  padding: 0px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.9rem;
  line-height: 1.6;
  border-radius: 35px;
  text-align: center;
  margin-top:-50px;
}

.legal-notice h3 {
  margin-top: 0;
  margin-left:30px;
  color: #1964c8;
  align-items: center;
  gap: 10px;
}

.legal-notice ul {
  padding-left: 20px;
  margin: 15px 0;
}

.legal-notice strong {
  color: #333;
}

.copyright {
  margin-top: 15px;
  padding-top: 15px;
  /*border-top: 1px solid rgba(25, 100, 200, 0.3);*/
  font-size: 0.85rem;
  color: #666;
  text-align: center;
}

.pre-login-notice {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
  font-size: 0.85rem;
}

.site-footer {
  text-align: center;
  padding: 15px;
  color: rgba(55, 55, 55, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
  .table-viewport {
    font-size: 0.8rem;
  }
  
  th, td {
    padding: 6px 4px;
  }
  
  /* Hide less important columns on mobile */
  .mobile-hide {
    display: none;
  }
  
  .scroll-container {
    margin: 280px auto;
  }
  
  .watermark-title {
    padding-top:10px;
    position: relative;
    text-align: center;
    line-height:1.3;
    color: #41547A;
  }
}
/* --- */
.price {  monospace; transition: color 0.5s; }
.up { color: #2ecc71; }
.down { color: #e74c3c; }
canvas { vertical-align: middle; background: #222; border-radius: 4px; }
.status-dot { height: 8px; width: 8px; background: #555; border-radius: 50%; display: inline-block; margin-right: 8px; }
.online { background: #2ecc71; box-shadow: 0 0 8px #2ecc71; }

/* Add to your style.css */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #aaa;
  border-radius: 10px;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.0);
  border-radius: 30px;
}

.modal-content {
  background-color: beige;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 900px;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 20px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.archive-tree {
  margin: 20px 0;
}

.tree-year, .tree-month {
  margin: 10px 0;
}

.year-toggle, .month-toggle {
  cursor: pointer;
  font-weight: bold;
  color: #4CAF50;
}

.week-item {
  padding: 8px 20px;
  margin: 5px 0;
  background: lightgrey;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.week-item:hover {
  background: #3a3a3a;
  cursor: pointer;
}

.week-date {
  color: #888;
  font-size: 0.9em;
  min-width: 100px;
}

.week-link {
  color: #4CAF50;
  text-decoration: none;
  flex-grow: 1;
}

.week-badge {
  background: #4CAF50;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.8em;
}

.week-preview {
  margin-top: 20px;
  padding: 20px;
  background: lightgray;
  border-radius: 8px;
  min-height: 200px;
}


/* Trigger Button */
.guidelines-trigger {
    position: fixed;
    bottom: 50px;
    right: 5%;
    background: transparent;
    color: black;
    border: none;
    border-radius: 50px;
    padding: 5px 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
    transition: transform 0.3s ease;
}

.guidelines-trigger:hover {
    transform: scale(1.05);
}

.weekly-trigger {
    position: fixed;
    bottom: 90px;
    right: 5%;
    background: transparent;
    color: black;
    border: none;
    border-radius: 50px;
    padding: 5px 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
    transition: transform 0.3s ease;
}

.weekly-trigger:hover {
    transform: scale(1.05);
}

.checkout-trigger {
    position: fixed;
    bottom: 10px;
    right: 5%;
    background: transparent;
    color: black;
    border: none;
    border-radius: 50px;
    padding: 5px 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
    transition: transform 0.3s ease;
}

.checkout-trigger:hover {
    transform: scale(1.05);
}

/* Modal Overlay */
.guidelines-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    overflow-y: auto;
    backdrop-filter: blur(5px);
}

/* Modal Content */
.guidelines-content {
    position: relative;
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    margin: 30px auto;
    padding: 30px;
    width: 90%;
    max-width: 900px;
    border-radius: 20px;
    /*box-shadow: 0 20px 60px rgba(0,0,0,0.3);*/
    animation: slideIn 0.4s ease;
}

/* Inner Container */
.guidelines-inner {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.1);
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1001;
}

.close-btn:hover {
    color: #ff6b6b;
}

/* Typography */
h2 {
    color: #2d3748;
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
    display: inline-block;
}

h3 {
    color: #4a5568;
    font-size: 20px;
    margin: 25px 0 15px;
    padding-left: 10px;
}

/* Checklist Items */
.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: #4a5568;
}

.checklist li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

/* Section Cards */
.section-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease;
}

.section-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.section-icon {
    font-size: 24px;
    margin-right: 10px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
}

.critical-badge {
    background: #feb2b2;
    color: #c53030;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
}

/* Ask Questions */
.ask-question {
    background: #f7fafc;
    border-left: 4px solid #9f7aea;
    padding: 12px 15px;
    margin: 10px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #4a5568;
}

/* Grid Layout */
.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.guideline-item {
    background: #f7fafc;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.guideline-item strong {
    color: #667eea;
    display: block;
    margin-bottom: 5px;
}

/* Quick Reference Card */
.quick-ref {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0 20px;
}

.quick-ref h3 {
    color: white;
    border-left-color: #fbbf24;
    margin-top: 0;
}

.ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.ref-item {
    background: rgba(255,255,255,0.1);
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
}

.ref-item span {
    color: #fbbf24;
    font-weight: 600;
    margin-right: 8px;
}

/* Exit Strategy */
.exit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 15px 0;
}

.exit-card {
    background: #f7fafc;
    padding: 15px;
    border-radius: 10px;
    border-top: 4px solid;
}

.exit-card.profit { border-color: #48bb78; }
.exit-card.loss { border-color: #f56565; }
.exit-card.time { border-color: #fbbf24; }

.exit-card h4 {
    margin: 0 0 10px;
    font-size: 16px;
}

/* Footer */
.guidelines-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px dashed #cbd5e0;
    color: #718096;
    font-style: italic;
}


