/* Chrome, Safari, Edge */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}



*, *::before, *::after { box-sizing: border-box; }
/* 100%페이지 상단inner */
.innerbox1 { 
  width:calc(100% - 30px); margin: 0 auto; 
  padding-bottom: 5rem;
}
/* 1280페이지 상단inner */
.innerbox2 { max-width:var(--site-con-w); 
  margin: 0 auto; 
  padding-bottom: 3rem;
}

.innerbox3 { 
  width:calc(100% - 30px);
  margin: 0 auto; 
  padding-bottom: 5rem;
}


.w-5  { width: 5%;  }
.w-6  { width: 6%;  }
.w-8  { width: 8%;  }
.w-10 { width: 10%; }
.w-11 { width: 11%; }
.w-12 { width: 12%; }
.w-15 { width: 15%; }
.w-16 { width: 16%; }
.w-17 { width: 17%; }
.w-25 { width: 25%; }
.w-26 { width: 26%; }
.w-27 { width: 27%; }
.w-28 { width: 28%; }
.w-29 { width: 29%; }
.w-30 { width: 30%; }
.w-31 { width: 31%; }
.w-32 { width: 32%; }
.w-33 { width: 33%; }
.w-34 { width: 34%; }
.w-35 { width: 35%; }
.w-40 { width: 40%; }
.w-50 { width: 50%; }
.w-60 { width: 60%; }
.w-70 { width: 70%; }
.w-80 { width: 80%; }
.w-90 { width: 90%; }

.w-auto { width: auto; } 


.w_1{width:1rem}
.w_2{width:2rem}
.w_3{width:3rem}
.w_4{width:4rem}
.w_5{width:5rem}
.w_6{width:6rem}
.w_7{width:7rem}
.w_8{width:8rem}
.w_9{width:9rem}
.w_10{width:10rem}
.w_15{width:15rem}
.w_20{width:20rem}
.w_30{width:30rem}
.w_full{flex:1 1 auto; min-width:12rem;}
.w_half{flex:1 1 50%;}

.mt-10 { margin-top: 1rem; }
.mb-10 { margin-bottom: 1rem; }
.ml-10 { margin-left: 1rem; }
.mr-10 { margin-right: 1rem; }

.mt-20 { margin-top: 2rem; }
.mb-20 { margin-bottom: 2rem; }
.ml-20 { margin-left: 2rem; }
.mr-20 { margin-right: 2rem; }

.mt-30 { margin-top: 3rem; }
.mb-30 { margin-bottom: 3rem; }
.ml-30 { margin-left: 3rem; }
.mr-30 { margin-right: 3rem; }

.my-10 { margin: 1rem 0; }
.my-20 { margin: 2rem 0; }

.mx-10 { margin: 0 1rem; }
.mx-20 { margin: 0 2rem; }

.text_blue{ color:var(--blue-1); font-size: .9rem; line-height: 1.5rem;}
.text_red{ color:var(--red-1); font-size: .9rem;}
.text_gray{ color:var(--gray-2)}
.text_black{ color:var(--color-2)}

.font_b6 {font-weight: 600;}
.font_b7 {font-weight: 700;}
.font_b8 {font-weight: 800;}
.font_b9 {font-weight: 900;}

.bg_gray1{background-color: var(--gray-5);}
.bg_gray2{background-color: var(--gray-6);}

.bar_gray {
    background-color: var(--gray-3);
    display: block; width:100%; height:2px; 
}
.flex_row {
  width:100%; 
  display: flex; gap:1rem; 
  justify-content: space-between;
} 

.round_box {
  margin: 0 auto;
  width:70%; height:40vh;
  background-color: var(--gray-6);
  border-radius: 1rem;
  border: var(--border-dot-1);
  box-shadow: 2px 2px 4px 0 var(--gray-5);
  box-sizing: border-box;
}

.round_box_f {
  margin: 0 auto;
  width:calc(100% - 30px); height:40vh;
  background-color: var(--gray-6);
  border-radius: 1rem;
  border: var(--border-dot-1);
  box-shadow: 2px 2px 4px 0 var(--gray-5);
  box-sizing: border-box;
}

.round_gray_3 {
  padding: 2rem; 
  border-radius: 20px;
  border: var(--border-3);
  box-shadow: 2px 2px 4px 0 var(--gray-5);
  box-sizing: border-box;
}

.round_gray_2 {
  padding: 1.5rem; 
  border-radius: 20px;
  border: var(--border-1);
  box-shadow: 2px 2px 3px 0 var(--gray-5);
  background-color: var(--gray-7);
  box-sizing: border-box;
}

