/* 
 * Styles pour le Système de Lecture Immersive
 * Design moderne et engageant
 */

/* Variables CSS */
:root {
    --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --highlight-color: #ef4444;
    --glow-color: rgba(239, 68, 68, 0.6);
    --focus-overlay: rgba(0, 0, 0, 0.7);
}

/* Overlay de démarrage */
#reading-start-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease-out;
}

#reading-start-overlay.hidden {
    display: none !important;
}

.reading-start-container {
    background: white;
    border-radius: 30px;
    padding: 50px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.6s ease-out;
}

.reading-title {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 10px;
    text-align: center;
}

.reading-subtitle {
    color: #6b7280;
    text-align: center;
    margin-bottom: 30px;
}

.reading-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #f3f4f6;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-2px);
    background: #e5e7eb;
}

.feature-icon {
    font-size: 1.5rem;
}

.reading-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.option:hover {
    background: #f3f4f6;
}

.option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.reading-speed-control {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background: #f3f4f6;
    border-radius: 10px;
}

#reading-speed {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    outline: none;
}

#reading-speed::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-gradient);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
}

#reading-speed::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

#speed-value {
    font-weight: bold;
    color: #4b5563;
    min-width: 100px;
}

.start-btn {
    width: 100%;
    padding: 18px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.start-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.start-btn:hover::before {
    left: 100%;
}

.start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.btn-icon {
    font-size: 1.5rem;
    animation: pulse 1.5s ease-in-out infinite;
}

.estimated-time {
    text-align: center;
    margin-top: 20px;
    color: #6b7280;
}

.estimated-time strong {
    color: #4b5563;
}

/* HUD de lecture - SUPPRIMÉ
#reading-hud {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 500px;
}

#reading-hud.visible {
    opacity: 0.85;
    transform: translateX(-50%) translateY(0);
}

#reading-hud:hover {
    opacity: 1;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.hud-container {
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hud-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.hud-score,
.hud-streak,
.hud-timer,
.hud-progress {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: normal;
}
*/

/* HUD styles - SUPPRIMÉ
.score-icon,
.streak-icon,
.timer-icon {
    font-size: 0.9rem;
    opacity: 0.6;
}

.score-value,
.streak-value,
.timer-value,
.progress-value {
    color: #6b7280;
    font-size: 0.85rem;
}

.score-value.score-bump {
    animation: bump 0.3s ease;
}

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

.hud-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.control-btn {
    padding: 8px 15px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.control-btn:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.control-btn:hover span {
    filter: brightness(2);
}
*/

/* Barre de progression */
#reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#reading-progress-bar.visible {
    opacity: 1;
}

.progress-track {
    position: relative;
    height: 100%;
    background: transparent;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    transition: width 0.3s ease;
}

/* Effet de brillance supprimé pour plus de simplicité
.progress-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6));
    animation: shimmer 2s ease-in-out infinite;
}
*/

@keyframes shimmer {
    0% { transform: translateX(-50px); }
    100% { transform: translateX(50px); }
}

.progress-milestones {
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 30px;
    display: flex;
    justify-content: space-between;
}

.milestone {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 30px;
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: bold;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.milestone.milestone-reached {
    color: #10b981;
    opacity: 1;
    animation: milestoneReached 0.5s ease;
}

@keyframes milestoneReached {
    0% { transform: scale(1); }
    50% { transform: scale(1.5) rotate(360deg); }
    100% { transform: scale(1); }
}

/* Surlignage du texte */
.reading-paragraph {
    transition: opacity 0.3s ease;
    position: relative;
}

.reading-paragraph.paragraph-read {
    opacity: 0.7;
}

.reading-word {
    position: relative;
    transition: color 0.2s ease, background 0.2s ease;
    display: inline-block;
}

.word-highlighted {
    background: rgba(239, 68, 68, 0.35);
    color: #dc2626;
    border-radius: 3px;
    position: relative;
    z-index: 1;
}

/* Effet de glow désactivé pour éviter les problèmes visuels
.word-highlighted::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    opacity: 0.5;
    animation: glow 0.5s ease;
    z-index: -1;
}
*/

/* Animation désactivée pour éviter la vibration du texte
@keyframes highlight {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
*/

@keyframes glow {
    0% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 0.8; }
    100% { opacity: 0.5; transform: scale(1); }
}

