﻿@charset "utf-8";
 /*******************************************************************
	layout style
******************************************************************* */
.sub-highlight {

}

#contents {
    margin-top: 50px;
    min-height:550px
}

/* contents */
.contents {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0 80px;
    box-sizing: border-box;
}
.contents h3 {
    margin :20px 0 30px;
    text-align: left;
    font-size: 28px;
    font-weight: 800;
}

/* article */
.article {

}
.article .section {
    position: relative;
    min-height: 400px;
}
.article .section h4 {
    margin: 50px 0 20px;
    line-height: 1.1;
    font-size: 20px;
    font-weight: 800;
    color: #3e5a87;
}
.article .section h4::before {
content: '';
    position: relative;
      top: -2px;
  display: inline-block;
width: 7px;
    height: 7px;
    background-color:#3e5a87;
    border-radius: 2px;
    margin-right: 6px;
}
.article .section h4:first-child {
    margin: 0 0 20px;
}
.article .section h4 i {
    margin-right: 10px;
    vertical-align: middle;
}
.article .section h5 {
    margin: 30px 0 20px;
    line-height: 1.1;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}
.article .section p {
    margin: 0 0 20px;
}
.article .section .alert > ul {
    list-style: disc;
}
.article .section .alert > ul > li {
    margin: 0 0 0 20px;
}

/* section-list */
.article .section ul.section-list {
    margin: 0 0 20px 20px;
    padding: 0;
    list-style: disc;
}
.article .section ol.section-list {
    margin: 0 0 20px 20px;
    padding: 0;
    list-style: decimal;
}
.article .section .section-list > li {
    margin: 0 0 10px;
}
.article .section ul.section-list > li li,
.article .section ol.section-list > li li {
    margin: 0 0 2px;
}
/* info-list */
.article .section ul.info-list {
    margin: 0 0 20px;
    padding: 0;
}
.article .section ol.info-list {
    margin: 0 0 20px;
    padding: 0;
    list-style: decimal;
}
.article .section .info-list > li {
    margin: 0 0 5px;
}
.article .section ul.section-list > li li,
.article .section ol.section-list > li li {
    margin: 0 0 2px;
}

/* table style */
.article .section .table {
    border-bottom: 1px solid #dee2e6;
}
.article .section .table th {
    text-align: center;
}
.article .section .table tbody th {
    background-color: #f7f7f7;
}
.article .section .table th,
.article .section .table td {
    vertical-align: middle;
    border: 1px solid #dfdfdf;
}
.article .section .table th.db-border-left,
.article .section .table td.db-border-left {
    border-left: 3px double #dfdfdf;
}

/* highlight */
.highlight-pink {
    color: #fd367e;
}

/* buttons */
.btn-area {
    padding: 30px 0;
    text-align: center;
}
.btn-area .btn {
    margin: 0 10px;
    border-radius: 2px;
}
.btn-area .btn i {
    margin: 0 6px 0 0;
}
.btn-print {
    background-color: #458dd5;
    color: #fff;
    border-color: #458dd5;
}
.btn-print:hover,
.btn-print:focus,
.btn-print:active {
    background-color: #2e73b9;
    color: #ffffff;
    border-color: #2e73b9;
}
.btn-print i {
    display: inline-block;
    margin-right: 5px;
}

/* forms */
.element-inline {
    display: inline-block;
    width: 200px;
}

 /*******************************************************************
	includes style
******************************************************************* */
/* subspot-area */
.subspot-area {
    height: 160px;
    border-bottom: 1px solid #999;
    background: #fff url(../images/bg/bg_main_highlight_01.jpg) center -40px no-repeat;
    background-size: cover;
}
.subspot-area h3 {
    height: 160px;
}
.subspot-area h2 {
    margin: 0 0 20px;
    text-align: right;
}
.subspot-area h2 .title1 {
    display: block;
    margin: 0 0 8px;
    padding-top: 40px;
    font-size: 18px;
    color: #fff;
    color: rgba(255,255,255,0.85);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.35);
}
.subspot-area h2 .title2 {
    display: block;
    font-weight: 500;
    font-size: 36px;
    color: rgba(255,255,255,0.85);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.45);
}

/* breadcrumb-area (서브페이지 상단 배너 영역) */
.breadcrumb-area {
    position: relative;
    min-height: 130px;
    height: auto;
    line-height: normal;
    padding: 35px 0;
    margin-bottom: 40px;
    background:  url(../images/bg/sub_banner04.jpg) right 63% no-repeat;

    background-size: cover;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e9edf3;
    overflow: hidden;
}


.breadcrumb-area .inner-wrap {
    position: relative;
    z-index: 2;
    height: auto;
    width: 1200px;
    margin: 0 auto;
}

.breadcrumb-banner-wrap {
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    width: 100%;
}

.breadcrumb-banner-wrap .sub-title-area {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
}

.breadcrumb-banner-wrap .sub-title {
    margin: 0;
    padding: 0;
    font-size: 28px;
    font-weight: 800;
    color: #000;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.breadcrumb-banner-wrap .sub-desc {
    margin: 8px 0 0 0;
    padding: 0;
    font-size: 14px;
       color: #000;
    line-height: 1.5;
    letter-spacing: -0.3px;
    word-break: keep-all;
}

.breadcrumb-banner-wrap .breadcrumb-nav {
    flex: 0 0 auto;
}

.breadcrumb-area ul {
    display: none;
    /*display: inline-flex;*/
    align-items: center;
    justify-content: flex-end;
    height: auto;
    min-height: 36px;
    margin: 0;
    padding: 8px 18px;
    list-style: none;
    background-color: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
}

.breadcrumb-area ul li {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1;
    margin: 0;
    padding: 0;
}

.breadcrumb-area ul li i {
    font-size: 11px;
}

.breadcrumb-area ul li.home a {
    color: rgba(255, 255, 255, 0.8);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-area ul li.home a:hover {
    color: #ffffff;
}

.breadcrumb-area ul li.divline {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.4);
    display: inline-flex;
    align-items: center;
}

