.orders-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 15px 40px;
}

.orders-heading {
    margin: 0 0 18px;
    font-size: 24px;
    color: #333;
}

.orders-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    border-bottom: 2px solid #e8e8e8;
}

.orders-tabs li a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #555;
    border-radius: 4px 4px 0 0;
    font-size: 13px;
}

.orders-tabs li.active a,
.orders-tabs li a:hover {
    background: #e67e22;
    color: #fff;
}

.orders-empty {
    padding: 30px 0;
    color: #666;
    text-align: center;
}

.orders-table-wrap {
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #ddd;
}

.orders-table th,
.orders-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-size: 14px;
}

.orders-table th {
    background: #f7f7f7;
    font-weight: 600;
}

.orders-table tr:hover td {
    background: #fafafa;
}

.order-status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    text-transform: capitalize;
    background: #eee;
    color: #333;
}

.order-status-badge.paid { background: #d4edda; color: #155724; }
.order-status-badge.pending { background: #fff3cd; color: #856404; }
.order-status-badge.shipped { background: #cce5ff; color: #004085; }
.order-status-badge.delivered { background: #d1ecf1; color: #0c5460; }
.order-status-badge.withdrawn,
.order-status-badge.canceled { background: #f8d7da; color: #721c24; }

.orders-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 18px;
}

.orders-pagination a {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
}

.orders-pagination a.active,
.orders-pagination a:hover {
    background: #e67e22;
    border-color: #e67e22;
    color: #fff;
}

.order-detail-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 18px;
    margin-bottom: 18px;
}

.order-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.order-detail-grid dt {
    font-size: 12px;
    color: #777;
    margin-bottom: 2px;
}

.order-detail-grid dd {
    margin: 0;
    font-size: 14px;
    color: #333;
}

/* Transaction feedback (aligned with comments / offer cards) */
.order-feedback-card {
    margin-top: 0;
}

.order-feedback-score {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.order-feedback-option {
    flex: 1 1 140px;
    margin: 0;
    cursor: pointer;
}

.order-feedback-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.order-feedback-option-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fafafa;
    font-weight: 600;
    font-size: 14px;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.order-feedback-option.positive .order-feedback-option-box {
    color: #2e7d32;
}

.order-feedback-option.negative .order-feedback-option-box {
    color: #c62828;
}

.order-feedback-option input:checked + .order-feedback-option-box {
    box-shadow: 0 0 0 2px rgba(122, 183, 48, 0.25);
}

.order-feedback-option.positive input:checked + .order-feedback-option-box {
    background: #f1f9eb;
    border-color: #cfecbc;
}

.order-feedback-option.negative input:checked + .order-feedback-option-box {
    background: #fdf2f2;
    border-color: #f0c4c4;
    box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.15);
}

.order-feedback-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
}

.order-feedback-option.positive .order-feedback-icon {
    background: #41B34D;
    color: #fff;
}

.order-feedback-option.negative .order-feedback-icon {
    background: #BE2730;
    color: #fff;
}

.order-feedback-status-line {
    font-size: 13px;
    color: #555;
}

/* Member profile feedback list */
.feedback-list-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feedback-list-item {
    display: flex;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
}

.feedback-list-item.is-positive {
    background: #f1f9eb;
    border-color: #cfecbc;
}

.feedback-list-item.is-negative {
    background: #fdf2f2;
    border-color: #f0c4c4;
}

.feedback-list-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #ddd;
    display: block;
}

.feedback-list-body {
    flex: 1 1 auto;
    min-width: 0;
}

.feedback-list-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
    font-size: 13px;
}

.feedback-list-score {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.03em;
}

.feedback-list-score.positive { color: #2e7d32; }
.feedback-list-score.negative { color: #c62828; }

.feedback-list-message {
    font-size: 14px;
    line-height: 1.45;
    color: #222;
    margin-top: 4px;
}

.feedback-list-empty {
    padding: 16px;
    border: 1px dashed #ddd;
    border-radius: 8px;
    background: #fafafa;
}

/* Offer-based feedback on ad details (shares look with comments) */
.ad-feedback-box {
    margin-top: 12px;
    padding: 14px 16px;
    border: 1px solid #cfecbc;
    background: #f1f9eb;
    border-radius: 8px;
}

.ad-feedback-box .order-feedback-score {
    margin-bottom: 10px;
}

.order-items-table img {
    width: 56px;
    height: 42px;
    object-fit: cover;
    border-radius: 3px;
}

.order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 14px;
}

.order-actions select {
    padding: 7px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.payout-form-wrap {
    max-width: 480px;
    margin: 0 auto;
}

.payout-form-wrap .funds-line {
    margin-bottom: 16px;
    font-size: 16px;
}

.payout-form-wrap .iban-line {
    margin-bottom: 12px;
    color: #666;
    font-size: 14px;
}

.payout-form-wrap input[type="number"] {
    width: 100%;
    max-width: 220px;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 12px;
}

.payout-links {
    margin-top: 16px;
    font-size: 14px;
}

.payout-links a {
    margin-right: 14px;
}