/* Speed Reading Test Plugin Styles */
#speed-reading-container {
    max-width: 800px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}

.sr-section {
    background: #f9f9f9;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.sr-button {
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px 5px;
    transition: background-color 0.3s;
}

.sr-button-primary {
    background-color: #0073aa;
    color: white;
}

.sr-button-primary:hover {
    background-color: #005a87;
}

.sr-button-success {
    background-color: #46b450;
    color: white;
}

.sr-button-success:hover {
    background-color: #3d9c46;
}

.sr-button-secondary {
    background-color: #666;
    color: white;
}

.sr-button-secondary:hover {
    background-color: #555;
}

#timer-display {
    text-align: center;
    font-size: 24px;
    color: #0073aa;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 5px;
    border: 2px solid #0073aa;
}

.passage-text {
    line-height: 1.6;
    font-size: 16px;
    text-align: justify;
    margin: 20px 0;
    padding: 20px;
    background: white;
    border-radius: 5px;
    border-left: 4px solid #0073aa;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.result-item {
    background: white;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #46b450;
}

.result-item label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.result-item span {
    font-size: 18px;
    color: #0073aa;
}

#reader-analysis {
    background: white;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
    border-left: 4px solid #ff8c00;
}

.reading-scale {
    margin-top: 20px;
}

.sr-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background: white;
}

.sr-table th,
.sr-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.sr-table th {
    background-color: #0073aa;
    color: white;
}

.sr-table tr:hover {
    background-color: #f5f5f5;
}

@media (max-width: 600px) {
    #speed-reading-container {
        margin: 10px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .sr-table {
        font-size: 14px;
    }
    
    .sr-table th,
    .sr-table td {
        padding: 8px;
    }
}