.vlp-quiz-container,
.vlp-flashcard-container,
.vlp-spelling-container,
.vlp-analytics-container,
.vlp-search-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.vlp-quiz-header,
.vlp-flashcard-header,
.vlp-spelling-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.vlp-quiz-header h2,
.vlp-flashcard-header h2,
.vlp-spelling-header h2 {
    margin: 0;
    color: #1f2937;
    font-size: 28px;
}

.vlp-quiz-stats,
.vlp-flashcard-stats,
.vlp-spelling-stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #6b7280;
}

.vlp-score {
    font-weight: 600;
    color: #059669;
}

.vlp-difficulty-selector {
    text-align: center;
    margin-bottom: 30px;
}

.vlp-difficulty-selector h3 {
    margin-bottom: 15px;
    color: #374151;
}

.vlp-difficulty-btn {
    padding: 12px 24px;
    margin: 5px;
    background: #f3f4f6;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    transition: all 0.2s;
}

.vlp-difficulty-btn:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
}

.vlp-difficulty-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
}

.vlp-start-quiz-btn,
.vlp-start-flashcard-btn,
.vlp-start-spelling-btn {
    display: block;
    margin: 0 auto;
    padding: 16px 48px;
    background: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.vlp-start-quiz-btn:hover,
.vlp-start-flashcard-btn:hover,
.vlp-start-spelling-btn:hover {
    background: #2563eb;
}

.vlp-question-card,
.vlp-spelling-card {
    text-align: center;
}

.vlp-question-text,
.vlp-meaning-text {
    font-size: 24px;
    margin-bottom: 30px;
    color: #1f2937;
}

.vlp-question-text strong {
    color: #3b82f6;
    font-size: 32px;
}

.vlp-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.vlp-option-btn {
    padding: 20px;
    background: #00549c;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
}

.vlp-option-btn:hover:not(.selected) {
    background: #f3f4f6;
    border-color: #3b82f6;
}

.vlp-option-btn.correct {
    background: #d1fae5;
    border-color: #059669;
    color: #065f46;
}

.vlp-option-btn.incorrect {
    background: #fee2e2;
    border-color: #dc2626;
    color: #991b1b;
}

.vlp-next-btn,
.vlp-check-spelling-btn,
.vlp-next-spelling-btn {
    padding: 12px 32px;
    background: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.vlp-next-btn:hover,
.vlp-check-spelling-btn:hover,
.vlp-next-spelling-btn:hover {
    background: #2563eb;
}

.vlp-quiz-results,
.vlp-spelling-results {
    text-align: center;
}

.vlp-quiz-results h3,
.vlp-spelling-results h3 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #1f2937;
}

.vlp-results-summary {
    margin-bottom: 30px;
}

.vlp-results-summary p {
    font-size: 20px;
    margin: 10px 0;
    color: #374151;
}

.vlp-final-score span {
    font-size: 48px;
    font-weight: 700;
    color: #3b82f6;
}

.vlp-restart-btn,
.vlp-restart-spelling-btn {
    padding: 16px 48px;
    background: #10b981;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.vlp-restart-btn:hover,
.vlp-restart-spelling-btn:hover {
    background: #059669;
}

.vlp-flashcard {
    perspective: 1000px;
    margin-bottom: 30px;
    cursor: pointer;
}

.vlp-flashcard-inner {
    position: relative;
    width: 100%;
    height: 800px;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.vlp-flashcard.flipped .vlp-flashcard-inner {
    transform: rotateY(180deg);
}

.vlp-flashcard-front,
.vlp-flashcard-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    text-align: center;
}

.vlp-flashcard-back {
    transform: rotateY(180deg);
}

.vlp-flashcard-front .vlp-word {
    font-size: 48px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.vlp-flashcard-front .vlp-pronunciation {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 20px;
}

.vlp-flashcard-back .vlp-meaning {
    font-size: 36px;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 20px;
}

.vlp-flashcard-back .vlp-examples {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.6;
}

.vlp-example-item {
    padding: 10px 0;
    border-bottom: 1px solid #d1d5db;
}

.vlp-example-item:last-child {
    border-bottom: none;
}

.vlp-flip-hint {
    position: absolute;
    bottom: 5px;
    font-size: 14px;
    color: #9ca3af;
}

.vlp-flashcard-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.vlp-flashcard-controls button {
    padding: 12px 24px;
    background: #f3f4f6;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    transition: all 0.2s;
}

.vlp-flashcard-controls button:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
}

.vlp-spelling-input-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 30px 0;
}

.vlp-spelling-input {
    flex: 1;
    max-width: 400px;
    padding: 16px;
    font-size: 18px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    outline: none;
}

.vlp-spelling-input:focus {
    border-color: #3b82f6;
}

.vlp-feedback {
    margin: 20px 0;
    font-size: 18px;
    font-weight: 600;
}

.vlp-feedback .vlp-correct {
    color: #059669;
}

.vlp-feedback .vlp-incorrect {
    color: #dc2626;
}

.vlp-pronunciation-text {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 20px;
}

.vlp-loading {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #6b7280;
}

.vlp-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: vlp-spin 0.8s linear infinite;
}

