input,
button,
select,
.dropdown-button {
  padding: 3px 15px 3px 15px;
  border: 0px;
  background: #ddd;
  margin-right: 4px;
  box-sizing: border-box;
  height: 23px;
  transition: background 0.2s;
  margin-bottom: 5px;
  border-radius: 10px;
}
label {
  background: #ddd;
  transition: background 0.2s;
}
input:hover,
button:hover,
select:hover,
.dropdown-button:hover,
label:hover {
  background: #ccc;
}
canvas {
  max-height: 500px;
}
h2 {
  font-family: sans-serif;
  padding: 5px;
  margin: 0;
}
#reports > div {
  margin-bottom: 40px;
}
.hidden {
  opacity: 0 !important;
  z-index: -10 !important;
  transform: trnaslateY(0);
}
#sharing {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  padding: 20px;
  box-shadow: 10px 10px 10px #666;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  width: 40%;
  font-family: sans-serif;
  opacity: 1;
  transition: opacity 0.3s, transform 0.3s;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 500px;
  z-index: 9;
}
#access-main {
  flex: 1;
  overflow-y: auto;
  width: 100%;
}
.permission-div {
  margin-bottom: 10px;
}
.permission-div select {
  float: right;
}
#sharing p {
  color: blue;
  text-decoration: underline;
  cursor: pointer;
}
header {
  position: sticky;
  top: 0;
  background-color: white;
  opacity: 0.9;
  border-bottom: 1px solid gray;
  z-index: 5;
}
main {
  display: grid;
  grid-template-columns: 25% 75%;
}
main > div {
  flex: 1;
}
sidebar {
  position: sticky;
  top: 117px;
  margin: 25px;
  margin-top: 0;
  font-family: sans-serif;
  height: min-content;
}
sidebar input {
  transform: translateX(-50%) translateY(25%);
}
#spinner img {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 100px;
}
#spinner {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 5;
  left: 0;
  top: 0;
  background: #8888;
  display: none;
}

select {
  max-width: 400px;
}

.dropdown-button {
  height: auto;
  min-height: 23px;
}

.chartopts {
  display: grid;
  grid-template-columns: repeat(4, 25%);
}

.loading-indicator-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 1;
  transition: opacity 0.3s;
}

.loading-indicator-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-indicator-popup {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  min-width: 300px;
  max-width: 500px;
  text-align: center;
  font-family: sans-serif;
}

.loading-indicator-message {
  font-size: 18px;
  margin-bottom: 20px;
  color: #333;
  font-weight: 500;
}

.loading-indicator-progress-bar {
  width: 100%;
  height: 20px;
  background: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
}

.loading-indicator-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4caf50, #45a049);
  border-radius: 10px;
  transition: width 0.3s ease;
}
