.icon-blue svg {
  stroke: #007bff;     /* 선 색상 */
  width: 24px;
  height: 24px;
}

@media (max-width: 1400px) {
    .m-t-20 {
        margin-top: 15px !important;
    }

    #col1, #col2, #col3{
        display:none;
    }


}

@media (min-width: 1400px) {
    .m-t-20 {
        margin-top: 12px !important;
    }

    #col1, #col2, #col3{
        display:block;
    }


}

#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;
    background-color: var(--bg-main);
}

/* 스크롤 가능하도록 설정 */
.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:0px;
}

.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;
}


.hh2 {
    position: relative;
    top:2px;
}


.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{
    position: fixed;
    bottom: 0;
    left: 0;

    width: 100%;
    text-align: center;
    padding-top: 7px;
    padding-bottom: 5px;

    z-index: 1000;
    background: #fff; /* 필요시 */
}


.sub-body{
    padding: 20px 30px 0px 30px !important;
    background-color:#fff !important;    
}

.text-truncate{
    font-size: 1.1rem; 
}

@media (max-width: 575px) {
    .sub-body{
        padding: 70px 30px 0px 30px !important;
        background-color:#fff !important;    
    }

    .text-truncate{
        font-size: 0.7rem; 
    }


}

@media (max-width: 768px) {
    .sub-body{
        padding: 40px 30px 0px 30px !important;
        background-color:#fff !important;    
    }

    .text-truncate{
        font-size: 0.9rem; 
    }
}


@media (max-width: 1200px) {
    padding: 10px 30px 0px 30px !important;

    .text-truncate{
        font-size: 1.1rem; 
    }
}






.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;
}



:root{
  --kakao-yellow: #FEE500;
  --kakao-text: #191600; /* 거의 블랙 */
  --kakao-hover: #F2D700;
  --kakao-press: #E6CB00;
  --kakao-border: rgba(0,0,0,0.12);
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 3px 8px rgba(0,0,0,.06);
  --shadow-press: 0 1px 1px rgba(0,0,0,.1);
}

/* 기본 버튼 */
.kakao-btn{
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  border: 1px solid var(--kakao-border);
  border-radius: 6px;
  background: var(--kakao-yellow);
  color: var(--kakao-text);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  padding: 10px 16px;
  width: 100%;              /* 모바일에서 꽉 차게 */
  max-width: 420px;         /* 데스크탑에서 과도하게 커지지 않게 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .04s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}

/* 아이콘과 라벨 */
.kakao-btn__icon svg {
  filter: none !important;
  box-shadow: none !important;
}
.kakao-btn__icon svg path {
  filter: none !important;
  box-shadow: none !important;
}
.kakao-btn__label{ white-space: nowrap; }

/* 상태 */
.kakao-btn:hover{ background: var(--kakao-hover); }
.kakao-btn:active{
  transform: translateY(1px);
  background: var(--kakao-press);
  box-shadow: var(--shadow-press);
}
.kakao-btn:disabled,
.kakao-btn[aria-disabled="true"]{
  opacity: .55;
  cursor: not-allowed;
}

/* 키보드 접근성 */
.kakao-btn:focus-visible{
  outline: 2px solid #000;
  outline-offset: 2px;
}

/* 사이즈 옵션 */
.kakao-btn--sm{ padding: 10px 12px; font-size: 13px; max-width: 360px; }
.kakao-btn--lg{ padding: 16px 18px; font-size: 15px; max-width: 520px; }

/* 컨테이너에서 가운데 정렬하고 싶다면 */
.kakao-btn,
.kakao-btn--sm,
.kakao-btn--lg{
  margin-left: auto;
  margin-right: auto;
}

/* 다크 모드 대비 (노랑 유지, 테두리만 살짝 강화) */
@media (prefers-color-scheme: dark){
  .kakao-btn{
    border-color: rgba(255,255,255,0.22);
    box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 6px 14px rgba(0,0,0,.35);
  }
}

/* 모션 최소화 사용자 배려 */
@media (prefers-reduced-motion: reduce){
  .kakao-btn{ transition: none; }
}

.ecommerce-widget {
  box-shadow: none;
  border-radius: 5px;

  position:relative;
  top:26px;
}

.badge {
    padding-top: 4px;
}










































/* =================================
   Reset & Base Styles
   ================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-color: #6759ff;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #8b5cf6;
    
    --bg-main: #f8f9fa;
    --bg-white: #ffffff;
    --bg-dark: #2d3748;
    --bg-darker: #1a202c;
    
    --text-primary: #1a202c;
    --text-secondary: #718096;
    --text-light: #a0aec0;
    --text-white: #ffffff;
    
   /* --border-color: #e2e8f0;*/
    --border-light: #edf2f7;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    
    /* Layout Dimensions */
    --sidebar-width: 268px;
    --header-height: 70px;
    --spacing-sm: 18px;
    --spacing-md: 16px;
    --spacing-lg: 14px;
    --spacing-xl: 32px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* 가독성과 아름다운 폰트 적용 
@import url('https://fonts.googleapis.com/css2?family=Pretendard:wght@400;500;600;700&display=swap');

* {
    font-family: "Pretendard";
}

*/




/* =================================
   Layout Structure
   ================================= */
.layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* =================================
   Sidebar Styles
   ================================= */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-white);
    border-right: none;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    transition: transform var(--transition-normal);
    z-index: 1000;
    
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

