body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.calc {
  background-color: #fff;

  box-shadow: 0 4px 8px rgba(8, 58, 209, 0.2);
  border-radius: 5px;
  width: 100%;
  max-width: 600px;
  box-sizing: border-box;
  margin: 10px auto;


  text-align: center;
  position: relative;
  opacity: 1;
  display: block;
  transition: opacity 0.3s ease-in-out;
}

.container.hide {
  opacity: 0;
  display: none;
}



.loan-calculator-heading .loan-calculator {
  color: #333;
  display: block;
  margin-top: -0.5rem;
  font-size: xx-large;
}

h1 {
  color: #333;
  margin-bottom: 20px;
  font-size: 2rem;
}

form {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
  font-weight: bold;
}

input {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  box-sizing: border-box;
  font-size: 1.2rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.button,
button {
  background-color: transparent;
  color: black;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.2rem;
  margin-top: 10px;

  border-color: black;
  align-items: center;
  margin: 0 auto;
  box-shadow: #0760c0;
}

.button:hover,
button:hover {
  background-color: #0760c0;
  color: #fff;
}

.button:active,
button:active,
button.touchstart {
  background-color: #0760c0;
}

h2 {
  margin-top: 20px;
  font-size: 20px;
}

.table-container {
  background-color: white;
  width: 100%;

  position: relative;
  overflow: hidden;

  margin: 0 auto;
  margin-top: 10px;
  border-radius: 5px;
}

.table-holder {
  max-height: 200px;
  overflow-y: auto;
}

table {
  width: 100%;
  /* Set the width to 100% */
  border-collapse: collapse;
}

th,
td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: #f2f2f2;
}




p.thicker span {
  font-weight: bold;
}

#ui,
#result {
  padding: 15px
}