.breadcrumb-area ul li.depth1 {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-area ul li.depth1 a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-area ul li.depth1 a:hover {
    color: #ffffff;
}

.breadcrumb-area ul li.current {
    color: #ffffff;
    font-weight: 700;
}

 /*******************************************************************
	도서안내
******************************************************************* */
.book-list {
    margin: 20px 0 50px;
}
.book-list > li {
    display: block;
    float: left;
    width: 176px;
    margin: 0 20px 0 0;
}
.book-list > li:last-child {
    margin: 0;
}
.book-list > li span.cover {
    display: block;
    width: 176px;
    height: 240px;
    margin: 0 0 10px;
    border: 1px solid #dfdfdf;
    background-color: #eee;
}
.book-list > li span.title  {
    display: block;
    width: 176px;
    text-align: center;
}
.book-list > li a.btn  {
    display: block;
    width: 100%;
    margin: 8px 0 0;
    text-align: center;
    color: #333;
    border: 1px solid #dfdfdf;
    background-color: #fafafa;
}
.book-list > li a.btn:hover  {
    color: #2669a3;
    border: 1px solid #2669a3;
    background-color: #fff;
}

.label-book {
    position: relative;
    top: -4px;
    display: inline-block;
    margin: 0;
    padding: 4px 6px 3px;
    text-align: center;
    line-height: 1;
    font-weight: normal;
    font-size: 11px;
    color: #fff;
    border-radius: 2px;
    background-color: #ccc;
}
.order-check-area .label-book {
    top: 0;
    margin-right: 2px;
}
.cart-area .label-book {
    top: 0;
    margin-right: 2px;
}
.label-book.ebook {
    background-color: #FF8080;
}
.label-book.pbook {
    background-color: #0A82E4;
}
a.book-title {
    display: block;
    margin: 0;
    font-weight: bold;
    color: #183680;
}
a.book-title:hover {
    display: block;
    margin: 0;
    color: #0A82E4;
}


p.more-info {
    margin: 10px 0 0 !important;
}
p.more-info a {
    padding: 2px 6px;
    text-align: center;
    font-size: 12px;
    color: #33f;
    border: 1px solid #ccc;
    border-radius: 2px;
}
    p.more-info.pbook a {
        color: #0F85E0;
        border: 1px solid #0F85E0;
    }
    p.more-info.ebook a {
        color: #FE7F81;
        border: 1px solid #FE7F81;
    }
p.more-info a i {
    margin: 0 0 0 5px;
}


.book-info .label-book {
    top: 0;
}
.book-info li.more-info {
    margin: 0 0 40px !important;
    list-style: none !important;
}
    .book-info li.more-info a {
        padding: 2px 6px;
        text-align: center;
        font-size: 12px;
        color: #33f;
        border: 1px solid #ccc;
        border-radius: 2px;
    }

    .book-info li.more-info.pbook a {
        color: #0F85E0;
        border: 1px solid #0F85E0;
    }

    .book-info li.more-info.ebook a {
        color: #FE7F81;
        border: 1px solid #FE7F81;
    }

    .book-info li.more-info a i {
        margin: 0 0 0 5px;
    }

 /*******************************************************************
	도서구입
******************************************************************* */
.grid {
    border-collapse: collapse;
    width: 1200px;
    border-top: 1px solid #dfdfdf;
    border-bottom: 1px solid #dfdfdf;
}
.grid th {
    padding: 10px 0;
    text-align: center;
    vertical-align: middle;
    font-size: 13px;
    color: #333;
    border-bottom: 1px solid #bdbdbd;
}
.grid td {
    border-bottom: 1px solid #dfdfdf;
    padding: 10px 0;
    vertical-align: middle;
}
.grid tr:last-child td {
    border-bottom: 0;
}

.head {
    background-color: #f3f3f3;
    font-weight: bold;
    color: #FFF;
}
.alt {
    background-color: #fafafa;
    color: #000;
}
.grid tfoot td {
    padding: 10px 0;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    color: #de5344;
    border-top: 1px solid #ccc;
}
.grid tfoot td {
    background-color: #f8f8f8;
}
.grid tfoot td * {
    margin: 0 5px;
}
.grid tfoot td a {
    text-decoration: none;
    color: #4d4d4d;
}
.grid tfoot td a:hover {
    color: #de5344;
}
.list-info {
    margin: 10px 0 20px;
}
.grid .btn-order {
    width: 80px;
    height: 25px;
    margin: 3px 0;
    padding: 0;
    line-height: 24px;
    font-size: 12px;
    border-radius: 2px;
}


.col1 {
    width: 150px;
    text-align: center;
    font-size: 16px;
}
.col2 {
    width: auto;
    text-align: left;
}
.col3 {
    width: 120px;
    text-align: center;
}
.col4 {
    width: 120px;
    text-align: center;
}
.col5 {
    width: 140px;
    text-align: center;
}
.col6 {
    width: 120px;
    text-align: center;
}

/* ==========================================================================
   도서 목록 필터 영역 (book-filter-container) 스타일
   ========================================================================== */

/* 1행: 도서 유형 (.book-list-btn) - 세그먼트 아이콘 탭 바 */
.book-list-btn {
    width: 100%;
    display: inline-flex !important;
    align-items: stretch;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.book-list-btn.btn-group {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    vertical-align: middle;
}

.book-list-btn .btn {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
   width: 25%;
    padding: 12px 22px 10px;
    margin: 0 !important;
    border: none !important;
    border-right: 1px solid #f1f5f9 !important;
    border-radius: 0 !important;
    background-color:#f8fafc;
    color: #475569;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none !important;
    line-height: normal;
    transition: all 0.2s ease;
}

.book-list-btn .btn:last-child {
    border-right: none !important;
}

.book-list-btn .btn input[type="radio"] {
    display: none;
}

.book-list-btn .btn i {
    font-size: 22px;
    margin-bottom: 5px;
    color: #475569;
    transition: color 0.2s ease;
}

.book-list-btn .btn span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.3px;
    white-space: nowrap;
}

/* 도서 유형 호버 */
.book-list-btn .btn:not(.active):hover {
    background-color:#daecff;
    color: #1e60d5;
}

.book-list-btn .btn:not(.active):hover i {
    color: #1e60d5;
}

/* 도서 유형 활성화 */
.book-list-btn .btn.active {
    background-color: #003189 !important;
    color: #ffffff !important;
}

.book-list-btn .btn.active i {
    color: #ffffff !important;
}

.book-list-btn .btn.active span {
    color: #ffffff !important;
}

/* 2행: 도서 분야 (.book-list-tab) - 알약 버튼 (Pill) */
.book-list-tab {
    width: 100%;
    display:flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    border: none;
    background: transparent;
    box-shadow: none;
}

.book-list-tab > li {
    flex: 1 1 0;
    min-width: 0;
    float: none;
    margin: 0;
    padding: 0;
    list-style: none;
    border: none;
}

.book-list-tab > li > a {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.3px;
    border-radius: 30px !important;
    border: 1px solid #e2e8f0;
    background-color:#f8fafc;
    color: #475569;
    cursor: pointer;
    box-shadow: none;
    margin: 0;
    line-height: 1.4;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* 도서 분야 호버 */
.book-list-tab > li:not(.active) > a:hover {
    border-color: #94a3b8;
    background-color:#daecff;;
    color: #1e293b;
    text-decoration: none;
}

/* 도서 분야 활성화 */
.book-list-tab > li.active > a {
    background-color: #1e60d5 !important;
    border-color: #1e4d97 !important;
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(30, 96, 213, 0.25);
    text-decoration: none;
}


 /*******************************************************************
	게시판 (공지사항, FAQ 등 목록 테이블)
******************************************************************* */
.article.board .info-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 28px;
    margin: 0 0 24px 0;
    background: linear-gradient(135deg, #f8faff 0%, #f1f6fe 100%);
    box-sizing: border-box;
        border-radius: 6px;
            border: 1px solid #e7ecf4;
}

.article.board .info-box .info-box-left {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    flex: 1;
}


.article.board .info-box .info-box-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.article.board .info-box .info-box-text p {
    margin: 0;
    padding: 0;
    line-height: 1.5;
    word-break: keep-all;
}

.article.board .info-box .info-main-txt {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.article.board .info-box .info-main-txt strong {
    color: #0046ad;
    font-weight: 700;
}

.article.board .info-box .info-sub-txt {
    font-size: 13.5px;
    font-weight: 400;
    color: #64748b;
    letter-spacing: -0.2px;
}

.article.board .info-box .info-sub-txt strong {
    color: #334155;
    font-weight: 600;
}

.article.board .info-box .info-box-right {
    flex-shrink: 0;
}

.article.board .info-box .info-contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    background-color: #ffffff;
    border: 1px solid #cfe0f8;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.article.board .info-box .info-contact-badge:hover {
    border-color: #0046ad;
    background-color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 70, 173, 0.12);
    text-decoration: none;
}

.article.board .info-box .info-contact-badge .badge-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #eff6ff;
    color: #165fe0;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.article.board .info-box .info-contact-badge .badge-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.25;
    gap: 2px;
}

.article.board .info-box .info-contact-badge .badge-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: -0.2px;
}

.article.board .info-box .info-contact-badge .badge-email {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.2px;
}

.article.board .info-box .info-contact-badge:hover .badge-email {
    color: #0046ad;
}

@media (max-width: 767px) {
    .article.board .info-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 16px;
        gap: 14px;
    }

    .article.board .info-box .info-box-left {
        align-items: flex-start;
        gap: 12px;
    }

    .article.board .info-box .info-box-icon {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    .article.board .info-box .info-box-right,
    .article.board .info-box .info-contact-badge {
        width: 100%;
        box-sizing: border-box;
    }
}

