/* Reset default margin and padding */
body, h1, table, tr, th, td, a, form {
    margin: 0;
    padding: 0;
}

/* Set font size for mobile devices */
body {
    font-size: 16px;
}

/* Set font size for larger screens */
@media only screen and (min-width: 601px) {
    body {
        font-size: 18px;
    }
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ccc;
}

th {
    background-color: #007BFF;
    color: #fff;
}

td {
    background-color: #f5f5f5;
}

/* Attendance status styles */
.present {
    color: green;
}

.absent {
    color: red;
}

/* Button styles */
.link-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 20px;
    text-align: center;
    text-decoration: none;
    background-color: #007BFF;
    color: #fff;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
}

.link-button:hover {
    background-color: #0056b3;
}

/* Additional styles for a more colorful theme */
body {
    background-color: #f1f5f8;
    color: #333;
    line-height: 1.6;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #555;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header {
    background-color: #007BFF;
    padding: 20px;
    color: #fff;
    text-align: center;
}

.header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.header p {
    font-size: 18px;
    color: #f5f5f5;
}

.error {
    color: red;
    font-weight: bold;
}

.success {
    color: green;
    font-weight: bold;
}
