body {
    font-family: Arial, sans-serif;
    max-width: 1140px;
    margin: 40px auto;
    background: linear-gradient(135deg, #eef2f7, #ffffff);
    padding: 20px;
    border-radius: 8px;
    color: #333;
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

a {
    color: #0066cc;
    text-decoration: none;
}

form label {
    font-weight: bold;
}

form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.auth-form {
    max-width: 400px;
    margin: 0 auto;
}

input[type="text"],
input[type="password"],
input[type="file"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

button {
    padding: 12px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

a.button {
    display: inline-block;
    padding: 8px 15px;
    background-color: #28a745;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s;
}

a.button:hover {
    background-color: #1e7e34;
}

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

ul {
    list-style-type: none;
    padding: 0;
}

li {
    background-color: #fff;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.comment {
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.comment-form textarea {
    margin-bottom: 10px;
}

.comment-form,
.status-form,
.close-form {
    margin-bottom: 15px;
}

img {
    max-width: 100%;
    height: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

th {
    background-color: #007bff;
    color: #fff;
    padding: 10px;
}

td {
    border-top: 1px solid #eee;
    padding: 10px;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #eef2f7;
}

.issue-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.issue-images img {
    max-width: 200px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    font-weight: bold;
}
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
    font-weight: bold;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.menu .nav-links a {
    margin-right: 15px;
}
.menu .logout {
    margin-left: auto;
}

.filter-form {
    margin-bottom: 20px;
}

.filter-row input,
.filter-row select {
    width: 100%;
    box-sizing: border-box;
}

.filter-row .date-range {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #fff;
    border: 1px solid #bbb;
    border-radius: 6px;
    padding: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

.filter-row .date-range input {
    flex: 1;
    margin: 0;
    border: none;
    padding: 8px;
}

.filter-row .date-range-separator {
    color: #555;
    padding: 0 5px;
    background-color: #f0f0f0;
}
.wysiwyg-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    padding: 4px;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.wysiwyg-toolbar button {
    padding: 5px 10px;
    border: 1px solid #bbb;
    color: #000;
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
}
.wysiwyg-toolbar button:hover {
    background-color: #e0e0e0;
}
.wysiwyg-editor {
    border: 1px solid #ccc;
    padding: 10px;
    min-height: 150px;
    background-color: #fff;
    border-radius: 4px;
    margin-bottom: 15px;
}

#image-preview {
    margin-bottom: 15px;
}
#image-preview .image-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
#image-preview .image-item span {
    flex: 1;
}
#image-preview .image-item button {
    margin-left: 10px;
    padding: 5px 10px;
    background-color: #dc3545;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
#image-preview .image-item button:hover {
    background-color: #c82333;
}
