#message-box{
    position:fixed;
    right:120px;
    
}

.input-group-text {
    background-color: #212529;
    color: #ffffff;
    cursor:pointer;
}

.page-wrapper.compact-wrapper .page-body-wrapper .page-body {
    margin-top: 60px;
}

/* 스크롤 가능하도록 설정 */
.scrollable-div {
    overflow:auto; 
    height: 70vh;  /* 원하는 크기로 설정 */
    /*width: 600px;  원하는 크기로 설정 */
    padding:1em;
}

/* 웹킷 브라우저(Chrome, Safari 등)에서 스크롤바 숨기기 */
.scrollable-div::-webkit-scrollbar {
    display: none;
}

/* Firefox에서 스크롤바 숨기기 */
.scrollable-div {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE, Edge */
}

.p-l-15{
  line-height: 2.0;
  margin-bottom: 0px;
}
h6{
  line-height: 2.0;
}
.col h3, .col h6{
  position:relative;
  top:7px;
}

#imga img {
    width: 410px;
}

.card-header, .card-body, .card-footer{

    background-color:white;
}

.alert-heading{
    padding-bottom:4px;
}

#quest_contents{
    padding-bottom:15px;
}



@media (max-width: 1045px) {
    .default-according {
        display: none;
    }
    .container-fluid {
/*        display: flex;*/
        justify-content: center; /* 수평 가운데 정렬 */
        /*border:1px red solid;*/
    }
    .misstion-card {
        width: 100%; /* 또는 원하는 폭으로 설정 */
        margin: 0 auto;
        /*border:1px blue solid;*/
     }
}

@media (max-width: 1400px) {
    .m-t-20 {
        margin-top: 15px !important;
    }
}

@media (min-width: 1400px) {
    .m-t-20 {
        margin-top: 12px !important;
    }
}

@media (max-width: 1200px) {
    .m-t-20 {
        margin-top: 12px !important;
    }
}

@media (max-width: 991px) {
    .m-t-20 {
        margin-top: 10px !important;
    }

}

@media (max-width: 811px) {
    .m-t-20 {
        margin-top: 20px !important;
    }
    .muted2{
        margin-top: 46px !important;
    }
}

@media (max-width: 830px) {
    .nav-pills{
        max-width:450px;
        padding-bottom:5px;
    }
    .col {
        max-width:450px;
    }

}

@media (max-width: 500px) {

    .btn-outline-warning{
        min-width: 20%;   
        padding: 4px 5px;
        font-size:12px;
    }

    .btn-outline-dark{
        min-width: 20%;
        padding: 4px 5px;
        font-size:12px;
    }

}


.dropzone .dz-message {
  text-align: center;
  margin: 0em 0;
}

.font-muted {
  color: #8b9196 !important;
  position:relative;
  top:5px;
}

.font-light bb {
  color: #bdc1c7 !important;
}

.font-light bb {
  color: #bdc1c7 !important;
  position:relative;
  top:5px;
}

.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .logo-wrapper, .page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .logo-icon-wrapper {
    padding: 28px 30px;
}

.card{
    min-width:290px;
}

.disabled-btn {
    opacity: 0.5; /* 흐리게 표시 */
    pointer-events: none; 
}

#pay_info_flag{
    position:relative;
    top:2px;
}



.payment-refund{
    position:relative;
    top:-50px;
}

.mission_edit_content {
  overflow: auto;
  display: hidden;
  min-height: 400px;
  max-height: 500px;
}

.max-p-4 {
    max-height: 800px; /* 원하는 최대 높이 설정 (10줄 기준으로 조정) */
    overflow-y: auto;  /* 세로 스크롤을 자동으로 설정 */
    display: block;
}

.misstion-card .login-main {
  min-width: 390px;
  max-width: 478px;  
  margin: 0 auto;
}


.btn-outline-warning {
    min-width:60px;
}

.btn-outline-dark {
    min-width:100px;
}

.table-responsive {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: rgba(180, 180, 180, 0.6) transparent; /* Firefox */
}

/* 크롬, 엣지, 사파리용 */
.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: transparent;
}

.table-responsive::-webkit-scrollbar-thumb {
    background-color: rgba(180, 180, 180, 0.6); /* 연한 회색 + 투명도 */
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.4); /* 살짝 하얀 테두리로 부드럽게 */
    transition: background-color 0.3s ease;
}

/* 마우스 오버 시 강조 */
.table-responsive::-webkit-scrollbar-thumb:hover {
    background-color: rgba(120, 120, 120, 0.7); /* 좀 더 진해짐 */
}

.icon-circle {
    font-size: 18px;
    color: black;
    transition: color 0.3s ease;
    cursor: pointer;
    padding-left:4px;
}

.font-light.hh2 {
    position: relative;
    top: 5px; 
}

.button {
    padding: 10px 19px;
}

#kakao-chat-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s;
}

#kakao-chat-button:hover {
  transform: scale(1.1);
}

