/* guide-examples.css - Styling for guide example content */

/* Basic styling for example sections */
.guide-example {
    background-color: #f5f5f5;
    border: 3px solid #252525;
    padding: 15px;
    margin: 15px 0;
    border-radius: 3px;
    font-family: 'Pixeboy', sans-serif;
}

/* Question examples */
.example-question {
    font-size: 18px;
    margin-bottom: 10px;
    color: #252525;
    line-height: 1.4;
}

/* Highlight blanks in fill-in-blank questions */
.example-question span.blank {
    display: inline-block;
    border-bottom: 2px solid #EABC4B;
    color: #EABC4B;
    padding: 0 5px;
    font-weight: bold;
}

/* Button styling for example options */
.example-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.example-options button {
    padding: 5px 10px;
    background-color: var(--primary);
    border: 3px solid var(--quinary);
    font-family: 'Pixeboy', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.example-options button:hover {
    transform: scale(1.05);
}

.example-options button.selected {
    border-color: #EABC4B;
    background-color: #f5f5f5;
    color: #EABC4B;
}

/* Multiple choice options */
.example-options div {
    width: 100%;
    padding: 5px 10px;
    background-color: var(--primary);
    border: 3px solid var(--quinary);
    font-family: 'Pixeboy', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.example-options div:hover {
    transform: translateX(5px);
}

.example-options div.selected {
    border-color: #EABC4B;
    background-color: #f5f5f5;
    color: #EABC4B;
}

/* Pairing example */
.example-pairing {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.example-words, .example-meanings {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 45%;
}

.example-card {
    padding: 10px;
    background-color: var(--primary);
    border: 3px solid var(--quinary);
    text-align: center;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.example-card:hover {
    transform: scale(1.05);
}

.example-card.selected {
    border-color: #EABC4B;
    box-shadow: 0 0 10px rgba(234, 188, 75, 0.5);
}

.example-card.paired {
    border-color: #96b251;
    background-color: rgba(150, 178, 81, 0.1);
}

/* Results example */
.example-results {
    text-align: center;
    padding: 20px;
}

.example-score {
    font-size: 32px;
    color: #EABC4B;
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.example-message {
    font-size: 24px;
    color: #252525;
}

/* Progress bar example */
.example-progress-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.example-rect {
    width: 50px;
    height: 10px;
    background-color: #D4D4D4;
    border: none;
    outline: 2px solid var(--quinary);
}

.example-rect.correct {
    background-color: #96b251;
}

.example-rect.incorrect {
    background-color: #fd8b7c;
}

/* Animation for examples */
@keyframes highlight-pulse {
    0% { box-shadow: 0 0 0 0 rgba(234, 188, 75, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(234, 188, 75, 0); }
    100% { box-shadow: 0 0 0 0 rgba(234, 188, 75, 0); }
}

.highlight-pulse {
    animation: highlight-pulse 2s infinite;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .guide-message {
        max-width: 90%;
    }
    
    .example-pairing {
        flex-direction: column;
    }
    
    .example-words, .example-meanings {
        width: 100%;
    }
}