input {
    padding: 5px;
    color: #000;
    box-sizing: border-box
}
body,
div,
input,
li,
p,
span,
td,
textarea {
    font-family: arial, helvetica, sans-serif;
    font-size: 16px
}
#birth_date_input, #age_container {
    text-align: center;
    margin: 20px;
    margin-left: auto;
    margin-right: auto;
}

#age_container {
    margin: 40px 5px;
    padding: 5px;
    border-radius: 10px;
    border: 1px solid #000;
    font-weight: bolder;
    background: #EEE;
    font-size: 20px;
    line-height: 40px;
}

#calculate {
    cursor: pointer;
    text-align: center;
    width: 200px;
    padding: 5px;
    margin: 5px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #999;
    border-radius: 10px;
    background-color: #084288;
    color: #fff;
	background: -moz-linear-gradient(top, #FFD119, #E6B800);
    height: 30px;
   
}




#age {
    padding: 5px;
    border: 3px dashed #AAA;
}
  .btn-lg {
    font-size: 16px;
    padding: 8px 20px;
    border-radius: 10px;
    background-color: #084288;
    color: #fff;
    border: none;
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.btn-lg:hover {
    background-color: #434c6d;
}


label {
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.section {
    border-bottom: 1px solid lightgrey;
    padding: 10px 0;
}
input[type=button] {
    border: 0px;
    color: #fff;
    text-align: center;
    display: inline-block;
    padding: 11px 8px;
    font-size: 16px;
    background: #084288;
    border-radius: 5px; /* Rounded corners */
}
#copyButton {
    font-size: 14px; /* Smaller text */
    padding: 7px 5px; /* Smaller button */
}
input[type=button]:hover {
    background-color: #434c6d;
}
#number {
    margin-top: 20px;
    padding: 10px;
    background-color: #084288;
    color: white;
    font-size: 28px; /* Larger text */
    border-radius: 10px;
    width: 30%; /* One fifth of the width */
    height: 50px; /* A fixed height */
    line-height: 50px; /* Aligns the text vertically */
    margin: 20px auto; /* Center the result */
}
.center {
    text-align: center;
    display: inline-block;
  }
#result {
    text-align: center;
    font-size: 24px;
  margin-top: 20px;
}
#results {
    margin-top: 20px;
}

select {
    width: 60%; /* Larger select box */
    height: 35px; /* Higher select box */
    font-size: 18px; /* Larger font */
    margin-bottom: 10px; /* Some space below the select box */

}
table {
    table-layout:auto;
    width: 100%;
  }
  pre {
    font-size: 15px;
    white-space:normal;
    overflow-x: auto;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.1);
    max-width: 100%;
}
.field {
    margin: 20px 0;
}

.result {
    margin: 20px 0;
    display: none;
}

.error {
    color: red;
    display: none;
}

.container p {
    display: flex;
 
}

.container input, .container select {
    display: inline;
    text-align: center;
    width: 125px;
    padding: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    border: 1px solid #cfd1d8;
    border-radius: 3px;
    background-color: #f5f7fa;
    margin-bottom: 5px;
    margin-top: 5px;
    margin-left: 5px;
    outline: none;
}

.container input:focus, .container select:focus {
    border-color: #5a667f;
    align-items: center;
}

.container button {
    border: 0px;
    color:#fff;
    text-align: center;
    display:inline-block;
    padding: 9px 6px;
    font-size:16px;
    background:#084288;
    margin-top: 10px;
    border-radius: 3px;
}

.container button:hover {
    background-color: #434c6d;
}
.container #disclaimer {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  color: #777;
}


#button-container {
    text-align: center;
}
#calculate, #reset {
    display: inline-block;
}
.center {
    text-align: center;
    display: inline-block;
  }
#result {
    text-align: center;
}

  
  .input-container {
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0px;
    margin-right: 35px;
  }
  
  .button-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  
  #calculate-button,
  #reset-button {
    border: 0px;
    color: #fff;
    text-align: center;
    display: inline-block;
    padding: 10px;
    font-size: 16px;
    background: #084288;
    border-radius: 5px;
  }
  
  #calculate-button:hover,
  #reset-button:hover {
    background-color: #434c6d;
  }
  
  #calculate-button,
  #reset-button,
  label,
  input {
    height: 30px;
    line-height: 30px;
  }
  
  #calculate-button,
  #reset-button {
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  label {
    width: 190px;
    text-align: right;
    margin-right: 10px;
  }
  
  input {
    width: 120px;
  }
  
  #result {
    text-align: center;
    font-size: 18px;
    margin-top: 20px;
  }
  
  .help-icon {
    position: relative;
    display: inline-block;
    margin-left: -5px;
    margin-bottom: 10px;
    cursor: pointer;
  }
  
  .help-icon::after {
    content: "?";
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #084288;
    color: #fff;
    font-size: 16px;
    text-align: center;
    line-height: 20px;
    box-shadow: 0 0 5px #ccc;
    z-index: 1;
  }
  
  .help-icon:hover::before {
    content: attr(data-tooltip);
    position: absolute;
    top: -30px;
    right: -120px;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 14px;
    border-radius: 5px;
    width: 200px;
    opacity: 1;
    z-index: 2;
  }