/* Navigation Menu */
.pm-navigation {
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
	margin-top:90px;
}

.pm-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1px;
}

.pm-navigation li {
    margin: 0;
}

.pm-navigation a {
    display: block;
    padding: 10px 20px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 3px 3px 0 0;
    transition: all 0.3s ease;
}

.pm-navigation a:hover {
    background: #e0e0e0;
}

.pm-navigation a.active {
    background: #2271b1;
    color: white;
}

.pm-navigation a.active:hover {
    background: #135e96;
}

/* Responsive Navigation */
@media (max-width: 600px) {
    .pm-navigation ul {
        flex-direction: column;
    }
    
    .pm-navigation a {
        border-radius: 0;
        border-bottom: 1px solid #ddd;
    }
}

/* Main Dashboard Styles */
.pm-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.pm-button {
    display: inline-block;
    padding: 8px 16px;
    background: #2271b1;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    margin-bottom: 20px;
    border: none;
    cursor: pointer;
}

.pm-button:hover {
    background: #135e96;
    color: white;
}

.pm-button.small {
    padding: 4px 8px;
    font-size: 0.9em;
}

.pm-button.delete {
    background: #cc1818;
}

.pm-button.delete:hover {
    background: #a00;
}

.pm-button.primary {
    background: #00a32a;
}

.pm-button.primary:hover {
    background: #008a20;
}

/* Properties Table */
.pm-properties-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

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

.pm-properties-table th {
    background-color: #f5f5f5;
}

/* Form Styles */
.pm-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.pm-form-group {
    margin-bottom: 20px;
}

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

.pm-form-group input[type="text"],
.pm-form-group input[type="number"],
.pm-form-group select,
.pm-form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.pm-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.pm-form-row .pm-form-group {
    flex: 1;
    margin-bottom: 0;
}

.pm-radio-group {
    display: flex;
    gap: 15px;
    padding-top: 5px;
}

.pm-radio-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pm-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.pm-checkbox-grid label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pm-form-actions {
    margin-top: 30px;
    display: flex;
    gap: 10px;
}

/* Image Upload */
.pm-image-upload {
    margin-top: 10px;
}

.pm-image-upload label {
    display: block;
    margin-bottom: 5px;
}

.pm-image-preview {
    margin-top: 10px;
}

.pm-image-preview img {
    max-width: 200px;
    height: auto;
    display: block;
    margin-top: 5px;
}

/* Notices */
.pm-notice {
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 3px;
}

.pm-notice .success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* TinyMCE Overrides */
.tox-tinymce {
    border: 1px solid #ddd !important;
    border-radius: 3px !important;
}

.pm-navigation {
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    margin-top: 90px;
}

#loginform{
	 {
    margin-top: 90px;
    margin-bottom: 90px;
    max-width: 350px;
}

/* Property Thumbnails */
.pm-property-thumbnail {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
    background: #f5f5f5;
}

.pm-property-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.pm-no-thumbnail {
    color: #999;
    font-size: 0.8em;
}

/* Status Badges */
.pm-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.8em;
    font-weight: 500;
}

.pm-status-publish {
    background-color: #d4edda;
    color: #155724;
}

.pm-status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.pm-status-draft {
    background-color: #e2e3e5;
    color: #383d41;
}

/* Action Buttons */
.pm-action-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.pm-button.success {
    background-color: #28a745;
}

.pm-button.warning {
    background-color: #ffc107;
    color: #212529;
}

.pm-button .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Responsive Table */
@media (max-width: 782px) {
    .pm-action-buttons {
        flex-direction: column;
    }
    
    .pm-action-buttons .pm-button {
        width: 100%;
    }
}