#kakao-chat-button img {
  width: 104px;
  height: 48px;
}


    .td_place_1{
        width:394px;
        min-height:790px;
        height:auto;
        border:1px solid #d5d5d5;
        overflow: hidden;
        padding-left:10px;
        display: inline-block;
        border-radius: 15px; /* 둥근 모서리 */
        transition: box-shadow 0.3s ease;
    }
    .hokecss {
        display: inline-block;
        border-radius: 15px; /* 둥근 모서리 */
        transition: box-shadow 0.3s ease;
        overflow: hidden;
        padding: 10 10 10 10;
        border: 1px solid #d5d5d5;
        margin-top:5px;
    }

    .hokecss img {
        display: block;
        border-radius: 15px; /* 이미지 자체도 둥글게 */
        width: 100%;
        height: auto;
    }

    .hokecss:hover {
        box-shadow: 0 0 6px 2px #ffcc00, 0 0 10px 4px #ff0066;
        border-color: #ff1493; /* 두께는 그대로, 색만 변경 */
        cursor: pointer;
    }

    /* 클릭(active) 상태 유지 */
    .hokecss.active {
        box-shadow: 0 0 6px 2px #ffcc00, 0 0 10px 4px #ff0066;
        border-color: #ff1493; /* 두께는 그대로, 색만 변경 */
        cursor: pointer;
    }
    
    .benner_1{
        border-radius: 15px; /* 둥근 모서리 */
        transition: box-shadow 0.3s ease;
        width:394px;
        height:90px;
        border: 1px solid #d5d5d5;
        padding: 20px 0px 10px 15px;
        color:white;
        background-color:#438585;
    }

    .benner_blank{
        height:90px;
        border: 0px;
    }

    .benner_title1{
        font-size:11px;
    }

    .benner_title2{
        font-size:16px;
        font-weight:bold;
    }
    .quest_content{
        font-weight:bold;
        background-color:#003482;
        font-size:15px;
        border-radius: 55px; /* 둥근 모서리 */
        padding:6px 15px 6px 15px;
        position:relative;
        left:46px;
        top:4px;
    }

    .quest_content.n1{
        font-weight:bold;
        background-color:#ffcc00;
        color:black;
        font-size:15px;
        border-radius: 55px; /* 둥근 모서리 */
        padding:6px 15px 6px 15px;
        position:relative;
        left:60px;
        top:4px;
    }

    .reward{
        min-width:98px;
        width:auto;
        height:94px;
        display: inline-block;
        border-radius: 15px; /* 둥근 모서리 */
        transition: box-shadow 0.3s ease;
        overflow: hidden;
        padding: 30px 10px 10px 10px;
        border: 1px solid #d5d5d5;
        text-align:center;        
    }

    .reward:hover {
        box-shadow: 0 0 6px 2px #ffcc00, 0 0 10px 4px #ff0066;
        border-color: #ff1493; /* 두께는 그대로, 색만 변경 */
        cursor: pointer;
    }

    /* 클릭(active) 상태 유지 */
    .reward.active {
        box-shadow: 0 0 6px 2px #ffcc00, 0 0 10px 4px #ff0066;
        border-color: #ff1493; /* 두께는 그대로, 색만 변경 */
        cursor: pointer;
    }

    #efficiency-container {
      position: relative;
      width: 374px;
      height: 34px;
      background-color: #f6f6f6;
      border-radius: 10px;
      overflow: hidden;
    }

    #valid-hit-bar {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 0;
      background: linear-gradient(to right, #ff1493, #2196f3); 
      display: flex;
      align-items: center;
      justify-content: center;
      transition: width 0.8s ease-in-out;
      border-radius: 9px;
    }

    .text-1 {
      font-size: 14px;
      font-weight: bold;
      
    }

    .text-white {
      color: #fff;
    }

    .pr-medium {
      padding: 0 10px;
    }

    .ho1{
        color:black;
        font-size:14px;
    }
    .ho2{
        color:#990000;
        font-size:14px;
        
    }
    .ho3{
        color:#59a3df;
        font-size:14px;
    }
    #hoke, #age, #gold{
        border:1px solid #59a3df;
        padding:20px 30px 10px 30px;
        margin:0px 30px 0px 0px;
        border-radius: 10px;
    }
    .h10{
        height:10px;
    }
    .h20{
        height:20px;
    }
    .h30{
        height:30px;
    }
    .h40{
        height:40px;
    }
    .h50{
        height:50px;
    }
    .h60{
        height:60px;
    }
    .h70{
        height:70px;
    }
    .h80{
        height:80px;
    }
    .h90{
        height:90px;
    }
    .h100{
        height:100px;
    }

.hr_1{
    height:1px; 
    border:none; 
    background-color:#d5d5d5; 
    width:374px; 
    margin: 3px 0px 0px 0px; 
}
::placeholder {
  color: #d9dbdf !important;
  font-style: italic;
  opacity: 1;
}


