/* agent-creator-order-list.css */
/* エージェント所属クリエイター注文管理用CSS */

.accordion-row {
    cursor: pointer;
    transition: background 0.2s;
}

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

.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;
}

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

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

.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;
}

.creator-select {
    margin-bottom: 2em;
    padding: 1em;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.creator-select select {
    padding: 0.5em;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1em;
    min-width: 200px;
}

.creator-select button {
    margin-left: 1em;
    padding: 0.5em 1em;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.creator-select button:hover {
    background: #005a87;
}

.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;
}

.status-completed {
    color: #28a745;
}

.status-processing {
    color: #ffc107;
}

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

.shipping-form {
    display: inline;
    margin-left: 10px;
}

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

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

.pagination {
    margin-top: 1.5em;
    text-align: center;
}

.pagination a {
    margin: 0 0.4em;
    text-decoration: none;
}

.pagination a.current {
    font-weight: bold;
}

