/* popup_bg */
.popup_bg {
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  z-index: 101;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* popup_type01 */
.popup_type01 {
  width: 80%;
  max-width: 450px;
  background: #fff;
  text-align: center;
  margin: 0 auto;
  padding: 20px;
  border-radius: 5px;
}

.popup_type01 > h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.popup_type01 h3 > span {
  margin-right: 8px;
  display: inline-block;
}

.popup_type01 > h3 > span > img {
  width: 15px;
}

.popup_type01 > svg {
  display: block;
  margin: 0 auto;
  margin-bottom: 25px;
}

.popup_type01 > div + div {
  margin-top: 25px;
}

.popup_type01 > div > p {
  line-height: 1.2;
}

.popup_type01 > div > p + p {
  margin-top: 5px;
}

.popup_type01 > div > p > span {
  color: var(--main-color);
}

.popup_type01 > div > .f_b {
  color: var(--main-color);
}

.popup_type01 label {
  margin-bottom: 15px;
  display: block;
  text-align: left;
}

.popup_type01 .popup_btn02 {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* popup type 02 */
.popup_type02 {
  width: 100%;
  max-width: 450px;
  background: #fff;
  text-align: center;
  margin: 0 auto;
  padding: 20px;
  border-radius: 5px;
}

.popup_type02 h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  border-radius: 10px;
  background: linear-gradient(to right, #6DCAF2, #36AEE2);
  padding: 10px;
  margin-bottom: 20px;
}

.popup_type02 > div + div {
  margin-top: 25px;
}

.popup_type02 > div > p{
  border-radius: 10px;
  padding: 15px;
  text-align: left;
}

.popup_type02 > div > p + p{
  margin-top: 15px;
}

.popup_type02 > div > p:nth-child(1){
  background: url(images/money_bag_icon.svg);
  background-repeat: no-repeat;
  background-color: var(--main-background-color);
  background-position: 96% center;
  background-size: 30px;
}

.popup_type02 > div > p:nth-child(2){
  background: url(images/protect_icon.svg);
  background-repeat: no-repeat;
  background-color: var(--main-background-color);
  background-position: 96% center;
  background-size: 28px;
}

/* popup type 03 */
.popup_type03 {
  width: 100%;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 16px;
}

.popup_type03 > h3 {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.popup_type03 .select_account li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 23px;
}

.select_account p {
  white-space: nowrap;
}

.select_account .grey {
  color: #999;
}

.select_account button {
  width: 55px;
  height: 30px;
  background-color: var(--main-color);
  color: #fff;
  font-weight: 500;
  font-size: 0.8rem;
  border-radius: 50px;
  margin-left: auto;
  white-space: nowrap;
}


/* popup 캘린더 타입 01 */
.popup_calendar_type01 {
  width: 100%;
  max-width: 450px;
  background: #fff;
  text-align: center;
  margin: 0 auto;
  padding: 20px;
  border-radius: 5px;
  position: relative;
}

.popup_calendar_type01 > h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.popup_calendar_type01 > button {
  position: absolute;
  top: 22px;
  right: 30px;
}

.popup_calendar_type01 > button > img {
  width: 20px;
  height: 20px;
}

.popup_calendar_type01 > div {
  background-color: var(--main-background-color);
  width: 60%;
  border-radius: 10px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 auto;
}

.popup_calendar_type01 > table {
  width: 100%;
  margin-top: 20px;
}

.popup_calendar_type01 td {
  white-space: nowrap;
  cursor: pointer;
  width: 50px;
  height: 50px;
  line-height: 50px;
  display: inline-block;
  margin: 10px 25px;
}

.popup_calendar_type01 .select {
  color: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 50%;
}

@media screen and (max-width: 440px){
  .popup_calendar_type01 td {
      width: 40px;
      height: 40px;
      line-height: 40px;
      margin: 8px 22px;
  }
}

@media screen and (max-width: 372px){
  .popup_calendar_type01 td {
      margin: 6px 10px;
  }
}
/* popup 캘린더 타입 02 */
.popup_calendar_type02 {
  width: 100%;
  max-width: 450px;
  background: #fff;
  text-align: center;
  margin: 0 auto;
  padding: 20px;
  border-radius: 5px;
  position: relative;
}

.popup_calendar_type02 > h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.popup_calendar_type02 > button {
  position: absolute;
  top: 22px;
  right: 30px;
}

.popup_calendar_type02 > button > img {
  width: 20px;
  height: 20px;
}

.popup_calendar_type02 > div {
  background-color: var(--main-background-color);
  width: 60%;
  border-radius: 10px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 auto;
}

.popup_calendar_type02>table {
  width: 100%;
  margin-top: 20px;
}

.popup_calendar_type02 th,
.popup_calendar_type02 td {
  padding: 15px;
}

.popup_calendar_type02 th {
  font-weight: 500;
}

.popup_calendar_type02 td {
  cursor: pointer;
}

.popup_calendar_type02 .sunday {
  color: #FC5555;
}

.popup_calendar_type02 .select {
  color: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

@media screen and (max-width: 500px) {
  .popup_calendar_type02>div {
      width: 80%;
  }

  .popup_calendar_type02>div>button,
  .popup_calendar_type02>div>span {
      white-space: nowrap;
      font-size: 0.9rem;
  }
}

@media screen and (max-width: 350px) {
  .popup_calendar_type02>div {
      width: 90%;
  }

  .popup_calendar_type02 .select {
      width: 40px;
      height: 40px;
      margin-top: 0px;
  }

  .popup_calendar_type02 th,
  .popup_calendar_type02 td {
      padding: 8px;
      font-size: 0.9rem;
  }
}

/* popup 캘린더 타입 03 */

.popup_calendar_type03 {
  width: 100%;
  max-width: 450px;
  background: #fff;
  text-align: center;
  margin: 0 auto;
  padding: 20px;
  border-radius: 5px;
  position: relative;
}

.popup_calendar_type03>h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.popup_calendar_type03>table {
  width: 100%;
}

.popup_calendar_type03 td {
  padding: 10px;
  cursor: pointer;
}

.popup_calendar_type03 .select {
  color: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.popup_calendar_type03>.popup_btn01>button {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  background-color: var(--button-bg-color);
  color: var(--button-text-color);
  font-weight: 600;
  letter-spacing: 0.02em;
}


@media screen and (max-width: 350px) {
  .popup_calendar_type03 .select {
      width: 40px;
      height: 40px;
      margin-top: 0px;
  }

  .popup_calendar_type03 td {
      padding: 8px;
      font-size: 0.9rem;
  }
}
