/* Designers portal + admin — on top of ../vendors/style.css */
.tag { text-align: center; color: var(--text-sub); font-size: 14px; margin-bottom: 8px; }

.art-wrap { position: relative; width: 100%; max-width: 340px; margin: 12px auto 0; touch-action: none; user-select: none; }
.art-wrap img { width: 100%; display: block; border-radius: 6px; pointer-events: none; }
.tbox { position: absolute; border: 2px dashed #B3261E; background: rgba(179, 38, 30, .08); cursor: move; touch-action: none; }
.tbox .hd { position: absolute; width: 18px; height: 18px; background: #fff; border: 2px solid #B3261E; border-radius: 50%; }
.tbox .tl { left: -10px; top: -10px; cursor: nwse-resize; }
.tbox .tr { right: -10px; top: -10px; cursor: nesw-resize; }
.tbox .bl { left: -10px; bottom: -10px; cursor: nesw-resize; }
.tbox .br { right: -10px; bottom: -10px; cursor: nwse-resize; }

.colours label { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 14px; margin: 10px 0 0; }
.colours input[type=color] { width: 46px; height: 36px; padding: 2px; border-radius: 10px; flex: none; }
label.check { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 15px; margin: 0; }
label.check input { width: auto; }

.phone { width: 100%; max-width: 390px; height: 720px; margin: 10px auto 0; border: 1px solid var(--border); border-radius: 22px; overflow: hidden; background: #EDEAE3; }
.phone iframe { width: 100%; height: 100%; border: 0; display: block; }

.thumb { width: 54px; height: 120px; object-fit: cover; object-position: top; border-radius: 6px; background: var(--light); flex: none; display: block; }
.design-row { display: flex; gap: 12px; align-items: flex-start; border-bottom: 1px solid var(--border); padding: 12px 0; }
.design-row:last-child { border-bottom: none; }
.design-row .info { flex: 1; min-width: 0; }
.design-row .info b { display: block; }
.design-row .meta { color: var(--text-sub); font-size: 13px; }
.design-row .acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.design-row .acts .btn { width: auto; margin: 0; padding: 6px 14px; font-size: 13px; }
.design-row input.sort { width: 70px; padding: 6px 8px; font-size: 13px; }
.design-row select { width: auto; padding: 6px 8px; font-size: 13px; }
.reason { background: #F8ECEA; color: var(--danger); border-radius: 10px; padding: 8px 12px; font-size: 14px; margin-top: 6px; }
ul.rules { margin: 8px 0 0; padding-inline-start: 20px; font-size: 14px; color: var(--text-sub); line-height: 1.9; }
.num { font-variant-numeric: tabular-nums; }
table.earn { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
table.earn th, table.earn td { text-align: start; padding: 8px 6px; border-bottom: 1px solid var(--border); }

/* ── Earnings (designer page, invoice, admin payments) ── */
.card h4 { margin: 18px 0 6px; font-size: 16px; color: var(--sage-dark); }
.next-pay { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; background: #F4F7F3; border-radius: 14px; padding: 12px 14px; margin: 6px 0; }
.next-pay b { font-size: 24px; color: var(--sage-dark); }
.next-pay span { color: var(--hint); font-size: 14px; }
.tablewrap { overflow-x: auto; margin: 6px 0; }
table.split, table.sales { width: 100%; border-collapse: collapse; font-size: 14px; }
table.split th, table.split td, table.sales th, table.sales td { padding: 7px 6px; border-bottom: 1px solid #E8ECE6; text-align: start; white-space: nowrap; }
table.split th, table.sales th { font-weight: 600; color: var(--hint); font-size: 13px; }
table.split td.you { font-weight: 700; color: var(--sage-dark); }
table.sales td .status { font-size: 12px; white-space: normal; }
label.check input[type=radio] { margin-inline-end: 6px; }

.sale-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #E8ECE6; }
.sale-row .meta { color: var(--hint); font-size: 13px; }
.sale-row .end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.sale-row .end .status { font-size: 12px; white-space: nowrap; }
.sale-row .meta a { color: var(--sage-dark); }