.sidebar-header {
    padding: var(--spacing-lg) var(--spacing-md) var(--spacing-md);
    border-bottom: none;
}



/* Brand Banner - New Style */
.brand-banner {
    margin: 28px 0px 0px 0px;
    padding: 14px 2px 0px 0px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.banner-content-new{
    display: flex;
    align-items: flex-start;   /* 기본 */
    gap: 10px;
}

.banner-content-new img{
    width: 36px;        /* 로고 크기 조절 */
    flex-shrink: 0;
}


.banner-icon-new i {
    color: white;
    font-size: 18px;
}

.banner-content-new {
    flex: 1;
}

.banner-text-new {
    color: #aeb4b6;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.banner-text-new strong {
    font-weight: 700;
    color: #766aff;
}

.banner-btn-new {
    width: 100%;
    padding: 10px 12px;
    background: #f0efff;
    color: #766aff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.banner-btn-new:hover {
    background: #958cff;
    color: white;
    transform: translateY(-1px);
}

/* Sidebar Navigation */
.sidebar-nav {
   /* padding: var(--spacing-sm) 0; */
    line-height: 1.8;
}

.nav-section {
    margin-bottom: 4px;
    padding: 0 var(--spacing-sm);

}

.nav-section-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-light);
    padding: var(--spacing-sm) var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.5px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 18px;
    color: #4a5568;
    text-decoration: none;
    border-radius: 10px;
    transition: all var(--transition-fast);
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 2px;
    cursor: pointer;
    position: relative;
    color:#7d8688;
}

.nav-item i:first-child {
    width: 20px;
    font-size: 20px;
    text-align: center;
    flex-shrink: 0;

}





