/*상단 메뉴*/
.mobile-menu-bar {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  padding: 8px 4px;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mobile-menu-bar::-webkit-scrollbar {
  display: none;
}

.menu-btn {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  margin: 0 4px;
  border-radius: 10px;
  font-weight: 400;
  font-size: 12px;
  color: #333;
  min-width: 64px;
  transition: background-color 0.2s ease;
}

.menu-btn i {
  font-size: 16px;
  margin-bottom: 2px;
}

.menu-btn span {
  font-size: 11px;
  text-align: center;
  line-height: 1.2;
}

.menu-btn:hover {
  background-color: #dceeff;
}
/*상단 메뉴*/

/*스포츠 광고 2단 배열*/
.card-container {
  display: grid;
  gap: 20px;
  padding: 16px;
}

@media (max-width: 600px) {
  .card-container {
    grid-template-columns: repeat(2, 1fr);
    /* 2열 */
  }
}

@media screen and (min-width: 600px) {
  .card-container {
    grid-template-columns: repeat(4, 1fr);
    /* 2열 */
  }
}

@media screen and (min-width: 1600px) {
  .card-container {
    grid-template-columns: repeat(6, 1fr);
    /* 2열 */
  }
}
/*스포츠 광고 2단 배열*/
.event-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 250px;
}

.event-img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.event-img img {
  width: 100%;
  height: 100%;
  /* object-fit: fill;   */
  object-fit: contain;
  /* ✅ 핵심: 영역을 꽉 채우면서 비율 유지 */
  display: block;
}

.event-content {
  padding: 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  padding-top: 10px;
}

.event-tag {
  font-size: 13px;
  color: #272222;
  margin-bottom: 4px;
  font-weight: 500;
}

.event-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #1a2b5b;
  margin: 0 0 8px;
  height: 40px;
  overflow: hidden;
}

.event-date {
  font-size: 0.9rem;
  line-height: 1.3rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  /* 4줄까지만 보이게 */
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  margin-bottom: auto;
  /*word-break: break-word;  자동 줄바꿈 
  overflow-wrap: break-word;*/
  height: 100px;
  white-space: pre-wrap;
  font-weight: 500;
}

.event-location {
  font-size:  0.9rem;
  color: #1673d7;
  margin: 3px 0;
  font-weight: bold;
  overflow: hidden;
  height:60px;
}

.event-button {
  margin-top: auto;
  padding: 6px 12px;
  border: 1px solid #1a2b5b;
  color: #1a2b5b;
  text-align: center;
  border-radius: 6px;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.2s;
}

.event-button:hover {
  background-color: #1a2b5b;
  color: white;
}
/*스포츠 광고 2단 배열*/

.line-40 {
  height: 40px;
}

.input-group {
  margin-bottom: 10px;
}

.wrap-text {
  width: 300px;
  /* 줄바꿈을 유도하기 위해 컨테이너 너비 설정 */
  border: 1px solid #ddd;
  padding: 10px;
  word-wrap: break-word;
  /* 긴 단어를 줄바꿈 */
  word-break: break-all;
  /* 단어 중간에서도 줄바꿈 */
}

/* 탭 콘텐츠 스타일 */
.tab-content {
  display: none;
  padding: 20px;
  border: 1px solid #ccc;
  background-color: #fff;

}

.tab-content.active {
  display: block;
}

/* 컨테이너 설정 (버튼 우측 정렬) */
.button-container {
  display: flex;
  justify-content: flex-end;
  /* 버튼을 우측 정렬 */
  padding: 10px;
}

/* 버튼 스타일 */
button {
  background-color: #007bff;
  /* 파란색 */
  color: white;
  border: none;
  padding: 8px 10px;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.2);
}

/* 제목 스타일 */
.title {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  min-height: 30px;
  margin-top: 50px;
  border-bottom: 1px solid;
}

.nav-glyphish-example .ui-btn {
  padding-top: 40px !important;
}

.nav-glyphish-example .ui-btn:after {
  width: 30px !important;
  height: 30px !important;
  margin-left: -15px !important;
  box-shadow: none !important;
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -webkit-border-radius: 0 !important;
  border-radius: 0 !important;
}

#chat:after {
  background: url("../images/glyphish-icons/09-chat2.png") 50% 50% no-repeat;
  background-size: 24px 22px;
}

#email:after {
  background: url("../images/glyphish-icons/18-envelope.png") 50% 50% no-repeat;
  background-size: 24px 16px;
}

