@charset "UTF-8";
/* ========================================
   타임즈 관리 페이지 통합 스타일
   ======================================== */

/* ============================================
   1. 공통 스타일 (Common)
   ============================================ */

/* 타임즈 수 표시 */
.times-count-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.times-count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #555;
}

.times-count strong {
    font-size: 18px;
    color: #3A6E48;
    font-weight: 700;
}

/* 타임즈 카드 공통 */
.times-card {
    cursor: pointer;
}

/* 접수 취소 상태 */
.times-card-status.cancelled {
    color: #c62828;
}

/* 빈 상태 */
.times-empty {
    padding: 60px 20px;
    text-align: center;
    color: #888;
    font-size: 15px;
    background: #f8f9fa;
    border-radius: 12px;
}

/* ============================================
   2. 타임즈 목록 페이지 (List - times.jsp)
   ============================================ */

/* 검색 폼 */
.times-search-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 40px;
    border: 1px solid #ddd;
    border-radius: 16px;
    background: #fff;
}

/* 검색 행 */
.times-search-row {
    display: flex;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #ddd;
}

.times-search-row:last-of-type {
    border-bottom: 1px solid #ddd;
}

/* 검색 라벨 */
.times-search-label {
    width: 179px;
    flex-shrink: 0;
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #222;
    letter-spacing: -0.72px;
    line-height: 32px;
    box-sizing: border-box;
}

/* 검색 필드 영역 */
.times-search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
}

/* 텍스트 입력 */
.times-search-input {
    flex: 1;
    height: 45px;
    padding: 0 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #222;
    letter-spacing: -0.72px;
    line-height: 32px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.times-search-input:focus {
    outline: none;
    border-color: #414042;
}

.times-search-input::placeholder {
    color: #222;
    opacity: 0.4;
}

/* 셀렉트 박스 */
.times-search-select {
    width: 218px;
    height: 45px;
    padding: 0 16px;
    padding-right: 40px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #222;
    letter-spacing: -0.72px;
    line-height: 32px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%23222'%3E%3Cpath d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6z'/%3E%3C/svg%3E") no-repeat right 16px center;
    background-size: 20px;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
    opacity: 0.7;
}

.times-search-select:focus {
    outline: none;
    border-color: #414042;
}

/* 검색 버튼 영역 */
.times-search-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 0;
}

/* 초기화 버튼 */
.times-search-buttons .btn-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 40px;
    padding: 10px 25px;
    background: #fff;
    border: 1px solid #777;
    border-radius: 10px;
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #777;
    line-height: 28px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.times-search-buttons .btn-reset:hover {
    background: #f5f5f5;
    border-color: #555;
}

/* 검색 버튼 */
.times-search-buttons .btn-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    height: 40px;
    padding: 0 20px;
    background: #414042;
    border: none;
    border-radius: 10px;
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    line-height: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.times-search-buttons .btn-search:hover {
    background: #333;
}

/* ============================================
   3. 타임즈 상세 페이지 (Detail - times-detail.jsp)
   ============================================ */

/* 상세 페이지 mypage-section 스타일 */
.times-detail-title-wrap + .mypage-section {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
}

/* 상세 페이지 전체 래퍼 */
.times-detail-wrap {
    max-width: 100%;
}

/* 타이틀 영역 (뒤로가기 + 제목) */
.times-detail-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.times-public-detail-header {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.times-detail-title-wrap .mypage-content-title {
    margin-bottom: 0;
}

.times-detail-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: opacity 0.2s ease;
}

.times-detail-back-btn:hover {
    opacity: 0.7;
}

.times-detail-back-btn img {
    width: 24px;
    height: 24px;
}

/* 헤더 영역 (등록일 + 버튼) */
.times-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

/* 등록일 */
.times-detail-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #777;
    letter-spacing: -0.64px;
}

.times-detail-date svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* 액션 버튼 그룹 */
.times-detail-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.times-detail-actions .btn-edit,
.times-detail-actions .btn-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    height: 36px;
    padding: 0 16px;
    border-radius: 6px;
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.times-detail-actions .btn-edit {
    background: #fff;
    border: 1px solid #ddd;
    color: #555;
}

.times-detail-actions .btn-edit:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.times-detail-actions .btn-delete {
    background: #fff;
    border: 1px solid #c62828;
    color: #c62828;
}

.times-detail-actions .btn-delete:hover {
    background: #ffebee;
}

/* ============================================
   타임즈 상세 - Booklet 뷰어 (마이페이지)
   ============================================ */
.times-detail-booklet-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.times-detail-booklet-wrap .booklet {
    margin: 0 auto;
}

.times-detail-booklet-wrap .b-page img {
    display: block;
    width: 100%;
    height: auto;
}

/* Booklet 화살표 - 밝은 배경용 (어두운 색상) */
.times-detail-booklet-wrap .b-arrow-next div,
.times-detail-booklet-wrap .b-arrow-prev div {
    background: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.times-detail-booklet-wrap .b-arrow-next div::after,
.times-detail-booklet-wrap .b-arrow-prev div::after {
    content: '';
    width: 14px; height: 14px;
    border-top: 3px solid rgba(0,0,0,0.4);
    border-right: 3px solid rgba(0,0,0,0.4);
}
.times-detail-booklet-wrap .b-arrow-next div::after { transform: rotate(45deg); }
.times-detail-booklet-wrap .b-arrow-prev div::after { transform: rotate(-135deg); }

/* 이미지 슬라이더 */
.times-detail-slider-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}

