
.pm-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.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;
}
.pm-table-wrapper {
    margin: 20px 0;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}
.pm-filters {
    margin-bottom: 20px;
}
.pm-filters input,
.pm-filters select {
    padding: 8px;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
#pm-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
#pm-table th,
#pm-table td {
    padding: 8px;
    text-align: left;
}
#pm-table th:nth-child(3),
#pm-table th:nth-child(4),
#pm-table th:nth-child(5),
#pm-table th:nth-child(6),
#pm-table th:nth-child(7),
#pm-table th:nth-child(8),
#pm-table th:nth-child(9),
.wp-list-table th:nth-child(3),
.wp-list-table th:nth-child(4),
.wp-list-table th:nth-child(5),
.wp-list-table th:nth-child(6),
.wp-list-table th:nth-child(7) {
    font-size: 0.9em;
    white-space: normal;
}
#pm-table td {
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 150px !important;
    min-width: 100px;
    word-wrap: break-word !important;
}
.pm-view-button {
    margin-right: 5px;
}
.pm-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}
.pm-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 700px;
    border-radius: 8px;
    max-height: 80vh;
    overflow-y: auto;
}
.pm-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.pm-modal-close:hover,
.pm-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.pm-modal-body p {
    margin: 10px 0;
}
.pm-modal-body p strong {
    display: inline-block;
    width: 120px;
}
@media (max-width: 768px) {
    .pm-table-wrapper table {
        display: block !important;
        overflow-x: auto !important;
    }
    #pm-table th,
    #pm-table td {
        min-width: 100px !important;
    }
    .pm-modal-content {
        width: 90%;
    }
}