.report-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 800px;
}

.report-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-gold);
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    margin: -2rem -2rem 2rem -2rem;
    padding: 2rem;
    border-radius: 12px 12px 0 0;
    color: white;
}

.report-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.report-header p {
    color: var(--light-gold);
    margin: 0.5rem 0;
}

.report-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.stat-card {
    background: var(--off-white);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-value {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.conversation-history {
    margin: 2rem 0;
}

.message-group {
    margin: 1.5rem 0;
    padding: 1rem;
    border-radius: 12px;
    background: #f8f9fa;
    border-left: 4px solid var(--gold);
}

.message-timestamp {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.message {
    margin: 0.5rem 0;
    padding: 1rem;
    border-radius: 8px;
    position: relative;
}

.message.user {
    background: var(--primary-blue);
    color: white;
    margin-left: 2rem;
    border-bottom-right-radius: 0;
}

.message.assistant {
    background: white;
    border: 1px solid #eee;
    margin-right: 2rem;
    border-bottom-left-radius: 0;
}

.feedback-summary {
    margin-top: 2rem;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.feedback-header {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--light-gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feedback-section {
    background: white;
    border-radius: 10px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.feedback-section-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.feedback-section-header i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
}

.feedback-content {
    padding: 0.5rem;
}

.feedback-text {
    line-height: 1.6;
    margin-bottom: 0.8rem;
    color: #444;
}

.feedback-original,
.feedback-correction {
    padding: 0.8rem;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.feedback-original {
    background: rgba(0,0,0,0.03);
}

.feedback-correction {
    background: rgba(13,74,156,0.03);
    border-left: 3px solid var(--success-green);
}

.feedback-original .label,
.feedback-correction .label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #666;
}

.feedback-original .text {
    color: #666;
}

.feedback-correction .text {
    color: var(--primary-blue);
}

.correction-highlight {
    color: var(--success-green);
    font-weight: 600;
    padding: 0 0.2rem;
    border-radius: 3px;
    background: rgba(46,204,113,0.1);
}

/* Section-specific colors */
.feedback-section[data-type="strengths"] {
    border-left-color: var(--success-green);
}

.feedback-section[data-type="grammar"] {
    border-left-color: var(--primary-blue);
}

.feedback-section[data-type="pronunciation"] {
    border-left-color: var(--secondary-blue);
}

.feedback-section[data-type="vocabulary"] {
    border-left-color: var(--gold);
}

.feedback-section[data-type="suggestions"] {
    border-left-color: var(--advice-purple);
}

/* Print styles */
@media print {
    .report-container {
        box-shadow: none;
        margin: 0;
        padding: 1rem;
    }

    .report-actions {
        display: none;
    }

    .report-header {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .message.user, .message.assistant {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .feedback-section {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    .correction-highlight {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

.report-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 2px solid #eee;
}

.action-button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.action-button.print {
    background: var(--primary-blue);
    color: white;
}

.action-button.save {
    background: var(--success-green);
    color: white;
}

.action-button.new {
    background: var(--gold);
    color: white;
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.action-button i {
    font-size: 1.1rem;
}

.progress-chart {
    margin: 2rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.progress-chart h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
} 