/* General Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Form Styles */
.jlm-form-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.jlm-form-container h2 {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-group textarea {
    height: 100px;
}

.form-group input[type="submit"] {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.form-group input[type="submit"]:hover {
    background: #005d87;
}

.success-message {
    color: #28a745;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Dashboard Styles */
.jlm-agent-dashboard,
.jlm-buyer-dashboard {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
}

.jlm-agent-dashboard h2,
.jlm-buyer-dashboard h2,
.jlm-agent-dashboard h3,
.jlm-buyer-dashboard h3 {
    margin-bottom: 15px;
}

.jlm-agent-dashboard ul,
.jlm-buyer-dashboard ul {
    list-style: none;
    padding: 0;
}

.jlm-agent-dashboard ul li,
.jlm-buyer-dashboard ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

/* Filter Styles */
.jlm-filters {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.filter-group {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 15px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
}

.filter-group select,
.filter-group input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.filter-group input[type="submit"] {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

.filter-group input[type="submit"]:hover {
    background: #005d87;
}

/* Archive Styles */
.jlm-archive-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

.jlm-archive-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.jlm-item {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 12px;
    overflow: hidden;
}

.jlm-item-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.jlm-item h2 {
    font-size: 24px;
    padding: 20px;
}

.jlm-item-meta span {
    display: block;
    margin-bottom: 5px;
    color: #666;
}

.jlm-item p {
    margin: 10px 0 0;
}

/* Single Page Styles */
.jlm-single-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.jlm-single-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 20px;
}

.jlm-single-meta p {
    margin: 5px 0;
}

.jlm-single-content {
    margin-top: 20px;
}

.jlm-button {
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.jlm-button:hover {
    background: #005d87;
}

/* Responsive Design */
@media (max-width: 768px) {
    .jlm-archive-items {
        grid-template-columns: 1fr;
    }

    .filter-group {
        display: block;
        width: 100%;
    }
}