/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.header-left {
    text-align: left;
}

.header-right {
    text-align: right;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Navigation */
nav {
    margin-top: 1rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.2);
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.nav-link:hover {
    background: rgba(255,255,255,0.3);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Section Styles */
section {
    background: white;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

section h2 {
    background: #f8f9fa;
    padding: 1.5rem;
    margin: 0;
    color: #495057;
    border-bottom: 1px solid #e9ecef;
}

/* Lesson Grid */
.lesson-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.lesson-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lesson-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.lesson-card h3 {
    color: #667eea;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.lesson-card h4 {
    color: #6c757d;
    margin-bottom: 1rem;
}

.lesson-card p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.lesson-link {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    transition: transform 0.3s ease;
}

.lesson-link:hover {
    transform: translateY(-2px);
}

.lesson-link.disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.coming-soon {
    opacity: 0.6;
}

/* Exercise Grid */
.exercise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.exercise-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: background-color 0.3s ease;
}

.exercise-card:hover {
    background: #e9ecef;
}

.exercise-card h3 {
    color: #495057;
    margin-bottom: 1rem;
}

.exercise-link {
    display: inline-block;
    background: #28a745;
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.exercise-link:hover {
    background: #218838;
}

/* Dialog Styles */
.dialog-container {
    padding: 2rem;
}

.dialog {
    max-width: 800px;
    margin: 0 auto;
}

.dialog-line {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.speaker {
    font-weight: bold;
    color: #667eea;
    display: inline-block;
    min-width: 70px;
}

.text {
    margin-left: 1rem;
}

/* Vocabulary Styles */
.vocabulary-container {
    padding: 2rem;
}

.vocabulary-list {
    display: grid;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.vocabulary-item {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #28a745;
    transition: all 0.3s ease;
}

.vocabulary-item.interactive {
    cursor: pointer;
    border-left: 4px solid #007bff;
    background: #fff;
    border: 2px solid #e9ecef;
}

.vocabulary-item.interactive:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #007bff;
}

.vocabulary-item.interactive:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.25);
}

.vocabulary-item.revealed {
    background: #e7f3ff;
    border-color: #28a745;
}

.vocabulary-item.test-mode {
    background: #fff3cd;
    border-color: #ffc107;
}

.word {
    font-weight: bold;
    color: #495057;
    min-width: 120px;
    margin-right: 1rem;
}

.word.clickable {
    color: #007bff;
    transition: color 0.3s ease;
}

.word.clickable:hover {
    color: #0056b3;
}

.definition {
    color: #6c757d;
    transition: all 0.3s ease;
    flex: 1;
}

.definition.hidden {
    display: none;
}

.definition.visible {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

.click-hint {
    color: #6c757d;
    font-style: italic;
    font-size: 0.9rem;
    opacity: 0.7;
    flex: 1;
}

.click-hint.hidden {
    display: none;
}

.vocabulary-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.control-button {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-button:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.control-button.active {
    background: #28a745;
}

.control-button.active:hover {
    background: #218838;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Matching Game Styles */
.matching-container {
    padding: 2rem;
}

.instructions {
    text-align: center;
    margin-bottom: 2rem;
    color: #6c757d;
}

/* Multiple Choice Game Styles */
.multiple-choice-game {
    max-width: 700px;
    margin: 0 auto 2rem;
}

.word-display {
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.word-display h3 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: 300;
}

.choices-container {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.choice-item {
    background: #f8f9fa;
    padding: 1.2rem;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 1.1rem;
}

.choice-item:hover {
    background: #e9ecef;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.choice-item.correct {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.choice-item.incorrect {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.choice-item.disabled {
    background: #f1f3f4;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.feedback {
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    margin: 1rem 0;
    min-height: 1.5rem;
}

.feedback.correct {
    color: #28a745;
}

.feedback.incorrect {
    color: #dc3545;
}

.navigation-buttons {
    text-align: center;
    margin: 1.5rem 0;
}

.next-button {
    background: #28a745;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.next-button:hover {
    background: #218838;
}

.final-results {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px solid #e9ecef;
}

.final-results h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.final-results p {
    font-size: 1.1rem;
    color: #6c757d;
}

.progress {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #6c757d;
    font-weight: bold;
}

.score-container {
    text-align: center;
    margin-top: 2rem;
}

.score {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #495057;
}

/* Fill in the Blanks Styles */
.fill-blanks-container {
    padding: 2rem;
}

.sentences-list {
    max-width: 900px;
    margin: 0 auto 2rem;
}

.sentence-item {
    background: #f8f9fa;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.sentence-item p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.answer-input {
    padding: 0.3rem 0.8rem;
    border: 2px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
    min-width: 120px;
    transition: border-color 0.3s ease;
}

.answer-input:focus {
    outline: none;
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.answer-input.correct {
    border-color: #28a745;
    background-color: #d4edda;
}

.answer-input.incorrect {
    border-color: #dc3545;
    background-color: #f8d7da;
}

.feedback {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: bold;
}

.feedback.correct {
    color: #28a745;
}

.feedback.incorrect {
    color: #dc3545;
}

.controls {
    text-align: center;
    margin-top: 2rem;
}

.check-button, .reset-button {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    margin: 0 0.5rem;
    transition: background-color 0.3s ease;
}

.check-button:hover {
    background: #0056b3;
}

.reset-button {
    background: #6c757d;
}

.reset-button:hover {
    background: #545b62;
}

/* Sentence Building Styles */
.sentence-building-container {
    padding: 2rem;
}

.sentence-builder {
    max-width: 900px;
    margin: 0 auto 2rem;
}

.current-sentence-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.target-word {
    font-weight: bold;
    color: #495057;
}

.target-word span {
    color: #007bff;
    text-transform: uppercase;
}

.sentence-area {
    margin-bottom: 2rem;
}

.drop-zone {
    min-height: 80px;
    background: #fff;
    border: 3px dashed #dee2e6;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem;
}

.drop-zone.drag-over {
    border-color: #007bff;
    background: #f0f8ff;
}

.drop-placeholder {
    color: #6c757d;
    font-style: italic;
    margin: 0;
}

.word-container {
    display: inline-flex;
    align-items: center;
}

.dropped-word {
    background: #e7f3ff;
    border: 2px solid #007bff;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    margin: 0.1rem;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    position: relative;
    cursor: grab;
    transition: all 0.3s ease;
}

.dropped-word.dragging {
    opacity: 0.5;
    transform: rotate(3deg);
    cursor: grabbing;
}

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

.insert-zone {
    width: 4px;
    height: 40px;
    background: transparent;
    border: 2px dashed transparent;
    margin: 0 2px;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: inline-block;
    visibility: hidden;
    opacity: 0;
}

.insert-zone.drag-over {
    background: #28a745;
    border-color: #28a745;
    width: 8px;
    visibility: visible !important;
    opacity: 1 !important;
    box-shadow: 0 0 12px rgba(40, 167, 69, 0.8);
}

.dropped-word.target-word-highlight {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
    font-weight: bold;
}

.remove-word {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    margin-left: 0.5rem;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-word:hover {
    background: #c82333;
}

.word-bank {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.word-bank h3 {
    margin-bottom: 1rem;
    color: #495057;
    text-align: center;
}

.word-bank-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.word-item.draggable {
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 20px;
    padding: 0.6rem 1.2rem;
    cursor: grab;
    user-select: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.word-item.draggable:hover {
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.word-item.draggable.target-word-highlight {
    background: #fff3cd;
    border-color: #ffc107;
    color: #856404;
    font-weight: bold;
}

.word-item.draggable.dragging {
    opacity: 0.5;
    transform: rotate(5deg);
}

.sentence-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hint-button {
    background: #ffc107;
    color: #212529;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hint-button:hover {
    background: #e0a800;
}

.feedback.hint {
    color: #856404;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 0.8rem;
    border-radius: 5px;
    margin: 1rem 0;
}

/* Navigation Between Exercises */
.navigation {
    padding: 2rem;
    text-align: center;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.prev-exercise, .next-exercise, .lesson-complete {
    display: inline-block;
    background: #6c757d;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    margin: 0 0.5rem;
    transition: background-color 0.3s ease;
}

.next-exercise, .lesson-complete {
    background: #28a745;
}

.prev-exercise:hover {
    background: #545b62;
}

.next-exercise:hover, .lesson-complete:hover {
    background: #218838;
}

/* Footer */
footer {
    background: #343a40;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .lesson-grid {
        grid-template-columns: 1fr;
    }
    
    main {
        padding: 1rem;
    }
    
    .sentence-item {
        padding: 1rem;
    }
    
    .dialog-line {
        padding: 0.8rem;
    }
    
    /* Multiple Choice Game Mobile Styles */
    .word-display {
        padding: 1.5rem;
    }
    
    .word-display h3 {
        font-size: 2rem;
    }
    
    .choice-item {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .multiple-choice-game {
        max-width: 100%;
    }
    
    .final-results {
        padding: 1.5rem;
    }
    
    /* Vocabulary Mobile Styles */
    .vocabulary-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .control-button {
        width: 100%;
        max-width: 250px;
        margin-bottom: 0.5rem;
    }
    
    .vocabulary-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .word {
        min-width: auto;
        margin-right: 0;
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
    }
    
    .click-hint, .definition {
        text-align: center;
        font-size: 0.9rem;
    }

    /* Sentence Building Mobile Styles */
    .current-sentence-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .sentence-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .word-bank-items {
        gap: 0.5rem;
    }
    
    .word-item.draggable {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .drop-zone {
        min-height: 60px;
        padding: 1rem;
    }
    
    .dropped-word {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .insert-zone {
        width: 3px;
        height: 30px;
        margin: 0 1px;
    }
    
    .insert-zone.drag-over {
        width: 5px;
    }
}

/* Emoji Quiz Styles */
.emoji-quiz-container {
    padding: 2rem;
}

.emoji-quiz-game {
    max-width: 700px;
    margin: 0 auto 2rem;
}

.emoji-display {
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    margin: 2rem 0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.emoji-display .emoji {
    font-size: 6rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    animation: emojiPulse 2s ease-in-out infinite;
}

@keyframes emojiPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.answer-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 2px solid #f8f9fa;
}

.answer-display {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #28a745;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.answer-display .word {
    font-size: 2rem;
    font-weight: bold;
    color: #495057;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.answer-display .definition {
    font-size: 1.2rem;
    color: #6c757d;
    font-style: italic;
}

.quiz-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.show-answer-button {
    background: #007bff;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,123,255,0.3);
}

.show-answer-button:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.4);
}

.hint-display {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    font-style: italic;
    animation: slideDown 0.3s ease-out;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
    padding: 0 1rem;
}

.nav-button {
    background: #6c757d;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-button:hover {
    background: #545b62;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.nav-button.prev-button {
    background: #17a2b8;
}

.nav-button.prev-button:hover {
    background: #138496;
}

.nav-button.next-button {
    background: #28a745;
}

.nav-button.next-button:hover {
    background: #218838;
}

.quiz-progress {
    text-align: center;
    margin-top: 2rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
    box-shadow: 0 2px 4px rgba(40,167,69,0.3);
}

.completion-message {
    text-align: center;
    padding: 2rem;
}

.completion-message h3 {
    color: #28a745;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.completion-message p {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

/* Mobile Responsive for Emoji Quiz */
@media (max-width: 768px) {
    .emoji-quiz-container {
        padding: 1rem;
    }
    
    .emoji-display {
        padding: 2rem;
        margin: 1rem 0;
    }
    
    .emoji-display .emoji {
        font-size: 4rem;
    }
    
    .answer-section {
        padding: 1.5rem;
    }
    
    .answer-display .word {
        font-size: 1.5rem;
    }
    
    .answer-display .definition {
        font-size: 1rem;
    }
    
    .quiz-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .show-answer-button {
        width: 100%;
        max-width: 250px;
        margin-bottom: 0.5rem;
    }
    
    .navigation-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 0;
    }
    
    .nav-button {
        width: 100%;
        max-width: 200px;
    }
    
    .completion-message h3 {
        font-size: 1.5rem;
    }
    
    .completion-message p {
        font-size: 1rem;
    }
    
    /* Header mobile responsive */
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-left, .header-right {
        text-align: center;
    }
}

/* User Interface Styles */
.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.welcome-text {
    color: white;
    font-size: 1rem;
    opacity: 0.9;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.action-icon:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.admin-icon {
    background: rgba(255,193,7,0.3);
    border-color: rgba(255,193,7,0.5);
}

.admin-icon:hover {
    background: rgba(255,193,7,0.5);
    border-color: rgba(255,193,7,0.7);
}

.teacher-icon {
    background: rgba(121,31,162,0.3);
    border-color: rgba(121,31,162,0.5);
}

.teacher-icon:hover {
    background: rgba(121,31,162,0.5);
    border-color: rgba(121,31,162,0.7);
}

.logout-icon {
    background: rgba(220,53,69,0.3);
    border-color: rgba(220,53,69,0.5);
}

.logout-icon:hover {
    background: rgba(220,53,69,0.5);
    border-color: rgba(220,53,69,0.7);
}

/* Legacy logout button for compatibility */
.logout-button {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-button:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
}

/* Lesson Progress Styles */
.lesson-progress {
    margin: 1rem 0;
}

.lesson-progress .progress-bar {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.lesson-progress .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.lesson-progress small {
    color: #6c757d;
    font-size: 0.8rem;
}