/* Styles pour le site public */
.erb-exercice {
    margin: 25px 0;
    padding: 20px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.erb-exo-content {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 16px;
    color: #333;
}

.erb-exo-content p:first-child {
    margin-top: 0;
}

.erb-exo-content p:last-child {
    margin-bottom: 0;
}

.erb-btn {
    margin: 15px 0;
    padding: 12px 25px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.erb-btn:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.erb-reponse {
    margin-top: 20px;
    padding: 20px;
    border: 2px solid #28a745;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8fff9 0%, #e8f5e8 100%);
    display: none; /* Caché par défaut */
}

.erb-reponse-content {
    line-height: 1.6;
    font-size: 16px;
}

.erb-reponse-content strong {
    color: #28a745;
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
}

.erb-no-content,
.erb-no-reponse {
    margin: 15px 0;
    padding: 15px;
    border-radius: 6px;
    font-style: italic;
    text-align: center;
}

.erb-no-content {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.erb-no-reponse {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Styles pour l'éditeur */
.erb-block-editor {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.erb-exo-editor,
.erb-reponse-editor {
    font-size: 16px;
    line-height: 1.6;
}

.erb-exo-editor:focus,
.erb-reponse-editor:focus {
    border-color: #007cba !important;
    box-shadow: 0 0 0 1px #007cba;
}