body {
    font-family: Arial, sans-serif;
    background: black;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 400px;
    margin: 40px auto;
    background: #fff;
    padding: 24px 32px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    color: #333;
}

form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    padding: 8px;
    border: 1px solid #bbb;
    border-radius: 5px;
    font-size: 1em;
}

button {
    padding: 10px;
    background: #0078d7;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover {
    background: #005fa3;
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    background: #f9f9f9;
    margin-bottom: 8px;
    padding: 10px 14px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-list .contact-info {
    flex: 1;
}

.contact-list .delete-btn {
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    margin-left: 10px;
    transition: background 0.2s;
}

.contact-list .delete-btn:hover {
    background: #c0392b;
}