@import url('https://fonts.googleapis.com/css2?family=VT323&family=Share+Tech+Mono&family=Inter:wght@300;400;600&display=swap');

:root {
    --accent: #8ec4d4;
    --accent-dim: #4a909b;
    --glow: rgba(142, 201, 212, 0.2);
    --bg: #090c10;
    --surface: #0d1117;
    --border: #161c24;
    --border-bright: #1f2a36;
    --text: #c9d9dc;
    --muted: #364554;
}

body {
    background:
        radial-gradient(ellipse 90% 85% at 50% 0%, rgba(100, 160, 210, 0.15) 0%, transparent 65%),
        var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
}

.main_title {
    display: flex;
    justify-content: center;
    font-family: 'VT323', monospace;
    font-size: 40px;
    font-weight: 400;
    margin-top: 30px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #ddeaf3;
    text-shadow:
        0 0 40px rgba(100, 160, 210, 0.2),
        0 0 80px rgba(100, 160, 210, 0.07);
}

.catch_phrase {
    display: flex;
    justify-content: center;
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    color: var(--muted);
    margin-bottom: 40px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
}

/* Formulaire d'ajout */
.add_box {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.add_box input {
    padding: 11px 18px;
    border-radius: 0;
    border: 1px solid var(--border-bright);
    border-right: none;
    background: var(--surface);
    color: var(--text);
    font-size: 13px;
    font-family: 'Share Tech Mono', monospace;
    outline: none;
    letter-spacing: 0.05em;
    transition: border-color 0.25s, box-shadow 0.25s;
    caret-color: var(--accent);
}

.add_box input:focus {
    border-color: var(--accent-dim);
    box-shadow: 0 0 0 1px rgba(142, 184, 212, 0.07),
                0 0 24px rgba(142, 184, 212, 0.04);
}

.add_box input::placeholder {
    color: var(--muted);
    letter-spacing: 0.08em;
}

.add_box button {
    padding: 11px 20px;
    border-radius: 0;
    border: 1px solid var(--border-bright);
    background: var(--surface);
    color: var(--accent);
    font-weight: 400;
    font-family: 'Share Tech Mono', monospace;
    cursor: pointer;
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.add_box button:hover {
    background: rgba(142, 184, 212, 0.06);
    border-color: var(--accent-dim);
    box-shadow: 0 0 20px rgba(142, 184, 212, 0.08);
}

/* La Liste */
.main_list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--border-bright);
}

.main_list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 20px;
    margin: 0;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    font-size: 13px;
    font-family: 'Share Tech Mono', monospace;
    background: transparent;
    transition: background 0.2s;
    letter-spacing: 0.03em;
    position: relative;
}

.main_list li::before {
    content: none;
}

.main_list li:last-child {
    border-bottom: none;
}

.main_list li:hover {
    background: rgba(142, 184, 212, 0.03);
    box-shadow: none;
}

.list-number {
    font-family: 'Share Tech Mono', monospace;
    color: var(--accent-dim);
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-shadow: none;
}

.center-container {
    max-width: 420px;
    margin: 0 auto;
    padding: 0 1rem;
}