/* 覆蓋時間：2025-03-17 16:25:20 */
/* Membership Plugin Styles */
.mmp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.mmp-membership-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

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

.mmp-membership-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.mmp-membership-table tr:hover {
    background-color: #f9f9f9;
}

.mmp-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    cursor: pointer;
    border: none;
}

.mmp-btn:hover {
    background-color: #005a87;
}

.mmp-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

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

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

.mmp-form-control {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.mmp-form-check {
    display: flex;
    align-items: center;
}

.mmp-form-check-label {
    margin-left: 5px;
}

.mmp-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.mmp-dashboard-box {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.mmp-dashboard-box h3 {
    margin-top: 0;
    font-size: 16px;
}

.mmp-posts-list {
    list-style: none;
    padding: 0;
}

.mmp-posts-list li {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.mmp-posts-list li:last-child {
    border-bottom: none;
}

.mmp-posts-actions {
    display: flex;
    gap: 5px;
}

.mmp-posts-actions button {
    padding: 3px 8px;
    font-size: 12px;
}

.mmp-admin-table {
    width: 100%;
    border-collapse: collapse;
}

.mmp-admin-table th, .mmp-admin-table td {
    padding: 10px;
    border: 1px solid #ddd;
}

.mmp-admin-table th {
    background-color: #f1f1f1;
}

.mmp-alert {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 3px;
}

.mmp-alert-info {
    background-color: #e3f2fd;
    color: #01579b;
}

.mmp-alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.mmp-alert-warning {
    background-color: #fff8e1;
    color: #ff6f00;
}

@media (max-width: 768px) {
    .mmp-membership-table {
        display: block;
        overflow-x: auto;
    }
}

/* 新增样式 */
#upgrade-title {
    cursor: pointer;
    color: #0073aa;
    margin: 20px 0;
}

#upgrade-title span {
    color: #666;
    font-size: 14px;
}

.mmp-form-control-file {
    cursor: pointer;
    padding: 8px;
    border: 1px dashed #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    margin-top: 5px;
}

.mmp-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    font-size: 16px;
    transition: background-color 0.3s;
}

.mmp-btn:hover {
    background-color: #005a87;
}

.mmp-dashboard-box {
    padding: 20px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* 分页样式 */
.pagination {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination a {
    padding: 5px 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
}

.pagination a:hover {
    background-color: #e9e9e9;
}

.pagination a.current {
    background-color: #0073aa;
    color: white;
    border-color: #0073aa;
}

/* 搜索框样式 */
.search-form {
    margin: 20px 0;
    display: flex;
    gap: 10px;
}

.search-form input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.search-form button {
    padding: 8px 15px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.search-form button:hover {
    background-color: #005a87;
}

/* 排序箭头样式 */
th a {
    text-decoration: none;
    color: #333;
}

th a.asc::after {
    content: "↑";
    margin-left: 5px;
    color: #666;
}

th a.desc::after {
    content: "↓";
    margin-left: 5px;
    color: #666;
}

/* 特色图像样式 */
.no-thumbnail {
    width: 150px;
    height: 150px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    border: 1px dashed #ddd;
}

