/* Speaking - 따라말하기 복습 화면 스타일 */

.repeat-result-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 이미지 박스 */
.repeat-result-image-box {
    margin-bottom: 40px;
    text-align: center;
}

.repeat-result-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* 다시 듣기 버튼 */
.repeat-result-audio-box {
    margin-bottom: 40px;
    text-align: center;
}

.btn-listen-again {
    padding: 15px 40px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-listen-again:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.btn-listen-again:active {
    transform: translateY(0);
}

.btn-listen-again i {
    font-size: 20px;
}

/* 결과 섹션 */
.repeat-result-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.repeat-result-label {
    font-size: 16px;
    font-weight: 700;
    color: #8b5cf6;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.repeat-result-label i {
    font-size: 18px;
}

.repeat-result-text {
    font-size: 18px;
    line-height: 1.8;
    color: #2d3748;
    word-wrap: break-word;
}

.repeat-result-text.translation {
    color: #4a5568;
}

/* 이전/다음 버튼 */
.repeat-result-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
}

.btn-nav-prev,
.btn-nav-next {
    flex: 1;
    padding: 15px 30px;
    background: white;
    color: #4a5568;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-nav-prev:hover,
.btn-nav-next:hover {
    background: #f7fafc;
    border-color: #8b5cf6;
    color: #8b5cf6;
}

.btn-nav-prev:disabled,
.btn-nav-next:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-nav-prev:disabled:hover,
.btn-nav-next:disabled:hover {
    background: white;
    border-color: #e5e7eb;
    color: #4a5568;
}

/* 반응형 */
@media (max-width: 768px) {
    .repeat-result-container {
        padding: 20px 15px;
    }
    
    .repeat-result-image {
        max-width: 100%;
    }
    
    .btn-listen-again {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .repeat-result-section {
        padding: 20px;
    }
    
    .repeat-result-text {
        font-size: 16px;
    }
    
    .repeat-result-navigation {
        flex-direction: column;
    }
    
    .btn-nav-prev,
    .btn-nav-next {
        width: 100%;
    }
}
