body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f4f4f4;
}

.container {
    max-width: 1400px;
    margin: auto;
    padding: 20px;
}

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

.searchbar,
.summary {
    margin-bottom: 20px;
}

input,
button {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

button {
    cursor: pointer;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

th,
td {
    padding: 4px;
    border-bottom: 1px solid #ddd;
}

th {
    background: #fafafa;
    text-align: left;
}

tr:hover {
    background: #f8f8f8;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.modal-content {
    background: white;
    width: 500px;
    max-width: 95%;
    margin: 80px auto;
    border-radius: 10px;
    padding: 20px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    background: none;
    border: none;
    font-size: 20px;
}

.form-grid {
    display: grid;
    gap: 15px;
    margin-top: 20px;
}

.modal-actions {
    margin-top: 20px;
    text-align: right;
}

table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

th,
td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

td:nth-child(1) {
    width: 140px;
}

td:nth-child(3) {
    width: 120px;
    text-align: right;
}

th:nth-child(3) {
    text-align: right;
}

table {
    font-size: 14px;
}


