.exam-conditions-game {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.exam-conditions-game * {
    box-sizing: border-box;
}

.exam-conditions-game h3 {
    color: #333;
    text-align: left;
}

.ec-instructions {
    background-color: #e8f4fd;
    border-left: 5px solid #3498db;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.ec-timer {
    font-size: 36px;
    margin-bottom: 15px;
    text-align: center;
    color: #2c3e50;
}

.exam-conditions-game button {
    background-color: #2ecc71;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.exam-conditions-game button:hover {
    background-color: #27ae60;
}

.exam-conditions-game button:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

.ec-textArea {
    width: 100%;
    height: 300px;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 2px solid #bdc3c7;
    border-radius: 4px;
    background-color: #fff;
    font-size: 16px;
    resize: vertical;
    margin-bottom: 10px;
}

.ec-wordCount {
    text-align: right;
    font-style: italic;
    color: #7f8c8d;
}

.ec-currentSection {
    font-weight: bold;
    margin-bottom: 10px;
    color: #2980b9;
}

.ec-feedback {
    margin-top: 20px;
    padding: 15px;
    background-color: #e8f4fd;
    border-left: 5px solid #3498db;
    border-radius: 4px;
}

.ec-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: ec-spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

@keyframes ec-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Feedback Formatierung */
.ec-feedback-content {
    line-height: 1.6;
}

.ec-feedback-heading {
    color: #2980b9;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.1em;
    border-bottom: 2px solid #e8f4fd;
    padding-bottom: 5px;
}

.ec-feedback-heading:first-child {
    margin-top: 10px;
}

.ec-feedback-list {
    margin: 10px 0;
    padding-left: 20px;
}

.ec-feedback-list li {
    margin: 5px 0;
    list-style-type: disc;
}

.ec-feedback-content p {
    margin: 10px 0;
    text-align: justify;
}

/* Error Styles */
.ec-error {
    background-color: #fee;
    border-left: 5px solid #e74c3c;
    padding: 15px;
    margin: 10px 0;
    border-radius: 4px;
}

.ec-error h4 {
    color: #c0392b;
    margin-top: 0;
}

/* Retry Button */
.ec-retry-btn {
    background-color: #3498db;
    margin-top: 10px;
}

.ec-retry-btn:hover {
    background-color: #2980b9;
}

/* Success Feedback */
.ec-feedback h3 {
    color: #27ae60;
    border-bottom: 3px solid #2ecc71;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* Loading State Enhancement */
.ec-feedback .ec-spinner + span {
    color: #7f8c8d;
    font-style: italic;
}