/* stylejQuery.css */

body {
    font-family: Arial, sans-serif;
    background-color: white;
    margin: 20px;
    color: black;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    background: white;
    border-bottom: 1px solid lightgray;
}

nav ul li a {
    text-decoration: none;
    padding: 10px;
    display: block;
    color: black;
}

nav ul li a:hover {
    background-color: cornflowerblue;
    color: white;
}

h2 {
    margin-top: 30px;
    color: black;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid gray;
}

th, td {
    padding: 8px 12px;
    text-align: left;
}

th {
    background-color: cornflowerblue;
    color: white;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: white;
}

tr:hover {
    background-color: azure;
}

form {
    margin-top: 20px;
}

label {
    display: inline-block;
    width: 150px;
    font-weight: bold;
}

input[type="text"],
input[type="time"],
input[type="number"] {
    padding: 5px;
    width: 200px;
    border: 1px solid lightgray;
    border-radius: 3px;
}

input[type="submit"] {
    padding: 8px 16px;
    background-color: cornflowerblue;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    margin-top: 10px;
}

input[type="submit"]:hover {
    background-color: royalblue;
}

.error-message {
    color: red;
    font-weight: bold;
    margin-top: 20px;
}
