body {
    font-family: Arial, sans-serif;
    background-color: lightskyblue;
    margin: 20px;
    color: #333;
}

h1 {
    font-family: 'Georgia', serif;
    font-size: 38px;
    color: #006666;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.05);
}

table {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 12px 16px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

th {
    background-color: teal;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}

tr:hover {
    background-color: #f9f9f9;
}

td:last-child a {
    color: #e60000;
    text-decoration: none;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: #ffe6e6;
    transition: 0.2s;
}

td:last-child a:hover {
    background-color: #ffcccc;
    text-decoration: underline;
}

form {
    width: 60%;
    margin: 30px auto;
    background-color: white;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

input[type="text"],
input[type="date"],
textarea {
    width: 100%;
    padding: 8px;
    margin-top: 4px;
    box-sizing: border-box;
}

.sisu-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.tabelikast {
    flex: 1 1 60%;
}

.vormikast {
    flex: 1 1 35%;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 20px;
}

.vormikast-header h2 {
    margin: 0;
    font-size: 20px;
    text-transform: uppercase;
    color: white;
    text-align: center;
    background-color: teal;
    padding: 12px;
    border-radius: 8px 8px 0 0;
}

.vormikast-body {
    padding: 20px;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 5px;
    font-size: 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.button-green {
    background-color: #4CAF50;
    color: white;
}
.button-green:hover {
    background-color: #45a049;
}

.button-red {
    background-color: #f44336;
    color: white;
}
.button-red:hover {
    background-color: #d32f2f;
}

.button-grey {
    background-color: #9e9e9e;
    color: white;
}

.button-grey:hover {
    background-color: #757575;
}
