body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
}

.main-container {
    padding: 20px;
    margin-top: 60px; /* Adjust for fixed navbar */
}

.content-section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.content-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Navigation Bar --- */
.navbar {
    background-color: #34495e;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.nav-brand {
    font-size: 1.5em;
    font-weight: bold;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    margin-left: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-link:hover {
    background-color: #55799b;
}

/* --- THIS IS THE ADDED RULE --- */
.hidden {
    display: none;
}

/* --- Form Containers --- */
.form-container {
    width: 100%;
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #2c3e50;
}

/* --- Form Elements --- */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1em;
}

input:focus, select:focus, textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* --- Buttons --- */
.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-login {
    background-color: #3498db;
    color: #fff;
}

.btn-login:hover {
    background-color: #2980b9;
}

.btn-submit {
    background-color: #28a745;
    color: #fff;
}

.btn-submit:hover {
    background-color: #218838;
}

/* --- Previous Issues Section --- */
.previous-issues-container {
    max-width: 900px;
    margin: 50px auto;
}

.issue-card {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s;
}

.issue-card:hover {
    transform: translateY(-5px);
}

.issue-details {
    flex-grow: 1;
}

.issue-details h3 {
    margin: 0 0 5px 0;
    color: #333;
}

.issue-details p {
    margin: 0;
    color: #666;
}

.issue-status {
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.8em;
}

.status-solved {
    background-color: #28a745;
}

.status-in-progress {
    background-color: #007bff;
}

.status-pending {
    background-color: #ffc107;
}

#map-canvas {
    height: 400px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
}