* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* https://codepen.io/sosuke/pen/Pjoqqp */
  --primary-color: #ff9900;
  /* --primary-color: #6495ED; */
  /* --primary-color-hover: #2768e0; */
  --secondary-color: #999999;
  --third-color: #CCCCCC;
  --success-color: #28a745;
  --danger-color: #dc3545;
  /* --warning-color: #ff9900; */
  /* --info-color: #17a2b8; */
  --light-color: #dedede;
  --dark-color: #343a40;
  --shadow-color-plain: #0303721a;
}

body {
  font-family: Arial, sans-serif;
  margin: 2em;
  padding: 0.25em;
  background-color: #f0f0f0;
}

.container {
  max-width: 99%;
  margin: 0 auto;
  padding: 1em;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
}

.input-container {
  margin-bottom: 1em;
  text-align: center;
}

#chart {
  width: auto;
  height: 400px;
  max-width: 100%;
  /* background: #0056b3; */
  display:none;
  padding: 0px;
  margin: auto;

}

.chart-empty {
  text-align: center;
  background-color: var(--light-color);
  width: 100%;
  height: 100%;
  vertical-align: middle;
  color: var(--dark-color);

  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  font-size: 1.5em;
}
#chart iframe {
  /* position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0; */
  /* border: 4px solid red; */
}

#chart svg {
  /* Adjust stroke width and line join properties */
  /* stroke-width: 100px; Adjust as needed */
  /* stroke-linejoin: round; Adjust as needed */
  /* background: red; */
  background: #28a745 !important;
}

/* Target individual lines within the chart */
#chart svg path {
  /* Apply specific styles to the lines */
}

/* Style the dialog */
#confirmDialog {
  width: 300px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin:auto;
}

/* Style the dialog container */
#confirmDialogContainer {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark-color); /* semi-transparent background */
  opacity: 0.9;
  z-index: 100;
  text-align: center;
}

#confirmDialog #confirmDelete {
  background: var(--danger-color);
}

#confirmDialog #confirmDelete:hover {
  background: var(--primary-color);
}
#confirmDialog p {
  margin-bottom: 1em;
}

#chart-loading {
  position: relative;
  text-align: center;

  font-size: 2em;

  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  width: 100%;
  /* border:2px solid forestgreen; */

}
#chart-loading .load-line {
  display: block;
  position: relative;
  width: 100%;
  /* height: 100%; */

  text-align: center;

}
.load-line .loader {
  margin:auto;
}
#container-main {
  /* pointer-events: none; */
}
.loader {
  border: 1em solid var(--dark-color); /* Light grey */

  border-radius: 50%;
  width: 4em;
  height: 4em;
  animation: spin 2s linear infinite;
  scale: 0.5;
}

.loader {
  border-top: 1em solid var(--primary-color);
  border-bottom: 1em solid var(--primary-color);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.flex {
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  margin: 1em;
}

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

input[type="text"],
input[type="number"],
input[type="date"],
button, .button {
  padding: 0.75em;
  margin-right: 10px;
  border: none;
  border-width: 0.25em;
  border: 0.25em solid var(--dark-color);
  border-radius: 5px;
  font-size: 0.75em;
  margin: 0.125em;
  text-align: center;
}

input[type="date"] {
  font-size: 1em;
  padding: 0.60em;
  border: 0.25em solid var(--dark-color);
  width: 100%;
}

input:hover{
  border: 0.25em solid var(--primary-color)
}

button, .button {
  background-color: var(--dark-color);
  color: #fff;
  cursor: pointer;
}

button:hover, .button:hover {
  background-color: var(--primary-color);
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2.5em;
  background-color: #e0e0e0;
  border-radius: 0.25em;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1em;
  height: 1em;
  background-color: #333;
  border-radius: 50%;
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 1em;
  height: 1em;
  background-color: #333;
  border-radius: 50%;
  cursor: pointer;
}

input[type="range"]::-ms-thumb {
  width: 1em;

  height: 1em;
  background-color: #333;
  border-radius: 50%;
  cursor: pointer;
}

input[type="range"]:hover {
  border: none;
}

.about-app-info-holder {
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 2; /* Specify a stack order in case you're using a different order for other elements */

  padding: 0.25em;
}
.about-app-info {
  position: relative; /* Sit on top of the page content */
  display: block; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: scroll;
  /* background: linear-gradient(var(--shadow-color-plain), var(--shadow-color-plain), var(--dark-color), var(--dark-color), var(--dark-color), var(--dark-color), var(--dark-color), var(--dark-color), var(--dark-color), var(--shadow-color-plain), var(--shadow-color-plain)); */
  border: 1em solid var(--shadow-color-plain);
  background: var(--light-color);
  color: var(--dark-color);
  border-radius: 1.5em;
  /* background-color: rgba(0,0,0,0.5);  */
  z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
  cursor: default; /* Add a pointer on hover */
  padding: 2em;
  font-size: 1.2em;
  line-height: 1.2;
}
.about-app-info h2 {
  text-align: center;
  padding: 0.25em;
  font-family: "Comfortaa", sans-serif;
  margin: 0em 0 1.5em 0;
}

.about-app-info p {
  margin: 1.5em 0 1.5em 0;
  line-height: 1.5;
}

.closebox {
  position: absolute;
  top:0em;
  left: 0;
  margin: 0.5em;
  z-index: 10000;
}
.disclaimer {
  padding-top: 0.5em;
  font-size: 0.7em;
  text-align: center;
}

.logo-holder {
  display:block;
  text-align:center;padding-bottom: 6.5em;
}

.app-logo {
  position: absolute;
  top: 6em;
  margin: auto;
  width: 8em;
  height: auto;
  /* margin: 0; */
  padding: 0;
  /* left: 50%; */
  transform: translate(-50%, 1em);
  z-index: 0;
}

.hidden {
  display: none;
}

.developer-panel {
  display: none;
}