/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styles */
body {
    font-family: Arial, sans-serif;
    background-image: url('https://www.webomindapps.com/images/blog/css-background-image-responsive.webp');
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: auto;
    counter-reset: Serial;
    color: #000;
}

/* Header styles */
.header {
    background-color: #333;
    padding: 20px;
    text-align: center;
}

.header h2 {
    color: aquamarine;
}

/* Main container with glassmorphism */
.glassmorphism-container {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 30px auto;
    padding: 20px;
    max-width: 800px;
}

/* Form labels */
label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: antiquewhite;
}

/* Input & select styles */
input[type="text"],
input[type="email"],
input[type="time"],
select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: none;
    outline: none;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Button styles */
button {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    color: antiquewhite;
}

thead th {
    background-color: #555;
    color: white;
    text-align: left;
    padding: 10px;
}

tbody td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

/* Hover effect on rows */
tbody tr:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Serial number counter for first column */
tbody td:first-child::before {
    counter-increment: Serial;
    content: counter(Serial);
    margin-right: 5px;
    font-weight: bold;
    display: inline-block;
}