.tb-notice-area {
    margin-top: 10px;
    margin-bottom: 20px;
}

.article.board .section .table.tb-notice,
.table.tb-notice.tb-list {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    border: none;
    border-top: 2px solid #0046ad ;
    border-bottom: none;
    background-color: #ffffff;
}

/* 헤더 */
.table.tb-notice.tb-list thead tr.head th,
.table.tb-notice.tb-list thead th {
    padding: 15px 12px;
    background-color: rgb(239 244 252);
    color: #333;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.3px;
    text-align: center;
    vertical-align: middle;
    border-top: none;
    border-bottom: 1px solid #cbd5e1;
    border-left: none;
    border-right: none;
}

/* 행 */
.table.tb-notice.tb-list tbody tr {
    background-color: #ffffff;
    transition: background-color 0.15s ease;
}

.table.tb-notice.tb-list tbody tr.alt {
    background-color: #ffffff;
}

.table.tb-notice.tb-list tbody tr:hover {
    background-color: #f8fafc !important;
}

/* 본문 셀 */
.table.tb-notice.tb-list tbody td {
    padding: 16px 12px;
    vertical-align: middle;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
    font-size: 14px;
    letter-spacing: -0.2px;
}

/* 각 열 너비 및 정렬 */
.board .col1 {
    width: 80px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
}

.board .col2 {
    width: auto;
    text-align: left;
    padding-left: 20px;
    font-size: 15px;
}

.board .col2 a.link {
    display: inline-block;
    max-width: 100%;
    color: #1e293b;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.15s ease;
    word-break: break-all;
}

.table.tb-notice.tb-list tbody tr:hover .col2 a.link {
    color: #1e60d5;
}

.board .col3 {
    width: 75px;
    text-align: center;
}

.board .col3 i.icon,
.board .col3 .ion-md-attach {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background-color: #f1f5f9;
    color: #64748b;
    font-size: 14px;
    transition: all 0.2s ease;
}

.board .col3 .ion-md-attach::before {
    font-family: 'Font Awesome 5 Free';
    content: '\f0c6'; /* fa-paperclip */
    font-weight: 900;
    font-style: normal;
}

.table.tb-notice.tb-list tbody tr:hover .col3 i.icon {
    background-color: #eff6ff;
    color: #1e60d5;
}

.board .col4 {
    width: 85px;
    text-align: center;
    font-size: 13px;
    color: #64748b;
}

.board .col5 {
    width: 130px;
    text-align: center;
    font-size: 13px;
    color: #64748b;
}

/*******************************************************************
	게시판 상세 (postView 테이블)
******************************************************************* */
.article.board-detail .section .table.tb-notice,
.table.tb-notice.article .section .table.tb-view,
.article .section .table.tb-view {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    border: none;
    border-top: 1px solid #cbd5e1;
    border-bottom: 1px solid #cbd5e1;
    background-color: #ffffff;
}
.article.board-detail .section .table.tb-notice .ion-information-circled,
.table.tb-notice.article .section .table.tb-view .ion-information-circled,
.article .section .table.tb-view .ion-information-circled{
    margin-right: 5px;
}
.article .section .table.tb-view tbody tr {
    background-color: #ffffff;
}

/* 제목 행 */
.article .section .table.tb-view tbody tr:first-child th,
.article .section .table.tb-view tbody tr:first-child td {
    border-top: none;
    border-bottom: 1px solid #e2e8f0;
}

.article .section .table.tb-view tbody tr:first-child td {
    padding: 20px 24px;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.5;
    letter-spacing: -0.4px;
}

.article .section .table.tb-view tbody tr:first-child td strong {
    font-weight: 700;
    color: #0f172a;
}

/* 헤더 th (제목, 조회수, 발행일, 첨부파일) */
.article .section .table.tb-view th {
    width: 120px;
    min-width: 110px;
    padding: 15px 16px;
    background-color:rgb(240 247 255) !important;
    color: #475569 !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.3px;
    text-align: center;
    vertical-align: middle;
    border-top: none;
    border-left: none;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

/* 일반 메타데이터 td (조회수, 발행일, 첨부파일) */
.article .section .table.tb-view td {
    padding: 14px 24px;
    vertical-align: middle;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
    font-size: 14px;
    letter-spacing: -0.2px;
}

.article .section .table.tb-view td.fs-13 {
    font-size: 13px;
    color: #64748b;
}

/* 첨부파일 다운로드 칩 버튼 */
.article .section .table.tb-view .fs-13.mg-t5.mg-b5 {
    margin: 4px 0 !important;
}

.article .section .table.tb-view .link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.article .section .table.tb-view .link:hover {
    background-color: #eff6ff;
    border-color: #93c5fd;
    color: #1e60d5;
    box-shadow: 0 2px 6px rgba(30, 96, 213, 0.12);
    text-decoration: none;
}

.article .section .table.tb-view .link i.icon {
    font-size: 14px;
    color: #1e60d5;
    margin-right: 2px;
}

.article .section .table.tb-view .link i.icon.ion-md-list-box::before {
    font-family: 'Font Awesome 5 Free';
    content: '\f15b'; /* fa-file-alt */
    font-weight: 400;
    font-style: normal;
}

/* 게시판 본문 영역 */
.article.board-detail .section .table td.article-text,
.article .section .table.tb-view td.article-text {
    padding: 40px 30px !important;
    min-height: 260px;
    font-size: 15px;
    line-height: 1.85;
    color: #1e293b;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #cbd5e1 !important;
    background-color: #ffffff;
    word-break: break-all;
}

.article .section .table.tb-view td.article-text p {
    margin-bottom: 16px;
}

.article .section .table.tb-view td.article-text p:last-child {
    margin-bottom: 0;
}

.article .section .table.tb-view td.article-text img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 6px;
}

/* 게시글 상단 정보 카드 */
.board-detail .post-view-card {
    background: #fff;
}

.board-detail .post-view-header-card {
       border-top:3px solid #0046ad;
    padding: 25px 28px 20px;
        background-color:rgb(239 244 252);
}

.board-detail .post-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.board-detail .post-title-row .title-bar {
    flex: 0 0 6px;
    align-self: stretch;
    min-height: 31px;
    border-radius: 3px;
}

.board-detail .post-title-row .post-title {
    margin: 0;
    color: #1e293b;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    word-break: keep-all;
}

.board-detail .post-meta-row,
.board-detail .post-meta-row .meta-item,
.board-detail .post-meta-row .file-pill-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.board-detail .post-meta-row {
    gap: 10px 14px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

.board-detail .post-meta-row .meta-item {
    gap: 7px;
    min-width: 0;
}

.board-detail .post-meta-row .meta-divider {
    width: 1px;
    height: 16px;
    background: #dbe4ef;
}

.board-detail .post-meta-row .icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #edf4ff;
    color: #4f8bf7;
    font-size: 12px;
}

.board-detail .post-meta-row .icon-clip {
    color: #7189ab;
    font-size: 14px;
}

.board-detail .post-meta-row .meta-value {
    color: #475569;
}

.board-detail .post-meta-row .meta-view .meta-value {
    font-weight: 700;
}

.board-detail .post-meta-row .file-pill-list {
    gap: 6px;
}

.board-detail .post-meta-row .file-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    padding: 7px 13px;
    border-radius: 10px;
    background: #eff5ff;
    color: #2563eb;
    text-decoration: none;
    white-space: nowrap;
}

.board-detail .post-meta-row .file-pill:hover {
    background: #e2edff;
    color: #174ab4;
    text-decoration: none;
}

.board-detail .post-meta-row .file-name {
    overflow: hidden;
    text-overflow: ellipsis;
}

.board-detail .post-meta-row .file-size {
    flex: none;
    color: #64748b;
}

.board-detail .post-content-area {
    min-height: 260px;
    padding: 25px 30px;
    color: #1e293b;
    font-size: 15px;
    line-height: 1.85;
    overflow-wrap: break-word;
    border-bottom: 1px solid #e5edf7;
    border-top: 1px solid #e5edf7;
}

