body {
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
}

.buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000;
    padding: 10px;
    text-align: center;
    border-top: 1px solid #555;
    z-index: 100;
}

button {
    padding: 8px 16px;
    margin: 0 10px;
    background-color: transparent;
    color: #fff;
    border:1px solid white;
    border-radius: 4px;
    box-sizing:border-box;
    cursor: pointer;
}

button:hover {
    background-color: #777;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    table-layout: fixed;
}

td, th {
    border: 1px solid #555;
    padding: 3px;              
    text-align: left;          
    vertical-align: top; 
    position: relative;
}


td.row-actions,
td.col-actions {
    background-color: #444;
    width: 40px;
}

.delete-btn {
    padding: 5px;
    cursor: pointer;
    margin: 2px;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    float:right;
}

.delete-btn:hover {
    background-color: #ff6666;
}

.delete-btn i {
    pointer-events: none;
}

/* Resize handles */
td[colspan]:not(.row-actions):not(.col-actions)::after,
th[colspan]:not(.row-actions):not(.col-actions)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background-color: #777;
    cursor: col-resize;
    z-index: 1;
}

tr::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 5px;
    background-color: #777;
    cursor: row-resize;
    z-index: 1;
}

button.saved {
    background-color: green !important;
    color: white !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}
