body {
    font-family: Arial;
    padding: 20px;
}

.header {
    background: #eef3ff;
    padding: 25px;
    border-radius: 10px;
}

.header-form {
    display: flex;        
    gap: 20px;            
    align-items: flex-end;
}

.field {
    display: flex;
    flex-direction: column;
}

.field label {
    font-size: 14px;
    margin-bottom: 4px;
}

.header input,
.header select {
    width: 160px;
    padding: 8px;
}

button {
    padding: 10px 18px;
    background: #457bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: .1s;
    outline: solid 0px #335ecc57;
}

button:hover {
    background: #457bff;
    outline: solid 3px #457bff57;
}

input {
    padding: 10px 18px !important;
    border: solid 1px #457aff3f;
    border-radius: 6px;
    outline: none;
}

select {
    padding: 9px 18px !important;
    border: solid 1px #457aff3f;
    border-radius: 6px;
    outline: none;
    color: rgba(0, 0, 0, .6);
}

.pievienotinfo {
    margin-top: -10px;
    margin-bottom: 20px;
}

.open-modal {
    margin-top: 10px;
    padding: 10px 15px;
    background: #28a745;
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
}

.modal-content input,
.modal-content select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
}

.btn {
    width: 150px;
    margin-top: 10px;
}

.modal input {
    width: 87.5% !important;
}

.pogas {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.aizvertinfo {
    opacity: .6;
}

.aizvertinfo:hover {
    opacity: 1;
}

#confirmDelete {
    background: #ff5353ff;
}

#confirmDelete:hover {
    outline: 3px solid rgba(255, 83, 83, 0.351);
}

.tabula {
    margin-top: 40px;
    background: #eef3ffd4;
    padding: 20px;
    border-radius: 12px;
}

table {
    width: 100%;
    border-collapse: collapse;   
    font-size: 15px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    outline: solid 1px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.0);   
}

table thead {
    background: #457bff;
    color: black;
}

table thead th {
    padding: 14px 10px;
    font-weight: bold;
    letter-spacing: 0.3px;
    border-right: 1px solid rgba(0, 0, 0, 0.2);
}

table thead th:last-child {
    border-right: none;
}

table tbody tr {
    transition: 0.20s;
}

table td {
    padding: 12px 10px;
    border: 1px solid rgba(0, 0, 0, 0.2);  
    text-align: center;
}

.delete-btn {
    background: #ff4d4d;
    color: white;
    border-radius: 6px;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    transition: 0.1s;
    outline: 0px solid rgba(255, 77, 77, 0.30);
}

.delete-btn:hover {
    background: #ff4d4d;
    outline: 3px solid rgba(255, 77, 77, 0.30);
}

table input[type="checkbox"] {
    transform: scale(1.3);
    cursor: pointer;
}

.row-done {
    background-color: #d6ffd6 !important;   
    transition: 0.25s;
}