#login:after {
  background: url("../images/glyphish-icons/30-key.png") 50% 50% no-repeat;
  background-size: 12px 26px;
}

#beer:after {
  background: url("../images/glyphish-icons/88-beermug.png") 50% 50% no-repeat;
  background-size: 22px 27px;
}

#coffee:after {
  background: url("../images/glyphish-icons/100-coffee.png") 50% 50% no-repeat;
  background-size: 20px 24px;
}

#skull:after {
  background: url("../images/glyphish-icons/21-skull.png") 50% 50% no-repeat;
  background-size: 22px 24px;
}

#gear:after {
  background: url("../images/glyphish-icons/19-gear.png") 50% 50% no-repeat;
  background-size: 22px 24px;
}

/*calendar */
#calendar {
  font-family: 'Noto Sans KR', sans-serif;
  width: 100%;
  margin: auto;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

#calendar th {
  background-color: #f9fafb;
  padding: 3px 0;
  color: #333;
  font-weight: 600;
  font-size: 14px;
  border: unset !important;
}

#calendar td {
  width: 14.28%;
  height: 60px;
  text-align: center;
  vertical-align: middle;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease;
  border: unset !important;
}

#alendar td:hover {
  background-color: #f0f4ff;
  border-radius: 6px;
}

#calendar .today {
  border: 2px solid #3b82f6;
  border-radius: 50%;
  background-color: #eff6ff;
  font-weight: bold;
  color: #1d4ed8;
}

#calendar .sun {
  color: #ef4444;
}

#calendar .sat {
  color: #3b82f6;
}

.fc-col-header-cell-cushion {
  border-bottom: unset;
}

.fc .fc-daygrid-day-number {
  border-bottom: unset;
  color: black;
  font-weight: 500;
}

.fc table {
  margin: unset;
}

/* */
@media (max-width: 480px) {
  #calendar td {
    height: 45px;
    font-size: 13px;
  }

  #calendar th {
    font-size: 12px;
  }

  /* Main > schedule 부분 */
  #show_datas{
    font-size: 13px;
  }  

}

@media (max-width: 760px) {
  #calendar {
    /* max-width: 360px; */
    font-size: 12px;
  }

  #calendar td {
    height: 45px;
    font-size: 13px;


  }

  #calendar th {
    font-size: 12px;
  }
}

/*calendar */



/* 타이틀 스타일 */
.custom-title {
  /*background: linear-gradient(135deg, #ff7eb3, #ff758c);*/
  background: #555151 !important;
  color: white !important;
  text-align: center;
  font-size: 24px;
  padding: 10px 5px;
  padding-bottom: none;
  font-weight: bold;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* h2 스타일 */
.custom-h2 {
  text-align: center;
  font-size: 22px;
  color: #ff758c;
  margin-top: 20px;
  padding: 10px;
  font-weight: bold;
  border-bottom: 3px solid #ff758c;
  /* display: inline-block; */
  border-radius: 5px;
}

button {
  background-color: #ddd;
}

.th-label {
  background-color: #ddd;
  text-align: center !important;
  font-weight: bold !important;
}

.text-center {
  text-align: center !important;
}

.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

.border-right {
  border-right: 1px solid #ddd
}

.hidden {
  display: none;
}


/* 히스토리 아이콘 스타일 */
.history-icon {
  font-size: 50px;
  color: #3498db;
  cursor: pointer;
  transition: color 0.3s ease;
}

.history-icon:hover {
  color: #e74c3c;
}

/*TITLE 스타일 : 사용*/
.bak02 {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), url(../images/background/bak02.jpg );
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bak03 {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), url(../images/background/bak03.jpg );
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}


.bak04 {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), url(../images/background/bak04.jpg );
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}


.bak05 {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), url(../images/background/bak05.jpg );
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}


/*TABLE 스타일 : 사용*/
.display {
  border-collapse: collapse;
  width: 100%;
  font-family: 'Segoe UI', sans-serif;
}

/*TABLE 스타일 : 사용*/
.display thead th,
._th {
  text-align: center;
  vertical-align: middle;
  height: 40px;
  background-color: #E6F2FF;
  /* baby blue */
  color: #333;
  font-weight: bold;
  padding: 8px;
  border-bottom: 2px solid #ccc;
}