.times-detail-slider {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 16px;
    overflow: hidden;
}

.times-detail-slider .swiper-wrapper {
    width: 100% !important;
}

.times-detail-slider .swiper-slide {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 16 / 9;
    background: #f5f5f5;
}

.times-detail-slider .swiper-slide img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 페이지네이션 - 기본적으로 숨김 (데스크톱) */
.times-detail-slider-wrap .swiper-pagination {
    display: none;
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    text-align: center;
    z-index: 10;
}

.times-detail-slider-wrap .swiper-pagination-bullet {
  margin: 0 3px;
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, 0.4);
    opacity: 1;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.times-detail-slider-wrap .swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
    border: 1px solid #fff;
}

/* 네비게이션 버튼 */
.times-detail-slider-wrap .times-slider-prev,
.times-detail-slider-wrap .times-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.times-detail-slider-wrap .times-slider-prev:hover,
.times-detail-slider-wrap .times-slider-next:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.times-detail-slider-wrap .times-slider-prev::after,
.times-detail-slider-wrap .times-slider-next::after {
    display: none;
}

.times-detail-slider-wrap .times-slider-prev {
    left: 16px;
}

.times-detail-slider-wrap .times-slider-next {
    right: 16px;
}

/* 콘텐츠 영역 */
.times-detail-content {
    margin-bottom: 30px;
}

.times-detail-title {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    letter-spacing: -0.96px;
    line-height: 1.4;
    margin-bottom: 16px;
}

.times-detail-text {
    font-size: 16px;
    font-weight: 400;
    color: #555;
    line-height: 1.7;
    letter-spacing: -0.64px;
    white-space: pre-line;
}

/* 상세 정보 테이블 */
.times-detail-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.times-detail-table tr {
    border-bottom: 1px solid #eee;
}

.times-detail-table tr:first-child {
    border-top: 1px solid #ddd;
}

.times-detail-table th,
.times-detail-table td {
    padding: 16px 0;
    font-size: 16px;
    letter-spacing: -0.64px;
    text-align: left;
    vertical-align: middle;
}

.times-detail-table th {
    width: 120px;
    font-weight: 600;
    color: #222;
}

.times-detail-table td {
    font-weight: 400;
    color: #555;
}

/* 상태 텍스트 */
.times-status-badge {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.64px;
    color: #777;
}

.times-status-badge.pending {
    color: #777;
}

.times-status-badge.approved {
    color: #777;
}

.times-status-badge.need-revision {
    color: #FF6A39;
}

.times-status-badge.cancelled {
    color: #c62828;
}

/* 보완요청 사유 행 */
.revision-reason-row td {
    color: #FF6A39;
}

/* 하단 버튼 영역 */
.times-public-detail-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 20px;
}
.times-detail-footer {
    display: flex;
    justify-content: center;
    padding-top: 20px;
}