.board-detail .post-content-area img {
    max-width: 100%;
    height: auto;
}

@media screen and (max-width: 767px) {
    .board-detail .post-view-header-card {
        padding: 18px 16px;
    }

    .board-detail .post-title-row .post-title {
        font-size: 18px;
    }

    .board-detail .post-meta-row {
        gap: 8px 10px;
    }

    .board-detail .post-meta-row .meta-divider {
        display: none;
    }

    .board-detail .post-content-area {
        min-height: 180px;
        padding: 24px 16px;
        font-size: 14px;
    }
}

/* view-page list area */
.list-button-area {
    display: flex;
    align-items: stretch;
    gap: 16px;
    margin-top: 36px;
    margin-bottom: 20px;
    box-sizing: border-box;
}
.list-button-area::after {
    display: none;
}
.list-area {
    flex: 1;
    min-width: 0;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.list-button-area .prev-list,
.list-button-area .next-list {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

.list-button-area .prev-list {
    border-bottom: 1px solid #f1f5f9;
}

.list-button-area .next-list {
    border-top: 0;
}

.list-button-area .prev-list:hover,
.list-button-area .next-list:hover {
    background-color: #f8fafc;
}

.list-button-area .title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 95px;
    min-width: 95px;
    height: 100%;
    min-height: 48px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    letter-spacing: -0.3px;
    background-color:#eff4fc;
    border-right: 1px solid #e2e8f0;
    box-sizing: border-box;
    user-select: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.list-button-area .prev-list .title::before {
    content: '\f106';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 12px;
    color: #94a3b8;
    transition: color 0.2s ease, transform 0.2s ease;
}

.list-button-area .next-list .title::before {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 12px;
    color: #94a3b8;
    transition: color 0.2s ease, transform 0.2s ease;
}

.list-button-area .prev-list:hover .title,
.list-button-area .next-list:hover .title {
    color: #1e60d5;
    background-color: #f1f5f9;
}

.list-button-area .prev-list:hover .title::before {
    color: #1e60d5;
    transform: translateY(-1px);
}

.list-button-area .next-list:hover .title::before {
    color: #1e60d5;
    transform: translateY(1px);
}

.list-button-area .con-text {
    flex: 1;
    min-width: 0;
    padding: 0 18px;
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

.list-button-area .con-text a {
    display: inline-block;
    max-width: 100%;
    color: #334155;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    transition: color 0.15s ease;
}

.list-button-area .con-text a:hover {
    color: #1e60d5;
    text-decoration: none;
}

.list-btn-area {
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
}

.list-btn-area a,
.list-btn-area a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 110px;
    min-height: 97px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    outline: none;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.list-btn-area a::before,
.list-btn-area a.button::before {
    content: '\f03a';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 14px;
    color: #64748b;
    transition: color 0.2s ease;
}

.list-btn-area a:hover,
.list-btn-area a.button:hover {
    color: #ffffff;
    background-color: #1e60d5;
    border-color: #1e60d5;
    box-shadow: 0 4px 12px rgba(30, 96, 213, 0.25);
    transform: translateY(-1px);
}

.list-btn-area a:hover::before,
.list-btn-area a.button:hover::before {
    color: #ffffff;
}

/* 페이징 (Paging) */
.paging {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 36px 0 20px;
    font-size: 0;
}

.paging > .current,
.paging > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    border-radius: 8px;
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.paging > .current {
    color: #ffffff !important;
    background-color: #1e60d5 !important;
    border: 1px solid #1e60d5 !important;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(30, 96, 213, 0.25);
}

.paging > a {
    color: #475569;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
}

.paging > a:hover {
    color: #1e60d5;
    background-color: #f8fafc;
    border-color: #cbd5e1;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.paging > a i.fa {
    font-size: 12px;
    color: #64748b;
    transition: color 0.2s ease;
}

.paging > a:hover i.fa {
    color: #1e60d5;
}

/*******************************************************************
	비회원주문조회
******************************************************************* */
.order-check-area .col1 {
    width: 10%;
    text-align: center;
}
.order-check-area .col2 {
    width: 10%;
    text-align: center;
}
.order-check-area .col3 {
    width: 15%;
    text-align: center;
}
.order-check-area .col4 {
    width: 20%;
    text-align: center;
}
.order-check-area .col5 {
    width: 10%;
    text-align: center;
}
.order-check-area .col6 {
    width: 10%;
    text-align: center;
}
.order-check-area .col7 {
    width: auto;
    text-align: center;
}

/*******************************************************************
	주문조회 리스트 (paidBookList)
******************************************************************* */
.paid-order-grid {
    width: 100% !important;
    max-width: 100% !important;
    border-top: 2px solid #0046ad;
    border-bottom: 1px solid #cbd5e1;
    background-color: #ffffff;
    border-collapse: collapse;
    margin:0px 0 30px;
}

.paid-order-grid th {
  background-color: rgb(239 244 252);
    color: #333;
    font-size: 14px;
    font-weight: 700;
    padding: 13px 10px;
    border-bottom: 1px solid #cbd5e1;
    text-align: center;
    vertical-align: middle;
    letter-spacing: -0.3px;
}

.paid-order-grid td {
    padding: 14px 10px;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
    vertical-align: middle;
    font-size: 14px;
    color: #334155;
}

.paid-order-grid tr:hover td {
    background-color: #f8fafc;
}

/* 컬럼 너비 */
.paid-order-grid .col-date {
    width: 16%;
}

.paid-order-grid .col-delivery {
    width: 26%;
}

.paid-order-grid .col-paymethod {
    width: 20%;
}

.paid-order-grid .col-paystatus {
    width: 18%;
}

.paid-order-grid .col-orderdoc {
    width: 20%;
}

/* 주문일 텍스트 */
.order-date-text {
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
    letter-spacing: -0.2px;
}

/* 배송상태 라벨 뱃지 */
.delivery-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    border-radius: 20px;
    border: 1px solid transparent;
    letter-spacing: -0.3px;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.delivery-status-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 7px;
    background-color: currentColor;
}

/* 1: 주문 확인중 (블루) */
.delivery-status-badge.status-1 {
    background-color: #eff6ff;
    color: #1e60d5;
    border-color: #bfdbfe;
}

/* 2: 배송준비중 (오렌지/앰버) */
.delivery-status-badge.status-2 {
    background-color: #fff7ed;
    color: #c2410c;
    border-color: #fed7aa;
}

/* 3: 배송완료 (그린) */
.delivery-status-badge.status-3 {
    background-color: #f0fdf4;
    color: #15803d;
    border-color: #bbf7d0;
}

/* 0: 결제전 (그레이) */
.delivery-status-badge.status-0 {
    background-color: #f1f5f9;
    color: #64748b;
    border-color: #cbd5e1;
}

/* 기타 fallback */
.delivery-status-badge {
    background-color: #f8fafc;
    color: #475569;
    border-color: #e2e8f0;
}

/* 배송 송장정보 */
.delivery-send-info {
    font-size: 12px;
    color: #64748b;
    margin-top: 5px;
    line-height: 1.3;
    word-break: break-all;
}

/* 결제방법 텍스트 */
.pay-method-text {
    color: #475569;
    font-weight: 500;
}

/* 결제상태 텍스트 */
.pay-status-text {
    font-weight: 600;
    font-size: 13.5px;
}

.pay-status-text.pay-status-done {
    color: #0b3290;
}

.pay-status-text.pay-status-wait {
    color: #d97706;
}

.pay-status-text.pay-status-cancel {
    color: #dc2626;
}

/* 주문서 보기 버튼 */
.paid-order-grid .btn-order-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #0b3290;
    background-color: #f0f4fc;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    line-height: 1.4;
    cursor: pointer;
}

.paid-order-grid .btn-order-view:hover {
    background-color: #0b3290;
    color: #ffffff !important;
    border-color: #0b3290;
    box-shadow: 0 2px 6px rgba(11, 50, 144, 0.25);
}

.terms-area {

}
.terms-area .terms {
    overflow-y: scroll;
    width: 100%;
    height: 200px;
    margin: 0 0 10px;
    padding: 20px;
    border: 1px solid #dfdfdf;
    border-radius: 4px;
}
.captcha {
    width: 300px;
    margin: 5px 0 0;
}

/*******************************************************************
    도서 상세정보
******************************************************************* */
.book-detail-area {
    padding-bottom: 30px;
    border-bottom: 1px solid #dfdfdf;
}

/* book-info-area */
.book-info-area {
    display: flex;
    align-items: stretch; 
    gap: 60px;
    width: 100%;
    margin: 40px 0;
}

/* 도서 표지 영역 */
.book-info-area .book-cover {
    flex: 0 0 340px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 30px;
    border-radius: 8px;
    box-sizing: border-box;
    margin: 0;
}

.book-info-area .book-cover img {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16), 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* 도서 상세정보 우측 영역 */
.book-info-area .book-info {
    flex: 1;
    min-width: 0;
}

/* 상단 뱃지 및 제목 영역 */
.book-info-area .book-info .book-header {
    margin-bottom: 15px;
}

.book-info-area .book-info .label-book {
    display: inline-block;
    top: 0;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    border-radius: 3px;
    margin-bottom: 8px;
    background-color: #f1f5f9;
    color: #475569;
}

.book-info-area .book-info .label-book.cat-general {
    background-color: #e0f2fe;
    color: #0284c7;
}

.book-info-area .book-info .label-book.cat-special {
    background-color: #eef2ff;
    color: #4f46e5;
}

.book-info-area .book-info .label-book.cat-etc {
    background-color: #f1f5f9;
    color: #475569;
}

.book-info-area .book-info .label-book.pbook {
    background-color: #e2edfb;
    color: #2e629c;
}

.book-info-area .book-info .label-book.ebook {
    background-color: #feebe8;
    color: #dc3545;
}

.book-info-area .book-info .book-title {
    margin: 0;
    font-size: 25px;
    font-weight: 800;
    color: #1e2837;
    line-height: 1.35;
    letter-spacing: -0.5px;
    word-break: keep-all;
    text-align: left;
}

/* 빨간 박스 영역 (도서 세부 정보 박스) */
.book-info-area .book-info .book-info-box {
    background-color: #ffffff;
    border-radius: 8px;
    padding:  7px 0px;
    margin-bottom: 24px;
    box-sizing: border-box;
}

.book-info-area .book-info .book-info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.book-info-area .book-info .book-info-box ul li {
list-style: none;
    display: flex;
    align-items: center;
    font-size: 15px;
    line-height: 1.5;
    color: #334155;
    margin: 3px 0 3px 0;
    border-bottom: 1px dashed #efefef;
    padding: 4px 0;
}

.book-info-area .book-info .book-info-box ul li:last-child {
    margin-bottom: 0;
    border-bottom:none;
}

.book-info-area .book-info .book-info-box ul li .info-tit {
    flex: 0 0 90px;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
}

.book-info-area .book-info .book-info-box ul li .info-val {
    flex: 1;
    color: #1e293b;
    font-weight: 500;
    font-size: 15px;
}

.book-info-area .book-info .book-info-box ul li .info-val.price {
    color: #64748b;
    font-size: 14px;
}

.book-info-area .book-info .book-info-box ul li .info-val.discount-price {
    color: #2563eb;
    font-weight: 700;
    font-size: 16px;
}

.book-info-area .book-info .book-info-box ul li .info-val.discount-price .rate {
    color: #dc2626;
    font-size: 14px;
    font-weight: 600;
    margin-left: 4px;
}

/* 관련 도서 링크 */
.book-info-area .book-info .book-info-box ul li.more-info {
    margin: 14px 0 0 0 !important;
    display: block;
}

.book-info-area .book-info .book-info-box ul li.more-info a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.book-info-area .book-info .book-info-box ul li.more-info.pbook a {
    color: #2563eb;
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
}

.book-info-area .book-info .book-info-box ul li.more-info.pbook a:hover {
    background-color: #dbeafe;
}

.book-info-area .book-info .book-info-box ul li.more-info.ebook a {
    color: #dc2626;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
}

.book-info-area .book-info .book-info-box ul li.more-info.ebook a:hover {
    background-color: #fee2e2;
}

/* 하단 버튼 영역 */
.book-info-area .book-info .btn-purchase {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
}

/* 장바구니 담기 버튼 (스크린샷 스타일 반영) */
.book-info-area .book-info .btn-purchase .btn.btn-success {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 36px;
    min-height: 44px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background-color: #1e60d5 ;
    border: 1px solid #315d8f;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
}

.book-info-area .book-info .btn-purchase .btn.btn-success:hover {
     background-color:#0d4ab7;
    border-color:#0d4ab7;
}

/* 구매 버튼 */
.book-info-area .book-info .btn-purchase .btn.btn-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 163px;
    padding: 12px 36px;
    min-height: 44px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background-color: #173258;
    border: 1px solid #173258;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-sizing: border-box;
}

