/* 管理画面 */
#singlist-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

#singlist-table th,
#singlist-table td {
    padding: 10px;
    border: 1px solid #ddd;
    vertical-align: middle;
}

#singlist-table th {
    background: #f9f9f9;
}

.sort-handle {
    cursor: move;
    text-align: center;
    background: #f0f0f0;
    width: 50px;
}

.sortable-placeholder {
    background: #e0e0e0;
    height: 50px;
    border: 1px dashed #999;
}

#singlist-table input.widefat {
    width: 100%;
    box-sizing: border-box;
}

#singlist-table tr:hover {
    background: #f5f5f5;
}

/* フロントエンド */
.singlist {
    margin: 0 auto;
}

.singlist-title {
    font-size: 2em;

    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
}

/* フィルタリングUI */
.singlist-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.singlist-filters select {
    padding: 12px 10px;
    font-size: 16px;
    border: 1px solid #d1d5db;
    /* border-gray-300 */
    border-radius: 9999px;
    /* rounded-full */
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 220px;
}

.singlist-filters select:focus,
.singlist-filters select:hover {
    border-color: #3b82f6;
    outline: none;
}

/* テーブル */
.singlist-table {

    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;

}

.table-scroll {}

.singlist-table thead {
    background: #f4f4f4;
}

.singlist-table th {
    padding: 12px 24px;
    text-align: left;
    color: #6b7280;
    text-transform: uppercase;

}

.singlist-table th .flex {
    display: flex;
    align-items: center;

}

.singlist-table th .sort-indicator {
    font-size: 0.875rem;
    color: #9ca3af;
}

.singlist-table tbody {
    background: #fff;
}

.singlist-table td {
    padding: 16px 24px;
    border-bottom: solid 1px #ccc;
}


/* レスポンシブ */
@media (max-width: 768px) {
    .table-scroll {
        overflow-x: scroll;
    }

    .singlist-table {
        min-width: 760px;
    }
}