/* General Body Styling */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-image: url('./Stock.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #ffffff;
}

/* Main Heading Styling */
.main-heading {
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.7);
  margin-top: 30px;
}

/* Button Container Styling */
.button-container {
  text-align: center;
  margin: 20px 0;
}

/* Button Styling */
.button {
  padding: 12px 20px;
  margin: 10px;
  cursor: pointer;
  background: linear-gradient(135deg, #4caf50, #087f23);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  background: linear-gradient(135deg, #087f23, #4caf50);
  transform: scale(1.1);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

#visualization > svg{
  position: relative !important;
}



/* Tooltip Styling */
#tooltip, .tooltip {
  position: absolute !important;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  border-radius: 8px;
  padding: 10px;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}


/* Chart Background Styling */
.chart {
  margin: 20px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.95); /* Light background for contrast */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  max-width: 90%;
}

/* Axes Styling */
.axis path,
.axis line {
  stroke: #333; /* Dark stroke for better visibility */
  stroke-width: 1;
}

.axis text {
  fill: #000; /* Black text for contrast */
  font-size: 14px;
  font-weight: bold;
}

/* Gridlines Styling */
.grid line {
  stroke: #ddd; /* Light gray for subtle gridlines */
  stroke-dasharray: 2, 2;
}

.grid path {
  stroke: none;
}

