.ootel {
    background-color: #f7beb7;
}

.valmis {
    background-color: #dbffdb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    background: #f4f6f8;
    color: #333;
    line-height: 1.6;
    padding-bottom: 60px;
}

header {
    background: linear-gradient(90deg, #0f2a44, #163d63);
    color: #fff;
    padding: 25px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

header h1 {
    font-size: 32px;
    letter-spacing: 2px;
}

nav.menu {
    background: #ff8c00;
}

nav.menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav.menu li {
    margin: 0 10px;
}

nav.menu a {
    display: block;
    padding: 12px 18px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
}

nav.menu a:hover {
    background: #e67600;
    border-radius: 5px;
}

main, body > h2, body > div, body > form {
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
}

h2 {
    margin-bottom: 15px;
    color: #0f2a44;
    border-left: 6px solid #ff8c00;
    padding-left: 10px;
}

h1{
    text-align: center;
}

div strong {
    color: #ff8c00;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-left: 25px;
}

th {
    background: #0f2a44;
    color: #fff;
    padding: 12px;
}

td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

tr:hover {
    background: #f0f4f8;
}

form {
    margin-top: 15px;
    weight: 300px;
    margin-left: 20px;
}

label {
    font-weight: bold;
}

input[type="text"],
input[type="password"],
input[type="date"] {
    width: 250px;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #bbb;
    border-radius: 4px;
}

input[type="submit"] {
    background: #ff8c00;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

input[type="submit"]:hover {
    background: #e67600;
}

.btn, .btn2 {
    display: inline-block;
    background: #0f2a44;
    color: #fff;
    padding: 8px 14px;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 10px;
}

.btn:hover, .btn2:hover {
    background: #163d63;
}

.login-wrapper {
    max-width: 400px;
    margin: 40px auto;
    background: #fff;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 6px;
}

.login-form input {
    width: 100%;
    margin-bottom: 12px;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #0f2a44;
    color: #ffffff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 400;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1100;
}

.table {
    width: 700px;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-left: 500px;
}

.username {
    font-weight: bold;
    color: #0f2a44;
    font-size: 17px;
    padding-top: 10px;
}
