/* Effet terminal */
.crt-terminal {
    font-family: "Courier New", monospace;
    color: #ff4b4b;
    font-size: 0.85rem;
    margin-top: 15px;
    height: 60px;
    overflow: hidden;
    white-space: pre-line;
    opacity: 0.9;
}

/* Clignotement rouge en cas d’échec */
.crt-error {
    animation: crtErrorFlash 0.25s alternate 6;
}

@keyframes crtErrorFlash {
    from { color: #ff0000; text-shadow: 0 0 8px red; }
    to   { color: #ff8080; text-shadow: none; }
}

/* Scan d’accès */
.crt-scan {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ff0000, transparent);
    margin-top: 10px;
    opacity: 0;
    animation: scanAnim 1.2s linear forwards;
}

@keyframes scanAnim {
    0% { opacity: 0; transform: translateX(-100%); }
    20% { opacity: 1; }
    100% { opacity: 1; transform: translateX(100%); }
}

/* Animation ouverture de sas */
.sas-open {
    animation: sasOpen 1.2s forwards;
}

@keyframes sasOpen {
    0% { filter: brightness(1); }
    100% { filter: brightness(4); opacity: 0; }
}