.times-detail-footer .btn-list {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 48px;
    padding: 0 32px;
    background: #414042;
    border: none;
    border-radius: 10px;
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.times-detail-footer .btn-list:hover {
    background: #333;
}

/* ============================================
   4. 타임즈 수정 페이지 (Edit - times-edit.jsp)
   ============================================ */

/* 수정 폼 전체 */
.times-edit-form {
    width: 100%;
}

/* 폼 행 스타일 */
.times-edit-row {
    display: flex;
    padding: 24px 0;
    border-bottom: 1px solid #eee;
}

.times-edit-row:first-child {
    border-top: 1px solid #ddd;
}

/* 라벨 영역 */
.times-edit-label {
    width: 150px;
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 600;
    color: #222;
    letter-spacing: -0.72px;
    line-height: 1.6;
}

/* 필드 영역 */
.times-edit-field {
    flex: 1;
    min-width: 0;
}

/* 크루명 셀렉트 박스 */
.times-edit-select {
    width: 100%;
    height: 50px;
    padding: 0 40px 0 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #222;
    letter-spacing: -0.64px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%23222'%3E%3Cpath d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6z'/%3E%3C/svg%3E") no-repeat right 16px center;
    background-size: 20px;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.times-edit-select:focus {
    outline: none;
    border-color: #414042;
}

/* 크루명 텍스트 (크루가 1개인 경우) */
.times-edit-crew-name {
    display: inline-block;
    font-size: 16px;
    font-weight: 400;
    color: #222;
    letter-spacing: -0.64px;
    line-height: 50px;
}

/* 파일 업로드 영역 */
.times-file-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.times-file-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 파일선택 버튼 */
.btn-file-select {
    flex-shrink: 0;
    width: 90px;
    height: 40px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-file-select:hover {
    background: #eee;
    border-color: #ccc;
}

/* 파일 삭제 버튼 */
.btn-file-delete {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: #fff;
    color: #999;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease;
}

.btn-file-delete:hover {
    background: #e53935;
    border-color: #e53935;
    color: #fff;
}

/* 파일명 */
.times-file-name {
    flex: 1;
    min-width: 0;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 400;
    color: #777;
    letter-spacing: -0.56px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.times-file-name.selected {
    color: #222;
}

/* 파일 가이드 텍스트 */
.times-file-guide {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 400;
    color: #777;
    letter-spacing: -0.56px;
}

/* 진행소감 텍스트 영역 */
.times-edit-textarea {
    width: 100%;
    min-height: 200px;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #222;
    letter-spacing: -0.64px;
    line-height: 1.6;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.times-edit-textarea:focus {
    outline: none;
    border-color: #414042;
}

.times-edit-textarea::placeholder {
    color: #999;
}

/* 수정 페이지 버튼 영역 */
.times-edit-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    padding-top: 40px;
}

.times-edit-buttons .btn-confirm,
.times-edit-buttons .btn-cancel {
    min-width: 120px;
    height: 50px;
    padding: 0 32px;
    border-radius: 10px;
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.times-edit-buttons .btn-confirm {
    background: #414042;
    border: none;
    color: #fff;
}

.times-edit-buttons .btn-confirm:hover {
    background: #333;
}

.times-edit-buttons .btn-cancel {
    background: #fff;
    border: 1px solid #ddd;
    color: #555;
}

.times-edit-buttons .btn-cancel:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

/* ============================================
   5. 모달 공통 스타일 (Modals)
   ============================================ */

/* 모달 기본 구조 */
.times-delete-modal,
.times-confirm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.times-delete-modal.active,
.times-confirm-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 모달 오버레이 */
.times-modal-overlay,
.times-delete-modal .times-modal-overlay,
.times-confirm-modal .times-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

/* 모달 콘텐츠 */
.times-modal-content,
.times-delete-modal .times-modal-content,
.times-confirm-modal .times-modal-content {
    position: relative;
    width: 90%;
    max-width: 440px;
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* 모달 제목 */
.times-modal-title,
.times-delete-modal .times-modal-title,
.times-confirm-modal .times-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
}

/* 모달 텍스트 */
.times-modal-text,
.times-delete-modal .times-modal-text,
.times-confirm-modal .times-modal-text {
    font-size: 15px;
    font-weight: 400;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* 모달 버튼 그룹 */
.times-modal-buttons,
.times-delete-modal .times-modal-buttons,
.times-confirm-modal .times-modal-buttons {
    display: flex;
    gap: 12px;
}

.times-modal-buttons button,
.times-delete-modal .times-modal-buttons button,
.times-confirm-modal .times-modal-buttons button {
    flex: 1;
    height: 48px;
    border-radius: 10px;
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* 모달 취소 버튼 */
.times-modal-buttons .btn-cancel,
.times-modal-buttons .btn-modal-cancel {
    background: #fff;
    border: 1px solid #ddd;
    color: #555;
}

.times-modal-buttons .btn-cancel:hover,
.times-modal-buttons .btn-modal-cancel:hover {
    background: #f5f5f5;
}

/* 모달 확인 버튼 - 삭제용 (빨간색) */
.times-delete-modal .times-modal-buttons .btn-confirm {
    background: #c62828;
    border: none;
    color: #fff;
}

.times-delete-modal .times-modal-buttons .btn-confirm:hover {
    background: #b71c1c;
}

/* 모달 확인 버튼 - 저장용 (어두운 색) */
.times-confirm-modal .times-modal-buttons .btn-modal-confirm {
    background: #414042;
    border: none;
    color: #fff;
}

.times-confirm-modal .times-modal-buttons .btn-modal-confirm:hover {
    background: #333;
}

/* ============================================
   6. 반응형 스타일 - 980px 이하
   ============================================ */
@media screen and (max-width: 980px) {
    /* 검색 폼 */
    .times-search-form {
        padding: 24px;
        border-radius: 12px;
    }

    .times-search-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .times-search-label {
        width: 100%;
        font-size: 15px;
        line-height: 24px;
    }

    .times-search-field {
        width: 100%;
    }

    .times-search-input,
    .times-search-select {
        width: 100%;
        height: 44px;
        font-size: 14px;
    }

    .times-search-buttons {
        justify-content: center;
    }

    .times-search-buttons .btn-reset,
    .times-search-buttons .btn-search {
        height: 44px;
        font-size: 14px;
    }

    /* 상세 페이지 */
    .times-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .times-detail-actions {
        width: 100%;
    }

    .times-detail-actions .btn-edit,
    .times-detail-actions .btn-delete {
        flex: 1;
    }

    .times-detail-booklet-wrap .b-arrow-next div::after,
    .times-detail-booklet-wrap .b-arrow-prev div::after {
        width: 12px; height: 12px;
        border-width: 2px;
    }

    .times-detail-slider-wrap .times-slider-prev,
    .times-detail-slider-wrap .times-slider-next {
        width: 36px;
        height: 36px;
    }

    .times-detail-title {
        font-size: 20px;
    }

    .times-detail-table th {
        width: 100px;
    }

    .times-detail-table th,
    .times-detail-table td {
        font-size: 15px;
        padding: 14px 0;
    }

    /* 수정 페이지 */
    .times-edit-row {
        flex-direction: column;
        gap: 12px;
        padding: 20px 0;
    }

    .times-edit-label {
        width: 100%;
        font-size: 16px;
    }

    .times-edit-label br {
        display: none;
    }

    .times-edit-select {
        height: 46px;
        font-size: 15px;
    }

    .times-edit-crew-name {
        font-size: 15px;
        line-height: 46px;
    }

    .times-file-item {
        flex-wrap: wrap;
    }

    .btn-file-select {
        width: 80px;
        height: 38px;
        font-size: 13px;
    }

    .btn-file-delete {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .times-file-name {
        flex: 1;
        min-width: calc(100% - 92px);
        padding: 8px 12px;
        font-size: 13px;
    }

    .times-edit-textarea {
        min-height: 160px;
        font-size: 15px;
    }

    .times-edit-buttons {
        margin-top: 30px;
        padding-top: 30px;
    }

    .times-edit-buttons .btn-confirm,
    .times-edit-buttons .btn-cancel {
        min-width: 100px;
        height: 46px;
        font-size: 15px;
    }
}

/* ============================================
   7. 반응형 스타일 - 680px 이하
   ============================================ */
@media screen and (max-width: 680px) {
    /* 검색 폼 */
    .times-search-form {
        padding: 20px;
        gap: 12px;
        border-radius: 10px;
    }

    .times-search-row {
        padding-bottom: 12px;
        border-bottom: none;
    }

    .times-search-label {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .times-search-input {
        height: 40px;
        padding: 0 12px;
        font-size: 14px;
        border-radius: 5px;
    }

    .times-search-select {
        width: 100%;
        height: 40px;
        padding: 0 12px;
        font-size: 14px;
        border-radius: 5px;
    }

    .times-search-buttons {
        gap: 8px;
    }

    .times-search-buttons .btn-reset,
    .times-search-buttons .btn-search {
        width: 100%;
        min-width: 80px;
        height: 40px;
        padding: 0 16px;
        font-size: 13px;
        border-radius: 6px;
    }

    /* 상세 페이지 */
    .times-detail-date {
        font-size: 14px;
    }

    .times-detail-actions .btn-edit,
    .times-detail-actions .btn-delete {
        height: 40px;
        font-size: 13px;
    }

    .times-detail-booklet-wrap {
        margin-bottom: 24px;
    }

    .times-detail-booklet-wrap .b-arrow-next div::after,
    .times-detail-booklet-wrap .b-arrow-prev div::after {
        width: 10px; height: 10px;
        border-width: 2px;
    }

    .times-detail-slider {
        border-radius: 12px;
        margin-bottom: 24px;
    }

    .times-detail-slider-wrap .times-slider-prev,
    .times-detail-slider-wrap .times-slider-next {
        display: none;
    }

    /* 모바일에서 페이지네이션 표시 */
    .times-detail-slider-wrap .swiper-pagination {
        display: block;
        bottom: 12px;
    }

    .times-detail-content {
        margin-bottom: 24px;
    }

    .times-detail-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .times-detail-text {
        font-size: 14px;
    }

    .times-detail-table {
        margin-bottom: 30px;
    }

    .times-detail-table th,
    .times-detail-table td {
        font-size: 14px;
        padding: 12px 0;
    }

    .times-detail-table th {
        width: 90px;
    }

    .times-status-badge {
        font-size: 14px;
    }

    .times-detail-footer .btn-list {
        width: 100%;
        height: 44px;
        font-size: 15px;
    }

    /* 수정 페이지 */
    .times-edit-row {
        padding: 16px 0;
    }

    .times-edit-label {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .times-edit-select {
        height: 44px;
        padding: 0 36px 0 12px;
        font-size: 14px;
        background-position: right 12px center;
    }

    .times-edit-crew-name {
        font-size: 14px;
        line-height: 44px;
    }

    .times-file-list {
        gap: 10px;
    }

    .times-file-item {
        gap: 8px;
    }

    .btn-file-select {
        width: 70px;
        height: 36px;
        font-size: 12px;
        border-radius: 4px;
    }

    .btn-file-delete {
        width: 26px;
        height: 26px;
        font-size: 14px;
    }

    .times-file-name {
        min-width: calc(100% - 78px);
        padding: 8px 10px;
        font-size: 12px;
        border-radius: 4px;
    }

    .times-file-guide {
        margin-top: 10px;
        font-size: 12px;
    }

    .times-edit-textarea {
        min-height: 140px;
        padding: 12px;
        font-size: 14px;
        border-radius: 4px;
    }

    .times-edit-buttons {
        gap: 8px;
        margin-top: 24px;
        padding-top: 24px;
    }

    .times-edit-buttons .btn-confirm,
    .times-edit-buttons .btn-cancel {
        width: 100%;
        min-width: auto;
        height: 44px;
        font-size: 15px;
        border-radius: 8px;
    }

    /* 모달 */
    .times-modal-content,
    .times-delete-modal .times-modal-content,
    .times-confirm-modal .times-modal-content {
        padding: 24px 20px 20px;
    }

    .times-modal-title,
    .times-delete-modal .times-modal-title,
    .times-confirm-modal .times-modal-title {
        font-size: 18px;
    }

    .times-modal-text,
    .times-delete-modal .times-modal-text,
    .times-confirm-modal .times-modal-text {
        font-size: 14px;
    }

    .times-modal-buttons button,
    .times-delete-modal .times-modal-buttons button,
    .times-confirm-modal .times-modal-buttons button {
        height: 44px;
        font-size: 15px;
    }

    .times-edit-form {
      width: calc(100% - 40px);
      background: #fff;
      padding: 20px;
      border-radius: 12px;
    }
  .times-edit-row:first-child {
    border-top: none;
    border-bottom: none;
  }
}

/* ============================================
   8. 타임즈 제출 페이지 (Apply - times-apply.jsp)
   ============================================ */

/* 제출 페이지 카드 래퍼 */
.times-apply-wrap {
    background: #fff;
    border-radius: 30px;
    padding: 80px 115px;
    box-sizing: border-box;
}

/* 제출 폼 */
.times-apply-form {
    max-width: 890px;
    margin: 0 auto;
}

.times-apply-form,
.times-apply-form * {
    font-family: 'Pretendard', sans-serif;
}

.times-apply-form input,
.times-apply-form select,
.times-apply-form textarea,
.times-apply-form button {
    font-family: 'Pretendard', sans-serif;
}


/* 섹션 헤더 (어두운 바) */
.times-apply-section-header {
    background: #414042;
    border-radius: 10px;
    padding: 14px 22px;
    margin: 15px 0 15px;
}

.times-apply-section-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.72px;
    line-height: 32px;
}

/* 폼 행 */
.times-apply-row {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.times-apply-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.times-apply-row.row-top {
    align-items: flex-start;
}

.times-apply-row.row-top .times-apply-label {
    padding-top: 12px;
}

/* 라벨 */
.times-apply-label {
    width: 179px;
    flex-shrink: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    line-height: 1rem;
    letter-spacing: -0.72px;
}

.times-apply-label span {
    color: #da291c;
}

/* 입력 필드 영역 */
.times-apply-field {
    flex: 1;
}

/* 텍스트 입력 */
.times-apply-input {
    width: 100%;
    height: 45px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0 13px;
    box-sizing: border-box;
    font-size: 1rem;
    color: #222;
    letter-spacing: -0.72px;
    transition: border-color 0.2s;
}

.times-apply-input:focus {
    border-color: #777;
    outline: none;
}

.times-apply-input::placeholder {
    color: #222;
    opacity: 0.3;
}

.times-apply-input[readonly] {
    background: #f9f9f9;
}

/* 셀렉트 박스 */
.times-apply-select {
    width: 100%;
    height: 45px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0 40px 0 13px;
    box-sizing: border-box;
    font-size: 1rem;
    color: #222;
    letter-spacing: -0.72px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%23222'%3E%3Cpath d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6z'/%3E%3C/svg%3E") no-repeat right 16px center;
    background-size: 20px;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.times-apply-select:focus {
    border-color: #777;
    outline: none;
}

/* 크루명 텍스트 (1개일 때) */
.times-apply-crew-text {
    font-size: 1rem;
    font-weight: 400;
    color: #222;
    letter-spacing: -0.72px;
    line-height: 45px;
}

/* 텍스트 영역 */
.times-apply-textarea {
    width: 100%;
    height: 110px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 12px 13px;
    box-sizing: border-box;
    font-size: 1rem;
    color: #222;
    letter-spacing: -0.72px;
    resize: none;
    transition: border-color 0.2s;
}

.times-apply-textarea:focus {
    border-color: #777;
    outline: none;
}

.times-apply-textarea::placeholder {
    color: #222;
    opacity: 0.3;
}

/* 담당자 그룹 */
.times-apply-manager-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.times-apply-manager-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.times-apply-manager-sub-label {
    width: 60px;
    flex-shrink: 0;
    font-size: 1rem;
    font-weight: 500;
    color: #555;
}

/* 연락처 그룹 */
.times-apply-phone-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.times-apply-phone-group .times-apply-input {
    flex: 1;
    text-align: center;
}

.times-apply-phone-sep {
    font-size: 1rem;
    color: #999;
    flex-shrink: 0;
}

/* 파일 업로드 */
.times-apply-file-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.times-apply-file-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.times-apply-file-btn {
    flex-shrink: 0;
    width: 90px;
    height: 40px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
}

.times-apply-file-btn:hover {
    background: #eee;
    border-color: #ccc;
}

.times-apply-file-name {
    flex: 1;
    min-width: 0;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 400;
    color: #777;
    letter-spacing: -0.56px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.times-apply-file-name.selected {
    color: #222;
}

.times-apply-file-info {
    margin-top: 16px;
    font-size: 13px;
    font-weight: 400;
    color: #777;
    line-height: 1.7;
    letter-spacing: -0.52px;
}

.times-apply-file-guide {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #777;
    letter-spacing: -0.56px;
}

/* 약관 동의 안내 문구 */
.times-apply-terms-intro {
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 16px;
    line-height: 1.6;
    letter-spacing: -0.72px;
    padding: 20px 0 0;
}

.times-apply-terms-intro .required {
    color: #c62828;
    font-size: 14px;
}

/* 저작권 안내 박스 (times-apply 전용) */
.times-apply-wrap .copyright_notice{background:#fff; border:1px solid #ddd; border-radius:20px; padding:40px; margin:50px 0 0;}
.times-apply-wrap .copyright_notice ul{display:flex; flex-direction:column; gap:8px;}
.times-apply-wrap .copyright_notice ul li{display:flex; align-items:flex-start; gap:4px; font-size:1rem; color:#777; letter-spacing:-0.72px; line-height:28px;}
.times-apply-wrap .copyright_notice ul li .icon{width:24px; height:24px; flex-shrink:0; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23da291c' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E") no-repeat center/contain;}

/* 동의 영역 (times-apply 전용) */
.times-apply-wrap .agree_area{display:flex; justify-content:center; gap:30px; padding:30px 0 50px; flex-wrap:wrap;}
.times-apply-wrap .agree_area .checkbox_item{gap:5px; flex-wrap:wrap;}
.times-apply-wrap .agree_area .checkbox_item input[type="checkbox"]{width:20px; height:20px; border-radius:3px; border-color:#bbb; opacity:1;}
.times-apply-wrap .agree_area .checkbox_item span{opacity:0.7;}
.times-apply-wrap .agree_area .checkbox_item label{opacity:0.7;}
.times-apply-wrap .agree_area .option{cursor:pointer; display:inline-block; font-weight:600; color:#da291c; font-size:1rem; text-decoration:underline; line-height:120%;}
.times-apply-wrap .agree_area .pri_agree_cont{width:100%; margin-top:10px;}
.times-apply-wrap .agree_area .pri_agree_cont .textarea{width:100%; height:200px; padding:20px; border:1px solid #ddd; border-radius:10px; font-size:0.889rem; color:rgba(34,34,34,0.7); line-height:1.6; resize:none; background:#f9f9f9;}

/* 제출 버튼 (times-apply 전용) */
.times-apply-wrap .submit_area{text-align:center;}
.times-apply-wrap .submit_btn{display:inline-flex; align-items:center; justify-content:space-between; width:270px; height:75px; background:#da291c; border:2px solid #222; border-radius:15px; padding:0 40px; cursor:pointer; box-shadow:2px 5px 0px 0px rgba(0,0,0,0.2); transition:all 0.2s;}
.times-apply-wrap .submit_btn:hover{transform:translateY(-2px); box-shadow:2px 7px 0px 0px rgba(0,0,0,0.2);}
.times-apply-wrap .submit_btn span{font-family:var(--eng); font-size:1.111rem; font-weight:700; color:#fff; letter-spacing:-1px; text-transform:uppercase;}
.times-apply-wrap .submit_btn .icon_form{width:33px; height:33px; background: url("/assets/img/save/img/form_icon.png") no-repeat center / 100% auto;}

/* 약관/동의 영역 Pretendard 폰트 적용 */
.times-apply-wrap .times-apply-terms-intro,
.times-apply-wrap .copyright_notice,
.times-apply-wrap .copyright_notice *,
.times-apply-wrap .agree_area,
.times-apply-wrap .agree_area *,
.times-apply-wrap .pri_agree_cont,
.times-apply-wrap .pri_agree_cont * {
    font-family: 'Pretendard', sans-serif;
}

/* 버튼 영역 */
.times-apply-btn-area {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.times-apply-btn-area .btn-next,
.times-apply-btn-area .btn-prev {
    min-width: 120px;
    height: 50px;
    padding: 0 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.times-apply-btn-area .btn-next {
    background: #414042;
    border: none;
    color: #fff;
}

.times-apply-btn-area .btn-next:hover {
    background: #333;
}

.times-apply-btn-area .btn-prev {
    background: #fff;
    border: 1px solid #ddd;
    color: #555;
}

.times-apply-btn-area .btn-prev:hover {
    background: #f5f5f5;
    border-color: #ccc;
}


/* ============================================
   9. 반응형 - 980px 이하 (타임즈 제출)
   ============================================ */
@media screen and (max-width: 980px) {
    .times-apply-wrap {
        padding: 40px 30px;
        border-radius: 20px;
    }

    .times-apply-section-header {
        padding: 15px 20px;
    }

    .times-apply-section-header h4 {
        font-size: 1.111rem;
    }

    .times-apply-row {
        flex-direction: column;
        gap: 8px 0;
    }

    .times-apply-label {
        width: 100%;
        line-height: 1.4;
    }

    .times-apply-manager-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .times-apply-manager-sub-label {
        width: auto;
    }

    .times-apply-phone-group {
        width: 100%;
    }

    /* 저작권/동의/제출 반응형 (980px) */
    .times-apply-wrap .copyright_notice{padding:20px;}
    .times-apply-wrap .copyright_notice ul li{font-size:0.889rem;}
    .times-apply-wrap .agree_area{flex-wrap:wrap;}
    .times-apply-wrap .submit_btn{width:100%; max-width:300px;}
}

/* ============================================
   10. 반응형 - 680px 이하 (타임즈 제출)
   ============================================ */
@media screen and (max-width: 680px) {
    .times-apply-wrap {
        padding: 25px 20px;
        border-radius: 15px;
    }

    .times-apply-section-header {
        padding: 12px 15px;
        margin: 0 0 20px;
        border-radius: 8px;
    }

    .times-apply-section-header h4 {
        font-size: 1rem;
    }

    .times-apply-row {
        margin: 0 0 15px;
    }

    .times-apply-label {
        font-size: 0.944rem;
    }

    .times-apply-label br {
        display: none;
    }

    .times-apply-input,
    .times-apply-select {
        height: 44px;
        font-size: 0.944rem;
    }

    .times-apply-textarea {
        padding: 12px;
        font-size: 0.944rem;
    }

    .times-apply-file-item {
        flex-wrap: wrap;
    }

    .times-apply-file-btn {
        width: 80px;
        height: 38px;
        font-size: 13px;
    }

    .times-apply-file-name {
        flex: 1;
        min-width: calc(100% - 92px);
        padding: 8px 12px;
        font-size: 13px;
    }


    .times-apply-btn-area .btn-next,
    .times-apply-btn-area .btn-prev {
        width: 100%;
        min-width: auto;
        height: 46px;
        font-size: 15px;
    }

    /* 저작권/동의/제출 반응형 (680px) */
    .times-apply-wrap .copyright_notice{padding:15px; margin:20px 0;}
    .times-apply-wrap .copyright_notice ul li{font-size:0.833rem; gap:8px;}
    .times-apply-wrap .copyright_notice ul li .icon{width:18px; height:18px;}
    .times-apply-wrap .agree_area{flex-direction:column; gap:12px; padding:15px 0 25px;}
    .times-apply-wrap .submit_btn{height:54px; padding:0 30px;}
    .times-apply-wrap .submit_btn span{font-size:1.111rem;}
}

/* ============================================
   11. 반응형 스타일 - 480px 이하 (모바일)
   ============================================ */
@media screen and (max-width: 480px) {
    /* 컨테이너 오버플로우 제어 - 모바일 Swiper 너비 제한 */
    .mypage-content,
    .times-detail-content {
        overflow: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 검색 폼 */
    .times-search-form {
        padding: 16px;
        gap: 10px;
        border-radius: 8px;
    }

    .times-search-row {
        padding-bottom: 10px;
    }

    .times-search-label {
        font-size: 13px;
        font-weight: 600;
    }

    .times-search-input {
        height: 38px;
        padding: 0 10px;
        font-size: 13px;
        border-radius: 4px;
    }

    .times-search-select {
        height: 38px;
        padding: 0 32px 0 10px;
        font-size: 13px;
        border-radius: 4px;
        background-position: right 10px center;
        background-size: 16px;
    }

    .times-search-buttons .btn-reset,
    .times-search-buttons .btn-search {
        height: 38px;
        font-size: 12px;
        border-radius: 5px;
    }

    /* 타임즈 수 표시 */
    .times-count-wrap {
        margin-bottom: 16px;
    }

    .times-count {
        font-size: 13px;
        gap: 6px;
    }

    .times-count strong {
        font-size: 15px;
    }

    /* 상세 페이지 타이틀 영역 */
    .times-detail-title-wrap {
        gap: 8px;
        margin-bottom: 20px;
    }

    .times-detail-back-btn {
        width: 28px;
        height: 28px;
    }

    .times-detail-back-btn img {
        width: 20px;
        height: 20px;
    }

    /* 상세 페이지 헤더 */
    .times-detail-header {
        gap: 12px;
        margin-bottom: 16px;
    }

    .times-detail-date {
        font-size: 13px;
        gap: 6px;
    }

    .times-detail-date svg {
        width: 16px;
        height: 16px;
    }

    .times-detail-actions .btn-edit,
    .times-detail-actions .btn-delete {
        height: 36px;
        min-width: 60px;
        padding: 0 12px;
        font-size: 12px;
        border-radius: 5px;
    }

    /* 이미지 슬라이더 (스와이퍼) */
    .times-detail-slider-wrap {
        margin-bottom: 16px;
    }

    .times-detail-slider {
        border-radius: 8px;
    }

    .times-detail-slider-wrap .swiper-pagination {
        display: block;
        bottom: 10px;
    }

    .times-detail-slider-wrap .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
    }

    /* 콘텐츠 영역 */
    .times-detail-content {
        margin-bottom: 16px;
    }

    .times-detail-title {
        font-size: 16px;
        margin-bottom: 10px;
        letter-spacing: -0.64px;
    }

    .times-detail-text {
        font-size: 13px;
        line-height: 1.6;
    }

    /* 상세 정보 테이블 */
    .times-detail-table {
        margin-bottom: 24px;
    }

    .times-detail-table th {
        width: 80px;
    }

    .times-detail-table th,
    .times-detail-table td {
        font-size: 13px;
        padding: 10px 0;
        letter-spacing: -0.52px;
    }

    .times-status-badge {
        font-size: 13px;
    }

    /* 하단 버튼 */
    .times-detail-footer {
        padding-top: 16px;
    }

    .times-detail-footer .btn-list {
        height: 42px;
        font-size: 14px;
        border-radius: 8px;
    }

    /* 빈 상태 */
    .times-empty {
        padding: 40px 16px;
        font-size: 13px;
        border-radius: 8px;
    }

    /* 수정 페이지 */
    .times-edit-row {
        padding: 14px 0;
        gap: 10px;
    }

    .times-edit-label {
        font-size: 14px;
    }

    .times-edit-select {
        height: 42px;
        padding: 0 32px 0 12px;
        font-size: 13px;
        border-radius: 4px;
    }

    .times-edit-crew-name {
        font-size: 13px;
        line-height: 42px;
    }

    .times-file-list {
        gap: 8px;
    }

    .times-file-item {
        gap: 6px;
    }

    .btn-file-select {
        width: 65px;
        height: 34px;
        font-size: 11px;
        border-radius: 4px;
    }

    .btn-file-delete {
        width: 24px;
        height: 24px;
        font-size: 13px;
    }

    .times-file-name {
        min-width: calc(100% - 71px);
        padding: 7px 10px;
        font-size: 11px;
        border-radius: 4px;
    }

    .times-file-guide {
        margin-top: 8px;
        font-size: 11px;
    }

    .times-edit-textarea {
        min-height: 120px;
        padding: 10px;
        font-size: 13px;
        border-radius: 4px;
    }

    .times-edit-buttons {
        gap: 6px;
        margin-top: 20px;
        padding-top: 20px;
    }

    .times-edit-buttons .btn-confirm,
    .times-edit-buttons .btn-cancel {
        height: 42px;
        font-size: 14px;
        border-radius: 6px;
    }

    /* 모달 */
    .times-modal-content,
    .times-delete-modal .times-modal-content,
    .times-confirm-modal .times-modal-content {
        width: 92%;
        padding: 20px 16px 16px;
        border-radius: 12px;
    }

    .times-modal-title,
    .times-delete-modal .times-modal-title,
    .times-confirm-modal .times-modal-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .times-modal-text,
    .times-delete-modal .times-modal-text,
    .times-confirm-modal .times-modal-text {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .times-modal-buttons,
    .times-delete-modal .times-modal-buttons,
    .times-confirm-modal .times-modal-buttons {
        gap: 8px;
    }

    .times-modal-buttons button,
    .times-delete-modal .times-modal-buttons button,
    .times-confirm-modal .times-modal-buttons button {
        height: 42px;
        font-size: 14px;
        border-radius: 6px;
    }
}

/* ============================================
   12. 타임즈 상세 - 다크 뷰어 (새 창 전용)
   ============================================ */

/* 다크 배경 body */
.newspaper-viewer-body {
    margin: 0;
    padding: 0;
    background: #1a1a1a;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    min-height: 100vh;
}

/* 전체 래퍼 */
.newspaper-viewer-wrap {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

/* 닫기 버튼 (하단 중앙) */
.newspaper-viewer-close {
    display: block;
    margin: 70px auto 35px;
    width: 40px;
    cursor: pointer;
}

.newspaper-viewer-close::before {
    content: '\e5cd';
    font-family: var(--icon);
    font-size: 40px;
    color: var(--white);
    display: block;
    line-height: 1;
    font-weight: 500;
}

/* 헤더 영역 (로고 좌측 + 타이틀 중앙 + 날짜 우측) */
.newspaper-viewer-header {
    display: flex;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto 40px;
    padding-top: 10px;
}

.newspaper-viewer-logo {
    flex-shrink: 0;
    margin-bottom: 0;
}

.newspaper-viewer-logo img {
    max-width: 180px;
    height: auto;
}

.newspaper-viewer-title {
    flex: 1;
    margin: 0;
    padding: 0 16px;
    font-family: 'SavetheChildren', sans-serif;
    font-size: 22px;
    font-weight: 300;
    color: #fff;
    text-align: center;
    line-height: 1.3;
    word-break: keep-all;
}

.newspaper-viewer-date {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #aaa;
}

/* Booklet 뷰어 컨테이너 */
.newspaper-viewer-book {
    margin: 0 auto 40px;
    max-width: 1000px;
}

/* Booklet 이미지 기본 스타일 */
.newspaper-viewer-book .booklet {
    margin: 0 auto;
}

.newspaper-viewer-book .b-page img {
    display: block;
    width: 100%;
    height: auto;
}

/* Booklet 화살표: CSS 화살표로 대체 */
.newspaper-viewer-book .b-arrow-next div,
.newspaper-viewer-book .b-arrow-prev div {
    background: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.newspaper-viewer-book .b-arrow-next div::after,
.newspaper-viewer-book .b-arrow-prev div::after {
    content: '';
    width: 16px; height: 16px;
    border-top: 3px solid rgba(255,255,255,0.6);
    border-right: 3px solid rgba(255,255,255,0.6);
}
.newspaper-viewer-book .b-arrow-next div::after { transform: rotate(45deg); }
.newspaper-viewer-book .b-arrow-prev div::after { transform: rotate(-135deg); }

/* 진행소감 영역 (다크 배경 위 밝은 텍스트) */
.newspaper-viewer-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 40px;
    background: transparent;
    text-align: center;
}

.newspaper-viewer-content-text {
    font-size: 15px;
    font-weight: 400;
    color: #ccc;
    line-height: 1.8;
    letter-spacing: -0.3px;
    white-space: pre-wrap;
    word-break: keep-all;
    text-align: center;
}

/* ============================================
   13. 반응형 - 다크 뷰어 (980px 이하)
   ============================================ */
@media screen and (max-width: 980px) {
    .newspaper-viewer-wrap {
        padding: 30px 16px 40px;
    }

    .newspaper-viewer-logo img {
        max-width: 160px;
    }

    .newspaper-viewer-title {
        font-size: 18px;
    }

    .newspaper-viewer-content {
        padding: 24px 28px;
    }
}

/* ============================================
   14. 반응형 - 다크 뷰어 (680px 이하)
   ============================================ */
@media screen and (max-width: 680px) {
    .newspaper-viewer-wrap {
        padding: 20px 12px 30px;
    }

    .newspaper-viewer-header {
        flex-wrap: wrap;
        margin-bottom: 24px;
    }

    .newspaper-viewer-logo img {
        max-width: 140px;
    }

    .newspaper-viewer-title {
        font-size: 16px;
        padding: 0 10px;
    }

    .newspaper-viewer-date {
        font-size: 13px;
    }

    .newspaper-viewer-content {
        padding: 20px;
    }

    .newspaper-viewer-content-text {
        font-size: 14px;
        line-height: 1.7;
    }
}