* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
}

.container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    padding: 2rem;
    width: 100%;
    max-width: 450px;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 1.5rem;
}

.input-box {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
}

input:focus {
    outline: none;
    border-color: #667eea;
}

button {
    padding: 0.75rem 1.25rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

button:hover {
    background: #5568d3;
}

ul {
    list-style: none;
}

li {
    background: #f7f7f7;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

li span {
    cursor: pointer;
}

.hapus-btn {
    background: #e74c3c;
    padding: 0.3rem 0.6rem;
    font-size: 0.85rem;
}

.hapus-btn:hover {
    background: #c0392b;
}

footer {
    margin-top: 2rem;
    color: white;
    font-size: 0.9rem;
    text-align: center;
}

footer a {
    color: #ffd700;
    text-decoration: none;
}
