/* Grundlegende Styles */
body.wp-admin .tc-container,
.tc-container {
    font-family: 'Roboto', sans-serif;
}

.tc-container { 
    margin: 20px; 
}

/* Frontend Styles */
.tc-frontend-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Difficulty Buttons Styling */
.tc-difficulty-selector {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.tc-difficulty-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.tc-difficulty-level {
    text-align: center;
}

.tc-difficulty-btn {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.tc-difficulty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.tc-level-title {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

.tc-level-subtitle {
    font-size: 14px;
    color: #666;
}

/* Spezifische Farben für jedes Niveau */
.tc-difficulty-btn[data-difficulty="A1"] {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
}

.tc-difficulty-btn[data-difficulty="A2"] {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
}

.tc-difficulty-btn[data-difficulty="B1"] {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
}

.tc-difficulty-btn[data-difficulty="B2"] {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
}

.tc-difficulty-btn[data-difficulty="C1"] {
    background: linear-gradient(135deg, #fce4ec, #f8bbd0);
}

.tc-difficulty-btn[data-difficulty="C2"] {
    background: linear-gradient(135deg, #e8eaf6, #c5cae9);
}

.tc-level-description {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    padding: 10px;
    background: rgba(255,255,255,0.7);
    border-radius: 4px;
    display: none;
}

.tc-difficulty-btn:hover + .tc-level-description {
    display: block;
}

/* Fragen und Antworten Styling */
.tc-question {
    margin-bottom: 2em;
    padding: 1em;
    background: #f8f9fa;
    border-radius: 5px;
}

.question-text {
    font-weight: bold;
    margin-bottom: 1em;
}

.tc-answers {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.tc-answer {
    display: flex;
    align-items: center;
    padding: 0.5em;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.tc-answer:hover {
    background-color: #e9ecef;
}

.tc-answer input[type="radio"] {
    margin-right: 10px;
}

.tc-answer.correct {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.tc-answer.incorrect {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.tc-submit-btn {
    margin-top: 1em;
    padding: 0.5em 1em;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.tc-submit-btn:hover {
    background-color: #0056b3;
}

.tc-score-container {
    margin-top: 1em;
    padding: 1em;
    background-color: #e9ecef;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
}

/* Admin Styles */
.tc-admin-section {
    padding: 20px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.tc-admin-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 20px;
}
