#response {
  background: #808080;
  color: #fff;
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
  width: 99%;
  margin: auto;
  float: left;
  margin-left: 10px;
}
#error {
  background: red;
  color: #fff;
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
}

div#textFields input[type="number"],
div#numberFields input[type="number"] {
  width: 66px;
  padding: 3px;
  margin: 0px;
  border: 1px solid #ccc;
  font-size: 11px;
  clear: both;
  display: block;
}
.wrapper {
  display: block;
  background: #fff;
  height: max-content;
  border-radius: 5px;
  padding: 20px 15px;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.2);
  margin: 10px;
  float: left;
  position: relative;
  min-height: 207px;
}
.wrapper2 {
  display: block;
  background: #fff;
  height: max-content;
  border-radius: 5px;
  padding: 20px 15px;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.2);
  margin: 10px;
  float: left;
  position: relative;
}
.wrapper .option {
  background: #fff;
  height: 60px;
  display: inline-block;
  /* align-items: center; */
  /* justify-content: space-evenly; */
  margin: 0 10px;
  border-radius: 5px;
  cursor: pointer;
  padding: 18px 10px;
  border: 2px solid lightgrey;
  transition: all 0.3s ease;
  float: left;
}
.wrapper .option .option-description {
    font-size: 12px;
    color: #808080;
    margin-top: 5px;
    clear: both;
    float: left;
    width: 100%;
    padding-left: 34px;
    line-height: 1.3;
}
.wrapper .option .dot {
  height: 20px;
  width: 20px;
  background: #d9d9d9;
  border-radius: 50%;
  position: relative;
  float: left;
  padding-top: 20px;
}

.wrapper .option .dot::before {
  position: absolute;
  content: "";
  top: 4px;
  left: 4px;
  width: 12px;
  height: 12px;
  background: #0a8ea5;
  border-radius: 50%;
  opacity: 0;
  transform: scale(1.5);
  transition: all 0.3s ease;
}
#myform input[type="radio"] {
  display: none;
}
/* Icon styles */
.wrapper .option .icon {
    margin-right: 10px;
    font-size: 18px;
    color: #808080;
    vertical-align: middle;
}
.input-with-icon {
  position: relative;
  margin-top: 10px;
}

.input-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #0a8ea5;
  z-index: 2;
}

.validedinput {
  padding-left: 35px !important;
  width: 100% !important;
}

/* Placeholder styling */
::placeholder {
  color: #999;
  font-size: 13px;
  font-style: italic;
}


#year:checked:checked ~ .year .icon,
#month:checked:checked ~ .month .icon {
    color: #fff;
}
#year:checked:checked ~ .year .option-description,
#month:checked:checked ~ .month .option-description {
    color: #fff;
}
#year:checked:checked ~ .year,
#month:checked:checked ~ .month {
  border-color: #0a8ea5;
  background: #0a8ea5;
}
#year:checked:checked ~ .year .dot,
#month:checked:checked ~ .month .dot {
  background: #fff;
}
#year:checked:checked ~ .year .dot::before,
#month:checked:checked ~ .month .dot::before {
  opacity: 1;
  transform: scale(1);
}
.wrapper .option span {
  font-size: 20px;
  color: #808080;
  padding-left: 14px;
}
#year:checked:checked ~ .year span,
#month:checked:checked ~ .month span {
  color: #fff;
}

#myform .sl label {
  font-size: 10px;
}
#myform legend {
  padding: 5px;
}

#myform .sl label {
}
#myform fieldset {
  display: block;
  margin-inline-start: 3px;
  margin-inline-end: 3px;
  padding-block-start: 0.35em;
  padding-inline-start: 0.75em;
  padding-inline-end: 0.75em;
  padding-block-end: 0.625em;
  min-inline-size: min-content;
  border-width: 3px !important;
  border-style: solid;
  border-color: rgb(10, 142, 165) !important;
  border-image: initial;
}
#myform div#numberFields,
#myform div#textFields {
  margin: 3px auto 5px 0px;
  clear: both;
}
#per_year {
  width: 60% !important;
}
#myform input[type="submit"] {
  width: 150px;
  height: 50px;
  display: block;
  background-color: #0a8ea5;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding-left: 0;
  transition: 0.4s;
  border: none;
  color: #fff;
  clear: both;
  float: left;
  position: relative;
  margin-top: 13px;
  float: left;
  margin-left: 25px;
}
.spacing2 {
  padding-top: 5px;
  color: #0a8ea5;
  font-weight: 700;
  float: left;
  margin-top: 25px;
}
.loader {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
  margin: auto;
  position: absolute;
  left: 50%;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
span#append_days,
span#append_hours,
span#append_mints {
  color: #006cbc;
  font-size: 30px;
  padding-right: 3px;
  padding-left: 7px;
}

