body {
  max-width: 680px;
  margin: auto;
}

h2 {
  text-align: center;
}

* {
  box-sizing: border-box;
}

label:not(:has(span))  {
  text-align: center;
  padding: 12px 12px 12px 0;
  display: inline-block;
}

button {
  font-family: monospace;
  text-align: center;
  background-color: #04AA6D;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: inline-block;
  min-width: 320px;
  width: 100%;
}
button:hover{
  background-color: #45a049;
}

input[type=file] {
  display: none;
}
input[type=datetime-local], label span {
  font-family: monospace;
  text-align: center;
  background-color: #084cdf;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: inline-block;
  min-width: 320px;
  width: 100%;
  float: left;
}
input[type=datetime-local]:hover, label span:hover {
  background-color: #0d45a5;
}
input[type="datetime-local"] {
  position: relative;
}
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  font-family: monospace;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  color: transparent;
  background: transparent; /* you need to disable the background becasue the icon can repeat based on input size */
}
label span:has(+input.mark) {
  background-color: #04AA6D;
}
label span:has(+input.mark)::after {
  content: "  \2714";
}
input.mark {
  background-color: #04AA6D;
}
input.mark::after {
  content: "  \2714";
}

button:disabled, button[disabled],label span:has(+input:disabled), label span:has(+input[disabled]){
  background-color: #cccccc;
  color: #666666;
}

label span:has(+input:disabled), {
  background-color: #cccccc;
  color: #666666;
}


.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  min-width: 360px;
}

.col-50l {
  float: left;
  width: 50%;
  margin-top: 6px;
}

.col-50r {
  float: left;
  width: 50%;
  margin-top: 6px;
}

.col-100 {
  text-align: center;
  width: 100%;
  margin-top: 6px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is less than 680px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 680px) {
  /* .col-50l, .col-50r, input[type=submit] { */
  .col-50l, .col-50r {
    width: 100%;
    margin-top: 0;
  }
}

#result {
  font-family: monospace;
  text-align: center;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  display: inline-block;
  min-width: 320px;
  width: 100%;
}
.success {
  background-color: #04AA6D;
  color: white;
}
.failed {
  background-color: #F92C10;
  color: white;
}
.hidden {
  display: none;
}
