.flashcards-pro-container {
    max-width: 540px;
    margin: 40px auto;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 22pt;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    padding: 36px 36px 28px 36px;
    color: #232323;
    outline: none;
}

.flashcards-pro-container:focus {
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15), 0 0 0 3px rgba(53, 117, 236, 0.2);
}

.flashcards-navigation-wrapper {
    position: relative;
}

.flashcards-nav-header,
.flashcards-nav-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.flashcards-nav-footer {
    margin-top: 20px;
    margin-bottom: 0;
}

.flashcards-counter {
    font-size: 16pt;
    font-weight: 600;
    color: #666;
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #e9ecef;
}

.flashcards-nav-btn {
    display: inline-block;
    font-size: 14pt;
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid #3575ec;
    background: transparent;
    color: #3575ec;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 100px;
}

.flashcards-nav-btn:hover:not(:disabled) {
    background: #3575ec;
    color: #fff;
    transform: translateY(-1px);
}

.flashcards-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: #ccc;
    color: #ccc;
}

.flashcards-choice.selected {
    background: linear-gradient(135deg, #2eb872 0%, #4cd964 100%);
    box-shadow: 0 4px 18px rgba(46,184,114,0.12);
}

.flashcards-choice.correct-answer {
    background: linear-gradient(135deg, #2eb872 0%, #4cd964 100%);
    border: 3px solid #28a745;
    box-shadow: 0 4px 18px rgba(46,184,114,0.2);
}

.flashcards-choice.incorrect-answer {
    background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
    border: 3px solid #dc3545;
    color: #fff;
    box-shadow: 0 4px 18px rgba(220,53,69,0.2);
}

.flashcards-choice.correct-answer-highlight {
    background: linear-gradient(135deg, #2eb872 0%, #4cd964 100%);
    border: 3px solid #28a745;
    box-shadow: 0 4px 18px rgba(46,184,114,0.2);
    animation: pulse-correct 2s ease-in-out;
}

@keyframes pulse-correct {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.flashcards-answer-feedback {
    margin-top: 20px;
    padding: 20px;
    border-radius: 12px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.feedback-header {
    font-size: 18pt;
    font-weight: 600;
    margin-bottom: 10px;
}

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

.feedback-incorrect {
    color: #dc3545;
}

.correct-answer-text {
    font-size: 16pt;
    margin-bottom: 15px;
    color: #495057;
}

.further-info-section {
    margin-top: 15px;
    padding: 15px;
    background: #e3f2fd;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
}

.further-info-label {
    font-weight: 600;
    color: #1976d2;
    margin-bottom: 8px;
    font-size: 14pt;
}

.further-info-content {
    color: #424242;
    line-height: 1.5;
    font-size: 14pt;
}

.quiz-results {
    margin: 20px 0;
}

.quiz-result-item {
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 12px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.result-question {
    font-weight: 600;
    font-size: 16pt;
    margin-bottom: 8px;
    color: #212529;
}

.result-status {
    font-size: 14pt;
    margin-bottom: 8px;
    font-weight: 500;
}

.result-answer {
    font-size: 14pt;
    margin-bottom: 10px;
    color: #495057;
}

.result-further-info {
    margin-top: 12px;
    padding: 12px;
    background: #e3f2fd;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
}

/* Report Problem Functionality */
.flashcards-report-section {
    margin-top: 20px;
    text-align: center;
}

.flashcards-report-btn {
    background: transparent;
    border: 1px solid #dc3545;
    color: #dc3545;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12pt;
    cursor: pointer;
    transition: all 0.2s;
}

.flashcards-report-btn:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-1px);
}

/* Report Modal Styles */
.flashcards-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
}

.flashcards-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.flashcards-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e9ecef;
}

.flashcards-modal-header h3 {
    margin: 0;
    font-size: 18pt;
    color: #212529;
}

.flashcards-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flashcards-modal-close:hover {
    color: #495057;
}

.flashcards-form-group {
    padding: 16px 24px;
}

.flashcards-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 14pt;
}

.flashcards-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.flashcards-checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.flashcards-checkbox-group label:hover {
    background-color: #f8f9fa;
}

.flashcards-checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
}

