/* Writing - 단어배열 채점 결과 화면 (Ultra Compact & Modern) */

/* 문제 카드 - 최소한의 스타일 */
.arrange-result-item {
    margin-bottom: 20px;
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
}

.arrange-result-item:last-child {
    border-bottom: none;
}

/* 헤더 - 한 줄로 간결하게 */
.arrange-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #f8f9ff 0%, #fefeff 100%);
    border-radius: 8px;
}

.arrange-result-header.correct {
    background: linear-gradient(135deg, #f0fdf4 0%, #fefffe 100%);
}

.arrange-result-header.incorrect {
    background: linear-gradient(135deg, #fef2f2 0%, #fffefe 100%);
}

.arrange-question-number {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.3px;
}

.arrange-result-header.correct .arrange-question-number {
    color: #059669;
}

.arrange-result-header.incorrect .arrange-question-number {
    color: #dc2626;
}

.arrange-result-status {
    font-size: 20px;
}

.arrange-result-status.correct {
    color: #10b981;
}

.arrange-result-status.incorrect {
    color: #ef4444;
}

/* 내용 영역 - 패딩 최소화 */
.arrange-result-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* 주어진 문장 - 박스 제거, 텍스트만 */
.arrange-given-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 2px;
}

.arrange-section-title {
    display: none; /* 타이틀 제거 */
}

/* 프로필 + 텍스트 행 */
.arrange-result-profile-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 채점 화면 프로필 이미지 */
.arrange-result-profile {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: transparent;
}

.arrange-result-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 텍스트 영역 */
.arrange-result-text-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.arrange-given-text {
    font-size: 17px;
    line-height: 1.6;
    color: #1e293b;
    font-weight: 500;
}

.arrange-translation {
    font-size: 15px;
    line-height: 1.5;
    color: #64748b;
}

/* 정답 문장 - 박스 최소화 */
.arrange-answer-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 2px;
}

/* 답변 라벨 (내 답변, 정답) */
.arrange-answer-label {
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.arrange-correct-sentence {
    font-size: 17px;
    line-height: 1.6;
    color: #059669;
    font-weight: 600;
}

.arrange-correct-sentence::before {
    content: "✓";
    font-size: 14px;
    color: #10b981;
    font-weight: 700;
    margin-right: 8px;
}

.arrange-correct-translation {
    font-size: 15px;
    line-height: 1.5;
    color: #047857;
}

/* 사용자 답변 (오답) - 박스 최소화 */
.arrange-user-answer-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 2px;
}

.arrange-user-sentence {
    font-size: 17px;
    line-height: 1.6;
    color: #dc2626;
    font-weight: 600;
}

.arrange-user-sentence::before {
    content: "✗";
    font-size: 14px;
    color: #ef4444;
    font-weight: 700;
    margin-right: 8px;
}
    gap: 8px;
}

.arrange-user-sentence::before {
    content: "✗";
    font-size: 14px;
    color: #ef4444;
    font-weight: 700;
}

/* 해설 - 박스 제거, 배경색만 */
.arrange-explanation-section {
    margin-top: 12px;
    padding: 12px;
    background: #fffbeb;
    border-radius: 6px;
}

.arrange-explanation-title {
    font-size: 14px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.arrange-explanation-title i {
    font-size: 14px;
    color: #f59e0b;
}

.arrange-explanation-text {
    font-size: 15px;
    line-height: 1.6;
    color: #78350f;
}

/* 답변 구조 표시 */
.arrange-result-blank {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    margin: 0 2px;
}

.arrange-result-blank.correct-blank {
    background: #d1fae5;
    color: #059669;
}

.arrange-result-blank.wrong-blank {
    background: #fee2e2;
    color: #dc2626;
}

.arrange-result-given {
    color: #6b7280;
    font-weight: 500;
}

.arrange-result-punctuation {
    color: #1e293b;
    font-weight: 700;
}

/* 주어진 단어들 표시 */
.arrange-options-display {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.arrange-options-label {
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.arrange-options-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.arrange-option-display {
    padding: 4px 10px;
    background: #f3f4f6;
    color: #6b7280;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

/* 구분선 - 제거 (border-bottom으로 대체) */
.arrange-divider {
    display: none;
}

/* 반응형 */
@media (max-width: 768px) {
    .arrange-result-item {
        padding: 12px 0;
    }
    
    .arrange-given-text,
    .arrange-correct-sentence,
    .arrange-user-sentence {
        font-size: 16px;
    }
    
    .arrange-translation,
    .arrange-correct-translation,
    .arrange-explanation-text {
        font-size: 14px;
    }
}