/*TABLE 스타일 : 사용*/
.display tbody td {
  background-color: #F9FCFF;
  /* 바디: 아주 연한 파랑/회색 */
  color: #333;
  padding: 10px;
  border-bottom: 1px solid #eee;
  height: 34px;
}

.btn {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  /* 높이 맞춤 */
  line-height: 1;
}

.btn_blue{
  background: #007bff;
  color: white !important;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 13px;
}

.btn_gray{
   background: #2b3139;
  color: white !important;
  padding: 3px 6px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 13px;
}

/* 저장 버튼 - 파란색 */
.btn-save {
  background-color: #007BFF;
  color: white;
}

.btn-save:hover {
  background-color: #005FCC;
}

/* 닫기 버튼 - 회색 */
.btn-close {
  background-color: #6C757D;
  color: white;
}

.btn-close:hover {
  background-color: #5A6268;
}

/* 삭제 버튼 - 빨강 */
.btn-delete {
  background-color: #DC3545;
  color: white !important;

}

.btn-delete:hover {
  background-color: #B02A37;
}

/* 버튼 간격 */
.btn+.btn {
  margin-left: 10px;
}

/*텍스트는 왼쪽 버튼은 오른쪽 정렬*/
.h_warp {
  display: flex;
  justify-content: space-between;
}

.form-comment {
  margin-top: 4px;
  font-size: 12px;
  color: #666;
}

.no-dot {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.no-dot li {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

h2 .fas {
  margin-right: 6px;
  color: #007BFF;
  /* 파란 포인트 색 */
}

h2 .fas span {
  color: black;
  /* 파란 포인트 색 */
}

.hdn {
  display: none;
}

a {
  text-decoration: none;
  /* 밑줄 제거 */
  color: black;
  /* 원하는 색상으로 변경 (예: black) */
}


/*주문/오더 카드*/
.order-list {
  width: 100%;
  max-width: 100%;
  /* padding: 16px; */
}

.order-card {
  width: 100%;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  background-color: #fff;
  transition: box-shadow 0.2s ease;
}

.order-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


.order-card>.link>a{
    word-wrap: break-word;
    font-size: 12px;
}

.order-card .link {
  /* display: flex;
  flex-direction: column; */
}

.order-header {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 8px;
  color: #333;
  flex-wrap: wrap;
  border-bottom: 1px solid #ddd;
}

.order-time {
  font-size: 13px;
  color: #999;
}

.order-items {
  font-size: 13px;
  color: #444;
  margin: 8px 0;
  word-wrap: break-word;
}

.order-status {
  font-size: 13px;
  font-weight: 600;
  color: #2f80ed;
  margin-top: 8px;
}

.order-total {
  text-align: right;
  font-weight: bold;
  font-size: 16px;
  margin-top: 12px;
  color: #111;
}


.sub-order-card {
  width: 100%;
  border-top: 1px solid red;
}

.insta-image {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/*** 비디오 모달 스타일 */

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #ddd;
}


.modal-content {
  position: relative;
  margin: 10% auto;
  padding: 0;
  width: 90%;
  /* max-width: 640px; */
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.modal video {
  width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
}

.video-thumbnail {
  width: 300px;
  height: 180px;
  position: relative;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}


.modal-title {
  /* margin-top: 8px; */
  font-size: 15px;
  font-weight: 600;
  color: #333;
  font-family: 'Gowun Dodum', sans-serif;
}

.modal-close {
  background: none;
  border: none;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  color: #666;
  transition: color 0.2s;
  width: 20px
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  color: white;
  opacity: 0.8;
  text-shadow: 0 0 10px black;
}


/* 반응형 (모바일에서 패딩 줄이기) */
@media (max-width: 600px) {
  .order-list {
    padding: 8px;
  }

  .order-card {
    padding: 12px;
  }
}

/*여행정보 등록 영역에서 이미지 스크롤 기능*/
.image-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #ddd;
}

.image-scroll-wrapper img {
  height: 150px;
  margin-right: 10px;
  border-radius: 8px;
  display: inline-block;
}

/* 스크롤바 스타일 (선택사항) */
.image-scroll-wrapper::-webkit-scrollbar {
  height: 8px;
}

.image-scroll-wrapper::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 4px;
}

body {
  /* font-family:  "Noto Sans KR", 'Gowun Dodum', sans-serif; */
  font-family: "Noto Sans KR", "맑은 고딕", 'Apple SD Gothic Neo', 'Malgun Gothic',sans-serif;
  background-color: #f8f9fa;
  /* 연한 회색 배경 */
  color: white;
  /* 어두운 글자 색상 */
  line-height: 1.6;
  /* 줄 간격 */
  margin: 0;
  padding: 0;
}

/**로딩바바*/
#loadingWrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-container {
  text-align: center;
  font-family: sans-serif;
}
/* 
.loading-icon {
  width: 70px;
  margin-bottom: 20px;
  animation: wobble 1.2s infinite ease-in-out;
} */