@keyframes vlp-spin {
    to { transform: rotate(360deg); }
}

.vlp-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.vlp-stat-card {
    padding: 24px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-align: center;
}

.vlp-stat-label {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
}

.vlp-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
}

.vlp-recent-sessions {
    margin-top: 40px;
}

.vlp-recent-sessions h3 {
    margin-bottom: 20px;
    color: #1f2937;
}

.vlp-sessions-table {
    width: 100%;
    border-collapse: collapse;
}

.vlp-sessions-table th,
.vlp-sessions-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.vlp-sessions-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.vlp-single-word {
    max-width: 600px;
    margin: 20px auto;
}

.vlp-word-card {
    padding: 30px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
}

.vlp-word-title {
    font-size: 36px;
    margin-bottom: 10px;
    color: #1f2937;
}

.vlp-word-pronunciation {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 20px;
}

.vlp-word-meaning {
    font-size: 24px;
    color: #3b82f6;
    margin-bottom: 20px;
}

.vlp-word-examples {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #d1d5db;
}

.vlp-word-difficulty {
    display: inline-block;
    padding: 6px 12px;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.vlp-widget-word,
.vlp-widget-quiz {
    padding: 15px;
}

.vlp-widget-word-title {
    font-size: 20px;
    margin-bottom: 8px;
    color: #1f2937;
}

.vlp-widget-pronunciation {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 10px;
}

.vlp-widget-meaning {
    font-size: 16px;
    color: #374151;
    margin-bottom: 10px;
}

.vlp-widget-difficulty {
    display: inline-block;
    padding: 4px 8px;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.vlp-widget-quiz-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.vlp-widget-quiz-btn:hover {
    background: #2563eb;
}

.vlp-message {
    padding: 20px;
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    color: #92400e;
}

.vlp-search-header {
    margin-bottom: 30px;
}

.vlp-search-header h2 {
    margin: 0;
    color: #1f2937;
    font-size: 28px;
}

.vlp-search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.vlp-search-input {
    flex: 1;
    padding: 16px;
    font-size: 18px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
}

.vlp-search-input:focus {
    border-color: #3b82f6;
}

.vlp-search-btn {
    padding: 16px 32px;
    background: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.vlp-search-btn:hover {
    background: #2563eb;
}

.vlp-results-count {
    margin-bottom: 20px;
    font-size: 16px;
    color: #6b7280;
}

.vlp-results-count strong {
    color: #1f2937;
    font-size: 20px;
}

.vlp-search-result-item {
    padding: 24px;
    margin-bottom: 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: box-shadow 0.2s;
}

.vlp-search-result-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.vlp-result-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.vlp-result-word {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
}

.vlp-result-pronunciation {
    font-size: 16px;
    color: #6b7280;
    font-style: italic;
}

.vlp-result-difficulty {
    display: inline-block;
    padding: 4px 12px;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.vlp-result-meaning {
    font-size: 20px;
    color: #3b82f6;
    margin-bottom: 16px;
    font-weight: 600;
}

.vlp-result-examples {
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.vlp-result-examples strong {
    display: block;
    margin-bottom: 10px;
    color: #374151;
    font-size: 16px;
}

.vlp-result-example-item {
    padding: 8px 0 8px 16px;
    margin-bottom: 8px;
    border-left: 3px solid #3b82f6;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.5;
}

.vlp-search-empty {
    text-align: center;
    padding: 40px;
    color: #6b7280;
    font-size: 18px;
}

@media (max-width: 768px) {
    .vlp-quiz-container,
    .vlp-flashcard-container,
    .vlp-spelling-container,
    .vlp-analytics-container,
    .vlp-search-container {
        padding: 20px;
    }

    .vlp-options {
        grid-template-columns: 1fr;
    }

    .vlp-quiz-header,
    .vlp-flashcard-header,
    .vlp-spelling-header {
        flex-direction: column;
        text-align: center;
    }

    .vlp-quiz-stats,
    .vlp-flashcard-stats,
    .vlp-spelling-stats {
        flex-direction: column;
        gap: 10px;
    }

    .vlp-flashcard-inner {
        height: 300px;
    }

    .vlp-flashcard-front .vlp-word {
        font-size: 36px;
    }

    .vlp-flashcard-back .vlp-meaning {
        font-size: 28px;
    }

    .vlp-search-box {
        flex-direction: column;
    }

    .vlp-result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .vlp-result-word {
        font-size: 20px;
    }

    .vlp-result-meaning {
        font-size: 18px;
    }
}