.book-info-area .book-info .btn-purchase .btn.btn-primary:hover {
    background-color: #0f2442;
    border-color: #0f2442;
    color: #ffffff;
}

/* 보조 버튼들 */
.book-info-area .book-info .btn-purchase .btn.btn-warning {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    min-height: 44px;
    font-size: 15px;
    font-weight: 500;
    color: #334155;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.book-info-area .book-info .btn-purchase .btn.btn-warning:hover {
    background-color: #f1f5f9;
}

.book-info-area .book-info .btn-purchase .btn.btn-default {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    min-height: 44px;
    font-size: 15px;
    font-weight: 500;
    color: #334155;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.book-info-area .book-info .btn-purchase .btn.btn-default:hover {
    background-color: #f8fafc;
}

.book-info-area .book-info .btn-purchase .btn.btn-danger {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 28px;
    min-height: 44px;
    font-size: 15px;
    font-weight: 600;
    color: #dc2626;
    background-color: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 6px;
}

/* ==========================================================================
   도서 상세 책 소개 / 목차 탭 영역 (.book-detail)
   ========================================================================== */
.book-detail {
    width: 100%;
    margin: 50px 0 30px;
    box-sizing: border-box;
}

/* 탭 메뉴 상단 바 */
.book-detail-tabs {
    width: 100%;
    border-top: 2px solid #666666;
    border-bottom: 1px solid #dcdcdc;
    background-color: #f8f9fa;
    box-sizing: border-box;
    position: relative;
}

