

/* Reset and Base Styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff;
  color: #333;
}

/* Stylish button for Reset Zoom */
.styled-btn {
  background-color: #007BFF; /* Bootstrap primary blue */
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.styled-btn:hover {
  background-color: #0056b3;
}

.styled-btn:active {
  background-color: #004080;
  transform: translateY(0);
}

.pdf-button {
  background-color: #007BFF; /* Bootstrap primary blue */
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  margin-left: 70px; /* was 180px for just 1:, 2:... */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.pdf-button:hover {
  background-color: #0056b3;
}

.pdf-button:active {
  background-color: #004080;
  transform: translateY(0);
}

/* Container */
#chart-container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 30px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* Header Row */
#chart-container > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#chartTitle {
  font-size: 32px;
  font-weight: 600;
  color: #222;
  margin: 0;
  padding-left: 10px;
}

/* #chart-container img {
  height: 80px;
  margin-right: 10px;
  
} */

#logo_img {
  height: 100px; /* make it bigger */
  margin-right: 10px; /* optional spacing */
  object-fit: contain; /* keep aspect ratio */
}

/* Canvas */
#chart {
  /*margin-top: 30px; */
  width: 100%;
  max-width: 1000px; /* 1000px container - 2*30px padding */
  background: #fff;
  display: block;
  margin: 0 auto;
}

/* Horizontal Rule Separator */
.hr-divider {
  height: 1px;
  background-color: #ccc;
  margin: 30px 0 20px;
}

/* Info Section (Modal Price & Trend) and Controls (Timeframe & Currency) */
#info-section,
#control-section {
  display: flex;
  justify-content: center;
  gap: 80px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

#info-section > div,
#control-section > div {
  font-size: 16px;
  text-align: center;
}

#info-section strong,
#control-section strong {
  display: block;
  margin-bottom: 5px;
  color: #444;
  font-weight: 500;
}

/* Select dropdowns */
select {
  padding: 6px 12px;
  font-size: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: #fefefe;
  min-width: 120px;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  #info-section, #control-section {
    flex-direction: column;
    gap: 20px;
  }
}

#info-control-wrapper {
  display: flex;
  justify-content: center;
  gap: 100px;
  flex-wrap: wrap;
  margin-top: 20px;
  align-items: flex-start;
}

.info-control-block {
  display: flex;
  flex-direction: row;
  gap: 15px;
  min-width: 200px;
}

.info-control-block strong {
  font-weight: 500;
  color: #444;
}

#modalPrice,
#trendType {
  font-weight: 600;
  color: #1a73e8;
}

#modalPrices {
  display: flex;
  flex-wrap: wrap; /* optional: allows wrapping if too many items */
  gap: 8px; /* optional: spacing between items */
}

/* Ensure all elements have a white background */
html, body, #chart-container, #chart{
  background: #fff !important;
}