:root {
    --mm-primary: #4f46e5;
    --mm-primary-dark: #4338ca;
    --mm-success: #10b981;
    --mm-warning: #f59e0b;
    --mm-danger: #ef4444;
    --mm-gray-50: #f9fafb;
    --mm-gray-100: #f3f4f6;
    --mm-gray-200: #e5e7eb;
    --mm-gray-600: #4b5563;
    --mm-gray-700: #374151;
    --mm-gray-800: #1f2937;
    --mm-border-radius: 8px;
    --mm-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
}
.mm-list-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-direction: row;
    justify-content: space-between;
}

.mm-list-con {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 60%;
    gap: 12px;
}

.mm-search-box {
    width: 70% !important;
    position: relative;
    background-color: #fff;
}

.mm-search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 14px;
}

.mm-list-search {
   margin: 0 !important;
    width: 100% !important;
    display: block !important;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #CCD3D3 !important;
    color: #4a4a4a!important;
    font-size: 14px !important;
    border-radius: 0 !important;
    font-weight: normal;
    padding-left: 50px !important;
}

.mm-list-search:focus {
    border-color: #4f46e5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.mm-list-search::placeholder {
    color: #9ca3af;
}

.mm-filter-box {
    width: 30% !important;
    margin-left: 0;
    background-color: #fff;
}

.mm-list-grade-filter {
width: 100%;
    border: 1px solid #CCD3D3 !important;
    font-size: 14px;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s;
    color: #929292;
    margin: 0 !important;
}

.mm-list-grade-filter:focus {
    border-color: #4f46e5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* 当未选择任何选项时显示灰色 */
.mm-list-grade-filter option[value=""] {
    color: #9ca3af;
}

/* 当选择了选项时显示正常颜色 */
.mm-list-grade-filter.has-value {
    color: #374151;
}

.mm-list-button {
    width: calc(40% - 12px);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.mm-search-button, .mm-reset-button {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    border: none;
    height: 40px;
}

.mm-search-button {
background: unset;
    color: #F93C2C;
    box-sizing: border-box !important;
    border: 1px solid #F93C2C !important;
    font-size: 16px;
    width: 80%;
    padding: 0;
    border-radius: 0;
}

.mm-search-button:hover {
    background: #ffffff00;
    color: #F93C2C !important;
}

.mm-search-button i {
    font-size: 14px;
    color: #F93C2C !important;
}

.mm-reset-button {
    background: #ffffff00;
    color: #565656;
    border: 1px solid #CCD3D3;
    width: 20%;
    border-radius: 0;
}

.mm-reset-button:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.mm-reset-button i {
    font-size: 14px;
    color: #6b7280;
}
/* Table */
.mm-member-list-wrapper {
    background: #ffffff00;
    overflow-x: auto;
    margin-bottom: 24px;
}

.mm-member-list-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    border-bottom: 1px solid #979797;
}

.mm-member-list-table thead tr {
}

.mm-member-list-table th {
    font-size: 14px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    color: #F93C2C;
    border-width: 0 !important;
    border-bottom: 1px solid #979797 !important;
    
}

.mm-member-list-table td {
        font-family: PingFangTC-Medium, "aktiv-grotesk", "Microsoft JhengHei", "微軟正黑體", "メイリオ", "ＭＳ Ｐゴシック", sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #4a4a4a;
    letter-spacing: 0;
    border-width: 0 !important;
    border-top: 1px solid #efefef !important;
    padding: 17px 0 !important;
    line-height: 1.42857143;
    vertical-align: top;
    font-size: 14px;
}

.mm-member-list-table tbody tr:hover {
    background: var(--mm-gray-50);
}

.mm-member-list-table tbody tr:last-child td {
    border-bottom: none;
}

/* Pagination */
.mm-list-pagination {
        display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.mm-pagination {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.mm-pagination .mm-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid var(--mm-gray-200);
    border-radius: 8px;
    background: #fff;
    color: var(--mm-gray-700);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.mm-pagination .mm-page-btn:hover {
    background: var(--mm-gray-100);
    border-color: var(--mm-gray-300);
}

.mm-pagination .mm-page-btn.active {
    background: #f93c2c;
    border-color: #f93c2c;
    color: #fff;
}

.mm-pagination .mm-page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.mm-page-dots {
    display: inline-flex;
    align-items: center;
    padding: 0 4px;
    color: var(--mm-gray-600);
}
/* Empty State */
.mm-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.mm-empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
    color: #9ca3af;
}

.mm-empty-state p {
    font-size: 16px;
    margin: 0;
}

.mm-loading {
    text-align: center;
    padding: 40px;
    color: #6b7280;
}

.mm-loading i {
    margin-right: 8px;
    color: #4f46e5;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .mm-list-filters {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        align-content: flex-start;
    }
    .mm-list-con{
        display: flex;
    flex-direction: column;
    width: 100%;
    }
.mm-list-button{
    display: flex;
    justify-content: center;
    flex-direction: row;
    width: 100%;
}
.mm-search-button, .mm-reset-button{
    
}
.mm-search-button{
    
}
.mm-reset-button{
    width: 128px;
}
    .mm-search-box {
        min-width: 100%;
    }

    .mm-filter-box {
        min-width: 100%;
    }

    .mm-member-list-table {
        font-size: 14px;
    }

    .mm-member-list-table th,
    .mm-member-list-table td {
        padding: 12px 8px;
    }
}