.book-detail-tabs .tab-list {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

.book-detail-tabs .tab-item {
    flex: 1;
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
    position: relative;
    border-left: 1px solid #dcdcdc;
}

.book-detail-tabs .tab-item:last-child {
    border-right: 1px solid #dcdcdc;
}

.book-detail-tabs .tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    margin: 0;
    padding: 0 16px;
    font-size: 16px;
    font-weight: 500;
    color: #777777;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    box-sizing: border-box;
    letter-spacing: -0.3px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.book-detail-tabs .tab-item:not(.active) .tab-btn:hover {
    color: #222222;
    background-color: #f1f3f5;
}

/* 활성 탭 (Active Tab) - 스크린샷 디자인 반영 */
.book-detail-tabs .tab-item.active {
    background-color: #ffffff;
    margin-bottom: -1px;
    border-bottom: 1px solid #ffffff;
    z-index: 2;
}

.book-detail-tabs .tab-item.active .tab-btn {
    font-weight: 700;
    color: #111111;
    cursor: default;
}

/* 탭 본문 내용 영역 */
.book-detail-contents {
    width: 100%;
    background-color: #ffffff;
    box-sizing: border-box;
}

.book-detail-contents .book-tab-pane {
    display: none;
    padding: 35px 15px 40px;
    box-sizing: border-box;
}

.book-detail-contents .book-tab-pane.active {
    display: block !important;
}

.book-detail-contents .book-tab-pane:not(.active) {
    display: none !important;
}

/* 본문 텍스트 스타일 - 스크린샷 가독성 및 자간/행간 반영 */
.book-detail .detail-body-text {
    font-size: 15px;
    line-height: 1.85;
    color: #333333;
    word-break: keep-all;
    word-wrap: break-word;
    letter-spacing: -0.3px;
}

.book-detail .detail-body-text p {
    margin: 0 0 18px;
    line-height: 1.85;
}

.book-detail .detail-body-text strong,
.book-detail .detail-body-text b {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    line-height: 1.65;
    margin-bottom: 14px;
}

.book-detail .detail-body-text.intro-text {
    white-space: pre-wrap;
}

.book-detail .detail-body-text.index-text {
    white-space: pre-line;
    line-height: 1.9;
}

/* 데이터 없음 안내 */
.book-detail .detail-empty-text {
    padding: 60px 20px;
    text-align: center;
    color: #888888;
    font-size: 15px;
    background-color: #fcfcfc;
    border: 1px solid #ebebeb;
    border-radius: 6px;
    margin: 10px 0;
}

.book-detail .detail-empty-text i {
    display: block;
    font-size: 28px;
    color: #b0b0b0;
    margin-bottom: 12px;
}

.book-detail .detail-empty-text p {
    margin: 0;
    line-height: 1.5;
    color: #777777;
    font-size: 15px;
}

/*delivery-fee-box*/
.delivery-fee p {
    margin: 0 0 10px !important;
	padding-left: 15px;
	text-indent: -15px;
}
.delivery-fee-box {
    background-color:#effcfe;
    border: 1px solid #d6f6fc;
}
.delivery-fee-box p {
    margin: 0 0 10px !important;
	padding-left: 15px;
	text-indent: -15px;
}
.delivery-fee-box table {
    background-color: #fff;
}

/* ==========================================================================
   도서 목록 레이아웃 (가로형 리스트 + 좌측 사이드바 필터)
   ========================================================================== */
.book-list-layout {
    display: flex;
    align-items: flex-start;
    gap: 36px;
    margin: 20px 0 50px;
    width: 100%;
    box-sizing: border-box;
}

/* 좌측 사이드바 필터 영역 (.book-filter-container) */
.book-filter-container {
    width: 225px;
    flex-shrink: 0;
    background-color: #ffffff;
    border-radius: 8px;
    box-sizing: border-box;
    margin: 0;
}

.book-category-nav .cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.book-category-nav .cat-item {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 대분류 카테고리 버튼 (.cat-btn) */
.book-category-nav .cat-btn {
    display: block;
    padding: 9px 14px;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
    line-height: 1.4;
    letter-spacing: -0.3px;
        background: #f5f5f5;
}

.book-category-nav .cat-btn:hover {
    background-color: #f1f5f9;
    color: #1e60d5;
    text-decoration: none;
}

/* 대분류 활성화 상태 (캡쳐화면 버튼 스타일) */
.book-category-nav .cat-btn.active {
    background-color: #0046ad;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(43, 132, 234, 0.25);
    text-decoration: none;
}

/* 하위 카테고리 영역 (PC/태블릿 기본: 노출) */
.book-category-nav .subcat-container {
    display: block;
    padding: 10px 0 6px 14px;
    background: #fcfcfc;
}

.book-category-nav .subcat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.book-category-nav .filter-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
    user-select: none;
}

.book-category-nav .filter-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    pointer-events: none;
}