/* 비행기 흔들림 애니메이션 */
@keyframes wobble {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(2deg);
  }

  50% {
    transform: rotate(-2deg);
  }

  75% {
    transform: rotate(1deg);
  }
}

.wobble {
  animation: wobble 1.2s infinite ease-in-out !important;
}

.loading-bar {
  width: 220px;
  height: 10px;
  background-color: #eee;
  border-radius: 10px;
  overflow: hidden;
  margin: 15px auto;
  box-shadow: inset 0 0 5px #ccc;
}

.progress-wave {
  width: 100%;
  height: 100%;
  background: linear-gradient(270deg, #c0e3f5, #66ccff, #169ee1);
  background-size: 400% 100%;
  animation: wave 2s linear infinite !important;
}

/* 로딩바 안에 물결 효과 */
@keyframes wave {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

.loading-container p {
  color: #333;
  margin-top: 10px;
  font-size: 16px;
  text-align: center;
  font-weight: bold;
}

/*검색영역역*/
.search-bar {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  background-color: #fff;
}

.search-bar input[type="text"] {
  flex: 1;
  padding: 10px;
  border: none;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}

.search-bar button {
  padding: 10px 12px;
  background-color: white;
  border: none;
  border-left: 1px solid #ccc;
  cursor: pointer;
  color: #007BFF;
  font-weight: bold;
  width: 130px;
}

.search-bar .button :hover {
  background-color: #f0f0f0;
}



/*스크롤 슬라이더 광고**/
.slider-container {
  overflow-x: auto;
  padding: 8px;
}

.slider {
  display: flex;
  gap: 12px;
  scroll-snap-type: x mandatory;
  overflow-x: scroll;
  padding-bottom: 10px;
}

.slide {
  min-width: 160px;
  /* 기존보다 축소 */
  max-width: 350px;
  width: 250px;
  flex-shrink: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 12px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
/*스크롤 슬라이더 광고**/

/*배너 광고**/
.magazine-section { font-family:sans-serif }
.magazine-slider {
   display:flex; 
   /* overflow-x:auto; */
   transition: transform 0.8s ease-in-out;
 }
.magazine-card { 
  width:100%; 
  height: 200px;
  flex:0 0 auto; 
  box-shadow:0 2px 5px rgba(0,0,0,0.1); 
    /* overflow:hidden;  */
  flex-direction: column;
  justify-content: space-between; /* 위/아래 균형 */
}
.magazine-card img { width:100%; height:100px; object-fit:cover;image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges; }
.magazine-card p { margin:0;  font-size:12px; height: 40px;  line-height: 20px; overflow: hidden; }       
/*배너 광고**/

/*메인 대형 광고*/
.main-slider {
  display:flex; 
  transition: transform 0.8s ease-in-out;
}

  /* display: flex;
  width: 300%;
  height: 100%;
   */

.main-slider .main-slide {
    position: relative;
    width: 100%;
    height: 400px;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: space-between; /* 위/아래 균형 */
}

.slider-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  border-radius: 10px;
}
.slider-text {
  position: absolute;
  bottom: 10px;
  left: 20px;
  color: white;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}
.slider-text p {
  margin-top: 5px;
  font-size: 14px;
  font-weight: normal;
}

.main-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-slider h2 {
  font-size: 15px;
  color: white;
}
/*메인 대형 광고*/

@media (max-width: 600px) {
  .slide {
    flex: 0 0 90%;
    max-width: 180px;
  }
}

/* 이미지 스타일 */
.slide .image.fit {
  margin: 0 auto !important;
  /* 중앙 정렬 */
}

.slide .image.fit img {
  width: 100%;
  height: 180px;
  border-radius: 8px;
}

/* 텍스트 */
.slide header h2 {
  font-size: 14px;
  margin: 4px 0;
  color: #1a2b5b;
}

.slide .date {
  font-size: 12px;
  color: #999;
}


.slide-image {
  height: 120px;
  background-color: #ddd;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  display: contents;
}


.slide-description {
  font-size: 13px;
  color: #444;
  margin-bottom: 6px;
  white-space: pre-wrap;
  height: 120px;
  overflow: hidden;
  font-weight: 600;
}

.slide-location {
  font-size: 13px;
  color: #1a2b5b;
  margin-bottom: 6px;
  overflow: hidden;
  height:60px;
  font-weight: 600;
}

.slide .button {
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid #1a2b5b;
  text-align: center;
  text-decoration: none;
  color: #1a2b5b;
  transition: background 0.3s;
}

.slide .button:hover {
  background-color: #1a2b5b;
  color: white;
}

/*슬라이더 기능*/

/*스크롤탑이동 */
#scrollTopBtn {
  display: none;
  /* 처음엔 숨김 */
  position: fixed;
  bottom: 0px;
  width: 50px;
  right: 14px;
  z-index: 999;
  font-size: 14px;
  border: none;
  outline: none;
  background-color: #24acdd !important;
  color: white !important;
  cursor: pointer;
  /* padding: 10px 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3); */
}

#scrollTopBtn:hover {
  background-color: #555;
}


