main .input_wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
main .input_wrap .item {
  display: flex;
  align-items: center;
}
main .input_wrap .item label,
main .input_wrap .item span {
  font-size: 1.5rem;
  color: #777;
  font-weight: 600;
}
main .input_wrap .item input {
  width: 50%;
  font-size: 1.7rem;
  border-bottom: 1px solid #ddd;
  outline: none;
  padding: .7rem .5rem;
  margin-left: 1rem;
}

main .type_wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
main .type_wrap > button {
  width: 100%;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 1.5rem;
  background: #b3b3b3;
  color: #fff;
  border-radius: 1rem;
}
main .type_wrap > button.active {
  background: #fc90bc;
}

main .calc {
  width: 100%;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 1.5rem;
  color: #fff;
  border-radius: 1rem;
  margin-bottom: 4rem;
  background: #1CA485;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

main #result .loan_info_wrap {
  display: flex;
  flex-wrap: wrap;
  row-gap: 1.8rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #ddd;
}
main #result .loan_info_wrap .title {
  font-size: 1.5rem;
  color: #777;
  width: 100%;
}
main #result .loan_info_wrap .title:nth-child(n + 2):nth-child(-n + 3) {
  width: 50%;
}
main #result .loan_info_wrap .title em {
  font-size: inherit;
  font-weight: 600;
}

main #result .total_info_wrap {
  margin-bottom: 2.5rem;
}
main #result .total_info_wrap .container {
  padding: 2rem 0;
  border-bottom: 1px solid #ddd;
}
main #result .total_info_wrap .container .title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
main #result .total_info_wrap .container .value {
  font-size: 2.4rem;
  color: #fc90bc;
  font-weight: 700;
}
main #result .total_info_wrap .container .value::after {
  content: "원";
  font-size: 1.7rem;
  color: #999;
  margin-left: .5rem;
}

main #result .list_wrap > h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: .8rem;
}

main #result .list_wrap ul li {
  padding: 2rem 0;
  border-bottom: 1px solid #ddd;
}
main #result .list_wrap ul li .count {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
main #result .list_wrap ul li .row,
main #result .list_wrap ul li .month {
  display: flex;
  justify-content: space-between;
  margin-top: 1.2rem;
}
main #result .list_wrap ul li .row .title {
  font-size: 1.5rem;
  color: #777;
}
main #result .list_wrap ul li .row .value,
main #result .list_wrap ul li .month .title {
  font-size: 1.5rem;
  font-weight: 600;
}

main #result .list_wrap ul li .month .value {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fc90bc;
}

/* deposit.php, savings.php */
main .input_wrap .radio_box {
  display: flex;
  border: 1px solid #fecca2;
  border-radius: 1.5rem;
  width: fit-content;
  position: relative;
  overflow: hidden;
  
}
main .input_wrap .radio_box p {
  width: 10rem;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 1.2rem 0;
  color: #555;
  text-align: center;
  z-index: 9;
}
main .input_wrap .radio_box .active {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: #ffe9d9;
  transition: left 0.25s;
}

main .result_wrap ul li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.7rem;
}
main .result_wrap ul li p {
  font-size: 1.5rem;
}
main .result_wrap ul li .value {
  font-weight: 600;
  color: #333;
}
main .result_wrap ul li .value.tax_free_sum,
main .result_wrap ul li .value.sum {
  color: #fe8f38;
}

/* salary.php */
main .btn_wrap {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: .8rem;
}
main .btn_wrap button {
  width: 20%;
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  background: #fc90bc;
  color: #fff;
  flex-grow: 1;
  padding: 1.5rem 0;
  border-radius: 1rem;
}
main .result_wrap p {
  font-size: 1.5rem;
  font-weight: 600;
  color: #777;
  display: flex;
  align-items: center;
}
main .result_wrap p em {
  display: block;
  width: 35%;
  text-align: center;
  font-size: 2rem;
  font-weight: inherit;
  border-bottom: 1px solid #ddd;
  margin-left: 1rem;
  padding: .7rem .5rem;
}

/* 추가css */
.calc_btn{
    display: block;
    background-color: #ffd600;
    padding: 0.3rem 0.6rem;
    border-radius: 1rem;
    color: #fff;
    margin: 1rem 0 0 auto;
    font-size: 1.2rem;
	width: fit-content;
}
#cal li { padding: 1.5rem; border-radius: 15px; border: 2px solid #fecca2; }
#cal li:hover {box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;}
