
:root {
    --primary: #2563eb;
    --danger: #dc2626;
    --border: #e5e7eb;
    --bg: #f4f6fb;
}


.card {
    background: #fff;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

input[type="text"],
input[type="number"] {
    width: 80%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

th, td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

th {
    background: #f1f5f9;
    font-size: 14px;
}

.actions {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn {
    padding: 10px 18px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.btn.primary {
    background: var(--primary);
    color: #fff;
}

.btn.danger {
    background: var(--danger);
    color: #fff;
}

/* SEARCH RESULT */
#search-result {
    position: absolute;
    background: #fff;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    margin-top: 6px;
    display: none;
    z-index: 20;
}

#search-result div {
    padding: 10px;
    cursor: pointer;
}

#search-result div:hover {
    background: #f1f5f9;
}

.customer-name {
    margin-top: 8px;
    font-weight: 600;
}

.total {
    font-size: 18px;
    font-weight: 600;
}