/* 커스텀 체크박스 */
.book-category-nav .custom-checkbox {
    width: 15px;
    height: 15px;
    border: 1.5px solid #cbd5e1;
    border-radius: 3px;
    background-color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.book-category-nav .filter-label:hover .custom-checkbox {
    border-color: #1e60d5;
}

.book-category-nav .filter-label input[type="checkbox"]:checked + .custom-checkbox {
    background-color: #2b84ea;
    border-color: #2b84ea;
}

.book-category-nav .filter-label input[type="checkbox"]:checked + .custom-checkbox::after {
    content: "";
    display: block;
    width: 4px;
    height: 8px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.book-category-nav .filter-text {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.4;
    transition: color 0.15s ease;
}

.book-category-nav .filter-label:hover .filter-text {
    color: #1e60d5;
}

.book-category-nav .filter-label input:checked ~ .filter-text {
    color: #1e293b;
    font-weight: 600;
}

.book-category-nav .filter-count {
    font-size: 12px;
    color: #80888a;
    margin-left: 4px;
}

/* 우측 본문 영역 */
.book-list-main-wrap {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* 우측 본문 카테고리 헤더 영역 */
.book-list-main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 16px 0;
    margin-bottom: 8px;
    border-bottom: 2px solid #1e293b;
}

.book-list-main-header .list-title-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.book-list-main-header .current-cat-title {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.book-list-main-header .subcat-badge-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.book-list-main-header .subcat-badge {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: #2b84ea;
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 2px 10px;
    border-radius: 20px;
    line-height: 1.4;
}

.book-list-main-header .search-keyword-badge {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    background-color: #f1f5f9;
    padding: 2px 10px;
    border-radius: 20px;
    line-height: 1.4;
}

.book-list-main-header .list-count-wrap {
    font-size: 14px;
    color: #64748b;
    white-space: nowrap;
}

.book-list-main-header .list-count-wrap .total-count {
    color: #2b84ea;
    font-weight: 700;
    font-size: 15px;
}

.book-card-list-area {
    width: 100%;
    margin: 0 0 30px;
}

/* 가로형 도서 카드 리스트 */
.book-card-grid.horizontal-list {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
    padding: 0;
}

/* 가로형 도서 카드 아이템 */
.book-card-item.horizontal-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 22px 0px;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    gap: 24px;
    width: 100% !important;
}


/* 1. 표지 영역 (책목업 Book Mockup 스타일) */
.book-card-item.horizontal-item .card-cover-wrap {
    width: 124px;
    height: 168px;
    flex-shrink: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6px 10px 6px 4px;
}

.book-card-item.horizontal-item .card-cover-wrap .cover-link {
    display: block;
    position: relative;
    width: 108px;
    height: 154px;
    border-radius: 2px 8px 8px 2px;
    background-color: #ffffff;
    text-decoration: none;
    /* 우측 종이 페이지 단면(Paper Edge) 및 3D 입체 드롭 섀도우 */
    box-shadow: 
        1px 0 0 #f8fafc,
        2px 0 0 #e2e8f0,
        3px 1px 1px rgba(0, 0, 0, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.08),
        4px 7px 16px rgba(0, 0, 0, 0.16);
    transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 호버 시 3D 리프트 효과 */
.book-card-item.horizontal-item:hover .card-cover-wrap .cover-link,
.book-card-item.horizontal-item .card-cover-wrap .cover-link:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        1px 0 0 #f8fafc,
        2px 0 0 #e2e8f0,
        3px 1px 1px rgba(0, 0, 0, 0.08),
        0 4px 8px rgba(0, 0, 0, 0.1),
        6px 12px 22px rgba(0, 0, 0, 0.22);
}

.book-card-item.horizontal-item .card-cover-wrap .book-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 2px 8px 8px 2px;
    background-color: #ffffff;
    box-shadow: none;
}

/* 책등(Spine) 접힘선(Hinge Crease) 및 표지 입체 질감 오버레이 */
.book-card-item.horizontal-item .card-cover-wrap .cover-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 2px 8px 8px 2px;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* 표지 이미지가 없는 도서 */
.book-card-item.horizontal-item .card-cover-wrap .no-cover {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    color: #94a3b8;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    width: 100%;
    height: 100%;
    border-radius: 2px 8px 8px 2px;
}

/* 2. 도서 정보 영역 */
.book-card-item.horizontal-item .card-info-wrap {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
    background: transparent;
    border: none;
}

.book-card-item.horizontal-item .card-badge-row {
    margin-bottom: 6px;
}

.book-card-item.horizontal-item .card-badge-category {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    border-radius: 3px;
    background-color: #f1f5f9;
    color: #475569;
    letter-spacing: -0.2px;
}

.book-card-item.horizontal-item .card-badge-category.cat-general {
    background-color: #e0f2fe;
    color: #0284c7;
}

.book-card-item.horizontal-item .card-badge-category.cat-special {
    background-color: #eef2ff;
    color: #4f46e5;
}

.book-card-item.horizontal-item .card-badge-category.cat-etc {
    background-color: #f1f5f9;
    color: #475569;
}

.book-card-item.horizontal-item .card-title {
    margin: 0 0 6px 0;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.4px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    min-height: auto;
    max-height: none;
}
.book-card-item.horizontal-item .card-title:before {
    display:none;
}
.book-card-item.horizontal-item .card-title a {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.book-card-item.horizontal-item .card-title a:hover {
    color: #0b3290;
    text-decoration: underline;
}

.book-card-item.horizontal-item .card-meta {
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.book-card-item.horizontal-item .card-price-area {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.book-card-item.horizontal-item .price-origin-line {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    line-height: 1.3;
}

.book-card-item.horizontal-item .price-origin {
    color: #64748b;
    text-decoration: line-through;
}

.book-card-item.horizontal-item .price-discount-rate {
    color: #2563eb;
    font-weight: 600;
    font-size: 12px;
}

.book-card-item.horizontal-item .price-final-line {
    line-height: 1.2;
}

.book-card-item.horizontal-item .price-final {
    font-size: 17px;
    font-weight: 800;
    color: #dc2626;
    letter-spacing: -0.3px;
}

.book-card-item.horizontal-item .price-final.regular {
    color: #1e293b;
}

/* 3. 액션 버튼 영역 */
.book-card-item.horizontal-item .card-action-wrap {
    width: 150px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

.book-card-item.horizontal-item .btn-buy {
    width: 100%;
    height: 40px;
    background-color: #0046ad;
    border: 1px solid #0046ad;
    border-radius: 4px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
}

.book-card-item.horizontal-item .btn-buy:hover {
    background-color: #0b2240;
    border-color: #0b2240;
    color: #ffffff;
}

.book-card-item.horizontal-item .btn-cart {
    width: 100%;
    height: 40px;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
}

.book-card-item.horizontal-item .btn-cart:hover {
    background-color: #f8fafc;
    border-color: #94a3b8;
    color: #1e293b;
}

.book-card-item.horizontal-item .badge-soldout {
    width: 100%;
    height: 40px;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* 데이터 없음 안내 */
.no-data-wrap {
    text-align: center;
    padding: 80px 20px;
    color: #64748b;
    font-size: 16px;
    background-color: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    margin: 20px 0 40px;
}

/* ==========================================================================
   세부 페이지 SNB (알약 형태 Pill 스타일)
   ========================================================================== */

.snb-area ul.snb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0;
    padding: 5px 0 20px;
    list-style: none;
}

.snb-area ul.snb > li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.snb-area ul.snb > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 10px 28px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.3px;
    border-radius: 30px !important;
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    color: #475569;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.snb-area ul.snb > li:not(.active) > a:hover {
    border-color: #1e60d5;
    background-color: #f0f4fc;
    color: #1e60d5;
    text-decoration: none;
}

.snb-area ul.snb > li.active > a {
    background-color: #1e60d5 !important;
    border-color: #1e60d5 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(30, 96, 213, 0.28);
    text-decoration: none;
}

/*장바구니*/
        /* 장바구니 헤더 */
        .cart-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 24px;
        }
        .cart-header .cart-title {
            font-size: 28px;
            font-weight: 800;
            color: #111827;
            margin: 0;
            line-height: 1.2;
            letter-spacing: -0.5px;
        }
        .cart-header .cart-count-badge {
            font-size: 13px;
            font-weight: 500;
            color: #4b5563;
            background-color: #f1f5f9;
            padding: 4px 12px;
            border-radius: 9999px;
            line-height: 1.4;
        }
          .cart-total-bar .cart-total-price {
            font-size: 24px;
            font-weight: 800;
            color: #2563eb;
            letter-spacing: -0.5px;
            display: inline-flex;
            align-items: baseline;
        }
        .cart-total-bar .cart-total-input {
            border: none !important;
            background: transparent !important;
            font-size: 24px !important;
            font-weight: 800 !important;
            color: #2563eb !important;
            text-align: right !important;
            padding: 0 !important;
            margin: 0 4px 0 0 !important;
            outline: none !important;
            box-shadow: none !important;
            width: auto !important;
            min-width: 60px !important;
            max-width: 140px !important;
            display: inline-block !important;
            line-height: 1 !important;
        }
        /* 장바구니 카드 리스트 (.tb-notice-area) */
        .cart-list-area.tb-notice-area {
            display: flex;
            flex-direction: column;
            margin-bottom: 20px;
            overflow: visible !important;
            border: none !important;
            padding: 0 !important;
        }
        .cart-item-card {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #ffffff;
            border-bottom: 1px solid #eef2f6;
            padding: 24px 0px;
            box-sizing: border-box;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
        }
        .cart-item-card:last-child {
            border-bottom: none;
            padding-bottom:10px;
        }
        .cart-item-left {
            display: flex;
            align-items: center;
            gap: 24px;
            flex: 1;
            min-width: 0;
        }
        .cart-item-thumb {
            width: 68px;
            height: 96px;
            flex-shrink: 0;
            border-radius: 4px;
            overflow: hidden;
            background-color: #f8fafc;
            border: 1px solid #f1f5f9;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .cart-item-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .cart-item-info {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 6px;
            min-width: 0;
            padding-right: 20px;
        }
        .cart-badge {
            display: inline-block;
            padding: 3px 8px;
            font-size: 11px;
            font-weight: 600;
            border-radius: 6px;
            line-height: 1.2;
        }
        .cart-badge.badge-pbook {
            background-color: #3b82f6;
            color: #ffffff;
        }
        .cart-badge.badge-ebook {
            background-color: #0284c7;
            color: #ffffff;
        }
        .contents .cart-item-title {
            font-size: 16px;
            font-weight: 700;
            color: #111827;
            margin: 0;
            line-height: 1.4;
            word-break: keep-all;
        }
        .cart-item-author {
            font-size: 13px;
            color: #6b7280;
            margin: 0;
            line-height: 1.4;
            word-break: keep-all;
        }
        .cart-item-right {
            display: flex;
            align-items: center;
            gap: 32px;
            flex-shrink: 0;
        }
        .cart-item-price {
            font-size: 18px;
            font-weight: 700;
            color: #111827;
            min-width: 90px;
            text-align: right;
            letter-spacing: -0.3px;
        }
        .cart-qty-stepper {
            display: inline-flex;
            align-items: center;
            border: 1px solid #e5e7eb;
            border-radius: 6px;
            background: #ffffff;
            overflow: hidden;
            height: 34px;
        }
        .cart-qty-stepper .btn-qty-minus,
        .cart-qty-stepper .btn-qty-plus {
            width: 34px;
            height: 34px;
            border: none;
            background: #ffffff;
            color: #6b7280;
            font-size: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            user-select: none;
            padding: 0;
            line-height: 1;
            transition: background 0.15s, color 0.15s;
        }
        .cart-qty-stepper .btn-qty-minus:hover,
        .cart-qty-stepper .btn-qty-plus:hover {
            background: #f8fafc;
            color: #111827;
        }
        .cart-qty-stepper .cart-qty-input {
            width: 40px;
            height: 34px;
            border: none !important;
            border-left: 1px solid #e5e7eb !important;
            border-right: 1px solid #e5e7eb !important;
            text-align: center;
            font-size: 14px;
            font-weight: 600;
            color: #111827;
            background: #ffffff;
            padding: 0;
            margin: 0;
            outline: none !important;
            box-shadow: none !important;
            border-radius: 0 !important;
        }
        .cart-rental-select {
            height: 34px;
            border: 1px solid #e5e7eb;
            border-radius: 6px;
            padding: 0 10px;
            font-size: 13px;
            color: #111827;
            background: #ffffff;
            outline: none;
        }
        .cart-qty-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            height: 34px;
            padding: 0 14px;
            border: 1px solid #e5e7eb;
            border-radius: 6px;
            background: #f8fafc;
            font-size: 13px;
            font-weight: 600;
            color: #475569;
            white-space: nowrap;
        }
        .btn-cart-delete {
            border: none;
            background: transparent;
            color: #ef4444;
            font-size: 19px;
            cursor: pointer;
            padding: 6px 8px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
            transition: background 0.15s, color 0.15s;
        }
        .btn-cart-delete:hover {
            background: #fef2f2;
            color: #dc2626;
        }

        /* 하단 총 금액 영역 (.alert-info) */
        .alert.alert-info.cart-total-bar {
            background-color: #f0f7ff !important;
            border: none !important;
            border-radius: 12px !important;
            padding: 20px 32px !important;
            margin-top: 20px !important;
            margin-bottom: 40px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 16px !important;
            box-shadow: none !important;
        }
        .cart-total-bar .cart-total-label {
            font-size: 16px;
            font-weight: 600;
            color: #374151;
            letter-spacing: -0.3px;
        }
        .cart-total-bar .cart-total-divider {
            color: #cbd5e1;
            font-size: 18px;
            font-weight: 300;
            margin: 0 4px;
            user-select: none;
        }
        .cart-total-bar .cart-total-price {
            font-size: 24px;
            font-weight: 800;
            color: #2563eb;
            letter-spacing: -0.5px;
        }

        /* 빈 장바구니 */
        .cart-empty-box {
            background: #ffffff;
            border: 1px solid #eef2f6;
            border-radius: 12px;
            padding: 60px 20px;
            text-align: center;
            color: #6b7280;
            font-size: 15px;
        }

        /* 반응형 */
        @@media (max-width: 900px) {
            .cart-item-card {
                flex-direction: column;
                align-items: flex-start;
                gap: 18px;
                padding: 20px;
            }
            .cart-item-left {
                width: 100%;
                gap: 16px;
            }
            .cart-item-right {
                width: 100%;
                justify-content: space-between;
                gap: 16px;
                border-top: 1px solid #f1f5f9;
                padding-top: 14px;
            }
        }
        @media (max-width: 576px) {
            .cart-header .cart-title {
                font-size: 22px;
            }
            .cart-item-thumb {
                width: 56px;
                height: 80px;
            }
            .cart-item-title {
                font-size: 15px;
            }
            .cart-item-price {
                font-size: 16px;
                min-width: auto;
            }
            .alert.alert-info.cart-total-bar {
                padding: 18px 20px !important;
                gap: 10px !important;
            }
            .cart-total-bar .cart-total-price {
                font-size: 20px;
            }
        }
@media screen and (max-width: 768px) {
    .snb-area {
        margin: 10px 0 25px;
    }
    .snb-area ul.snb {
        gap: 8px;
    }
    .snb-area ul.snb > li > a {
        min-width: 120px;
        padding: 8px 18px;
        font-size: 13px;
    }
}

/*******************************************************************
	My eBook 리스트 (myEbookView)
******************************************************************* */
.my-ebook-grid tr.alt td {
    background-color: #ffffff;
}

.my-ebook-grid .col-cover {
    width: 120px;
    text-align: center;
}

.my-ebook-grid .col-title {
    width: auto;
    text-align: left;
    padding-left: 20px;
}

.my-ebook-grid th.col-title {
    text-align: center;
    padding-left: 10px;
}

.my-ebook-grid .col-author {
    width: 18%;
    text-align: center;
}

.my-ebook-grid .col-period {
    width: 22%;
    text-align: center;
}

.my-ebook-grid .col-view {
    width: 14%;
    text-align: center;
}

.my-ebook-grid .ebook-cover-thumb {
    width: 64px;
    height: 88px;
    margin: 0 auto;
    border-radius: 4px;
    overflow: hidden;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.my-ebook-grid .ebook-cover-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.my-ebook-grid .ebook-cover-thumb.no-cover {
    color: #94a3b8;
    font-size: 20px;
}

.my-ebook-grid .ebook-title-text {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.45;
    word-break: keep-all;
}

.my-ebook-grid .ebook-author-text {
    color: #475569;
    font-weight: 500;
    font-size: 14px;
}

.my-ebook-grid .ebook-period-days {
    margin-bottom: 4px;
}

.my-ebook-grid .ebook-period-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    border-radius: 20px;
    background-color: #eff6ff;
    color: #1e60d5;
}

.my-ebook-grid .ebook-period-badge.unlimited {
    background-color: #f0fdf4;
    color: #15803d;
}

.my-ebook-grid .ebook-period-date {
    font-size: 12.5px;
    color: #64748b;
    letter-spacing: -0.2px;
}

.my-ebook-grid .btn-ebook-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #0b3290;
    background-color: #f0f4fc;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    line-height: 1.4;
    cursor: pointer;
}

.my-ebook-grid .btn-ebook-view:hover {
    background-color: #0b3290;
    color: #ffffff !important;
    border-color: #0b3290;
    box-shadow: 0 2px 6px rgba(11, 50, 144, 0.25);
}

.my-ebook-grid .btn-ebook-expired {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    line-height: 1.4;
    cursor: pointer;
}

.my-ebook-grid td.ebook-empty-row {
    padding: 60px 20px;
    text-align: center;
    color: #64748b;
    font-size: 15px;
}

/*******************************************************************
	주문서 보기 주문 내역 테이블 (orderBookView)
******************************************************************* */
.order-view-grid .col-author {
    width: 16%;
    text-align: center;
}

.order-view-grid .col-price {
    width: 14%;
    text-align: center;
}

.order-view-grid .col-period {
    width: 18%;
    text-align: center;
}

.order-view-grid .order-book-title-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.order-view-grid .order-cat-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11.5px;
    font-weight: 800;
    line-height: 1.4;
    border-radius: 20px;
    background-color: #f1f5f9;
    color: #475569;
    letter-spacing: -0.2px;
}