/* Effet word-glow désactivé pour éviter les problèmes visuels
.word-glow {
    position: fixed;
    pointer-events: none;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    animation: glowExpand 0.5s ease-out forwards;
    z-index: 9997;
}

@keyframes glowExpand {
    0% { transform: scale(0.5); opacity: 0.8; }
    100% { transform: scale(2); opacity: 0; }
}
*/

/* Mode Focus - DÉSACTIVÉ
body.focus-mode {
    overflow-y: scroll;
}

body.focus-mode::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--focus-overlay);
    z-index: 9990;
    pointer-events: none;
    animation: fadeIn 0.5s ease;
}

body.focus-mode .reading-paragraph {
    position: relative;
    z-index: 9991;
}

body.focus-mode .word-highlighted {
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.8) 0%, rgba(239, 68, 68, 1) 50%, rgba(239, 68, 68, 0.8) 100%);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}
*/

/* Particules */
#particle-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 9996;
}

.reading-particle {
    position: fixed;
    font-size: 20px;
    pointer-events: none;
    z-index: 9996;
    animation: particleFade 1s ease-out forwards;
}

@keyframes particleFade {
    0% { opacity: 1; transform: translate(0, 0) scale(1); }
    100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(0.5); }
}

/* Achievements */
#achievement-container {
    position: fixed;
    top: 120px;
    right: 20px;
    z-index: 9995;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.achievement-notification {
    background: white;
    border-radius: 15px;
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideInRight 0.5s ease, slideOutRight 0.5s ease 3.5s forwards;
    min-width: 250px;
}

.achievement-icon {
    font-size: 2rem;
    animation: bounce 0.5s ease;
}

.achievement-title {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 2px;
}

.achievement-name {
    font-weight: bold;
    color: #1f2937;
}

/* Progress Meter (anciennement Combo Meter) */
#combo-meter {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 200px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 9994;
    overflow: hidden;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

body.reading-active #combo-meter {
    opacity: 1;
    transform: scale(1);
}

.combo-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    transition: width 0.3s ease;
    border-radius: 20px;
}

.combo-text {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-weight: bold;
    color: #000000;
    z-index: 1;
    font-size: 1.1rem;
}

.progress-percent {
    font-size: 1.3rem;
    color: #000000;
    font-weight: bold;
    margin-right: 2px;
}

#combo-meter.combo-flash {
    animation: comboFlash 0.5s ease;
}

@keyframes comboFlash {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); box-shadow: 0 0 30px rgba(16, 185, 129, 0.6); }
}

/* Quiz */
#quiz-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    max-width: 500px;
    width: 90%;
    opacity: 0;
    transition: all 0.3s ease;
}

#quiz-container.quiz-visible {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.quiz-content h3 {
    color: #1f2937;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quiz-question {
    color: #4b5563;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.quiz-options {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.quiz-option {
    padding: 12px 20px;
    background: #f3f4f6;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.quiz-option:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateX(5px);
}

.quiz-skip {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-skip:hover {
    border-color: #9ca3af;
    color: #4b5563;
}

/* Points flottants */
.floating-points {
    position: fixed;
    font-size: 1.5rem;
    font-weight: bold;
    color: #10b981;
    z-index: 9999;
    pointer-events: none;
    animation: floatUp 1s ease-out forwards;
}

@keyframes floatUp {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-50px); opacity: 0; }
}

/* Notifications */
.reading-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: bold;
    z-index: 10002;
    animation: slideUp 0.3s ease, slideDown 0.3s ease 2.7s forwards;
}

.notification-success {
    background: #10b981;
    color: white;
}

.notification-error {
    background: #ef4444;
    color: white;
}

.notification-info {
    background: #3b82f6;
    color: white;
}

/* Prompt d'attention */
.attention-prompt {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10003;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease;
}

.prompt-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    animation: slideUp 0.5s ease;
}

.prompt-content h3 {
    color: #1f2937;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.prompt-content p {
    color: #6b7280;
    margin-bottom: 25px;
}

.prompt-content button {
    padding: 12px 30px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prompt-content button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

/* Écran de completion */
#completion-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.98) 0%, rgba(37, 99, 235, 0.98) 100%);
    z-index: 10004;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease;
}

.completion-content {
    background: white;
    border-radius: 30px;
    padding: 0px;
    max-width: 400px;
    width: 90%;
    animation: slideUp 0.6s ease;
    text-align: center;
}

.completion-title {
    font-size: 1.8rem;
    color: #10b981;
    text-align: center;
    margin-bottom: 30px;
}

