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

body {
    font-family: 'inter', sans-serif;
    background-color: #292e2c;
    color: #000000;
    display: flex;
    justify-content: center;
    padding: 20px;
    min-height: 100vh;
}

.container {
    background: #ffffff;
    width: 100%;
    max-width: 450px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

header {
    text-align: center;
    margin-bottom: 25px;
}

header h2 {
    font-weight: 700;
    color: #000000;
}

header p {
    font-size: 0.9rem;
    color: #767676;
}

.input-section {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border 0.3s;
}

input:focus {
    outline: none;
    border-color: #007bff;
}

button#btn-tambah {
    background-color: #181818;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

button#btn-tambah:hover {
    opacity: 0.8;
}

ul {
    list-style: none;
}

li {
    background: #ffffff;
    border: 1px solid #ffffff;
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.2s;
}

li:hover {
    transform: translateY(-2px);
}

.item-text {
    flex: 1;
    font-size: 15px;
}

.action-btns {
    display: flex;
    gap: 5px;
}

.tombol-edit, .tombol-hapus {
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.tombol-edit {
    background-color: #f0f0f0;
    color: #555;
}

.tombol-hapus {
    background-color: #fff1f0;
    color: #ff4d4f;
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
    }
    
    .input-section {
        flex-direction: column;
    }
    
    button#btn-tambah {
        padding: 12px;
    }
}