.order-view-grid .order-cat-badge.cat-general {
    background-color: #e0f2fe;
    color: #0284c7;
}

.order-view-grid .order-cat-badge.cat-special {
    background-color: #eef2ff;
    color: #4f46e5;
}

.order-view-grid .order-cat-badge.cat-etc {
    background-color: #f1f5f9;
    color: #475569;
}

.order-view-grid .order-unit-price {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.2px;
}

.order-view-grid .order-qty-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    white-space: nowrap;
}

/*******************************************************************
	장바구니/결제예정 카테고리 라벨 (.cart-badge)
******************************************************************* */
.cart-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    border-radius:3px;
    background-color: #f1f5f9;
    color: #475569;
    letter-spacing: -0.2px;
}

.cart-badge.cat-general {
    background-color: #e0f2fe;
    color: #0284c7;
}

.cart-badge.cat-special {
    background-color: #eef2ff;
    color: #4f46e5;
}

.cart-badge.cat-etc {
    background-color: #f1f5f9;
    color: #475569;
}

/* 주문조회(paidBookList) 6열 균등 너비 유지 */
.paid-order-grid {
    table-layout: fixed;
}

.paid-order-grid .col-date,
.paid-order-grid .col-delivery,
.paid-order-grid .col-paymethod,
.paid-order-grid .col-paystatus,
.paid-order-grid .col-orderdoc,
.paid-order-grid .col-statement {
    width: 16.66%;
}
