/* Background and Container */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #5AB9EA, #002C6B);
    min-height: 100vh;
    display: flex;
    flex-direction: column; /* Allows stacking of navbar and content */
}

/* Navigation Bar */
.navbar {
    background-color: #007BFF;
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.navbar-title {
    font-size: 24px;
    font-weight: bold;
}

.navbar-menu a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.navbar-menu a:hover {
    color: #d0e1ff;
}

/* Main Container */
.container {
    flex: 1;
    padding: 40px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Login Form */
.login-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Logo */
.logo {
    max-width: 150px;
    margin-bottom: 20px;
}

/* Form Elements */
.form-group {
    margin-bottom: 15px;
}

input[type="text"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}

/* Remember Me */
.remember-me {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.remember-me input {
    margin-right: 5px;
}

/* Buttons */
.login-button,
.submit-button,
.back-button {
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.login-button:hover,
.submit-button:hover,
.back-button:hover {
    background-color: #0056b3;
}

/* Forgot Password Link */
.forgot-password {
    display: block;
    margin-top: 10px;
    color: #007BFF;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Store Links */
.store-links {
    margin-top: 20px;
}

.store-links img {
    width: 120px;
    margin: 10px 5px;
}

/* Reports Header */
.reports-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
    color: white;
}

.reports-header h1 {
    font-size: 28px;
    font-weight: bold;
}

/* Add Report Button */
.add-report-button {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.add-report-button:hover {
    background-color: #0056b3;
}

/* Reports Table Styling */
.reports-table {
    width: 100%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow-x: auto; /* Make table responsive on smaller screens */
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background-color: #007BFF;
    color: white;
}

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

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

/* Action Buttons */
.edit-button,
.delete-button {
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    margin-right: 5px;
    transition: background-color 0.3s;
}

.edit-button {
    background-color: #28a745;
    color: white;
}

.edit-button:hover {
    background-color: #218838;
}

.delete-button {
    background-color: #dc3545;
    color: white;
}

.delete-button:hover {
    background-color: #c82333;
}

/* Edit Form Container */
.edit-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin: 0 auto; /* Center the form */
}

.edit-form h2 {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

/* Form Group */
.form-group label {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

/* Map Container */
.map-container {
    height: 300px;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Error Page */
.error-page {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 50px auto;
}

.error-page h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #dc3545; /* Red color for errors */
}

.error-page p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .reports-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .add-report-button {
        margin-top: 10px;
        width: 100%;
    }
}
.chart-section{
    width: 95%;
}
.chart-section2{
    width: 35%;
}
