* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
}

nav {
    background-color: #444;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    padding: 10px;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

nav ul li a:hover {
    text-decoration: underline;
}

main {
    flex: 1;
    padding: 20px;
    background-color: #f4f4f4;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
}

/* Styles for input types */

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    outline: none;
    border-color: #666;
    background-color: #eef;
}

button,
input[type="submit"] {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

button:hover,
input[type="submit"]:hover {
    background-color: #555;
}

input[type="checkbox"],
input[type="radio"] {
    margin-right: 10px;
}

label {
    font-size: 16px;
}

input[type="range"] {
    width: 100%;
    margin: 10px 0;
}

select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    font-size: 16px;
}

.notification {
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: pink;
    color: #333;
}

/* Checkbox styling */
fieldset {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
    background-color: #f9f9f9;
}

fieldset legend {
    font-size: 18px;
    font-weight: bold;
    padding: 0 5px;
    color: #333;
}

label input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 2px solid #333;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    position: relative;
}

label input[type="checkbox"]:checked {
    background-color: #333;
    border-color: #333;
}

label input[type="checkbox"]:checked::before {
    content: '✓';
    font-size: 16px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

fieldset label {
    display: flex;
    align-items: center;
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

fieldset label:hover input[type="checkbox"] {
    border-color: #555;
}

/* Styles for the event table */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

table th,
table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 16px;
}

table th {
    background-color: #333;
    color: white;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #eef;
}

table a {
    color: #333;
    text-decoration: none;
}

table a:hover {
    text-decoration: underline;
    color: #555;
}

table td.actions a {
    margin-right: 10px;
    padding: 6px 10px;
    border-radius: 4px;
    background-color: #333;
    color: white;
    font-size: 14px;
}

table td.actions a:hover {
    background-color: #555;
}

/* General styling for input elements */
input[type="date"],
input[type="time"],
input[type="number"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    background-color: white;
    box-sizing: border-box;
}

/* Focus styles */
input[type="date"]:focus,
input[type="time"]:focus,
input[type="number"]:focus {
    outline: none;
    border-color: #666;
    background-color: #eef;
}

/* Styling for disabled inputs */
input[type="date"]:disabled,
input[type="time"]:disabled,
input[type="number"]:disabled {
    background-color: #f9f9f9;
    color: #888;
}

/* Styling for hover effect */
input[type="date"]:hover,
input[type="time"]:hover,
input[type="number"]:hover {
    border-color: #555;
}
/* Styles for the actions section */
.actions {
    margin-top: 20px;
    text-align: center;
}

/* Button styling within the actions section */
.actions .button {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: #333;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.actions .button:hover {
    background-color: #555;
}