/* 아이콘 배지 */
.nav-item i.icon-gray{
  width:22px;
  height:22px;
  border-radius:6px;
  background:#bfcbd9;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

/* lucide svg */
.nav-item i.icon-gray svg{
  width:14px;
  height:14px;
  stroke:#fff;
  fill:none;
  stroke-width:2;
}

/* active */
.nav-item.active i.icon-gray{
  background:#6759ff;
}

.nav-item.active i.icon-gray svg{
  fill:#fff;
  stroke:#fff;
}




.icon-blue {
    color: #667eea !important;
}

.icon-orange {
    color: #ff6b00 !important;
}

.icon-black {
    color: #2d3748 !important;
}

.icon-yellow {
    color: #ffd700 !important;
}

.nav-item span {
    flex: 1;
}

.nav-item .submenu-icon {
    margin-left: auto;
}

.nav-item:hover {
    background-color: #f7fafc;
    color: var(--text-primary);
}

/*
.nav-item:hover i:first-child {
    color: var(--primary-color) !important;
}
*/

.nav-item.active {
    background-color: var(--primary-color);
    color: var(--text-white);
    font-weight: 500;
}

.nav-item.active i {
    color: var(--text-white) !important;
}

.nav-item.active .submenu-icon {
    color: var(--text-white);
}

.nav-item-footer {
    margin-top: var(--spacing-xl);
}

/* Submenu Styles */
.nav-item.has-submenu .submenu-icon {
    font-size: 12px;
    transition: transform var(--transition-fast);
    color: var(--text-light);
}

.nav-item.has-submenu.open .submenu-icon {
    transform: rotate(180deg);
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 0;
}

.submenu.open {
    max-height: 500px;
}

.submenu-item {
    display: block;
    padding: 8px 18px 8px 50px;
    color: #718096;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    border-radius: 4px;
    transition: all var(--transition-fast);
    margin: 4px 8px;
}

.submenu-item:hover {
    background-color: #f7fafc;
    color: var(--text-primary);
}

.submenu-item.active {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    font-weight: 500;
}

/* =================================
   Main Content Area
   ================================= */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left var(--transition-normal);
}

/* Top Header */
.top-header {
    height: var(--header-height);
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--spacing-xl);

    position: fixed;      /* ⭐ 핵심 */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 998;
}



