        /* 수강평 버튼 및 알림 스타일 */
        
        .lp-course-review-btn-wrapper {
            text-align: center;
            margin: 15px 0 0;
        }
        
        #profile-content .write-a-review.lp-button {
            background-color: #222222;
            color: #fff;
            border: none;
            padding: 8px 15px;
            border-radius: 4px;
            cursor: pointer;
            font-weight: 400;
            transition: background-color 0.3s;
            font-size: 14px;
            display: inline-block;
            width: 100%;
        }
        /* 이미 수강평을 작성한 경우의 문구 스타일 */
        
        .review-status-notice {
            background-color: #181818;
            color: #90969c;
            /* border: 1px solid #ddd; */
            border-radius: 4px;
            padding: 8px 15px;
            font-size: 13px;
            text-align: center;
            width: 100%;
        }
        /* 수강평 팝업 오버레이 */
        
        .course-review-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.75);
            z-index: 99999;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: opacity 0.3s ease;
        }
        
        .course-review-wrapper {
            background-color: #161616;
            border-radius: 10px;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
            width: 90%;
            max-width: 450px;
            padding: 30px;
            position: relative;
            max-height: 90vh;
            overflow-y: auto;
            animation: popup-slide-in 0.4s ease-out;
            transform: translateY(0);
        }
        
        @keyframes popup-slide-in {
            0% {
                opacity: 0;
                transform: translateY(30px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }
        /* 커스텀 스크롤바 */
        
        .course-review-wrapper::-webkit-scrollbar {
            width: 8px;
        }
        
        .course-review-wrapper::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }
        
        .course-review-wrapper::-webkit-scrollbar-thumb {
            background: #c1c1c1;
            border-radius: 10px;
        }
        
        .course-review-wrapper::-webkit-scrollbar-thumb:hover {
            background: #a8a8a8;
        }
        
        .course-review-overlay.fw-course-review-overlay .course-review-wrapper {
            position: relative;
        }
        
        .fw-course-review-overlay .review-form {
            background-color: transparent;
            padding: 0;
            position: relative;
            width: 100%;
            /* max-width: 600px; */
            margin-top: 0;
            display: inline-block;
            text-align: left;
            border-radius: 5px;
        }
        /* 폼 헤더 */
        
        .review-form h3 {
            margin: 0 0 20px 0;
            padding-bottom: 0;
            border-bottom: 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 18px;
            font-weight: 700;
            color: #fff;
        }
        
        .review-form h3 .close {
            cursor: pointer;
            color: #aaa;
            transition: color 0.2s;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background-color: #f8f9fa;
        }
        
        .review-form h3 .close:hover {
            color: #e74c3c;
        }
        /* 폼 필드 */
        
        .review-fields {
            list-style: none;
            padding: 0;
            margin: 20px 0;
        }
        
        .review-fields li {
            margin-bottom: 25px;
        }
        
        .review-form .review-fields>li>label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            font-size: 16px;
            color: #fff;
        }
        
        .review-fields .required {
            color: #e74c3c;
            margin-left: 3px;
        }
        
        .review-fields input[type="text"],
        .review-fields textarea {
            width: 100%;
            padding: 12px 15px;
            border: 0;
            border-radius: 6px;
            font-size: 15px;
            transition: all 0.3s;
            background-color: #272727;
        }
        /* .review-fields input[type="text"]:focus,
.review-fields textarea:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    outline: none;
    background-color: #fff;
} */
        
        .review-fields textarea {
            min-height: 150px;
            resize: vertical;
            line-height: 1.5;
        }
        
        .review-fields input[type="file"] {
            padding: 10px 0;
            width: 100%;
        }
        /* 이미지 업로드 영역 */
        
        .image-upload-area {
            position: relative;
            width: 100%;
        }
        
        .review-fields input[type="file"] {
            position: absolute;
            width: 0;
            height: 0;
            opacity: 0;
            pointer-events: none;
        }
        
        .drag-drop-zone {
            border: 2px dashed #3d3d3d;
            border-radius: 8px;
            padding: 40px 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            background-color: #1a1a1a;
        }
        
        .drag-drop-zone:hover {
            border-color: #555;
            background-color: #222;
        }
        
        .drag-drop-zone.drag-over {
            border-color: #3498db;
            background-color: #1e2a36;
            transform: scale(1.02);
        }
        
        .drag-drop-zone .dashicons {
            font-size: 48px;
            width: 48px;
            height: 48px;
            color: #666;
            margin-bottom: 10px;
        }
        
        .drag-text {
            font-size: 15px;
            color: #aaa;
            margin: 10px 0 5px;
        }
        
        .browse-text {
            color: #3498db;
            font-weight: 600;
        }
        
        .file-info {
            font-size: 13px;
            color: #777;
            margin: 5px 0 0;
        }
        /* 이미지 미리보기 */
        
        .image-preview-container {
            position: relative;
            border-radius: 8px;
            overflow: hidden;
            background-color: #1a1a1a;
            padding: 15px;
        }
        
        .preview-wrapper {
            position: relative;
            display: inline-block;
            max-width: 100%;
        }
        
        .image-preview {
            max-width: 100%;
            max-height: 200px;
            display: block;
            border-radius: 6px;
            border: 1px solid #333;
        }
        
        button.remove-image {
            position: absolute;
            top: -8px;
            right: -8px;
            background: #e74c3c;
            border: 2px solid #1a1a1a;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: #fff;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
            padding: 0;
        }
        
        button.remove-image:hover {
            background: #c0392b;
            transform: scale(1.1);
        }
        
        button.remove-image .dashicons {
            width: 18px;
            height: 18px;
            font-size: 18px;
        }
        /* 별점 */
        
        .review-stars-container {
            margin-top: 10px;
        }
        
        .review-stars {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
        }
        
        .review-star {
            margin-right: 10px;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .review-star:hover {
            transform: scale(1.2);
        }
        
        .review-star .dashicons {
            width: 32px;
            height: 32px;
            font-size: 32px;
            transition: color 0.3s;
        }
        
        .review-star .dashicons-star-filled {
            color: #f1c40f;
        }
        
        .review-star .dashicons-star-empty {
            color: #ddd;
        }
        /* 액션 버튼 */
        
        .review-form .review-fields .review-actions {
            display: flex;
            align-items: center;
            margin-top: 40px;
            justify-content: space-between;
        }
        
        .review-actions button {
            margin-right: 12px;
            padding: 9px 19px;
            border-radius: 4px;
            font-weight: 600;
            font-size: 16px;
            border: none;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .submit-review {
            background-color: var(--color-primary-light) !important;
            color: var(--color-primary) !important;
        }
        
        .review-actions .close {
            background-color: #262626 !important;
            color: #7a7a7a !important;
        }
        
        .ajaxload {
            display: none;
            width: 24px;
            height: 24px;
            margin-left: 15px;
            border: 3px solid rgba(52, 152, 219, 0.2);
            border-top: 3px solid #3498db;
            border-radius: 50%;
            animation: spin 1.5s linear infinite;
        }
        
        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }
        
        .error {
            color: #e74c3c;
            margin-top: 10px;
            font-size: 14px;
            background-color: #fdeaea;
            padding: 10px 15px;
            border-radius: 4px;
            display: none;
            animation: error-fade-in 0.3s ease;
        }
        
        @keyframes error-fade-in {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .learnpress-course-review .course-reviews-list li,
        .learnpress-course-review .course-reviews-list-shortcode li {
            margin-bottom: 20px;
            padding: 20px;
            background-color: #101010;
            border: 0;
            overflow: hidden;
            display: flex;
            flex-wrap: wrap;
        }
        
        .learnpress-course-review.lp-rating-reviews-wrapper h3.item-title {
            display: none;
        }
        /* 리뷰 아이템 전체 레이아웃 */
        
        .learnpress-course-review .course-reviews-list li,
        .learnpress-course-review .course-reviews-list-shortcode li {
            display: block !important;
            flex-wrap: unset !important;
        }
        /* 리뷰 헤더 (아바타 + 이름 + 날짜) */
        
        .review-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 12px;
        }
        
        .review-author-avatar {
            flex-shrink: 0;
        }
        
        .review-author-avatar img {
            border-radius: 50%;
            width: 38px;
            height: 38px;
            display: block;
        }
        
        .review-author-name {
            font-size: 15px;
            font-weight: 600;
            color: #fff;
        }
        
        .review-date {
            font-size: 13px;
            color: #90969c;
            margin-left: auto;
        }
        /* 별점 */
        
        .review-rating {
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 2px;
        }
        
        .review-rating-stars {
            color: #f39c12;
            font-size: 16px;
            letter-spacing: 2px;
        }
        /* SVG 별점 스타일 */
        
        .lp-review-svg-star {
            display: inline-block;
            width: auto;
            height: auto;
            margin: 0;
            padding: 0;
        }
        
        .lp-review-svg-star svg {
            width: 16px;
            height: 16px;
            display: block;
        }
        
        .lp-review-svg-star.fas svg {
            fill: #ffb60a;
            stroke: transparent;
        }
        /* 리뷰 내용 두 줄 말줄임 */
        
        .review-content-section {
            margin-bottom: 12px;
        }
        
        .course-custom-reviews .review-content-section .review-title {
            margin: 0;
            font-size: 16px;
            margin-bottom: 6px;
        }
        
        .review-content-text {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.6;
            color: #c5c5c5;
            font-size: 14px;
        }
        /* 베스트 리뷰 및 후기 게시판 텍스트 2줄 말줄임 */
        
        .best-reviews-swiper .review-content-section .review-text {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            cursor: pointer;
            transition: opacity 0.2s;
        }
        
        .best-reviews-swiper .review-content-section .review-text:hover {
            opacity: 0.8;
        }
        
        .best-reviews-swiper .review-content-section .review-toggle-btn {
            display: none;
        }
        
        .best-reviews-swiper .review-text-short,
        .best-reviews-swiper .review-text-full {
            display: none;
        }
        /* 후기 게시판도 동일하게 적용 */
        
        .reviews-list-ajax .review-text {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            cursor: pointer;
            transition: opacity 0.2s;
            color: #fff;
            line-height: 1.6;
            font-size: 14px;
        }
        
        .reviews-list-ajax .review-text:hover {
            opacity: 0.8;
        }
        
        .reviews-list-ajax .review-toggle-btn {
            display: none;
        }
        
        .reviews-list-ajax .review-text-short,
        .reviews-list-ajax .review-text-full {
            display: none;
        }
        /* 리뷰 이미지 스타일 */
        
        .review-image-wrapper {
            margin-top: 12px;
        }
        
        .review-attached-image {
            max-width: 100px;
            width: 100%;
            height: 100%;
            aspect-ratio: 1 / 1;
            object-fit: cover;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
            /* border: 1px solid #333; */
        }
        
        .review-attached-image:hover {
            opacity: 0.8;
        }
        /* 이미지 확대 모달 */
        
        .review-image-lightbox {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.95);
            z-index: 999999;
            display: none;
            justify-content: center;
            align-items: center;
            cursor: pointer;
        }
        
        .review-image-lightbox img {
            max-width: 90%;
            max-height: 90vh;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
        }
        
        .review-image-lightbox.active {
            display: flex;
            animation: fadeIn 0.3s ease;
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }
        
        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 30px;
            color: #fff;
            font-size: 40px;
            font-weight: 200;
            cursor: pointer;
            z-index: 1000000;
            line-height: 1;
        }
        
        .review-stars span::before {
            font-size: 21px;
        }
        
        .review-fields li {
            margin: 0;
        }
        
        .review-star .dashicons {
            width: 28px;
            height: 27px;
            font-size: 24px;
            transition: color 0.3s;
        }
        
        .review-star:hover {
            transform: none;
        }
        /* 반응형 스타일 */
        
        @media (max-width: 767px) {
            .course-review-wrapper {
                padding: 20px;
                width: 95%;
            }
            .review-form h3 {
                font-size: 18px;
            }
            .review-actions {
                flex-direction: column;
                align-items: stretch;
            }
            .review-actions button {
                margin-right: 0;
                margin-bottom: 10px;
                width: 100%;
            }
            .review-star .dashicons {
                width: 28px;
                height: 28px;
                font-size: 28px;
            }
            .review-star {
                margin-right: 5px;
            }
            .review-header {
                gap: 8px;
            }
            .review-author-name {
                font-size: 14px;
            }
            .review-date {
                font-size: 12px;
            }
            .lightbox-close {
                top: 10px;
                right: 15px;
                font-size: 30px;
            }
        }
        /* 리뷰 상세 팝업 스타일 (review-form과 동일한 블랙톤) */
        
        .review-detail-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.75);
            z-index: 99999;
            display: none;
            justify-content: center;
            align-items: center;
            transition: opacity 0.3s ease;
        }
        
        .review-detail-overlay.active {
            display: flex;
            animation: fadeIn 0.3s ease;
        }
        
        .review-detail-wrapper {
            background-color: #161616;
            border-radius: 10px;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
            width: 90%;
            max-width: 600px;
            padding: 30px;
            position: relative;
            max-height: 90vh;
            overflow-y: auto !important;
            -webkit-overflow-scrolling: touch;
            animation: popup-slide-in 0.4s ease-out;
        }
        
        .review-detail-wrapper::-webkit-scrollbar {
            width: 8px;
        }
        
        .review-detail-wrapper::-webkit-scrollbar-track {
            background: #272727;
            border-radius: 10px;
        }
        
        .review-detail-wrapper::-webkit-scrollbar-thumb {
            background: #444;
            border-radius: 10px;
        }
        
        .review-detail-wrapper::-webkit-scrollbar-thumb:hover {
            background: #555;
        }
        
        .review-detail-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #333;
        }
        
        .review-detail-header h3 {
            font-size: 18px;
            font-weight: 700;
            color: #fff;
            margin: 0;
        }
        
        .review-detail-close {
            cursor: pointer;
            color: #aaa;
            font-size: 28px;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
        }
        
        .review-detail-content {
            color: #fff;
        }
        
        .review-detail-author-section {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 20px;
        }
        
        .review-detail-author-section .author-avatar {
            display: flex;
            align-items: center;
        }
        
        .review-detail-author-section .author-avatar img {
            border-radius: 50%;
            width: 40px;
            height: 40px;
        }
        
        .review-detail-author-info {
            flex: 1;
        }
        
        .review-detail-author-info .author-name {
            font-size: 16px;
            font-weight: 600;
            color: #fff;
            display: block;
            margin-bottom: -2px;
        }
        
        .review-detail-author-info .review-date {
            font-size: 13px;
            color: #90969c;
        }
        
        .review-detail-rating {
            display: flex;
            align-items: center;
            gap: 5px;
            margin-bottom: 15px;
        }
        
        .review-detail-rating {
            display: flex;
            align-items: center;
            gap: 2px;
        }
        
        .review-rating>em {
            margin: 0 -1px;
        }
        
        .review-detail-rating .review-rating {
            display: flex;
            align-items: center;
            gap: 2px;
            margin: 0;
        }
        
        .review-detail-rating .lp-review-svg-star svg {
            width: 18px;
            height: 18px;
        }
        
        .review-detail-rating .rating-number {
            font-weight: 600;
            color: #fff;
        }
        
        .review-detail-title {
            font-size: 18px;
            font-weight: 600;
            color: #fff;
            margin: 0 0 0px 0;
        }
        
        .review-detail-text {
            color: #c5c5c5;
            line-height: 1.8;
            font-size: 15px;
            margin-bottom: 20px;
            white-space: pre-wrap;
        }
        
        .review-detail-image {
            margin-top: 20px;
            text-align: center;
        }
        
        .review-detail-image img {
            max-width: 300px;
            max-height: 300px;
            width: auto;
            height: auto;
            border-radius: 8px;
            cursor: pointer;
            transition: opacity 0.3s;
            object-fit: contain;
        }
        
        .review-detail-image img:hover {
            opacity: 0.9;
        }
        /* 반응형 */
        
        @media (max-width: 767px) {
            .review-detail-wrapper {
                padding: 20px;
                width: 95%;
            }
            .review-detail-header h3 {
                font-size: 16px;
            }
            .review-detail-image img {
                max-width: 200px;
                max-height: 200px;
            }
        }
        /* 인라인 수강 후기 폼 스타일 */
        
        .course-review-form-wrapper {
            margin-bottom: 30px;
            border-radius: 8px;
        }
        
        .inline-review-form {
            display: block;
        }
        
        .inline-review-form .review-form-fields {
            margin: 0;
            padding: 0;
            list-style: none;
        }
        
        .inline-review-form .review-field {
            margin-bottom: 10px;
        }
        
        .inline-review-form .review-stars-container {
            margin-top: 0;
        }
        
        .inline-review-form .review-stars {
            display: flex;
            gap: 0px;
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .inline-review-form .review-star {
            cursor: pointer;
            font-size: 28px;
            color: rgba(255, 255, 255, 0.3);
            transition: color 0.2s ease;
            margin-right: 0;
            height: 30px;
        }
        
        .inline-review-form .review-textarea-wrapper {
            position: relative;
        }
        
        .inline-review-form .review-content-input {
            width: 100%;
            padding: 15px;
            padding-bottom: 25px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 6px;
            background: rgba(255, 255, 255, 0.05);
            color: #fff;
            font-size: 14px;
            resize: vertical;
            font-family: inherit;
            box-sizing: border-box;
        }
        
        .inline-review-form .review-content-input:focus {
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .inline-review-form .review-textarea-wrapper .char-count {
            position: absolute;
            bottom: 10px;
            right: 15px;
            font-size: 12px;
            color: rgba(255, 255, 255, 0.5);
            pointer-events: none;
        }
        
        .inline-review-form .image-upload-area {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .inline-review-form #inline_review_image_input {
            display: none;
        }
        
        .inline-review-form .image-upload-btn {
            padding: 6px 12px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 4px;
            background: rgba(255, 255, 255, 0.05);
            color: rgba(255, 255, 255, 0.8);
            font-size: 12px;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .inline-review-form .image-upload-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.4);
        }
        
        .inline-review-form .image-upload-btn .dashicons {
            font-size: 14px;
            width: 15px;
            height: 13px;
        }
        
        .inline-review-form .file-info-text {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.5);
        }
        
        .inline-review-form .image-preview-container {
            display: none;
            margin-left: 10px;
        }
        
        .inline-review-form .image-preview-container {
            background-color: transparent;
        }
        
        .inline-review-form .preview-wrapper {
            position: relative;
            display: inline-block;
            max-width: 80px;
        }
        
        .inline-review-form .image-preview {
            width: 50px;
            height: 50px;
            object-fit: cover;
            border-radius: 4px;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .inline-review-form .remove-image {
            position: absolute;
            top: -8px;
            right: -8px;
            background: #ff6b6b;
            border: none;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            cursor: pointer;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            font-size: 12px;
            padding: 0;
        }
        
        .inline-review-form .review-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .inline-review-form .review-actions>div:first-child {
            display: flex;
            align-items: center;
            gap: 15px;
            color: rgba(255, 255, 255, 0.6);
            font-size: 13px;
        }
        
        .inline-review-form .review-actions>div:last-child {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .inline-review-form .ajaxload {
            display: none;
            color: #4dabf7;
            font-size: 13px;
        }
        
        .inline-review-form .error {
            color: #e74c3c;
            margin-top: 10px;
            font-size: 14px;
            border-radius: 4px;
            display: none;
            animation: error-fade-in 0.3s ease;
            margin-right: 7px;
            background-color: transparent;
            padding: 0;
        }
        
        #learn-press-course .inline-review-form .submit-review {
            padding: 10px 24px;
            color: #fff;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            margin: 0;
            border: 1px solid var(--color-primary-border-light);
        }
        
        @media screen and (max-width: 768px) {
            .inline-review-form .review-actions {
                flex-direction: row;
            }
        }