/* Card */
.lk-refund-card{background:#fff;border:1px solid #eee;border-radius:14px;padding:16px;margin:10px 0;box-shadow:0 4px 8px rgba(0,0,0,.05)}
.lk-refund-card h2{margin:.2rem 0 .6rem;font-weight:700;font-size:26px;line-height:1.2}
.lk-refund-desc{color:#6b7280;margin:0 0 10px}

/* Accordion & rows */
.lk-refund-accordion{display:flex;flex-direction:column;gap:12px}
.lk-refund-row{border:1px solid #e5e7eb;border-radius:12px;background:#f9fbff;overflow:hidden}
.lk-refund-row[disabled]{opacity:.6;pointer-events:none}
.lk-refund-row summary{list-style:none;display:flex;justify-content:space-between;align-items:center;padding:14px 12px;cursor:pointer}
.lk-refund-row summary::-webkit-details-marker{display:none}
.lk-row-left{display:flex;flex-direction:column}
.lk-refund-order{font-weight:600;color:#111}
.lk-refund-meta{font-size:13px;margin-top:4px}
.lk-refund-date{color:#6b7280}
.lk-status{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:999px;background:#eef2ff}
.lk-status-completed{background:#e6fbe8;color:#166534}
.lk-status-processing{background:#fef9c3;color:#92400e}
.lk-status-cancelled,.lk-status-failed,.lk-status-refunded{background:#fee2e2;color:#991b1b}

/* CTA styles */
.lk-summary-cta{background:linear-gradient(135deg,#0047ff,#001c8a);color:#fff;border:none;border-radius:40px;padding:8px 14px;font-weight:600;box-shadow:0 3px 8px rgba(0,0,0,.15)}
.lk-cta-disabled{background:#e5e7eb;color:#111;pointer-events:none}
.lk-cta-approved{background:#16a34a}
.lk-cta-denied{background:#ef4444}
.lk-cta-closed{background:#e5e7eb;color:#6b7280;pointer-events:none} /* "Refund closed" */

.lk-refund-row[open] .lk-summary-cta{filter:brightness(.95)}
.lk-refund-row.is-requested summary{cursor:default}

/* Hidden wrapper for more orders */
.lk-more-orders{border:1px dashed #dbe4ff;border-radius:12px;background:#fff}
.lk-more-summary{padding:10px 12px;cursor:pointer;color:#1e40af;font-weight:600}

/* Items preview */
.lk-items{padding:10px 12px 0;background:#fff}
.lk-items-list{margin:0;padding-left:18px}
.lk-items-list li{margin:2px 0;color:#374151}
.lk-more-items{margin-top:6px}
.lk-more-items-summary{cursor:pointer;color:#1f2937;font-weight:600;margin-top:6px}

/* Form & notices */
.lk-refund-form{border-top:1px dashed #cfd7ff;background:#fff;padding:12px}
.lk-refund-form label{display:block;font-weight:600;margin:6px 0}
.lk-refund-form select,.lk-refund-form textarea,.lk-refund-form input[type=file]{width:100%;margin:4px 0 10px;padding:10px;border:1px solid #e5e7eb;border-radius:10px;background:#fff}
.lk-refund-actions{display:flex;gap:8px;margin-top:8px}
.lk-btn{background:linear-gradient(135deg,#0047ff,#001c8a);color:#fff;border:none;border-radius:40px;padding:10px 16px;font-weight:600;cursor:pointer}
.lk-notice{background:#e8f8ef;color:#065f46;padding:10px;border-radius:8px;margin:10px 0;border:1px solid #b7e4c7}
.lk-error{background:#fff4f4;color:#b42318;padding:10px;border-radius:8px;margin:10px 0;border:1px solid #fecaca}
.lk-disabled-note{padding:12px;background:#fff;border-top:1px dashed #e5e7eb;color:#6b7280}