.alert {
  padding: 20px;
  background-color: #f44336;
  color: white;
}

.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.closebtn:hover {
  color: black;
}
.response {
  width: 90%;
  float: left;
}
.field {
  float: left;
  margin: 4px;
}
form#myform {
  margin: auto;
}
@media (min-width: 320px) {
  .wrapper {
    width: 100%;
    margin: auto;
  }
  form#myform {
    width: 100%;
  }
  .wrapper2 {
    margin: auto;
    min-height: 207px;
    max-height: 300px;
    margin-top: 10px;
    float: left;
    width: 100%;
  }
  .wrapper .option {
    width: 42.8%;
  }
  #response {
    margin-left: 0px;
    font-size: 12px;
  }
  #myform legend {
    font-size: 10px;
  }
  div#textFields input[type="number"],
  div#numberFields input[type="number"] {
    width: 60px;
  }
}
@media (min-width: 481px) {
  .wrapper {
    width: 100%;
    margin: auto;
  }
  form#myform {
    width: 100%;
  }
  .wrapper2 {
    margin: auto;
    min-height: 207px;
    max-height: 300px;
    margin-top: 10px;
    float: left;
    width: 100%;
  }
  .wrapper .option {
    width: 42.8%;
  }
  #response {
    margin-left: 0px;
    font-size: 12px;
  }
  #myform legend {
    font-size: 10px;
  }
  div#textFields input[type="number"],
  div#numberFields input[type="number"] {
    width: 60px;
  }
}
@media (min-width: 641px) {
  .wrapper {
    width: 100%;
    margin: auto;
  }
  form#myform {
    width: 100%;
  }
  .wrapper2 {
    margin: auto;
    min-height: 207px;
    max-height: 300px;
    margin-top: 10px;
    float: left;
    width: 100%;
  }
  .wrapper .option {
    width: 42.8%;
  }
  #response {
    margin-left: 0px;
    font-size: 12px;
  }
  #myform legend {
    font-size: 10px;
  }
  div#textFields input[type="number"],
  div#numberFields input[type="number"] {
    width: 60px;
  }
}
@media (min-width: 961px) {
  .wrapper {
    width: 60%;
    margin: 10px;
  }
  form#myform {
    width: 100%;
  }
  .wrapper2 {
    margin: 10px;
    min-height: 207px;
    max-height: 300px;
    margin-top: 10px;
    float: right;
    width: 35%;
  }
  .wrapper .option {
    width: 45.8%;
  }
  #response {
    margin-left: 10px;
    font-size: 13px;
  }
  #myform legend {
    font-size: 14px;
  }
  div#textFields input[type="number"],
  div#numberFields input[type="number"] {
    width: 66px;
  }
}
@media (min-width: 1025px) {
  .wrapper {
    width: 60%;
    margin: 10px;
  }
  form#myform {
    width: 850px;
  }
  .wrapper2 {
    margin: 10px;
    min-height: 207px;
    max-height: 300px;
    margin-top: 10px;
    float: right;
    width: 35%;
  }
  .wrapper .option {
    width: 45.8%;
  }
  #response {
    margin-left: 10px;
    font-size: 13px;
  }
  #myform legend {
    font-size: 14px;
  }
  div#textFields input[type="number"],
  div#numberFields input[type="number"] {
    width: 66px;
  }
}
@media (min-width: 1281px) {
  .wrapper {
    width: 60%;
    margin: 10px;
  }
  form#myform {
    width: 850px;
  }
  .wrapper2 {
    margin: 10px;
    min-height: 207px;
    max-height: 300px;
    margin-top: 10px;
    float: right;
    width: 35%;
  }
  .wrapper .option {
    width: 45.8%;
  }
  #response {
    margin-left: 2px;
    font-size: 13px;
  }
  #myform legend {
    font-size: 14px;
  }
  div#textFields input[type="number"],
  div#numberFields input[type="number"] {
    width: 66px;
  }
}
