/* Styles for answer display in the Activities tab */

.answer-container {
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #6c757d;
}

.writing-answer {
    display: block;
    margin-top: 20px;
    border-left-color: #28a745;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.answer-title {
    font-weight: 600;
    font-size: 1.1em;
    color: #495057;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.answer-title-icon {
    margin-right: 8px;
    color: #6c757d;
}

.answer-content {
    font-size: 1em;
    line-height: 1.6;
    color: #333;
}

.answer-content p {
    margin-bottom: 10px;
}

.answer-content p:last-child {
    margin-bottom: 0;
}

.answer-content ul, .answer-content ol {
    margin-top: 8px;
    margin-bottom: 8px;
    padding-left: 20px;
}

.answer-content li {
    margin-bottom: 5px;
}

.answer-content .highlight {
    background-color: #fff3cd;
    padding: 2px 4px;
    border-radius: 2px;
}

.answer-content .term {
    font-weight: 500;
    color: #495057;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .answer-container {
        padding: 12px;
    }
    
    .answer-title {
        font-size: 1em;
    }
    
    .answer-content {
        font-size: 0.95em;
    }
}
