/* THE STYLE OF THE ENITE WEB APP*/
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: white;
  text-align: center;
  background: url('background.jpg') no-repeat center center fixed;
  background-size: cover;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: inherit;
  filter: blur(6px) brightness(0.6);
  z-index: -1;
}

.container {
  margin-top: 5%;
  background: rgba(0,0,0,0.5);
  padding: 20px;
  border-radius: 12px;
  display: inline-block;
}
/* EDIT THE STYLE OF INPUTS*/
#inputTable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
  text-align: left;
}

#inputTable td {
  padding: 1px 12px;
  vertical-align: middle;
  text-align: left; 
}

#inputTable input,
#inputTable select {
  width: 100%;
  padding: 6px;
  box-sizing: border-box;
}
/* EDIT THE STYLE OF OUTPUTS*/
#areaTable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
}
#areaTable th,
#areaTable td {
  text-align: left;      
  padding: 6px 20px;
  border: 1px solid #cccccc00;
}


.info-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #428bca;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}


.info-btn:hover {
  background-color: #3071a9;
}



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



.modal-content {
  background-color: #000000;
  margin: 5% auto;
  padding: 30px;
  border: 1px solid #888;
  border-radius: 10px;
  width: 80%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
}


.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}


.close:hover,
.close:focus {
  color: #000;
}


.modal-content h2 { /*modal heading style */
  margin-top: 0;
  color: #ffffff;
}

.modal-content h3 {
  color: #ffffff; /*text colour*/
  margin-top: 20px;
}


.modal-content ul {
  line-height: 1.8;
}

/* TOOL TIPS */
.info-icon {
  margin-left: 5px;
  cursor: pointer;
  position: relative;
  font-size: 14px;
}

.info-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 100;
}

.info-icon:hover::after {
  opacity: 1;
}