/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  letter-spacing: -5%;
  font-size: 20px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 200;
}

html,
body {
  font-family: "JetBrains Mono", monospace;
  height: 100%;
  font-family: "Arial", sans-serif;
  overflow-x: hidden;
}

/* Full Page Background */
body {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("attached_assets/b3123.jpg");
  background-size: cover;
  background-position: center;
  filter: brightness(70%);
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

/* Container */
.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(
    0,
    0,
    0,
    0.4
  ); /* Dark overlay for better text readability */
  padding: 20px;
}

/* Header Styles */
header {
  text-align: center;
  color: white;
  margin-bottom: 2rem;
}

header h1 {
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  margin-bottom: 1rem;
}

header p {
  font-size: 1.2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  opacity: 0.9;
}

.sidebar {
  width: 152px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
}

.Rectangle9 {
  position: relative;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(10px);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.auto-layout-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  bottom: 37px;
  width: 100%;
}

.layout-image {
  -webkit-tap-highlight-color: transparent;
  opacity: 0.36;
  transition: transform 0.1s ease, opacity 0.1s ease;
  width: 40px;
  transform-origin: center; /* ensures scaling happens from the center */
}

.layout-image:hover {
  opacity: 1;
  transform: scale(1.055) rotate(-5deg); /* 43px / 40px ≈ 1.075 */
  filter: brightness(90%);
}

.layout-image:active {
  transform: scale(0.9); /* 43px / 40px ≈ 1.075 */
  filter: brightness(30%);
}

.tooltip-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip-text {
  font-family: "JetBrains Mono", monospace;
  letter-spacing: -5%;
  visibility: hidden; /* hidden until triggered */
  position: absolute;
  background-color: #ffffff;
  color: #000000;
  border: 3px solid #000000;
  font-size: 16px;
  height: 30px; /* fixed height */
  line-height: 25px; /* centers single-line text vertically */
  padding: 0 15px; /* horizontal padding = extra width */
  z-index: 1;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.6; /* valid 0..1 */
  border-radius: 4px; /* optional: looks nicer */
}

.topbar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  left: 152px;
  margin: 22px;
  width: 88vw;
  height: 65px;
}

.dropdown-btn {
  opacity: 0.5;
  letter-spacing: -5%;
  font-size: 20px;
  font-family: "JetBrains Mono", monospace;
  font-weight: bold;
  background-color: transparent;
  border: none;
  color: #ffffff;
  padding: 10px 20px;
  cursor: pointer;
  transform-origin: center;
  margin-right: auto;
}

.dropdown-btn:hover {
  opacity: 1;
  filter: brightness(90%);
}

.searchbar {
  font-family: "JetBrains Mono", monospace;
  font-weight: bold;
  margin: 0 auto;
  letter-spacing: -5%;
  color: rgba(255, 255, 255, 0.5);
  font-size: 20px;
  width: 790px;
  height: 58px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.01);
  vertical-align: middle;
  line-height: 64px;
  border-radius: 229px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.location {
  font-size: 16px;
  color: #ffffff;
  letter-spacing: -5%;
  font-family: "JetBrains Mono", monospace;
  margin-left: auto;
}

.time {
  font-size: 16px;
  color: #ffffff;
  letter-spacing: -5%;
  font-family: "JetBrains Mono", monospace;
  font-weight: bold;
  margin-left: auto;
}

.main {
  width: calc(100vw - 152px);
  min-height: calc(100vh - 100px);
  margin-left: 152px;
  padding: 0 50px 50px 50px;
  box-sizing: border-box;
}

.main > div {
  height: 100%;
  display: grid;
}

.main > div > div {
  width: 600px;
  height: 270px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.main > div > div > p {
  color: white;
  font-size: 20px;
  font-weight: 400;
}

.main > div > div > div {
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.5);
  height: 100%;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.main > div > div > div > div {
    border: 3px dashed purple;
}

.x-axis {
  display: flex;
  justify-content: space-between;
  border: 1px dashed green;
  margin-bottom: 20px;
  margin-right: 20px;
  margin-left: 40px;
}

.x-axis p {
    color: white;
  font-size: 10px;
}

.y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;

  font-size: 14px;
  border: 1px dashed green;
  text-align: right;
}

.y-axis p {
  color: white;
  font-size: 10px;
}

.graph {
  width: 100%;
  height: 100%;
  border: 2px dashed red;
  background-color: rgba(255, 0, 255, 0.2);
}

.top-holder {
  border: 2px dashed red;
  display: flex;
  width: 100%;
  height: 100%;
  padding-bottom: 40px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;
}

.bottom-holder {
    border: 2px solid blue;
    
    
  display: flex;
  width: 100%;
  height: 100%;
}

.fake-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    font-size: 14px;
    border: 1px dashed green;
    text-align: right;
}

.fake-y-axis p {
  color: white;
  font-size: 10px;
}

.bottom-holder > div {
    width: 100%;
    background-color:rgba(0, 255, 135, 0.5);
}