.header-left {
    display: flex;
    align-items: center;
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: var(--spacing-sm);
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.sidebar-toggle:hover {
    background-color: var(--bg-main);
    color: var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.points-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.points-info i {
    color: var(--primary-color);
    font-size: 20px;
}

.points-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.points-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

.points-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--bg-main);
    border-radius: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.points-badge i {
    color: #f59e0b;
}

.btn-charge {
    padding: 5px 10px;
    background-color: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-charge:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* User Menu Dropdown */
.user-menu-wrapper {
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
  /*  gap: 6px;  */
    padding: 8px 16px;
    background-color: var(--bg-main);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.user-menu-trigger:hover {
    background-color: var(--border-color);
}

.user-menu-trigger .fa-user-circle {
    font-size: 18px;
    color: var(--primary-color);
}

.user-menu-trigger .arrow-icon {
    font-size: 12px;
    color: var(--text-light);
    transition: transform var(--transition-fast);
}

.user-menu-trigger.active .arrow-icon {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 280px;
    background-color: var(--bg-white);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: 1000;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dropdown-header .user-avatar {
    font-size: 36px;
    color: var(--primary-color);
}

.dropdown-header .user-info {
    flex: 1;
}

.dropdown-user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.user-suffix-small {
    font-weight: 400;
    color: var(--text-secondary);
}

.user-email {
    font-size: 12px;
    color: var(--text-secondary);
}

.dropdown-divider {
    height: 1px;
    background-color: var(--border-light);
    margin: 0;
}

.dropdown-body {
    padding: 16px;
}

.dropdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.dropdown-row:not(:last-child) {
    border-bottom: 0px solid var(--border-light);
}

.dropdown-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.dropdown-value {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 600;
}

.grade-badge {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* User Menu Dropdown */
.user-menu-wrapper {
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
}

.user-menu-trigger:hover {
    background-color: var(--bg-main);
}

.user-menu-trigger.active {
    background-color: var(--bg-main);
}

.user-menu-trigger i.fa-user-circle {
    font-size: 20px;
    color: var(--text-secondary);
}

.user-name {
    font-weight: 600;
    color: var(--text-primary);
}

.user-suffix {
    font-weight: 400;
    color: var(--text-secondary);
}

.arrow-icon {
    font-size: 12px;
    color: var(--text-light);
    transition: transform var(--transition-fast);
}

.user-menu-trigger.active .arrow-icon {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 280px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: 1000;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: var(--spacing-lg);
}

.user-avatar {
    font-size: 40px;
    color: var(--primary-color);
}

.user-info {
    flex: 1;
}

.dropdown-user-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.user-suffix-small {
    font-weight: 400;
    color: var(--text-secondary);
}

.user-email {
    font-size: 13px;
    color: var(--text-light);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-light);
    margin: 0 var(--spacing-md);
}

.dropdown-body {
    padding: var(--spacing-md) var(--spacing-lg);
}

.dropdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.dropdown-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.dropdown-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
}

.grade-badge {
    padding: 4px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-white);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.user-menu:hover {
    background-color: var(--bg-main);
}

.user-menu i.fa-user-circle {
    font-size: 24px;
    color: var(--text-secondary);
}

.user-menu i.fa-chevron-down {
    font-size: 12px;
    color: var(--text-light);
}

/* Content Wrapper */
.content-wrapper {
    flex: 1;
   /* padding: var(--spacing-xl);  */
    max-width: 1650px;
    width: 100%;
   /* padding-top:100px; */
    padding-left: 30px;
    margin: 0 auto;
}

/* Welcome Section */
.welcome-section {
    margin-bottom: var(--spacing-xl);
}

.welcome-section h1 {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Content Section */
.content-section {
  /*  margin-bottom: var(--spacing-xl);  */
}

.section-header {
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-header h2 i {
    color: var(--primary-color);
}

/* =================================
   News Grid Section
   ================================= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

/* =================================
   Card Styles
   ================================= */
.news-card,
.stats-card {
    background-color: var(--bg-white);
    border-radius: 24px;
    border: none;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-fast);
    padding-bottom: 15px;
}

.news-card:hover,
.stats-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-header {
    padding: var(--spacing-lg);
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 12px;
    /*background: linear-gradient(to right, #f8f9fa, #ffffff);*/
}

.card-header i {
    font-size: 20px;
    color: var(--primary-color);
}

.card-header h3 {
    flex: 1;
    font-size: 23px;
    font-weight: 700;
    color: var(--text-primary);
}

.view-more {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition-fast);
}

.view-more:hover {
    color: var(--primary-color);
}

.card-body {
    padding: var(--spacing-lg);
}

.card-body2 {
    padding: 15px 30px 0px 30px;
}

/* News Items */
.news-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.news-item:last-child {
    border-bottom: none;
}

.news-badge {
    padding: 4px 10px;
    background-color: #fef3c7;
    color: #d97706;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.news-title {
    flex: 1;
    font-size: 14px;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-date {
    font-size: 13px;
    color: var(--text-light);
    flex-shrink: 0;
}

/* Ad Items */
.ad-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.ad-item:last-child {
    border-bottom: none;
}

.ad-rank {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.ad-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.ad-text {
    flex: 1;
    font-size: 14px;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ad-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.ad-badge.hot {
    background-color: #fee2e2;
    color: #dc2626;
}

.ad-badge.new {
    background-color: #dbeafe;
    color: #2563eb;
}

/* =================================
   Stats Grid Section
   ================================= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--spacing-lg);
}

/* Data Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.data-table thead {
    /*background-color: var(--bg-main);*/
}

.data-table th {
    padding: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.data-table th:first-child {
    width:20%;    
}


.data-table td {
    padding: 12px;
    font-size: 14px;
    color: var(--text-primary);
    border-bottom: none;
}

.data-table td:first-child {
    background-color: #f4f7f9;
    border-bottom: 1px solid #f0f0f0;
}

.data-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

.data-table tbody tr:last-child {
    border-bottom: none;
}

.data-table tbody tr:hover {
    background-color: var(--bg-main);
}

/* New Price Card Styles */
.price-card .card-body {
    padding: 0;
}

.price-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.price-section {
    padding: var(--spacing-lg);
    border-radius: 10px;
    border:0.1em solid #ececec;
}

.price_css1{
    margin-right:4px;
    margin-left:30px;  
    margin-bottom:10px;
}

.price_css2{
    margin-right:30px;    
    margin-left:4px;
    margin-bottom:10px;
}

.price-section:first-child {
  /*  border-right: 1px solid #f0f0f0; */
}

.price-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    /*padding-bottom: var(--spacing-sm);*/
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.price-items {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0;
}

.price-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.price-amount {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.blog-grade {
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.blog-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-primary);
}

.grade-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 28px;
    border-radius: 20px;
    font-weight: 700;
    background: #f4f7f9;
    color: #798286;
}

.grade-badge.grade-a {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.grade-badge.grade-b {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.grade-badge.grade-c {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.grade-badge.grade-d {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.price-note {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 12px;
    background: #fff9e6;
    border-radius: 8px;
    margin-top: 8px;
    border-left: 3px solid #f59e0b;
}

.note-price {
    font-weight: 700;
    color: #f59e0b;
    margin-left: 8px;
}

/* =================================
   CTA Banner Section
   ================================= */
.cta-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.cta-banner {
    padding: var(--spacing-xl);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-fast);
    border: none;
    height:145px;
}

.cta-banner:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.cta-banner-dark {
    background: linear-gradient(135deg, #383a50 0%, #383a50 100%);
    color: var(--text-white);

}

.cta-banner-light {
    background: #ecebff;
    color: var(--text-primary);
}

.cta-text {
    flex: 1;
    z-index: 2;
}

.cta-label {
    display: inline-block;

    border-radius: 20px;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.cta-banner-light .cta-label {
    color: var(--text-black);
}

.cta-banner h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.cta-button {
    padding: 5px 15px 8px;
    background-color: #6759ff;
    color: var(--bg-white);
    border: none;
    border-radius: 20px;
    font-weight: 400;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cta-banner-light .cta-button {
    background-color: #6759ff;
    color: var(--text-white);
}

.cta-button:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-image {
    flex-shrink: 0;
    z-index: 1;
}

.image-placeholder {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 60px;
    opacity: 0.6;
}

.cta-banner-light .image-placeholder {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.cta-banner-dark .image-placeholder {
    color: var(--text-white);
}

/* =================================
   Responsive Design
   ================================= */
@media (max-width: 1200px) {
    .content-wrapper {
        padding: var(--spacing-lg);
        margin-top: 80px;
    }
    
    .news-grid,
    .stats-grid,
    .cta-section {
        grid-template-columns: 1fr;
    }
    
    .price-grid-container {
       /* grid-template-columns: 1fr; */
    }
    
    .price-section:first-child {
       /* border-right: none; */
        border-bottom: 1px solid #f0f0f0;
    }
}

@media (max-width: 1023px) {
    /* Hide sidebar by default on mobile */
    .sidebar {
        transform: translateX(-100%);
    }
    /* Show mobile toggle button */
    .sidebar-toggle {
        display: block;
    }

    .sidebar.active {
        transform: translateX(0);
    }
    
    /* Adjust main content margin */
    .main-content {
        margin-left: 0;
    }

    .page-body-wrapper .page-body, .page-body-wrapper footer {
        margin-left: 0px !important;
    }
}




@media (max-width: 768px) {

    .price_css1 {
        margin-right: 4px;
        margin-left: 10px;
        margin-bottom: 10px;
    }

    .price_css2 {
        margin-right: 10px;
        margin-left: 4px;
        margin-bottom: 10px;
    }

    .user-name, .user-suffix, .btn-charge{
        display:none;
    }
    /* Show mobile toggle button */
    .sidebar-toggle {
        display: block;
    }
    
    /* Hide sidebar by default on mobile */
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    /* Adjust main content margin */
    .main-content {
        margin-left: 0;
    }
    
    /* Adjust header padding */
    .top-header {
        padding: 0 var(--spacing-md);
    }
    
    /* Stack header elements */
    .header-right {
        gap: var(--spacing-sm);
    }
    
    .user-menu span {
        display: none;
    }
    
    /* Adjust content padding */
    .content-wrapper {
        padding: var(--spacing-md);
    }
    
    /* Adjust welcome message */
    .welcome-section h1 {
        font-size: 22px;
    }
    
    /* Single column grid */
    .news-grid,
    .stats-grid,
    .cta-section {
        grid-template-columns: 1fr;
    }
    
    /* Adjust card padding */
    .card-body {
        padding: var(--spacing-md);
    }
    
    /* Adjust table font size */
    .data-table th,
    .data-table td {
        padding: 8px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {


    .card-header-dashboard h3 {
        font-size: 17px !important;
        
    }
    .title_icon{
        width:25%;
        height:25%;
    }


    .points-badge span {
        display: none;
    }
    
    .btn-charge {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .welcome-section h1 {
        font-size: 18px;
    }
    
    .section-header h2 {
        font-size: 18px;
    }
    
    .cta-banner {
        padding: var(--spacing-lg);
      /*  flex-direction: column;
        text-align: center; */
    }
    
    .cta-banner h3 {
        font-size: 16px;
    }
    
    .image-placeholder {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }
}

/* =================================
   Overlay for Mobile Menu
   ================================= */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    transition: opacity var(--transition-normal);
}

.overlay.active {
    display: block;
}

@media (max-width: 768px) {
    .sidebar {
        box-shadow: var(--shadow-lg);
    }
}

/* =================================
   Utility Classes
   ================================= */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: var(--spacing-sm);
}

.mb-2 {
    margin-bottom: var(--spacing-md);
}

.mb-3 {
    margin-bottom: var(--spacing-lg);
}

.mt-1 {
    margin-top: var(--spacing-sm);
}

.mt-2 {
    margin-top: var(--spacing-md);
}

.mt-3 {
    margin-top: var(--spacing-lg);
}

/* =================================
   Place Order Page
   ================================= */
/* =================================
   Place Order Page - New Design
   ================================= */
.place-order-page {
    padding: 100px 32px;
    background: #fafbfc;
    min-height: calc(100vh - var(--header-height));
}

/* Order Page Header */
.order-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: white;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-icon {
    font-size: 28px;
    color: var(--primary-color);
}

.page-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.header-center {
    text-align: center;
}

.timer-label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.timer-display {
    font-size: 24px;
    font-weight: 700;
    color: #ef4444;
    margin-bottom: 2px;
}

.timer-warning {
    font-size: 11px;
    color: #ef4444;
}

.header-right {
    display: flex;
    align-items: center;
}

.btn-add-order {
    padding: 10px 18px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-add-order:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Action Button Bar */
.action-button-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.action-btn {
    padding: 8px 16px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.15s;
    position: relative;
}

.action-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.action-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.action-btn.btn-primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.action-btn.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.action-btn.btn-primary:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 1px 4px rgba(99, 102, 241, 0.2);
}

.action-btn.btn-danger {
    color: #ef4444;
    border-color: #ef4444;
}

.action-btn.btn-danger:hover {
    background: #fef2f2;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.1);
}

.action-btn.btn-danger:active {
    transform: translateY(0) scale(0.98);
    background: #fee2e2;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 14px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    position: relative;
}

.filter-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    transform: translateY(-1px);
}

.filter-btn:active {
    transform: translateY(0) scale(0.98);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
    font-weight: 600;
}

.filter-btn.active:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.filter-btn i {
    font-size: 12px;
}

/* Selection Info */
.selection-info {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 12px;
    font-weight: 500;
}

/* Order Table Container */
.order-table-container {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.order-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.order-data-table thead {
    background: #f9fafb;
}

.order-data-table th {
    padding: 12px 10px;
    text-align: center;
    font-weight: 600;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
    font-size: 12px;
}

.order-data-table td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}

.order-data-table tbody tr:hover {
    background: #f9fafb;
}

/* Type Badges */
.type-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.type-badge.blue {
    background: #dbeafe;
    color: #1e40af;
}

.type-badge.purple {
    background: #ede9fe;
    color: #7c3aed;
}

.type-badge.pink {
    background: #fce7f3;
    color: #db2777;
}

.type-badge.red {
    background: #fee2e2;
    color: #dc2626;
}

.type-badge.green {
    background: #d1fae5;
    color: #059669;
}

/* Order Pagination */
.order-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
}

.page-nav-btn,
.page-number {
    padding: 8px 12px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
}

.page-nav-btn:hover,
.page-number:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.page-number.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Place Order Page - Responsive */
@media (max-width: 1200px) {
    .order-page-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .header-center {
        order: -1;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .place-order-page {
        padding: 16px;
    }
    
    .order-page-header {
        padding: 12px 16px;
    }
    
    .page-title {
        font-size: 18px;
    }
    
    .timer-display {
        font-size: 20px;
    }
    
    .action-button-bar {
        flex-wrap: wrap;
    }
    
    .action-btn {
        font-size: 12px;
        padding: 7px 12px;
    }
    
    .filter-tabs {
        gap: 6px;
    }
    
    .filter-btn {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .order-data-table {
        font-size: 11px;
    }
    
    .order-data-table th,
    .order-data-table td {
        padding: 8px 6px;
    }
}

/* =================================
   Order Create Modal
   ================================= */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 980px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 28px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-title-section {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.modal-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 4px 0;
}

.modal-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f3f4f6;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #e5e7eb;
    color: #1f2937;
}

/* Modal Body */
.modal-body {
    padding: 24px 28px;
    max-height: calc(90vh - 180px);
    overflow-y: auto;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.info-card {
    padding: 18px;
    border-radius: 12px;
    display: flex;
    gap: 12px;
}

.info-card.card-blue {
    background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
}

.info-card.card-purple {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
}

.info-card.card-gradient {
    background: linear-gradient(135deg, #fce7f3 0%, #f3e8ff 100%);
}

.info-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.card-blue .info-card-icon {
    background: #5247f2;
    color: white;
}

.card-purple .info-card-icon {
    background: #a855f7;
    color: white;
}

.card-gradient .info-card-icon {
    background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
    color: white;
}

.info-card-content {
    flex: 1;
}

.info-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 6px 0;
}

.info-card-desc {
    font-size: 12px;
    color: #4b5563;
    margin: 0;
    line-height: 1.5;
}

.info-card-desc strong {
    color: #5247f2;
    font-weight: 600;
}

.card-purple .info-card-desc strong {
    color: #a855f7;
}

.card-gradient .info-card-desc strong {
    color: #ec4899;
}

/* Form */
.order-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-group {
    display: flex;
    /*flex-direction: column;*/
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.form-input {
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #1f2937;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #5247f2;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

/* Toggle Buttons */
.toggle-buttons {
    display: flex;
    gap: 8px;
}

.toggle-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
}

.toggle-btn:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}

.toggle-btn.active {
    background: #5247f2;
    color: white;
    border-color: #5247f2;
}

/* Modal Footer */
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 28px;
    border-top: 1px solid #e5e7eb;
}

.modal-btn {
    padding: 11px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-cancel {
    background: white;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-cancel:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.btn-submit {
    background: #5247f2;
    color: white;
    padding: 11px 32px;
}

.btn-submit:hover {
    background: #4f46e5;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 16px 20px;
    }
}

/* Form Helper Text */
.form-helper-text {
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.form-helper-text i {
    color: #9ca3af;
    margin-top: 2px;
    flex-shrink: 0;
}

/* =================================
   New News Section - Image Based
   ================================= */
.news-section {
    margin-top: 24px;
}

/* ================================================
   대시보드 뉴스 그리드 (이미지 기반 디자인)
   ================================================ */
.news-grid-dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.news-card-dashboard {
    background: white;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;



}

/* Card Header */
.card-header-dashboard {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 10px 30px;
    background: white;
}

.header-left-dashboard {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-left-dashboard i {
    font-size: 20px;
}

.header-left-dashboard i.icon-bell {
    color: #5247f2;
}

.header-left-dashboard i.icon-book {
    color: #8b5cf6;
}

.header-left-dashboard i.icon-play {
    color: #a855f7;
}

.card-header-dashboard h3 {
    font-size: 23px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.view-more-dashboard {
    font-size: 13px;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.view-more-dashboard:hover {
    color: #5247f2;
}

.view-more-dashboard.top-badge {
    color: #000;
    font-weight: 600;
    font-size: 15px;
}

/* Card Body */
.card-body-dashboard {
    padding: 0;
    background: white;
}

.news-item-dashboard {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 26px 0px 30px;
    transition: background 0.15s;
    min-height: 34px;
    font-size:13px;
}

.news-item-dashboard:last-child {
    border-bottom: none;
}

.news-item-dashboard:hover {
    background: #fafbfc;
    cursor: pointer;
}

.news-title-dashboard {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #374151;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 16px;
    line-height: 1.6;
}

.news-date-dashboard {
    font-size: 13px;
    color: #9e9e9e;
    white-space: nowrap;
    font-weight: 600;
}

/* Ad Items (인기있는 광고) */
.ad-item-dashboard {
    display: flex;
    align-items: center;
    padding: 11px 20px 3px;
    gap: 2px;    
    transition: background 0.15s;
    min-height: 34px;
}

.ad-item-dashboard:last-child {
    border-bottom: none;
}

.ad-item-dashboard:hover {
    background: #fafbfc;
    cursor: pointer;
}

.ad-rank-dashboard {
    width: 28px;
    height: 28px;
    color: #828b8d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.ad-title-dashboard {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #374151;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 12px;
    line-height: 1.4;
}

.ad-badge-dashboard {
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    text-transform: uppercase;
}

.ad-badge-dashboard.hot {
    background: #f14672;
    color: #fff;
}

.ad-badge-dashboard.new-badge {
    background: #4c42ee;
    color: #fff;
}

/* Responsive */
@media (max-width: 1200px) {
    .news-grid-dashboard {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .ds_icon_size{
        width:7vw !important;
        height:auto !important;
    }

    .ds_icon_size2{
        width:6vw !important;
        height:auto !important;
    }

    .cta-image .banner_img2 img{
        width:170px;
    }

    .card-header-dashboard {
        padding: 12px 16px;
    }
    
    .news-item-dashboard,
    .ad-item-dashboard {
        padding: 10px 16px;
        min-height: 31px;
    }
    
    .news-title-dashboard,
    .ad-title-dashboard {
        font-size: 14px;
    }
    
    .news-date-dashboard {
        font-size: 12px;
    }
}
.rw-logo{
  display:block;
  width: clamp(180px, 12vw, 200px); /* 최소 120, 화면에 따라, 최대 180 */
  height:auto;
  margin: 0 auto;  
}

.hr{
    border: none;
    height: 1px;
    background-color: #E5E7EB; /* 연한 회색 */
    margin: 0px 20px 4px 20px;
}

.top10{
    color: #463dec;
}

.ds_icon_size{
    width:45px;
    height:45px;
    vertical-align:middle;
    margin-right:10px;
}

.ds_icon_size2{
    width:40px;
    height:40px;
    vertical-align:middle;
    margin-right:10px;
    margin-left:3px;
}

.top_memo{
    color: #fb8e9c;
    background: #feeef1;
    border-radius: 25px;
    font-size:13px;
    padding: 0px 7px 2px 7px;
}

.point_num{
    color:black;
}

.v-divider{
    width: 1px;
    height: 14px;
    background: rgba(0,0,0,0.15); /* 엷은 회색 */
    display: inline-block;
    margin-left:10px;
}

.chevron-right{
    display: inline-block;
    width: 7px;
    height: 7px;
    border-top: 2px solid #f8f8f8;  
    border-right: 2px solid #f8f8f8;
    transform: rotate(45deg);
    position:relative;
    top:1px;
}

.chevron-right_ff{
    display: inline-block;
    width: 7px;
    height: 7px;
    border-top: 2px solid #9CA3AF;   /* 연한 회색 */
    border-right: 2px solid #9CA3AF;
    transform: rotate(45deg);
    position:relative;
    top:-1px;
}

.order_title{
    font-size:14px;
    padding-left: 16px;
    color:#7d8688;
    font-weight: 600;
}

table tr:last-child td {
    border-bottom: 1px solid #eeeeee;
}


@media (max-width: 768px) {

    .price-section-title {
        font-size: 13px;
    }

    .price-label {
        font-size: 13px;
    }

    .price-amount {
        font-size: 13px;
    }


    .card-header-dashboard h3 {
        font-size: 21px;
    }

    .title_icon{
        width: 30px
        height: 30px;
    }
}

