/* assets/css/creator-order-list.css */
/* クリエイター注文一覧のスタイル */

/* 発送完了メッセージ */
.shipping-completed-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 0.75rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.back-to-page-button {
    display: inline-block;
    margin-top: 1em;
    background: #e5e7eb;
    padding: 0.5em 1em;
    border-radius: 6px;
    text-decoration: none;
    color: #111;
}

/* 戻るボタン */
.back-button {
    display: inline-block;
    margin-bottom: 1em;
    background: #e5e7eb;
    padding: 0.5em 1em;
    border-radius: 6px;
    text-decoration: none;
    color: #111;
    font-size: 0.95em;
}

.back-button:hover {
    background: #d1d5db;
}

/* アコーディオン行 */
.accordion-row {
    cursor: pointer;
    transition: background 0.2s;
}

.accordion-row:hover {
    background-color: #f0f0f0;
}

.accordion-row td::after {
    content: " ▼";
    float: right;
    color: #888;
}

.accordion-row.open td::after {
    content: " ▲";
}

/* アコーディオンコンテンツ */
.accordion-content {
    display: none;
    padding: 0.8em 1em;
    background: #f9f9f9;
    border-top: 1px solid #ccc;
    font-size: 0.95em;
}

/* 注文テーブル */
.order-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
}

.order-table th,
.order-table td {
    padding: 0.6em;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

/* ステータス表示 */
.status-completed {
    color: #28a745;
}

.status-processing {
    color: #ffc107;
}

.status-on-hold {
    color: #dc3545;
}

/* 発送完了フォーム */
.shipping-form {
    display: inline;
    margin-left: 10px;
}

.shipping-complete-button {
    background: #28a745;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

.shipping-complete-button:hover {
    background: #218838;
}

/* ページネーション */
.pagination-wrapper {
    margin-top: 1.5em;
    text-align: center;
}

.page-link {
    margin: 0 0.4em;
    text-decoration: none;
    color: #333;
}

.page-link.current-page {
    font-weight: bold;
}

.page-link:hover {
    text-decoration: underline;
}

