body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background: linear-gradient(to bottom, #d9f2ff, #b3e6ff);
    color: #333;
}

.container {
    max-width: 400px;
    margin: auto;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
}

label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

input,
button {
    margin-top: 5px;
    padding: 10px;
    width: 100%;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input {
    width: auto;
    max-width: 150px;
    background: #f0f8ff;
    transition: all 0.3s ease;
}

input[type="date"] {
    max-width: 200px;
}

input.editing {
    background: #fff3cd;
    border: 2px solid #ff9800;
    box-shadow: 0 0 8px rgba(255, 152, 0, 0.3);
}

button {
    padding: 10px;
    background: #4caf50;
    width: 150px;
    margin: 10px auto;
    color: white;
    cursor: pointer;
}

button:hover {
    background: #45a049;
}

.btn-edit {
    background: #2196f3;
    padding: 5px 10px;
    margin: 2px;
    font-size: 12px;
    width: auto;
}

.btn-edit:hover {
    background: #1976d2;
}

.btn-delete {
    background: #f44336;
    padding: 5px 10px;
    margin: 2px;
    font-size: 12px;
    width: auto;
}

.btn-delete:hover {
    background: #d32f2f;
}

.btn-secondary {
    background: #ff9800;
}

.btn-secondary:hover {
    background: #f57c00;
}

.form-row {
    display: flex;
    gap: 10px;
    align-items: end;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 120px;
}

.result {
    margin-top: 20px;
    font-weight: bold;
    text-align: center;
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

table {
    margin-top: 20px;
    width: 100%;
    
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0px;
    overflow: hidden;
}

th,
td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #4caf50;
    color: white;
}

td {
    background-color: #f9f9f9;
}

.actions-cell {
    width: 120px;
    text-align: center;
}