/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: rgb(255,255,255); /* White background */
}

.header {
    background-color: rgb(132,132,132); /* Light Grey background */
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.navbar {
    display: flex;
    justify-content: center;
    background-color: rgb(0,0,0); /* Black background */
}

.navbar a {
    display: block;
    padding: 14px 20px;
    color: #fff;
    text-decoration: none;
    text-align: center;
}

.navbar a:hover {
    background-color: rgb(98, 98, 98); /* Hover with a slightly lighter grey */
}

.container {
    max-width: 1000px;
    margin: auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.content {
    text-align: center;
}

footer {
    text-align: center;
    padding: 10px 0;
    background-color: rgb(132,132,132); /* Light Grey background */
    color: #fff;
    position: fixed;
    width: 100%;
    bottom: 0;
}

/* Form Styles */
.form-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 20px auto;
}

.form-container h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #560000; /* Dark red text */
}

.form-container label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.form-container input, .form-container select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-container button {
    width: 100%;
    padding: 10px;
    background-color: #2d572c; /* Dark green background */
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.form-container button:hover {
    background-color: #3d703d; /* Hover with a slightly lighter green */
}

.notification {
    text-align: center;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.notification.error {
    background-color: #f44336;
    color: white;
}

/* Dashboard Styles */
.dashboard-container, .management-container {
    width: 100%;
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.dashboard-header, .management-header {
    text-align: center;
    margin-bottom: 20px;
}

.dashboard-header h1, .dashboard-header h2, .management-header h1, .management-header h2 {
    margin: 0;
}

.nav-list {
    list-style-type: none;
    padding: 0;
}

.nav-list li {
    margin-bottom: 10px;
}

.nav-list a {
    display: block;
    padding: 10px;
    background-color: #2d572c; /* Dark green background */
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
}

.nav-list a:hover {
    background-color: #3d703d; /* Hover with a slightly lighter green */
}

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: #e6f7e6; /* Light green background */
}

.action-buttons {
    display: flex;
    justify-content: space-around;
}

.action-buttons a, .action-buttons button {
    padding: 8px 12px;
    background-color: #2d572c; /* Dark green background */
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.action-buttons a:hover, .action-buttons button:hover {
    background-color: #3d703d; /* Hover with a slightly lighter green */
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .header h1, .content h2, .content p, .dashboard-header h1, .dashboard-header h2, .management-header h1, .management-header h2 {
        padding: 0 10px;
        font-size: 1.2em;
    }
    .navbar a {
        font-size: 1em;
    }
    .form-container {
        padding: 10px;
    }
    .form-container h1 {
        font-size: 1.5em;
    }
    table, th, td {
        font-size: 0.9em;
    }
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    .action-buttons a, .action-buttons button {
        margin-bottom: 10px;
        width: 100%;
        text-align: center;
    }
}
