input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* byhyeonrok */
.was-validated .form-img:invalid,
.form-img.is-invalid {
  border: 1px solid red;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23ff5c75' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ff5c75' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: calc(1.5em + 1.5rem) calc(1.5em + 1.5rem);
}

/* 스피너 S */
/* 전체 화면을 덮는 검은 배경 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  /* 배경 */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  /* 다른 요소들 위에 표시 */
}

.spinner {
  border: 8px solid #f3f3f3;
  /* 연한 회색 */
  border-top: 8px solid #8755F2;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  animation: spin 1s linear infinite;
}

/* 회전 애니메이션 */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* 스피너 E */

/* list 에서 사진 조절 */
.item-list img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  /* 비율을 유지하며 크기 조정 */
}

.item-view img {
  width: 100%;
  height: 500px;
  object-fit: contain;
  background-color: #eeeeee;
  /* 빈 공간 배경색 */
}

.item-view-list img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  /* 비율을 유지하며 크기 조정 */
}

.editor-wrap p {
  margin-bottom: 0
}

/* rangeCss S */
.range-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.custom-range {
  width: 100%;
  appearance: none;
}

/* 툴팁 스타일 */
.range-tooltip {
  position: absolute;
  top: -35px;
  background: #5465FF;
  color: white;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  pointer-events: none;
  white-space: nowrap;
}

/* rangeCss E */
/* sold out S */
.sold-out {
  position: relative;
  opacity: 0.5;
  /* 상품 흐리게 */
  filter: grayscale(100%);
  /* 흑백 효과 추가 */
}

.sold-out-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* 반대 방향 + 더 눕힌 회전 */
  /*     transform: translate(-50%, -50%) rotate(40deg); /* 반대 방향 + 더 눕힌 회전 */
  color: white;
  font-size: 1.4rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 4px;
  opacity: 0.85;
  /* 살짝 투명하게 */
  /*     text-shadow: 5px 5px 15px rgba(0, 0, 0, 0.6); /* 더 강한 그림자 효과 */
  animation: fadeIn 0.5s ease-in-out;
}

.sold-out .sold-out-product {
  position: relative;
  color: rgba(255, 255, 255, 0.6);
  /* 흐릿한 색상 */
  text-decoration: line-through;
  /* 기본 취소선 */
  font-weight: bold;
  font-size: 1.2rem;
  opacity: 0.6;
  /* 흐리게 */
}

/* 더 두껍고 강조된 줄 */
.sold-out .sold-out-product::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -5%;
  width: 110%;
  height: 2px;
  /* 선 두께 조절 */
  background: rgba(255, 0, 0, 0.8);
  /* 더 진한 빨간색 */
  border-radius: 2px;
  /* 부드러운 끝처리 */
}

/* sold out E */

/* 테이블 스크롤S */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.table-wrapper table {
  min-width: 800px;
  white-space: nowrap;
}

/* 테이블 스크롤E */

/* 팝업 S */
.popup-layer {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.popup-layer+.popup-layer {
  z-index: 9;
  margin-left: 1rem;
  top: 1rem;
}

.popup-layer+.popup-layer+.popup-layer {
  z-index: 8;
  margin-left: 2rem;
  top: 2rem;
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 300px;
  padding: 0;
  background: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  text-align: center;
  line-height: 1;
}

.popup-content img {
  max-width: 100%;
  font-size: 0;
}

.popup-buttons {
  display: flex;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.popup-buttons .popup-btn {
  border: 0;
  color: #fff;
  background-color: transparent;
  padding: 1rem;
  font-size: 12px;
  font-weight: bold;
  box-sizing: border-box;
}

.popup-buttons .dismiss-popup {
  flex: 1;
  background-color: #111;
  text-align: left;
}

.popup-buttons .close-popup {
  width: 70px;
  /* 또는 flex: 0 0 50px; */
  background-color: blue;
  text-align: center;
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 768px) {
  .popup-buttons {
    flex-direction: row;
  }

  .popup-buttons .dismiss-popup {
    flex: 1;
  }

  .popup-buttons .close-popup {
    width: 70px;
  }
}

/* 팝업 E */

/* 모달 p 태그 여백 제거S */
.modal-body p {
  margin: 0px !important;
}

/* 모달 p 태그 여백 제거E */

/* sidebar 관련 css S*/
.modify-card-height {
  min-height: 78vh;
}

.modify-card-form {
  max-width: 600px;

  .modify-card-head {
    min-height: 100px;
  }

  .modify-card-button {
    min-width: 100%;
  }
}

.modify-card-width {
  width: calc(100% - 4rem);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

@media (max-width: 762px) {
  .modify-card-width {
    width: 100% !important;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .modify-card-height {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
}

@media (min-width: 1200px) {
  .iq-footer {
    padding: 0.938rem;
    margin-left: 5rem !important;
    width: calc(100% - 5rem) !important;
    background: white;
    transition: all 0.3s ease-in-out;
  }

  .sidebar-open {
    margin-left: 15rem !important;
    width: calc(100% - 15rem) !important;
  }
}

.my-logo {
  margin-left: 12px;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .my-logo {
    margin-left: 2px;
    margin-top: 4px;
    height: 50px !important;
  }

  .tablet-ml6 {
    margin-left: 6px;
  }
}

@media (max-width: 768px) {
  .my-logo {
    margin-left: 0px;
    margin-top: 4px;
    height: 50px !important;
  }
}

.body-pt {
  padding-top: 80px;
}

@media (max-width: 1400px) {
  .body-pt {
    padding-top: 70px;
  }
}

@media (max-width: 992px) {
  .body-pt {
    padding-top: 65px;
  }

  .my-profile {
    margin-top: 8px;
  }
}

@media (max-width: 576px) {
  .body-pt {
    padding-top: 65px;
  }

  .my-profile {
    margin-top: 6px;
  }
}

@media(max-width:767px) {
  .ellipsis-20 {
    display: block;
    max-width: 20ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.cusur-no-pointer {
	cursor: default;
}
/* sidebar 관련 css E*/

/* input 안에 아이콘 넣기 S */
.search-div {
	position: relative;
}
                  
.search-div input {
	padding-right: 35px; /* 아이콘 공간만큼 확보 */
}

.search-div i{
    position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
}
/* input 안에 아이콘 넣기 E */

/* top 관련 css S*/
.just-right-dropdown {
  left: auto !important;
  right: 0 !important;
}
/* top 관련 css S*/

.default-cusor {
    cursor: default !important;
}

.point-cusor {
    cursor: pointer;
}

.text-none-transform{
	text-transform: none;
}