/* Styles supprimés pour le popup simplifié */
/* .completion-subtitle, .completion-stats, .stat-item, .stat-value, .stat-label, .completion-rating */

.completion-actions {
    display: flex;
    justify-content: center;
}

.completion-actions button {
    padding: 15px 40px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f00;
    color: white;
    margin-bottom:10px;
}

.completion-actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    background: #059669;
}

/* Animations globales */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

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

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-10px); }
    75% { transform: translateY(5px); }
}

/* Mode lecture active */
body.reading-active {
    transition: all 1s ease;
}

body.reading-active .article-content {
    font-size: 1.1em;
    line-height: 1.8;
}

/* Popup de confirmation d'arrêt */
.stop-confirmation-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10005;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.stop-confirmation-popup .popup-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    text-align: center;
    animation: slideUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.stop-confirmation-popup h3 {
    color: #ef4444;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.stop-confirmation-popup p {
    color: #6b7280;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.popup-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.popup-buttons button {
    padding: 12px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.continue-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.stop-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.stop-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
}

/* Message de lecture stoppée */
.stopped-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 30px 50px;
    border-radius: 20px;
    z-index: 10006;
    animation: slideUp 0.5s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.message-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.message-icon {
    font-size: 3rem;
}

.message-text {
    font-size: 1.5rem;
    font-weight: bold;
}

.stopped-message.fade-out {
    animation: fadeOut 0.5s ease forwards;
}

/* Notification de pause (plus légère) */
.pause-notification-popup {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 99999;
    animation: slideInRight 0.5s ease;
    max-width: 350px;
    border-left: 4px solid #f59e0b;
}

/* Notification d'alerte rouge vif pour lecture dépassée */
.pause-notification-popup.alert-red {
    border-left: 5px solid #ef4444;
    background: #fef2f2;
    animation: slideInRight 0.5s ease, pulseRed 2s ease-in-out infinite;
}

.pause-notification-popup.alert-red .notification-text h4 {
    color: #dc2626;
}

.pause-notification-popup.alert-red .notification-text p {
    color: #ef4444;
    font-weight: 600;
    font-size: 14px;
}

.pause-notification-popup.alert-red .notification-icon {
    color: #dc2626;
    font-size: 1.5rem;
    animation: shake 0.5s ease-in-out;
}

/* Animation de pulsation pour attirer l'attention */
@keyframes pulseRed {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(239, 68, 68, 0.3);
    }
    50% {
        box-shadow: 0 10px 50px rgba(239, 68, 68, 0.5);
    }
}

/* Animation de secousse pour l'icône */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 15px;
}

.notification-icon {
    font-size: 2rem;
}

.notification-text h4 {
    margin: 0 0 5px 0;
    color: #1f2937;
    font-size: 1.1rem;
}

.notification-text p {
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
}

.notification-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.notification-close:hover {
    color: #1f2937;
    transform: scale(1.2);
}

.pause-notification-popup.fade-out {
    animation: slideOutRight 0.5s ease forwards;
}

/* Notification de reprise (verte) */
.resume-notification-popup {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 99999;
    animation: slideInRight 0.5s ease;
    max-width: 350px;
    border-left: 4px solid #10b981;
}

.resume-notification-popup .notification-content {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 15px;
}

.resume-notification-popup .notification-icon {
    font-size: 2rem;
    color: #10b981;
}

.resume-notification-popup .notification-text h4 {
    margin: 0 0 5px 0;
    color: #10b981;
    font-size: 1.1rem;
}

.resume-notification-popup .notification-text p {
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
}

.resume-notification-popup .notification-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.resume-notification-popup .notification-close:hover {
    color: #1f2937;
    transform: scale(1.2);
}

.resume-notification-popup.fade-out {
    animation: slideOutRight 0.5s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .reading-start-container {
        padding: 30px 20px;
    }
    
    .reading-features {
        grid-template-columns: 1fr;
    }
    
    .hud-top {
        flex-wrap: wrap;
    }
    
    /* Style supprimé pour le popup simplifié */
    /* .completion-stats {
        grid-template-columns: repeat(2, 1fr);
    } */
    
    #achievement-container {
        right: 10px;
        top: 100px;
    }
    
    .achievement-notification {
        min-width: 200px;
        font-size: 0.9rem;
    }
    
    .stop-confirmation-popup .popup-content {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .popup-buttons {
        flex-direction: column;
    }
    
    .popup-buttons button {
        width: 100%;
    }
}