.flashcards-form-group input[type="email"],
.flashcards-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14pt;
    box-sizing: border-box;
}

.flashcards-form-group input[type="email"]:focus,
.flashcards-form-group textarea:focus {
    outline: none;
    border-color: #3575ec;
    box-shadow: 0 0 0 3px rgba(53, 117, 236, 0.1);
}

.flashcards-form-actions {
    padding: 16px 24px;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.flashcards-btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14pt;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.flashcards-btn-primary {
    background: linear-gradient(135deg, #3575ec 0%, #6cc0e5 100%);
    color: white;
}

.flashcards-btn-primary:hover {
    background: linear-gradient(135deg, #285fbd 0%, #42a7c6 100%);
    transform: translateY(-1px);
}

.flashcards-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.flashcards-btn-secondary {
    background: transparent;
    color: #6c757d;
    border: 1px solid #ced4da;
}

.flashcards-btn-secondary:hover {
    background: #f8f9fa;
    color: #495057;
}

.flashcards-success-message {
    padding: 32px 24px;
    text-align: center;
}

.flashcards-success-message h3 {
    color: #28a745;
    margin-bottom: 16px;
    font-size: 20pt;
}

.flashcards-success-message p {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 14pt;
}

.flashcards-keyboard-hint {
    text-align: center;
    font-size: 12pt;
    color: #666;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    font-style: italic;
}

.flashcards-card,
.flashcards-quiz,
.flashcards-summary {
    margin-bottom: 36px;
    padding: 32px 24px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f6f8fc 0%, #e3eafd 100%);
    box-shadow: 0 4px 18px rgba(31,38,135,0.05);
    font-size: 22pt;
}

.flashcards-front,
.flashcards-back {
    margin-bottom: 30px;
    font-size: 22pt;
    line-height: 1.4;
    word-break: break-word;
}

.flashcards-front img,
.flashcards-back img {
    display: block;
    margin: 18px 0 0 0;
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(50,60,90,0.08);
}

.flashcards-quiz > div:first-child {
    margin-bottom: 34px;
    font-weight: 600;
}

.flashcards-choice,
.flashcards-show-back,
.flashcards-mark-right,
.flashcards-mark-wrong,
.flashcards-repeat-quiz,
.flashcards-repeat-flashcards {
    display: inline-block;
    font-size: 22pt;
    margin: 12px 12px 0 0;
    padding: 18px 40px;
    border-radius: 12px;
    border: none;
    outline: none;
    background: linear-gradient(135deg, #3575ec 0%, #6cc0e5 100%);
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(53,117,236,0.15);
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
}
.flashcards-choice:last-child,
.flashcards-mark-wrong:last-child {
    margin-right: 0;
}
.flashcards-choice:hover,
.flashcards-show-back:hover,
.flashcards-mark-right:hover,
.flashcards-mark-wrong:hover,
.flashcards-repeat-quiz:hover,
.flashcards-repeat-flashcards:hover {
    background: linear-gradient(135deg, #285fbd 0%, #42a7c6 100%);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 4px 24px rgba(53,117,236,0.18);
}

.flashcards-summary h3 {
    font-size: 1.2em;
    margin-bottom: 18px;
    font-weight: 700;
}
.flashcards-summary ul {
    font-size: 0.9em;
    margin-top: 16px;
    margin-bottom: 0;
    padding-left: 22px;
}
.flashcards-summary li {
    margin-bottom: 10px;
}

.flashcards-summary button,
.flashcards-repeat-quiz,
.flashcards-repeat-flashcards {
    margin-top: 20px;
    width: 100%;
    padding: 22px 0;
    font-size: 22pt;
    border-radius: 14px;
    background: linear-gradient(135deg, #2eb872 0%, #4cd964 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 18px rgba(46,184,114,0.12);
    border: none;
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
}
.flashcards-summary button:hover,
.flashcards-repeat-quiz:hover,
.flashcards-repeat-flashcards:hover {
    background: linear-gradient(135deg, #249c5d 0%, #31b05e 100%);
    box-shadow: 0 8px 28px rgba(46,184,114,0.18);
    transform: translateY(-2px) scale(1.03);
}

@media (max-width: 600px) {
    .flashcards-pro-container {
        max-width: 99vw;
        padding: 8vw 2vw 4vw 2vw;
        font-size: 6vw;
    }
    .flashcards-card,
    .flashcards-quiz,
    .flashcards-summary {
        padding: 8vw 0vw;
        font-size: 6vw;
    }
    .flashcards-choice,
    .flashcards-show-back,
    .flashcards-mark-right,
    .flashcards-mark-wrong,
    .flashcards-repeat-quiz,
    .flashcards-repeat-flashcards {
        font-size: 6vw;
        padding: 5vw 6vw;
    }
    .flashcards-summary button,
    .flashcards-repeat-quiz,
    .flashcards-repeat-flashcards {
        font-size: 6vw;
        padding: 7vw 0;
    }
    
    .flashcards-nav-btn {
        font-size: 4vw;
        padding: 3vw 4vw;
        min-width: 20vw;
    }
    
    .flashcards-counter {
        font-size: 4vw;
        padding: 2vw 4vw;
    }
    
    .flashcards-nav-header,
    .flashcards-nav-footer {
        margin-bottom: 4vw;
    }
    
    .flashcards-nav-footer {
        margin-top: 4vw;
    }
    
    .flashcards-keyboard-hint {
        font-size: 3.5vw;
        padding: 2vw 3vw;
        margin-bottom: 3vw;
    }
    
    .flashcards-answer-feedback {
        margin-top: 4vw;
        padding: 4vw;
        font-size: 4vw;
    }
    
    .feedback-header {
        font-size: 5vw;
        margin-bottom: 2vw;
    }
    
    .correct-answer-text {
        font-size: 4vw;
        margin-bottom: 3vw;
    }
    
    .further-info-section {
        margin-top: 3vw;
        padding: 3vw;
    }
    
    .further-info-label {
        font-size: 4vw;
        margin-bottom: 2vw;
    }
    
    .further-info-content {
        font-size: 3.5vw;
    }
    
    .quiz-result-item {
        margin-bottom: 5vw;
        padding: 4vw;
    }
    
    .result-question {
        font-size: 4.5vw;
        margin-bottom: 2vw;
    }
    
    .result-status,
    .result-answer {
        font-size: 4vw;
        margin-bottom: 2vw;
    }
    
    .result-further-info {
        margin-top: 3vw;
        padding: 3vw;
    }
    
    .flashcards-report-btn {
        font-size: 3.5vw;
        padding: 2.5vw 4vw;
    }
    
    .flashcards-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .flashcards-modal-header {
        padding: 4vw;
    }
    
    .flashcards-modal-header h3 {
        font-size: 5vw;
    }
    
    .flashcards-form-group {
        padding: 3vw 4vw;
    }
    
    .flashcards-form-group label {
        font-size: 4vw;
        margin-bottom: 2vw;
    }
    
    .flashcards-checkbox-group label {
        font-size: 3.5vw;
        padding: 2vw;
    }
    
    .flashcards-form-group input[type="email"],
    .flashcards-form-group textarea {
        font-size: 4vw;
        padding: 3vw;
    }
    
    .flashcards-form-actions {
        padding: 3vw 4vw;
        flex-direction: column;
    }
    
    .flashcards-btn {
        font-size: 4vw;
        padding: 3vw 5vw;
    }
    
    .flashcards-success-message {
        padding: 6vw 4vw;
    }
    
    .flashcards-success-message h3 {
        font-size: 6vw;
        margin-bottom: 3vw;
    }
    
    .flashcards-success-message p {
        font-size: 4vw;
        margin-bottom: 5vw;
    }
}