/* 캐스GPT 챗봇 스타일 */

/* 기본 위젯 스타일 */
.cas-gpt-widget {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 토글 버튼 */
.cas-gpt-toggle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.cas-gpt-toggle:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
}

.cas-gpt-toggle:active {
    transform: translateY(0) scale(0.95);
}

.cas-gpt-toggle-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.cas-gpt-toggle:hover .cas-gpt-toggle-icon {
    transform: rotate(360deg);
}

.cas-gpt-toggle-text {
    display: none;
}

/* 펄스 애니메이션 */
.cas-gpt-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* 알림 배지 */
.cas-gpt-toggle::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 12px;
    height: 12px;
    background: #ff4757;
    border-radius: 50%;
    border: 2px solid white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.cas-gpt-toggle.has-notification::after {
    opacity: 1;
    transform: scale(1);
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: scale(1);
    }
    40% {
        transform: scale(1.2);
    }
    60% {
        transform: scale(1.1);
    }
}

/* 챗봇 패널 */
.cas-gpt-panel {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 400px;
    height: 600px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 헤더 */
.cas-gpt-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cas-gpt-header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.cas-gpt-header-info h3 {
    margin: 0 0 4px 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cas-gpt-header-info p {
    margin: 0;
    font-size: 13px;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 0.2px;
    line-height: 1.3;
    color: white;
}

.cas-gpt-keywords-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cas-gpt-keywords-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.cas-gpt-practice-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cas-gpt-practice-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.cas-gpt-completed-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cas-gpt-completed-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.cas-gpt-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.cas-gpt-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 메시지 영역 */
.cas-gpt-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8f9fa;
}

.cas-gpt-welcome {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.cas-gpt-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.cas-gpt-welcome-text p {
    margin: 0 0 15px 0;
    color: #333;
    line-height: 1.5;
    text-align: left;
}

.cas-gpt-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.suggestion-btn {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    color: #666;
}

.suggestion-btn:hover {
    background: #f0f0f0;
    border-color: #667eea;
    color: #667eea;
}

/* 메시지 스타일 */
.cas-gpt-message {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}

.cas-gpt-message.user {
    flex-direction: row-reverse;
}

.cas-gpt-message-content {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    word-wrap: break-word;
    position: relative;
    text-align: left;
}

.cas-gpt-message.user .cas-gpt-message-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom-right-radius: 4px;
}

.cas-gpt-message.assistant .cas-gpt-message-content {
    background: white;
    color: #333;
    border: 1px solid #e0e0e0;
    border-bottom-left-radius: 4px;
}

.cas-gpt-message-time {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 5px;
}

.cas-gpt-message-actions {
    margin-top: 8px;
    display: flex;
    gap: 8px;
}

.cas-gpt-action-btn {
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 4px 8px;
    font-size: 11px;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
}

.cas-gpt-action-btn:hover {
    background: #f0f0f0;
    border-color: #667eea;
    color: #667eea;
}

.cas-gpt-action-btn[onclick*="showMessageKeywords"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.cas-gpt-action-btn[onclick*="showMessageKeywords"]:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* 입력 영역 */
.cas-gpt-input-area {
    padding: 20px;
    background: white;
    border-top: 1px solid #e0e0e0;
}

.cas-gpt-input-container {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

#cas-gpt-input {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 12px 16px;
    font-size: 14px;
    resize: none;
    max-height: 100px;
    min-height: 40px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

#cas-gpt-input:focus {
    border-color: #667eea;
}

.cas-gpt-send-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.cas-gpt-send-btn:hover:not(:disabled) {
    transform: scale(1.05);
}

.cas-gpt-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cas-gpt-footer {
    margin-top: 8px;
    text-align: center;
    font-size: 11px;
    color: #999;
}

/* 로딩 애니메이션 */
.cas-gpt-typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
}

.cas-gpt-typing-dot {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.cas-gpt-typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.cas-gpt-typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

/* 복습 모달 */
.cas-gpt-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cas-gpt-modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cas-gpt-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cas-gpt-modal-header h3 {
    margin: 0;
    color: #333;
}

.cas-gpt-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.cas-gpt-modal-body {
    padding: 20px;
}

.review-conversation {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.review-question, .review-answer {
    margin-bottom: 12px;
    text-align: left;
}

.review-question strong, .review-answer strong {
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.review-score-section {
    margin-bottom: 20px;
}

.review-score-section label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.star-rating {
    display: flex;
    gap: 5px;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating label {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating input[type="radio"]:checked ~ label,
.star-rating label:hover {
    color: #ffc107;
}

.review-notes-section {
    margin-bottom: 20px;
}

.review-notes-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

#review-notes {
    width: 100%;
    min-height: 80px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    font-family: inherit;
    resize: vertical;
    outline: none;
}

#review-notes:focus {
    border-color: #667eea;
}

.review-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cas-gpt-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.cas-gpt-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cas-gpt-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.cas-gpt-btn-secondary {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #e0e0e0;
}

.cas-gpt-btn-secondary:hover {
    background: #e9ecef;
}

/* 반응형 디자인 */
@media (max-width: 480px) {
    .cas-gpt-panel {
        width: calc(100vw - 40px);
        height: calc(100vh - 40px);
        bottom: 20px;
        right: 20px;
    }
    
    .cas-gpt-widget {
        bottom: 10px;
        right: 10px;
    }
    
    .cas-gpt-toggle {
        width: 50px;
        height: 50px;
    }
    
    .cas-gpt-toggle-icon {
        width: 24px;
        height: 24px;
    }
}

/* 태블릿 */
@media (max-width: 768px) {
    .cas-gpt-widget {
        bottom: 80px;
        right: 15px;
    }
    
    .cas-gpt-panel {
        width: 350px;
        height: 500px;
    }
}

/* 다크 모드 지원 */
@media (prefers-color-scheme: dark) {
    .cas-gpt-panel {
        background: #1a1a1a;
        color: #ffffff;
    }
    
    .cas-gpt-messages {
        background: #2a2a2a;
    }
    
    .cas-gpt-input-area {
        background: #1a1a1a;
        border-top-color: #333;
    }
    
    #cas-gpt-input {
        background: #2a2a2a;
        border-color: #444;
        color: #ffffff;
    }
    
    #cas-gpt-input:focus {
        border-color: #667eea;
    }
    
    .keyword-item {
        background: #2a2a2a;
        border-color: #444;
        color: #ffffff;
    }
    
    .keyword-item:hover {
        background: #333;
        border-color: #667eea;
    }
    
    .keyword-expression {
        color: #ffffff;
    }
    
    .keyword-definition {
        color: #cccccc;
    }
    
    .keyword-definition strong {
        color: #ffffff;
    }
    
    .keyword-example {
        background: #1a1a1a;
        color: #cccccc;
    }
    
    .keyword-example strong {
        color: #ffffff;
    }
    
    .keyword-meta {
        border-top-color: #444;
        color: #999;
    }
    
    .cas-gpt-action-btn[onclick*="showMessageKeywords"] {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }
    
    .cas-gpt-action-btn[onclick*="showMessageKeywords"]:hover {
        background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    }
}

/* 스크롤바 스타일 */
.cas-gpt-messages::-webkit-scrollbar {
    width: 6px;
}

.cas-gpt-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.cas-gpt-messages::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.cas-gpt-messages::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 키워드 모달 스타일 */
.keywords-container {
    max-height: 400px;
    overflow-y: auto;
}

.keywords-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.keywords-loading .cas-gpt-typing {
    margin: 0 auto 15px auto;
    width: fit-content;
}

.keywords-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.keywords-empty-icon {
    margin-bottom: 15px;
    color: #ddd;
}

.keywords-empty h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.keywords-empty p {
    margin: 0;
    font-size: 14px;
}

.keywords-error {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.keywords-error p {
    margin: 0 0 15px 0;
}

.keywords-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.keyword-item {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s;
}

.keyword-item:hover {
    background: #f0f0f0;
    border-color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.keyword-header {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 12px;
}

.keyword-expression {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-align: left;
}

.keyword-type {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.keyword-definition {
    margin-bottom: 12px;
    color: #555;
    line-height: 1.6;
    font-size: 15px;
    text-align: left;
}

.keyword-example {
    margin-bottom: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    border-radius: 0 8px 8px 0;
    color: #666;
    line-height: 1.6;
    font-style: italic;
    font-size: 14px;
    text-align: left;
}

.keyword-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 12px;
    color: #999;
    border-top: 1px solid #e0e0e0;
    padding-top: 8px;
}

.keyword-date {
    font-weight: 500;
}

/* 키워드 모달 스크롤바 */
.keywords-container::-webkit-scrollbar {
    width: 6px;
}

.keywords-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.keywords-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.keywords-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 연습 모달 스타일 */
.practice-container {
    max-height: 500px;
    overflow-y: auto;
}

.practice-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.practice-loading .cas-gpt-typing {
    margin: 0 auto 15px auto;
    width: fit-content;
}

.practice-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.practice-empty-icon {
    margin-bottom: 15px;
    color: #ddd;
}

.practice-empty h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.practice-empty p {
    margin: 0;
    font-size: 14px;
}

.practice-error {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.practice-error p {
    margin: 0 0 15px 0;
}

.practice-question {
    padding: 20px 0;
}

.practice-progress {
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.practice-content {
    text-align: left;
}

.practice-instruction {
    margin-bottom: 25px;
    text-align: center;
}

.practice-instruction h4 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.practice-definition {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.definition-text {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.definition-hint {
    padding: 12px;
    background: white;
    border-left: 3px solid #667eea;
    border-radius: 0 8px 8px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.definition-hint strong {
    color: #333;
    font-weight: 600;
}

.practice-input {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.practice-input input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
}

.practice-input input:focus {
    border-color: #667eea;
}

.practice-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.practice-feedback {
    text-align: center;
    padding: 40px 20px;
}

.feedback-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.practice-feedback.correct .feedback-icon {
    color: #28a745;
}

.practice-feedback.wrong .feedback-icon {
    color: #dc3545;
}

.practice-feedback h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 20px;
}

.practice-feedback p {
    margin: 0 0 20px 0;
    color: #666;
}

.practice-result {
    text-align: center;
    padding: 40px 20px;
}

.result-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.result-score {
    margin: 20px 0;
}

.score-number {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.score-percentage {
    font-size: 18px;
    color: #667eea;
    font-weight: 600;
}

.result-message {
    font-size: 18px;
    color: #333;
    margin: 20px 0;
    font-weight: 600;
}

.result-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
}

/* 연습 모달 스크롤바 */
.practice-container::-webkit-scrollbar {
    width: 6px;
}

.practice-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.practice-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.practice-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 완료된 학습 스타일 */
.completed-container {
    max-height: 400px;
    overflow-y: auto;
}

.completed-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.completed-header {
    padding: 0 0 12px 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 16px;
}

.completed-header h4 {
    margin: 0;
    color: #2d3748;
    font-size: 16px;
    font-weight: 600;
}

.completed-keyword {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.2s ease;
}

.completed-keyword:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.completed-keyword-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.completed-keyword-expression {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
}

.completed-keyword-type {
    background: #38a169;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.completed-keyword-definition {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
    font-style: italic;
}

.completed-keyword-example {
    color: #718096;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 8px;
    padding-left: 12px;
    border-left: 3px solid #cbd5e0;
}

.completed-keyword-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
}

.completed-date {
    color: #38a169;
    font-size: 12px;
    font-weight: 500;
}

.completed-empty {
    text-align: center;
    padding: 40px 20px;
    color: #718096;
}

.completed-empty .empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.completed-empty h3 {
    margin: 0 0 8px 0;
    color: #4a5568;
    font-size: 18px;
}

.completed-empty p {
    margin: 0;
    font-size: 14px;
}

.completed-error {
    text-align: center;
    padding: 40px 20px;
    color: #e53e3e;
}

.completed-error .error-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.completed-error h3 {
    margin: 0 0 8px 0;
    color: #e53e3e;
    font-size: 18px;
}

.completed-error p {
    margin: 0;
    font-size: 14px;
}

/* 키워드 완료 버튼 */
.keyword-complete-btn {
    background: #38a169;
    border: none;
    color: white;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.keyword-complete-btn:hover {
    background: #2f855a;
    transform: scale(1.05);
}

.keyword-complete-btn:active {
    transform: scale(0.95);
}
