* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: #0d1117;
    color: #c9d1d9;
    padding: 40px 20px;
    min-height: 100vh;
}

.container {
    max-width: 680px;
    margin: 0 auto;
}

header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid #21262d;
}

header h1 {
    font-size: 22px;
    color: #58a6ff;
    font-weight: 600;
}

header span {
    font-size: 12px;
    background: #1f6feb;
    color: #fff;
    padding: 2px 8px;
    border-radius: 20px;
}

.form-ajout {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
}

.form-ajout input {
    flex: 1;
    padding: 10px 14px;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    color: #c9d1d9;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.form-ajout input:focus {
    border-color: #58a6ff;
}

.form-ajout input::placeholder {
    color: #484f58;
}

.form-ajout button {
    padding: 10px 18px;
    background: #1f6feb;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.form-ajout button:hover {
    background: #388bfd;
}

.liste-messages {
    list-style: none;
    border: 1px solid #21262d;
    border-radius: 6px;
    overflow: hidden;
}

.liste-messages li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #21262d;
    background: #161b22;
    transition: background 0.15s;
}

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

.liste-messages li:hover {
