/* ======== FOND ======== */
body {
    margin: 0;
    padding: 20px;
    font-family: "Consolas", monospace;
    background: radial-gradient(circle at top, #222 0%, #000 60%, #000 100%);
    color: white;
}

/* ======== BLOCS ======== */
header, section {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 20px;
    margin: 10px auto;
    width: 85%;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(0,255,200,0.3);
    box-shadow: 0 0 15px rgba(0,255,200,0.15);
}

/* ======== BOUTON RETOUR ======== */
.retour {
    display: inline-block;
    padding: 10px 18px;
    background: rgba(0,255,200,0.15);
    border: 1px solid rgba(0,255,200,0.4);
    border-radius: 10px;
    color: #00ffd5;
    text-decoration: none;
    font-weight: bold;
    transition: 0.25s;
}

.retour:hover {
    background: rgba(0,255,200,0.35);
    box-shadow: 0 0 15px #00ffd5;
    transform: translateY(-2px);
}

/* ======== CONTENEUR ======== */
#container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ======== CODEMIRROR ======== */
.CodeMirror {
    border: 1px solid #00ffd5;
    border-radius: 8px;
    background: #111;
    color: #00ffcc;
    min-height: 200px;
    font-size: 16px;
    box-shadow: 0 0 15px rgba(0,255,200,0.2);
}

/* ======== INPUT UTILISATEUR ======== */
#user-input {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #00ffd5;
    background: #111;
    color: #00ffcc;
    font-size: 16px;
    box-shadow: 0 0 10px rgba(0,255,200,0.2);
}

/* ======== BOUTON EXECUTER ======== */
#execute-button {
    padding: 10px 18px;
    border-radius: 8px;
    border: none;
    background: #00ffd5;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: 0.25s;
}

#execute-button:hover {
    background: #00c8c8;
    box-shadow: 0 0 15px #00ffd5;
    transform: translateY(-2px);
}

/* ======== OUTPUT ======== */
#output {
    background: #111;
    border: 1px solid #00ffd5;
    border-radius: 8px;
    padding: 15px;
    min-height: 150px;
    white-space: pre-wrap;
    font-family: monospace;
    color: #00ffcc;
    box-shadow: 0 0 15px rgba(0,255,200,0.2);
}
