/* General Form Styles */
form {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 20px auto;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

form h1 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #555;
}

form input[type="text"],
form input[type="email"],
form textarea,
form select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

form input[type="checkbox"] {
    margin-right: 5px;
    cursor: pointer;
}

form textarea {
    resize: vertical;
    height: 80px;
}

form button {
    background-color: #0078D7;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    margin-top: 10px;
}

form button:hover {
    background-color: #005bb5;
}

form a {
    display: block;
    margin-top: 15px;
    text-align: center;
    text-decoration: none;
    color: #0078D7;
    font-weight: bold;
}

form a:hover {
    text-decoration: underline;
}

/* Form Section Styling */
#form-fields {
    margin-top: 15px;
}

/* Success and Error Messages */
form .success {
    color: green;
    font-size: 14px;
    margin-bottom: 10px;
}

form .error {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

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

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

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

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

table td a {
    text-decoration: none;
    color: #0078D7;
    font-weight: bold;
    margin-right: 10px;
}

table td a:hover {
    text-decoration: underline;
}

table td input[type="checkbox"] {
    cursor: not-allowed;
    pointer-events: none;
    transform: scale(1.2);
    margin: 0 auto;
}

table td input[type="checkbox"]:checked {
    accent-color: #0078D7;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    form {
        padding: 15px;
    }
    form h1 {
        font-size: 20px;
    }
    form button {
        font-size: 14px;
    }
    table th, table td {
        padding: 8px;
        font-size: 12px;
    }
    table td input[type="checkbox"] {
        transform: scale(1);
    }
}
label {
    margin-right: 5px;
    font-weight: bold;
}

select {
    margin-right: 15px;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
}
/* Style for the menu container */
.menu {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 10px 0;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Style for individual menu items */
.menu-item {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

/* Hover effect for menu items */
.menu-item:hover {
    background-color: #007bff;
    color: #fff;
}

/* Active menu item (optional) */
.menu-item.active {
    background-color: #0056b3;
    color: #fff;
}