.p_design{
    width:470px;
    height:30px;
    font-size:16px;
    font-weight:bold;
    text-align:left;
    border:0px;
    padding-right:10px;
    padding-left:10px; 
    color:#009999;
}
.p_fsize{
    font-size:14px;
}
.p_dsize{
    font-size:15px;
    font-weight:normal;
}
#dayCount{
    width:100%;
    font-size:14px;
    text-align:right;
    display:inline-block;
    padding-right:20px;
    position:relative;
    top:-24px;
    left:-20px;
    color:#b30000;
}
.dateRange_css{
    width:280px; 
    font-size:14px; 
    border-color:white; 
    border:0px; 
    padding-top:6px;
}

  .price-summary {
    width: 374px;
    font-family: sans-serif;
    font-size: 14px;
    color: #333;
  }

  .summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }

  .summary-label {
    font-size: 14px;
    color: #555;
  }

  .summary-value input {
    width: 100px;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    border: none;
    background: none;
    color: inherit;
    outline: none;
  }

  .summary-value span {
    margin-left: 5px;
    font-size: 14px;
  }

  .summary-value.negative input {
    color: #694aff;
  }

  .summary-value.total input {
    color: #ff3300;
    font-weight: 800;
    font-size: 14px;
    margin-right: 10px;
    max-width: 500px;
    width:210px;
    position: relative;
    left: 10px;
  }


.summary-row .btn {
  width:100%;
  background-color: #007bff; /* 버튼 색상 */
  color: #fff; /* 글자 색 */
  padding: 12px 24px; /* 여백 */
  border-radius: 8px; /* 둥근 모서리 */
  font-size: 16px; /* 기본 글자 크기 */
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s; /* 애니메이션 */
  text-align: center;
}

.summary-row .btn:hover {
  background-color: #0056b3; /* 호버 시 색상 변경 */
  transform: scale(1.05); /* 살짝 커지는 효과 */
}

/* 📱 반응형 처리: 화면 너비에 따라 버튼 스타일 조정 */
@media (max-width: 768px) {
  .summary-row .btn {
    font-size: 13px;
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .summary-row .btn {
    font-size: 11px;
    padding: 8px 16px;
  }

}

#footer-info{
    text-align:center;
    padding-bottom:5px;
}


.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper {

    height: 1500px;
    
}

.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .sidebar-links .simplebar-wrapper .simplebar-mask .simplebar-content-wrapper .simplebar-content>li .sidebar-link.active {
  background: linear-gradient(90deg, #7de2fc 0%, #b9b6e5 100%);
  color: #ffffff;                /* 텍스트는 화이트 */
  padding: 12px 5px 7px 12px;
  border-radius: 8px;            /* 모서리 둥글게 */
  box-shadow: 0 4px 10px rgba(125, 226, 252, 0.3); /* 은은한 글로우 */
  transition: all 0.3s ease;     /* 부드러운 효과 */
}

.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .sidebar-links li a span {
    
    position:relative;
    top:-5px;

}

.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .sidebar-links .simplebar-wrapper .simplebar-mask .simplebar-content-wrapper .simplebar-content>li a img + span {
    position:relative;
    top:0px;
}

.page-wrapper .page-body-wrapper .page-title {
    padding-top: 20px;
    padding-bottom: 10px;
}

.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .simplebar-offset {
    height: calc(100vh - 140px);
}

body {
    line-height: 1.12;
}

.h2, h2 {
    font-size: 18px;
    font-weight: 700;
}

.form-label ,.page-title {
    padding-left:10px;
}

.btn-toggle{
  --h: 22px;               /* 높이(작은 버튼) */
  --pad-x: 5px;           /* 좌우 패딩 */
  --r: 999px;              /* 라운드 */
  --on1:#7de2fc;           /* ON 그라디언트 시작 */
  --on2:#b9b6e5;           /* ON 그라디언트 끝 */
  --off1:#f3f4f6;          /* OFF 배경 */
  --off2:#e5e7eb;          /* OFF 배경 음영 */
  --txt:#222;
  --txt-on:#fff;

  height: var(--h);
  padding: 0 var(--pad-x);
  border: 1px solid #d1d5db;
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--off1), var(--off2));
  color: var(--txt);
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 1px;
  cursor: pointer;
  user-select: none;
  transition: transform .05s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 2px 8px rgba(0,0,0,.06);
}

/* hover (OFF 상태일 때) */
.btn-toggle:hover{
  background: linear-gradient(180deg, #ffffff, #eaecef);
}

/* 눌림 느낌 */
.btn-toggle:active{
  transform: translateY(1px);
  box-shadow: 0 0 0 rgba(0,0,0,0.0);
}

/* ON 상태 */
.btn-toggle.is-on{
  background: linear-gradient(90deg, var(--on1), var(--on2));
  border-color: transparent;
  color: var(--txt-on);
  box-shadow: 0 4px 14px rgba(125,226,252,.35);
}

/* ON + hover */
.btn-toggle.is-on:hover{
  filter: brightness(1.06);
  box-shadow: 0 6px 18px rgba(125,226,252,.45);
}

/* 아이콘 크기/정렬 */
.btn-toggle .icon{
  font-size: 13px;
  position: relative;
  top: -0.5px;
}

/* 더 작게 쓰고 싶으면 클래스 추가 */
.btn-toggle.xs{
  --h: 24px;
  --pad-x: 8px;
  font-size: 11px;
}

/* 비활성화 상태 예시 */
.btn-toggle:disabled{
  opacity:.55;
  cursor:not-allowed;
  box-shadow:none;
}