.round_gray_light {
  border-radius: .5rem;
  border: var(--border-1);
  box-shadow: 2px 2px 2px 0 var(--gray-5);
  box-sizing: border-box;
}
.box_simple {
  margin: 0 auto;
  width:100%;
  background-color: var(--gray-7);
  box-shadow: 1px 1px 3px 0 var(--gray-5);
  padding:1rem;
  box-sizing: border-box;
}
.box_simple_w {
  margin: 0 auto;
  width:100%;
  background-color: var(--white);
  border:1px solid var(--gray-5);
  box-shadow: 1px 1px 3px 0 var(--gray-5);
  padding:1rem;
  margin: 1rem 0;
  box-sizing: border-box;
}

.round_simple {
  margin: 0 auto;
  width:100%;
  border-radius: .5rem;
  background-color: var(--gray-7);
  box-shadow: 1px 1px 3px 0 var(--gray-5);
  margin: 1rem 0;
  box-sizing: border-box;
}

.round_box_dot {
  border-radius: .5rem;
  border: var(--border-dot-1);  
  box-sizing: border-box;
}

.round_gray_noline {
  padding: 2rem;
  border-radius: 1rem;
  background-color: var(--gray-7); 
  box-shadow: 2px 2px 4px 0 var(--gray-5);
}

select {
  height: 36px;
  border: 1px solid var(--color-6);
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 500;  
  padding: 5px 30px 6px 8px;
  appearance: none;
  background: url('../images/svg/arrow_down.svg') no-repeat right 8px center;
  background-size: 10px;
  cursor: pointer;
  background-color: var(--white);
} 
select:focus {
  background-color: var(--white); /* 선택 상태에서도 흰 배경 유지 */
  color:var(--gray-1);
}
input[type=text], input[type=password] {width: calc(100% - 24px); height: 36px; border:1px solid var(--color-6); border-radius:6px; padding:0 12px; font-size:13px; font-weight:500;}


/* 날짜선택 달력 스타일 */
.date-wrapper {
  position: relative;
  display: inline-block;
}
.date-wrapper input[type="text"] {
  width: 8rem;
  height: 1.8rem;
  padding: 0 4px;
  border: var(--border-1);
  border-radius: 1px;
  font-size: .9rem;
  cursor: pointer;
}
.date-wrapper .calendar-icon {
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  background: url('../images/svg/calendar.svg') no-repeat center;
  background-size: contain;
  pointer-events: none;
}

.ui-datepicker {
  font-size: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 2px;
  padding: 5px;
}
.ui-datepicker td a.ui-state-highlight {
  background: #007BFF;
  color: #fff;
  border-radius: 2px;
}
.br_desktop::after,
.br_mobile::after { content: ""; }

.dot_red::before{
  content: url("/assets/images/svg/dot_red.svg");
  position: relative; right:5px; bottom: 2px;
}



.loading_container{
  width:min(340px,92vw); 
  margin:5rem auto; 
  color:var(--blue-1); 
}
.loading_top{
  display:flex; align-items:center; gap:12px; margin-bottom:12px; 
  margin-left: 25%;
}
h3{margin:0;font-size:16px;font-weight:600}

.spinner{width:18px;height:18px;border-radius:50%;
  border:3px solid transparent;border-top-color:var(--blue-1);
  animation:spin 0.9s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}


.dots::after{content:""; animation:dots 1.1s steps(3,end) infinite; }
@keyframes dots{0%{content:""}33%{content:"."}66%{content:".."}100%{content:"..."}}

.progress{
  position:relative; height:10px; border-radius:999px; 
  overflow:hidden; background:var(--blue-1);
}
.bar{
  position:absolute; inset:0 auto 0 0; width:60%; height:100%;
  background:linear-gradient(90deg, var(--blue-0), var(--blue-4));
  border-radius:inherit;
  transform:translateX(-40%);
  animation:slide 2s linear infinite
}
@keyframes slide{
  0%{transform:translateX(-40%)}
  100%{transform:translateX(110%)}
}





@media (max-width:1200px) {
  .innerbox2 {
    width:calc(100% - 30px)
  }
  .round_gray_2 {
    padding: 1rem; 
    border-radius: 10px;
    margin-bottom: 2rem;
  }
}


@media (min-width: 769px) { 
  .br_desktop::after {
    content: "\A";
    white-space: pre; 
  }
}
@media (max-width: 768px) {
  .br_mobile::after {
    content: "\A";
    white-space: pre;
  }
}