/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h2.page-heading {
    text-align: center;
    margin: 20px 0;
    font-size: 24px;
    color: #333;
}

.content-container {
    max-width: 900px;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

a {
    color: #007BFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.bottom-link {
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
}

.logout-link {
    text-align: right;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 12px;
    text-align: left;
}

th {
    background-color: #f8f9fa;
    color: #333;
}

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

td {
    font-size: 14px;
}

/* Form Styles */
form {
    max-width: 400px;
    margin: 40px auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

form h2 {
    margin-bottom: 20px;
    text-align: center;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}

input[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

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

/* Button Styles */
button, a.button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

button:hover, a.button:hover {
    background-color: #0056b3;
}

.button-link {
    display: inline-block;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-container {
        width: 90%;
    }

    table, th, td {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    table, th, td {
        font-size: 10px;
    }

    input[type="text"], input[type="password"], input[type="submit"] {
        font-size: 14px;
    }
}
