/* General Body Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8; /* Light grey background */
    color: #333; /* Dark grey text */
    line-height: 1.6;
}

/* Container for content */
.container {
    max-width: 960px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff; /* White content background */
    border: 1px solid #ddd; /* Light grey border */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* Header Styles */
header {
    background-color: #222; /* Dark header background */
    color: #fff;
    padding: 15px 0;
    text-align: center;
    border-bottom: 5px solid #000; /* Black bottom border */
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    color: #eee;
}

header h1 a {
    color: #eee;
    text-decoration: none;
}

/* Navigation Menu */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    background-color: #333; /* Slightly lighter dark for nav */
    padding: 10px 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ccc; /* Lighter on hover */
}

/* Forms */
form {
    background-color: #f0f0f0; /* Light grey form background */
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    margin-top: 20px;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

form input[type="text"],
form input[type="password"],
form input[type="email"],
form input[type="url"],
form input[type="number"],
form select,
form textarea {
    width: calc(100% - 22px); /* Account for padding and border */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    font-size: 1em;
}

form button[type="submit"],
.button {
    background-color: #000; /* Black button */
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

form button[type="submit"]:hover,
.button:hover {
    background-color: #333; /* Darker grey on hover */
}

/* Messages (success, error) */
.message {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-weight: bold;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

table th {
    background-color: #eee;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    background-color: #222;
    color: #fff;
    border-top: 5px solid #000;
}

/* Utility Classes */
.text-center {
    text-align: center;
}
.hidden {
    display: none;
}