<style>
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

div.flex-row {
  //
}
@media(min-width: 768px) {
  .flex-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
  }
}
  
div.flex-row p {
 width: 100%;  
}
  
a {
  color: #4578ba;
}
  
a:hover {
 color: rgba(69,120,186,0.75);  
}

/* CSS Stylesheets used for the page styling. */
html {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 18px;
  background-color: #ffffff;
  color: #212529;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #212529 !important; 
  font-size: 18px;
  line-height: 1.1rem;
  margin: 0;
}

.container {
  width: 80%;
  max-width: 750px;
  margin: 0 auto;
  padding: 2em;
  border: 1px solid #333;
}

form.cmxform {
  border: none !important;
  background-color: #fff;
}

fieldset {
  border: none !important;
  padding: 0;
}

h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 60px;
  text-align: center;
  color: #4578BA !important;
}

h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 25px;
  margin: 1.5em 0 .5em 0;
  color: #212529 !important;
}

p {
  margin: 0 0 10px 0;
}

p.terms {
  line-height: 1.1rem;
  font-size: 14px;
}

label {
  color: #212529; 
  font-weight: bold;
  padding-top: .5rem;
  padding-bottom: .5rem;
  display: block;
}

.checkbox-inline {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 18px;
  color: #212529; 
  font-weight: bold;
  display: inline-block !important;
}

.error {
  color: red;
  font-size: 0.8rem;
}

form {
  margin: .5em 0 .5em 0;
}

#Date_of_Birth__c {
  border: 1px solid black;
  background-color: #ffffff;
  color: #212529;
  padding: 0 .2em;
  font-size: 18px;
  width: 100%;
}

input[type=text] {
  border: 1px solid black;
  background-color: #ffffff;
  color: #212529; 
  padding: .5em;
  font-size: 18px;
  width: 100%;
  box-sizing: border-box;
}

input[type=date],
#Date_of_Birth__c {
    border: 1px solid black;
    background-color: #ffffff;
    color: #212529;
    padding: .5em;  /* Match the text input padding */
    font-size: 18px;
    width: 100%;
    box-sizing: border-box;  /* Add this to match text input sizing */
    height: auto;  /* Let it size naturally */
}

input[type=submit] {
  background-color: #01529b;
  border: 2px solid #01529b;
  border-radius: none;
  min-width: 10em;
  padding: .5em .7em;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: Bold;
  margin: 1em 0;
  color: #f3f3f3;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

input[type=submit]:hover {
  border-color: rgba(1,82,155,0.75);
  border-width: 2px;
  border-style: solid;
  background-color: rgba(1,82,155,0.75);
  cursor: pointer;
}

input[type=submit]:active {
  transform: scale(0.95);
}

input::-webkit-datetime-edit {
  -webkit-flex: 1;
  -webkit-user-modify: read-only !important;
  font-size: 18px;  
  display: inline-block;
  min-width: 0;
  overflow: hidden;
}

input::-webkit-datetime-edit-fields-wrapper {
  -webkit-user-modify: read-only !important;
  font-size: 18px;  
  display: inline-block;
  padding: 1px 0;
  white-space: pre;
}

select {
  border: 1px solid black;
  background-color: #ffffff;
  color: #212529; 
  padding: .5em;
  margin-top: .1em;
  font-size: 18px;
  width: 100%;
}

.hide {
  visibility: hidden;
  display: none;
}

.button {
  background-color: #4578BB;
  border: none;
  border-radius: 54px;
  min-width: 10em;
  padding: .5em .7em;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 800;
  margin: 1em 0;
  color: #212529;
}

.button:hover {
  background-color: #FFFFFF;
  color: #88360C;
  border: none;
}

.logo {
  max-width: 30%;
  margin: 0 auto;
}

.main {
  display: block;
  position: relative;
  cursor: pointer;
  font-size: 18px;
  line-height: 1.25rem;
}
</style>