.vacation-calc-container {
  background-color: #f3f3f3;
  width: 90%;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0 auto;
  font-family: 'Farro', sans-serif;
}

.inputs-section {
  width: 60%;
  margin-top: 60px;
}

.results-section {
  width: 40%;
}

.input_box {
  display: flex;
  justify-content: center;
}

.grouped_dates,
.vacation-days {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.input_box div {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  width: 50%;
  height: 40px;
  text-align: end;
  margin-bottom: 10px;
  color: #ffffff;
  background-color: #ef223f;
  letter-spacing: 0.2px;
  font-style: italic;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.input_box input {
  width: 100%;
  height: 40px;
  background-color: white;
  font-size: 13px;
  text-align: end;
  padding-right: 10px;
  padding-left: 6px;
  border: none;
  font-weight: 600;
  margin-right: 20px;
  color: #ef223f;
  letter-spacing: 2.5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.vacation-days {
  margin-top: 20px;
}

.vacation-days h3 {
  margin: 0;
  margin-right: 20px;
  font-size: 15px;
  font-weight: 600;
}

.vacation-days h4 {
  margin: 0;
  color: #ef223f;
  font-size: 25px;
  font-weight: 600;
}

.vacation-days input {
  margin: 0;
  color: #ef223f;
  font-size: 19px;
  font-weight: 600;
  padding-right: 19px;
}

.vacation-days .input_box div {
  width: 100%;
}

#social_question {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

#social_question p,
#working_schedule p {
  width: 87%;
  position: relative;
  font-weight: 600;
  font-size: 13px;
  color: #000000;
  letter-spacing: 0.2px;
  font-style: italic;
}

.yes {
  z-index: 5;
  width: 30px !important;
  height: 30px;
}

input[type='checkbox'] {
  width: 23px;
  height: 23px;
  accent-color: #ef223f;
  cursor: pointer;
}

#working_schedule {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#working_schedule p {
  width: 46%;
}

#working_schedule input {
  margin-left: 16px;
  cursor: pointer;
  width: 20px;
  height: 20px;
  accent-color: #ef223f;
}

#working_schedule label {
  font-size: 14px;
  font-weight: 600;
  margin-left: 5px;
  cursor: pointer;
}

#company_type {
  display: grid;
}

#company_type p {
  width: 82%;
  position: relative;
  font-weight: 600;
  font-size: 13px;
  color: #000000;
  letter-spacing: 0.2px;
  font-style: italic;
}

#company_type div {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 10px;
}

#company_type div input {
  cursor: pointer;
  accent-color: #ef223f;
}

#company_type label {
  font-size: 14px;
  font-weight: 500;
  margin-left: 5px;
  cursor: pointer;
}

.results-section h1 {
  font-size: 20px;
  letter-spacing: 0.2px;
}

.result-block {
  background-color: #e7e7e7;
  padding: 10px;
  border-radius: 5px;
  display: grid;
  margin-bottom: 10px;
}

.result-block h3 {
  margin: 0;
  margin-right: 0px;
  font-size: 14px;
  font-weight: 600;
}

.result-block h4 {
  margin: 0;
  color: #ef223f;
  font-size: 25px;
  font-weight: 600;
  margin-top: 10px;
}

table {
  width: 100%;
  border-spacing: 10px;
  border-collapse: separate;
}

th,
td {
  padding: 5px;
  text-align: center;
}

td {
  font-size: 13px;
}

td:nth-child(1),
td:nth-child(2) {
  background: #e7e7e7;
  border-radius: 5px;
  font-weight: 600;
}

td:nth-child(1) {
  background-color: #ef223f;
  color: #ffffff;
}

table input {
  width: 100px;
  height: 23px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type='number'] {
  -moz-appearance: textfield;
}

#calculate-btn {
  padding: 10px 20px;
  border: none;
  margin-left: 10px;
  background-color: #ef223f;
  color: white;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#calculate-btn:hover {
  transform: scale(1.05);
}

@media screen and (max-width: 500px) {
  .vacation-calc-container {
    width: 100%;
    display: grid;
  }
  .inputs-section {
    width: 92%;
    margin-top: 10px;
  }
  .grouped_dates,
  .vacation-days {
    display: block;
  }
  .input_box input {
    margin-right: 0;
  }
  .input_box div {
    width: 95%;
  }
  .results-section {
    width: 92%;
  }
  #salary_table {
    overflow-x: scroll;
    width: 100%;
  }
  .vacation-days p {
    font-size: 11px;
  }
}
