/* General styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

h1, h2, h3 {
    color: #333;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 16px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: #f4f4f4;
}

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.error {
    color: #e74c3c;
}

.success {
    color: #2ecc71;
}

input[type="text"], input[type="date"], input[type="number"], textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    background-color: #3498db;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #2980b9;
}

/* Responsive Design */

/* Adjust layout and text sizes for mobile screens */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 15px;
    }

    table, th, td {
        font-size: 14px;
    }

    h1 {
        font-size: 1.8em;
    }

    h2, h3 {
        font-size: 1.5em;
    }

    button {
        padding: 8px 10px;
    }

    input[type="text"], input[type="date"], input[type="number"], textarea {
        padding: 8px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5em;
    }

    h2, h3 {
        font-size: 1.2em;
    }

    th, td {
        font-size: 12px;
        padding: 5px;
    }

    button {
        padding: 7px 8px;
        font-size: 14px;
    }

    input[type="text"], input[type="date"], input[type="number"], textarea {
        padding: 6px;
        font-size: 12px;
    }

    table {
        font-size: 12px;
    }
}