.loading-icon {
  background-image: url("/static/images/loading/131652-ORZCRR-542.jpg");
  background-size: cover;
  /* 이미지가 요소 전체에 맞게 채워짐 */
  background-position: center;
  /* 이미지 중앙 정렬 */
  background-repeat: no-repeat;
  /* 반복 방지 */
  ;
  width: 100px;
  height: 100px;
}


.posts_title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
  padding: 10px;
  border-bottom: 2px solid #ddd;
}

/*검색 모달*/
.search-open-btn {
  padding: 10px 20px;
  background: #333;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
}

/* 모달 기본 */
.search-modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

/* 모달 안 내용 */
@media (max-width: 768px) {
  .search-modal-content {
    max-width: 400px;
  }
}
.search-modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  max-width: 760px;
}

.search-modal-content h2 {
  margin-top: 0;
}

.search-modal-content label {
  display: block;
  margin: 10px 0 5px;
}

.search-modal-content input,
.search-modal-content select {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.search-modal-content button {
  width: 100%;
  background-color: #2563eb;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
}

/* 닫기 버튼 */
.search-modal-content .close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 24px;
  font-weight: bold;
  color: #888;
  cursor: pointer;
}

.circle-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background-color: #3b82f6;
  color: white;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}



.btn_balue {
  margin: 5px;
  padding: 5px;
  color: #1e6481;
}

.btn_red {
  margin: 5px;
  padding: 5px;
  color: #cf3333;
}


/************pdf 파일 변환 ****************/
@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.gap-6 {
  gap: 1.5rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.grid {
  display: grid;
}

/*배경색*/
.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}

.p-6 {
  padding: 1.5rem;
}

/**글자*/
.text-sm {
  font-size: 0.875rem;
  line-height: 1.5rem;
}

/*들여쓰기*/
.list-inside {
  list-style-position: inside;
}

.tooltip {
  position: relative;
  /* cursor: pointer; */
  cursor: help;
  border-bottom: 1px dotted #999;
}

.tooltip .tooltiptext {
  visibility: hidden;
  background-color: #222;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 10px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  /* 위로 */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.tooltip::after {
  content: attr(data-tip);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  font-size: 12px;
  padding: 4px 6px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.tooltip:hover::after {
  visibility: visible;
  opacity: 1;
}

.history-item {
  border: 1px solid #000;
  padding: 10px;
  margin-bottom: 10px;
}

.trash-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.translation {
  flex: 1;
}

.trash-icon {
  cursor: pointer;
  margin-left: 10px;
}

.notice {
  font-size: 12px;
  /* color: #888; */
  margin-top: 10px;
  padding: 10px;
  border-top: 1px solid #ddd;
}

.aModal{
  padding: 5px;
  width: 90%;
  /* height: 100%; */
  overflow: scroll;
  max-width: 740px;
  max-height: 600px;
}

.info_wrap{
  /* display: flex; */
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  list-style-type: none;
  padding-left: 0; /* 왼쪽 들여쓰기 제거 (옵션) */
}

.info_wrap .item{
    display: inline-block;
    margin-right: 10px
}


    
.profile-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 24px;
    background: #fdfdfd;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    /* font-family: 'Segoe UI', sans-serif; */
}


.profile-field {
    margin-bottom: 20px;
}

