/*!*************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/sass-loader/dist/cjs.js!./src/index.scss ***!
  \*************************************************************************************************************************************/
#main > h1 {
  border: 4px solid purple;
  padding: 20px;
}

#main {
  color: purple;
}

body {
  background-color: #1a244d;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

/* Style for the header container */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

/* Style for the logo */
.logo img {
  width: 100px;
  height: auto;
}

/* Style for the navbar */
.navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.navbar li {
  float: left;
}

.navbar li a {
  display: block;
  color: white;
  font-size: 16px;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  background-color: #ffcc57;
}

.navbar li a:hover {
  background-color: #555;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  background-color: #333;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Style for the close button */
.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  color: white;
  cursor: pointer;
}

/* Update for results-container */
.results-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.pie-chart {
  width: 30%;
}

.text-results {
  width: 20%;
  display: flex;
  flex-direction: column; /* Stack elements vertically */
  align-items: flex-start; /* Align items to the left */
  padding: 20px;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  color: #ffcc57;
  font-weight: bold;
}

.watchlist {
  width: 20%;
  color: #ffcc57;
  border: 1px solid #ccc;
  padding-left: 10px;
}

#watchlist-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* Adjust the gap as needed */
}

.watchlist-item {
  width: calc(33.33% - 10px);
  margin-bottom: 20px;
  text-align: center;
  color: #ffcc57;
}

.watchlist h3 {
  width: 100%;
}

.watchlist-item a {
  display: block;
  text-decoration: none;
  color: #ffcc57;
}

.watchlist-item img {
  width: 100%;
  max-height: 150px;
  object-fit: cover;
}

/* Add this to your main.css file or in a <style> tag in your HTML */
.bar-graph-container {
  display: flex;
  justify-content: space-between;
}

.bar-graph {
  flex: 1;
  padding: 20px;
  border: 1px solid #ccc;
  margin: 10px;
}

.bar-graph canvas {
  width: 100%;
  height: 400px;
}

.bar-graph form {
  padding: 15px;
  border: 1px solid #ccc;
  margin-top: 10px;
}

.calculate-button {
  text-align: center;
}

#calculateReturnsButton {
  background-color: #ffcc57;
  color: black;
  font-weight: bold;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

#calculateReturnsButton:hover {
  background-color: #0056b3;
}

input {
  background-color: #1a244d;
  color: white;
  border: 1px solid gold;
}

#fetchStockDataButton {
  margin-top: 10px; /* Adjust the value as needed */
  margin-bottom: 10px;
  background-color: #ffcc57;
  color: black;
  font-weight: bold;
  border-radius: 5px;
}
