/* General Styles */
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background: #d1d1d1;
    color: #000000;
    transition: background-color 0.3s, color 0.3s;
}

/* Header */
header {
    background: #1c385f;
    color: white;
    padding: 1em 2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content {
    display: flex;
    align-items: center;
    width: 100%;
}

header h1 {
    flex-grow: 1;
    text-align: center;
    font-size: 1.8em;
    margin: 0;
}

.logo {
    width: 50px;
    height: 50px;
}

/* Container */
.container {
    padding: 30px 20px;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease;
}

/* Buttons */
button, .btn {
    padding: 10px 20px;
    border: none;
    background-color: #006400;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover, .btn:hover {
    background-color: #2e8b57;
}

/* Forms */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

input, textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    width: 100%;
}

input:focus, textarea:focus {
    border-color: #2e8b57;
    outline: none;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #ccc;
}

th, td {
    padding: 12px;
    text-align: left;
}

/* Footer */
footer {
    background: #000;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 30px;
}

.footer-container
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
.footer-container p {
    margin: 0;
}   
.footer-container a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}
.footer-container a:hover {
    text-decoration: underline;
    color: #a3a3a3;
}
/* Responsive Styles */     
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-content {
        width: 100%;
        justify-content: space-between;
    }

    header h1 {
        text-align: left;
        font-size: 1.5em;
    }

    .container {
        padding: 20px 10px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark Mode */
body.dark-mode {
    background-color: #121212;
    color: #f0f0f0;
}

body.dark-mode header,
body.dark-mode footer {
    background: #1f1f1f;
}

body.dark-mode button,
body.dark-mode .btn {
    background-color: #2e8b57;
}

body.dark-mode input,
body.dark-mode textarea {
    background-color: #1c1c1c;
    color: white;
    border: 1px solid #555;
}

#darkModeToggle {
    background: none;
    border: 1px solid white;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
}

/* Login Form */

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

/* Login Container */
.login-container {
    width: 100%;
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Form Styles */
.login-form .form-group {
    margin-bottom: 15px;
}

.login-form label {
    font-weight: bold;
    color: #333;
}

.login-form input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.login-form input:focus {
    outline: none;
    border-color: #4CAF50;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #45a049;
}

.error-message {
    color: red;
    text-align: center;
    margin-bottom: 20px;
}

.register-link {
    text-align: center;
    margin-top: 20px;
}

.register-link a {
    color: #4CAF50;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}


/* Navigation Styles */
.main-nav {
    background-color: #2d3436;
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.main-nav ul li {
    margin: 0 15px;
}

.main-nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.main-nav ul li a:hover {
    background-color: #00b894;
    color: #fff;
}

/* Responsive Navigation */
@media screen and (max-width: 600px) {
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-nav ul li {
        margin: 10px 0;
    }
}


.home-container {
    max-width: 900px;
    margin: 40px auto;
    background-color: #f9fcff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    font-family: "Segoe UI", sans-serif;
}

.home-container h2 {
    color: #006400;
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
}

.home-container p {
    font-size: 17px;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

.section {
    margin-top: 30px;
}

.section h3 {
    color: #2e8b57;
    margin-bottom: 15px;
}

.section ul {
    list-style: none;
    padding-left: 0;
}

.section ul li {
    background: #e9f5ec;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-left: 5px solid #2e8b57;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
}

.buttons {
    text-align: center;
}

.btn {
    padding: 12px 25px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin: 10px;
    transition: background 0.3s ease;
}

.login-btn {
    background-color: #006400;
    color: white;
}

.login-btn:hover {
    background-color: #004d00;
}

.register-btn {
    background-color: #2e8b57;
    color: white;
}

.register-btn:hover {
    background-color: #276749;
}

.contact ul li {
    font-size: 15px;
}

.contact a {
    color: #0066cc;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}



.report-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    font-size: 15px;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.report-table thead {
    background-color: #2e8b57;
    color: #fff;
}

.report-table th,
.report-table td {
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.report-table tbody tr:nth-child(even) {
    background-color: #f4fdf6;
}

.report-table tbody tr:hover {
    background-color: #e0f7ec;
    transition: 0.3s;
}

