#pp-langtest-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.pp-section {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.pp-button {
    display: inline-block;
    padding: 12px 24px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.pp-button:hover {
    background: #0056b3;
}

.pp-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.pp-button.primary {
    background: #28a745;
}

.pp-button.primary:hover {
    background: #218838;
}

.pp-progress {
    margin-bottom: 30px;
}

.pp-progress-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.pp-progress-fill {
    height: 100%;
    background: #28a745;
    width: 0;
    transition: width 0.3s ease;
}

.pp-progress-text {
    text-align: center;
    color: #6c757d;
    font-size: 14px;
}

#pp-question-container {
    margin-top: 20px;
}

#pp-question-text {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.pp-answers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.pp-answers label {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.pp-answers label:hover {
    background: #e9ecef;
}

.pp-answers input[type="radio"] {
    margin-right: 10px;
}

.pp-error {
    background: #dc3545;
    color: #fff;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    animation: fadeIn 0.3s ease;
}

.pp-loading {
    text-align: center;
    padding: 30px;
}

.pp-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #28a745;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
} 