.profile-field label {
    display: block;
    font-weight: 600;
    color: #444;
    margin-bottom: 4px;
}

.profile-value {
    background: #f3f4f6;
    padding: 12px;
    border-radius: 8px;
    color: #333;
    font-size: 14px;
    word-break: break-all;
    font-weight: 400;
}

.button-group {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

.action-button {
    flex: 1;
    padding: 12px 0;
    font-weight: bold;
    background-color: #4f46e5;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.action-button:hover {
    background-color: #4338ca;
}

#resultMsg{
    font-weight: 600;
    color: #4338ca;
}

/* 전체 문서에 적용 */
body, input, textarea, button, select {
  -webkit-font-smoothing: antialiased;   /* 크롬, 사파리 */
  -moz-osx-font-smoothing: grayscale;    /* 파이어폭스 */
  font-smooth: always;                   /* 구버전 IE 대응 */
  text-rendering: optimizeLegibility;    /* 가독성 최적화 */
  font-weight: 400;                      /* 너무 얇으면 뿌옇게 보임 */
  color: #000;                           /* 글자 대비 선명하게 */
}


/* 공지사항 */
.guide-container {
    max-width: 600px;
    margin: 0 auto;
}

/* 상단 설명 */
.guide-header {
    background-color: #e0f0ff;
    color: #333;
    font-size: 14px;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    line-height: 1.6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.guide-item {
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 15px;
    overflow: hidden;
}

.guide-title {
    background-color: #f1f1f1;
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
}

.guide-content {
    display: none;
    padding: 15px;
    line-height: 1.6;
    background: #fff;
    color: #333;
}

.guide-more {
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
    transition: all 0.2s;
}

.guide-more:hover {
    text-decoration: underline;
    color: #0056b3;
}

.popup-container {
  /* position: fixed;  
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  width: 90%;
  max-width: 1200px;
  z-index: 1000; */

  position: fixed;
  top: 50px;
  left: 10px;
  /* transform: translateX(-50%); */
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  /* width: 90%; */
  max-width: 1200px;
  z-index: 1000;
}

.notice-popup {
  /* position: fixed;
  width: 300px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
  padding: 15px;
  z-index: 1000; */
  background: rgb(35 33 33 / 97%);
  border: 1px solid #e0e0e0; /* 은은한 테두리 */
  color:white;
  /* background: #fff;
  border: 1px solid #ccc; */
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  padding: 15px;
}

 .feature-title{
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 2px solid #852b2b; /* 제목 구분선 강조 */
    padding-bottom: 5px;
 }

 /* 푸터 */
.notice-popup-footer {
  margin-top: 12px;
  font-size: 13px;
}


.pagination{
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pagination span {
    color: #000 !important;
}


/*   word-upload PC에서는 테이블 
.translation-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: table;
}

.translation-table th,
.translation-table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.translation-table th {
  background: #3f51b5;
  color: white;
}

.translation-table tr:nth-child(even) {
  background: #f9f9f9;
}

.korean {
  font-weight: bold;
  color: #333;
}

.english {
  color: #555;
}*/

 /*   word-upload 📱 모바일에서는 카드 UI로 */
@media (max-width: 768px) {
  .translation-table {
    display: block !important; ;
    box-shadow: none;
  }

  .translation-row {
    background: #fff;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: block;
    font-weight: 500;
  }

  .translation-row:nth-child(even) {
    background: #f9f9f9;
  }

  .translation-row .korean {
    display: block;
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .translation-row .english {
    display: block;
    font-size: 0.95rem;
    background: white;
  }

  /* 테이블 헤더는 모바일에서 숨김 */
  .translation-table thead {
    display: none;
  }

  .translation-table tbody {
    display: block;
  }
}

code{
  display: block;             /* 코드 블록처럼 표시 */
  width: 100%;                /* 전체 영역 차지 */
  min-height: 130px;          /* 최소 높이 */
  padding: 10px 12px;         /* 안쪽 여백 */
  border: 1px solid #ddd;     /* 테두리 */
  border-radius: 6px;         /* 모서리 둥글게 */
  background-color: #f9f9f9;  /* 연한 배경 */
  font-family: Consolas, monospace; /* 코드 스타일 폰트 */
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  white-space: pre-wrap;      /* 줄바꿈 허용 */
  word-wrap: break-word;      /* 긴 단어 줄바꿈 */
  margin-bottom: 12px;        /* 유사단어검색 버튼과 간격 */
  margin: 0 0;
}