/* Paperlogy 폰트 정의 */
@font-face {
    font-family: 'Paperlogy';
    src: url('../font/Paperlogy-8ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

/* 리뷰피커 기본 스타일 */
:root {
    --primary-color: #ff6b9d;
    --secondary-color: #4ecdc4;
    --accent-color: #45b7d1;
    --success-color: #96ceb4;
    --warning-color: #feca57;
    --danger-color: #ff6b6b;
    --light-color: #f8f9fa;
    --dark-color: #2c3e50;
    --border-radius: 12px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background: #f8f9fa;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 헤더 스타일 */
.main-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    min-height: 70px;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo h1 img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    transition: transform 0.3s ease;
    margin-top: -4px;
}

.logo h1 img:hover {
    transform: scale(1.05);
}

.logo a {
    text-decoration: none;
}

.logo img {
    height: 36px;
    width: auto;
    max-width: 200px;
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-nav .nav-list a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    padding: 10px 8px;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-size: 14px;
    position: relative;
}

.main-nav .nav-list a:hover,
.main-nav .nav-list a.active {
    background: var(--primary-color);
    color: white;
}

.main-header .coming-soon {
    background: var(--warning-color);
    color: white;
    font-size: 9px;
    padding: 2px 5px;
    border-radius: 3px;
    position: absolute;
    top: -8px;
    right: 42px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mobile-sidebar .coming-soon {
    background: var(--warning-color);
    color: white;
    font-size: 9px;
    padding: 2px 5px;
    border-radius: 3px;
    position: absolute;
    top: 5px;
    right: 5px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 공지사항 NEW 뱃지 */
.new-badge {
    background: #ff4757;
    color: white;
    font-size: 9px;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: pulse-new 2s infinite;
    position: absolute;

}

/* 헤더의 NEW 뱃지 */
.main-nav .new-badge {
    top: -4px;
    right: -8px;
    transform: rotate(12deg);
}

/* 사이드바의 NEW 뱃지 */
.sidebar-nav .new-badge {
    top: 19px;
    left: 115px;
}

.new-badge.important {
    background: #ff3742;
    animation: pulse-important 1.5s infinite;
}

@keyframes pulse-new {
    0% {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(255, 71, 87, 0.7);
    }

    70% {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 0 4px rgba(255, 71, 87, 0);
    }

    100% {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(255, 71, 87, 0);
    }
}

@keyframes pulse-important {
    0% {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(255, 55, 66, 0.8);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 0 6px rgba(255, 55, 66, 0);
        transform: scale(1.05);
    }

    100% {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(255, 55, 66, 0);
        transform: scale(1);
    }
}

/* 드롭다운 메뉴 */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    min-width: 200px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
    overflow-y: auto;
    max-height: 70vh;
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li.divider {
    height: 1px;
    background: #f0f0f0;
    margin: 5px 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

/* 모바일 메뉴 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--dark-color);
    cursor: pointer;
}

/* 데스크톱 전용 드롭다운 메뉴 높이 조정 */
@media (min-width: 1001px) {
    .dropdown-menu {
        max-height: 70vh;
    }
}

/* 모바일 사이드바 */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 1002;
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    right: 0;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.sidebar-header h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin: 0;
    display: flex;
    align-items: center;
}

.sidebar-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--dark-color);
    cursor: pointer;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 100px;
}

.sidebar-nav ul {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.sidebar-nav li {
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-nav li.divider {
    height: 1px;
    background: #f0f0f0;
    margin: 10px 0;
    border: none;
}

.sidebar-nav a {
    display: block;
    padding: 15px 20px;
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: var(--light-color);
    color: var(--primary-color);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1001;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 푸터 */
.main-footer {
    background: var(--dark-color);
    color: white;
    padding: 30px 0;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info p {
    margin: 0;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

/* 메인 컨텐츠 */
.main-content {
    padding: 30px 0;
}

/* 반응형 디자인 */
@media (max-width: 1000px) {
    .main-nav .nav-list {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 500px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* 로딩 애니메이션 */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 버튼 스타일 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:disabled {
    background: #6c757d !important;
    color: #ffffff !important;
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-secondary:disabled:hover {
    transform: none;
    box-shadow: none;
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

/* 폼 스타일 */
.form-group {
    margin-bottom: 25px;
}

.form-group:has(#blog-url-feedback) {
    margin-bottom: 35px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.form-text {
    font-size: 14px;
    color: #6c757d;
    margin-top: 5px;
}

.text-success {
    color: var(--success-color) !important;
}

.text-danger {
    color: var(--danger-color) !important;
}

/* 카드 스타일 */
.card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-bottom: 20px;
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 20px;
    text-align: center;
}

.card-body {
    padding: 30px;
}

/* 체크박스 스타일 */
.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-check-input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.form-check-label {
    font-size: 14px;
    cursor: pointer;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .card-body {
        padding: 20px;
    }

    .btn {
        width: 100%;
        padding: 15px;
    }
}

/* 알림 메시지 */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

/* 애니메이션 효과 */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 토스트 알림 스타일 */
.toast-notification {
    position: fixed;
    bottom: -100px;
    right: 20px;
    min-width: 300px;
    max-width: 500px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 10001;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid var(--primary-color);
}

.toast-notification.show {
    bottom: 20px;
    transform: translateY(0);
}

.toast-notification.toast-success {
    border-left-color: var(--success-color);
}

.toast-notification.toast-danger {
    border-left-color: var(--danger-color);
}

.toast-notification.toast-warning {
    border-left-color: var(--warning-color);
}

.toast-content {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 12px;
}

.toast-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.toast-notification.toast-success .toast-icon {
    color: var(--success-color);
}

.toast-notification.toast-danger .toast-icon {
    color: var(--danger-color);
}

.toast-notification.toast-warning .toast-icon {
    color: var(--warning-color);
}

.toast-notification.toast-info .toast-icon {
    color: var(--accent-color);
}

.toast-message {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
    color: var(--dark-color);
}

.toast-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition);
    flex-shrink: 0;
}

.toast-close:hover {
    background: #f5f5f5;
    color: var(--dark-color);
}

/* SweetAlert 커스텀 스타일 */
.swal-popup {
    border-radius: 20px !important;
    font-family: 'Noto Sans KR', sans-serif !important;
}

.swal-confirm-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 10px 24px !important;
    font-weight: 500 !important;
}

.swal-cancel-btn {
    background: #6c757d !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 10px 24px !important;
    font-weight: 500 !important;
}

/* 확장프로그램 설치 알림 스타일 */
.extension-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    animation: slideInLeft 0.5s ease-out;
    display: none;
}

.extension-notification.show {
    display: block;
}

.extension-content {
    padding: 16px 30px 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.extension-content i {
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.extension-content i.fa-exclamation-triangle {
    color: #ffd700;
}

.extension-content span {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

.extension-install-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.extension-install-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.extension-close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.extension-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 데스크톱에서만 표시 */
@media (max-width: 768px) {
    .extension-notification {
        display: none !important;
    }
}

/* 모바일에서는 토스트와 겹치지 않도록 조정 */
@media (max-width: 480px) {
    .extension-notification {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .toast-notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }

    .toast-notification.show {
        bottom: 10px;
    }
}

/* 리뷰피커 상태 뱃지 */
.reviewpicker-status-badge {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: #6c757d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9998;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid #ffffff;
}

.reviewpicker-status-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.reviewpicker-status-badge.status-ready {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.reviewpicker-status-badge.status-extension-missing {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
}

.reviewpicker-status-badge.status-login-required {
    background: linear-gradient(135deg, #fd7e14, #f39c12);
}

.reviewpicker-status-badge.status-browser-unsupported {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
}

.reviewpicker-status-badge .badge-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    margin-top: -3px;
}

.reviewpicker-status-badge .status-indicator {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid white;
    background: #6c757d;
}

.reviewpicker-status-badge .status-indicator.green {
    background: #7ed321;
    animation: pulse-green 2s infinite;
}

.reviewpicker-status-badge .status-indicator.red {
    background: #ff4757;
    animation: pulse-red 2s infinite;
}

.reviewpicker-status-badge .status-indicator.yellow {
    background: #ffa502;
    animation: pulse-yellow 2s infinite;
}

.reviewpicker-status-badge .status-indicator.gray {
    background: #6c757d;
}

/* 카카오톡 상담 버튼 */
.kakao-chat-btn {
    position: fixed;
    bottom: 80px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: #FEE500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9998;
    transition: all 0.3s ease;
    border: 3px solid #ffffff;
}

.kakao-chat-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.kakao-chat-btn img {
    width: 48px;
    height: 48px;
}

/* 오픈채팅 버튼 컨테이너 */
.open-chat-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.open-chat-container:hover {
    transform: scale(1.05);
}

.open-chat-container:hover .open-chat-btn {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.open-chat-btn {
    width: 50px;
    height: 50px;
    background: #FEE500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 3px solid #ffffff;
    text-decoration: none;
}

.open-chat-btn img {
    width: 48px;
    height: 48px;
}

.open-chat-label {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 3px 6px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(126, 211, 33, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(126, 211, 33, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(126, 211, 33, 0);
    }
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 71, 87, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);
    }
}

@keyframes pulse-yellow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 165, 2, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 165, 2, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 165, 2, 0);
    }
}

/* 상태 메시지 */
.reviewpicker-status-message {
    position: fixed;
    bottom: 20px;
    left: 85px;
    max-width: 350px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 9997;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-20px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid var(--primary-color);
}

.reviewpicker-status-message.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.reviewpicker-status-message.status-extension-missing {
    border-left-color: var(--danger-color);
}

.reviewpicker-status-message.status-login-required {
    border-left-color: var(--warning-color);
}

.reviewpicker-status-message.status-browser-unsupported {
    border-left-color: var(--danger-color);
}

.status-message-content {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 12px;
}

.status-message-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.status-message-content.status-extension-missing .status-message-icon {
    color: var(--danger-color);
}

.status-message-content.status-login-required .status-message-icon {
    color: var(--warning-color);
}

.status-message-content.status-browser-unsupported .status-message-icon {
    color: var(--danger-color);
}

.status-message-content.status-ready .status-message-icon {
    color: #28a745;
}

.status-message-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
    color: var(--dark-color);
}

.status-message-action {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.status-message-action:hover {
    background: #c44569;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.status-message-action.action-extension {
    background: var(--danger-color);
}

.status-message-action.action-extension:hover {
    background: #e55656;
}

.status-message-action.action-login {
    background: var(--warning-color);
}

.status-message-action.action-login:hover {
    background: #e6b54a;
}

.status-message-action.action-browser {
    background: var(--danger-color);
}

.status-message-action.action-browser:hover {
    background: #e55656;
}

.status-message-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition);
    flex-shrink: 0;
    font-size: 16px;
}

.status-message-close:hover {
    background: #f5f5f5;
    color: var(--dark-color);
}

/* 모바일에서는 뱃지와 메시지 숨김 */
@media (max-width: 768px) {

    .reviewpicker-status-badge,
    .reviewpicker-status-message,
    .kakao-chat-btn {
        display: none !important;
    }
}

/* 뱃지와 메시지가 토스트 알림과 겹치지 않도록 조정 */
@media (max-width: 480px) {
    .reviewpicker-status-badge {
        bottom: 80px;
    }

    .reviewpicker-status-message {
        bottom: 80px;
        left: 10px;
        right: 10px;
        max-width: none;
    }
}

/* 삭제 요청 리뷰 처리 모달 */
.delete-request-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.delete-request-modal {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.delete-request-modal h2 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
}

.delete-request-modal p {
    text-align: center;
    margin-bottom: 20px;
    color: #666;
}

.delete-request-modal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.delete-request-modal-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 10px;
    border-bottom: 1px solid #f0f0f0;
}

.delete-request-modal-list li:last-child {
    border-bottom: none;
}

.delete-request-modal-list .url-text {
    flex-grow: 1;
    word-break: break-all;
    margin-right: 15px;
    font-size: 14px;
}

.delete-request-modal-list .action-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.delete-request-modal-list .btn {
    padding: 6px 12px;
    font-size: 13px;
    box-shadow: none;
}

/* 드롭다운 메뉴 스크롤바 커스텀 (Webkit 브라우저) */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: var(--dark-color);
    border-radius: 10px;
    transition: var(--transition);
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #355577;
    /* primary-color의 어두운 변형 */
}

.dropdown-menu::-webkit-scrollbar-corner {
    background: #f1f1f1;
}