/* Studio page layout; adapted from project-owned gift-card-providers.css. */
:where(.payhippo-studio) .gift-providers{max-width:1250px;margin:auto}
:where(.payhippo-studio) .gp-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}
:where(.payhippo-studio) .gp-heading h1{font-size:24px;margin:0 0 6px}
:where(.payhippo-studio) .gp-heading h2{font-size:20px;margin:0}
:where(.payhippo-studio) .gp-heading p{margin:0}
:where(.payhippo-studio) .gift-providers .card,:where(.payhippo-studio) .gift-providers input,:where(.payhippo-studio) .gift-providers button,:where(.payhippo-studio) .gift-providers dialog,:where(.payhippo-studio) .gp-badge{border-radius:4px!important}
:where(.payhippo-studio) .gp-actions{display:flex;align-items:center;gap:8px;justify-content:flex-end}
:where(.payhippo-studio) .gp-actions>span{margin-inline-end:auto}
:where(.payhippo-studio) .gp-provider{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
:where(.payhippo-studio) .gp-provider img{width:90px;height:32px;object-fit:contain}
:where(.payhippo-studio) .gp-badge{display:inline-block;padding:3px 7px;border:1px solid var(--purple);color:var(--purple);font-size:11px}
:where(.payhippo-studio) .gp-link{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
:where(.payhippo-studio) .gp-order,:where(.payhippo-studio) .gp-row-actions{display:flex;align-items:center;gap:5px}
:where(.payhippo-studio) .gp-drag{cursor:grab}
:where(.payhippo-studio) .gift-providers tr[data-drag-over]{outline:2px solid var(--purple);outline-offset:-2px}
:where(.payhippo-studio) .gift-providers dialog{border:1px solid var(--line);background:var(--paper);color:var(--ink);padding:24px;width:min(560px,calc(100% - 24px));max-height:90vh;overflow:auto}
:where(.payhippo-studio) .gift-providers dialog::backdrop{background:#10152980}
:where(.payhippo-studio) .gp-fields{display:grid;gap:16px}
:where(.payhippo-studio) .gp-fields label{display:block}
:where(.payhippo-studio) .gp-fields input:not([type=checkbox]){margin-top:6px}
:where(.payhippo-studio) .gp-preview{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
:where(.payhippo-studio) .gp-preview img{max-width:120px;height:40px;object-fit:contain}
:where(.payhippo-studio) .gp-preview button{margin-inline-start:auto}
:where(.payhippo-studio) .gift-providers dialog footer{margin-top:24px}
:where(.payhippo-studio) .gift-providers table button{white-space:nowrap}
:where(.payhippo-studio) #gpMessage{padding:12px;border:1px solid var(--line);border-radius:4px}
:where(.payhippo-studio) button:focus-visible,:where(.payhippo-studio) [draggable]:focus-visible{outline:2px solid var(--purple);outline-offset:2px}
@media(max-width:600px){:where(.payhippo-studio) .gp-heading{align-items:flex-start}
:where(.payhippo-studio) .gp-heading h1{font-size:20px}
:where(.payhippo-studio) .gp-heading p{font-size:12px}
:where(.payhippo-studio) .gp-provider img{width:60px}
:where(.payhippo-studio) .gp-link{max-width:160px}
:where(.payhippo-studio) .gp-actions{flex-wrap:wrap}
:where(.payhippo-studio) .gift-providers dialog{padding:16px}}
:where(.payhippo-studio) .gp-provider img,:where(.payhippo-studio) .gp-preview img{background:#10102b;padding:5px;border-radius:4px}
