/* ============================================================
   Art Gallery Manager — Frontend Styles
   ============================================================ */

:root {
  --wop-primary:   #1a1a2e;
  --wop-accent:    #c9a84c;
  --wop-accent-h:  #b5923e;
  --wop-light:     #f8f6f2;
  --wop-border:    #e0dbd0;
  --wop-radius:    8px;
  --wop-shadow:    0 2px 16px rgba(0,0,0,.10);
  --wop-danger:    #c0392b;
  --wop-success:   #27ae60;
  --wop-pending:   #e67e22;
  --wop-font:      'Georgia', serif;
}

/* --- Base --- */
.wop-card {
  background: #fff;
  border: 1px solid var(--wop-border);
  border-radius: var(--wop-radius);
  padding: 2rem;
  max-width: 480px;
  margin: 2rem auto;
  box-shadow: var(--wop-shadow);
}

.wop-card h2 {
  margin-top: 0;
  font-family: var(--wop-font);
  color: var(--wop-primary);
  font-size: 1.6rem;
}

/* --- Forms --- */
.wop-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: .875rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 1rem;
}

.wop-form input[type="text"],
.wop-form input[type="email"],
.wop-form input[type="password"],
.wop-form input[type="url"],
.wop-form input[type="tel"],
.wop-form input[type="number"],
.wop-form input[type="datetime-local"],
.wop-form select,
.wop-form textarea {
  border: 1px solid var(--wop-border);
  border-radius: 4px;
  padding: .55rem .75rem;
  font-size: 1rem;
  color: #222;
  transition: border-color .2s;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}

.wop-form input:focus,
.wop-form textarea:focus,
.wop-form select:focus {
  outline: none;
  border-color: var(--wop-accent);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}

.wop-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.wop-form-footer {
  text-align: center;
  margin-top: 1.25rem;
  font-size: .875rem;
  color: #666;
}

.wop-form-footer a {
  color: var(--wop-accent);
  text-decoration: none;
}

.wop-checkbox {
  flex-direction: row !important;
  align-items: center;
  gap: 8px !important;
  font-weight: normal !important;
  cursor: pointer;
}

.wop-social-fields {
  border: 1px solid var(--wop-border);
  border-radius: var(--wop-radius);
  padding: 1rem;
  margin-bottom: 1rem;
}

.wop-social-fields legend {
  font-size: .875rem;
  font-weight: 600;
  padding: 0 .5rem;
}

.wop-form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

/* --- Buttons --- */
.wop-btn {
  display: inline-block;
  background: var(--wop-primary);
  color: #fff;
  border: 2px solid var(--wop-primary);
  border-radius: 4px;
  padding: .6rem 1.4rem;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s;
  letter-spacing: .03em;
}

.wop-btn:hover {
  background: var(--wop-accent);
  border-color: var(--wop-accent);
  color: #fff;
}

.wop-btn-outline {
  background: transparent;
  color: var(--wop-primary);
}

.wop-btn-outline:hover {
  background: var(--wop-primary);
  color: #fff;
}

.wop-btn-sm {
  padding: .35rem .9rem;
  font-size: .8rem;
}

.wop-btn-danger {
  border-color: var(--wop-danger);
  color: var(--wop-danger);
  background: transparent;
}

.wop-btn-danger:hover {
  background: var(--wop-danger);
  color: #fff;
  border-color: var(--wop-danger);
}

/* --- Notices --- */
.wop-notice {
  padding: .75rem 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-size: .9rem;
}

.wop-error {
  background: #fdecea;
  color: var(--wop-danger);
  border-left: 4px solid var(--wop-danger);
}

.wop-success {
  background: #eafaf1;
  color: var(--wop-success);
  border-left: 4px solid var(--wop-success);
}

.wop-pending {
  background: #fef9e7;
  color: var(--wop-pending);
  border-left: 4px solid var(--wop-pending);
}

.wop-error-box {
  background: #fdecea;
  border-left: 4px solid var(--wop-danger);
}

/* --- Gallery events grid --- */
.wop-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.wop-event-card {
  background: #fff;
  border-radius: var(--wop-radius);
  overflow: hidden;
  box-shadow: var(--wop-shadow);
  border: 1px solid var(--wop-border);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: block;
  color: inherit;
  text-decoration: none;
}

.wop-event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
  border-color: var(--wop-accent);
}

.wop-event-card .wop-event-details-link {
  display: inline-block;
  margin-top: .75rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--wop-accent);
  letter-spacing: .02em;
}

.wop-event-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.wop-event-body {
  padding: 1.25rem;
}

.wop-event-title {
  margin: 0 0 .5rem;
  font-family: var(--wop-font);
  font-size: 1.2rem;
}

.wop-event-date,
.wop-event-location {
  font-size: .85rem;
  color: #666;
  margin: .25rem 0;
}

.wop-icon {
  margin-right: 4px;
}

/* --- Events list --- */
.wop-events-list {
  margin: 1.5rem 0;
}

.wop-event-row {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--wop-border);
  align-items: flex-start;
}

.wop-event-row-img img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

.wop-event-row-info h3 {
  margin: 0 0 .25rem;
}

/* --- Artists grid --- */
.wop-artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.wop-artist-card {
  background: #fff;
  border: 1px solid var(--wop-border);
  border-radius: var(--wop-radius);
  padding: 1.5rem 1rem;
  text-align: center;
  text-decoration: none;
  color: var(--wop-primary);
  transition: transform .2s, box-shadow .2s;
  display: block;
}

.wop-artist-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--wop-shadow);
}

.wop-artist-card h3 {
  margin: .75rem 0 .25rem;
  font-family: var(--wop-font);
}

.wop-artist-specialty {
  font-size: .85rem;
  color: #888;
  margin: 0;
}

/* --- Avatars --- */
.wop-artist-avatar img,
.wop-profile-avatar img {
  border-radius: 50%;
  width: 80px;
  height: 80px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.wop-avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--wop-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-family: var(--wop-font);
  margin: 0 auto;
}

.wop-avatar-placeholder.large {
  width: 120px;
  height: 120px;
  font-size: 2.8rem;
}

/* --- Artist profile --- */
.wop-artist-profile {
  max-width: 900px;
  margin: 0 auto;
}

.wop-artist-cover {
  border-radius: var(--wop-radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.wop-artist-cover img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  display: block;
}

.wop-artist-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.wop-profile-avatar {
  flex-shrink: 0;
}

.wop-profile-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--wop-accent);
}

.wop-artist-meta h1 {
  margin: 0 0 .25rem;
  font-family: var(--wop-font);
}

.wop-specialty {
  color: var(--wop-accent);
  font-weight: 600;
  margin: 0 0 .5rem;
}

.wop-social-links {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}

.wop-social {
  background: var(--wop-primary);
  color: #fff !important;
  border-radius: 4px;
  padding: .3rem .75rem;
  font-size: .8rem;
  text-decoration: none;
  font-weight: 600;
}

.wop-instagram { background: #e1306c; }
.wop-facebook  { background: #1877f2; }
.wop-twitter   { background: #1da1f2; }

.wop-artist-bio {
  line-height: 1.7;
  margin-bottom: 2rem;
  color: #444;
}

/* --- Portfolio grid (artist profile view) --- */
.wop-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 1rem 0;
}

.wop-artwork-card {
  border: 1px solid var(--wop-border);
  border-radius: var(--wop-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--wop-shadow);
}

.wop-artwork-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.wop-artwork-info {
  padding: 1rem;
}

.wop-artwork-info h4 {
  margin: 0 0 .25rem;
  font-family: var(--wop-font);
}

.wop-meta {
  font-size: .85rem;
  color: #888;
  margin: .15rem 0;
}

.wop-price {
  display: inline-block;
  background: var(--wop-accent);
  color: #fff;
  border-radius: 4px;
  padding: .15rem .6rem;
  font-size: .85rem;
  font-weight: 700;
  margin-top: .5rem;
}

/* --- Dashboard --- */
.wop-dashboard {
  max-width: 900px;
}

.wop-dashboard-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--wop-border);
  margin-bottom: 1.5rem;
}

.wop-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: .6rem 1.25rem;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  color: #666;
  text-decoration: none;
  transition: color .2s, border-color .2s;
}

.wop-tab.active,
.wop-tab:hover {
  color: var(--wop-primary);
  border-bottom-color: var(--wop-accent);
}

.wop-tab-content {
  display: none;
}

.wop-tab-content.active {
  display: block;
}

/* --- Artworks management list --- */
.wop-artworks-manage {
  margin-top: 1.5rem;
}

.wop-artwork-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .75rem;
  border-bottom: 1px solid var(--wop-border);
  border-radius: 4px;
}

.wop-artwork-row img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.wop-artwork-row-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wop-artwork-row-actions {
  display: flex;
  gap: .5rem;
}

/* --- Media upload preview --- */
.wop-media-field {
  margin-bottom: 1rem;
}

.wop-media-preview {
  min-height: 40px;
  margin: .5rem 0;
}

.wop-media-preview img {
  max-width: 200px;
  border-radius: 4px;
  display: block;
}

/* --- Logged-in widget --- */
.wop-logged-in {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Empty state --- */
.wop-empty {
  color: #999;
  text-align: center;
  padding: 2rem;
}

/* --- Apply form --- */
.wop-apply-wrap {
  max-width: 640px;
}

/* --- Pending dashboard view --- */
.wop-dashboard-pending {
  max-width: 700px;
}

.wop-pending-banner {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: #fef9e7;
  border: 1px solid #f0c040;
  border-left: 5px solid #f0c040;
  border-radius: var(--wop-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.wop-pending-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.wop-pending-banner h2 {
  margin: 0 0 .4rem;
  font-size: 1.3rem;
  color: #856404;
  font-family: var(--wop-font);
}

.wop-pending-banner p {
  margin: 0;
  color: #6c5405;
  font-size: .95rem;
  line-height: 1.6;
}

.wop-pending-details {
  background: #fff;
  border: 1px solid var(--wop-border);
  border-radius: var(--wop-radius);
  padding: 1.5rem;
}

.wop-pending-details h3 {
  margin-top: 0;
  font-family: var(--wop-font);
  font-size: 1.1rem;
  color: var(--wop-primary);
}

.wop-detail-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.25rem;
}

.wop-detail-table th,
.wop-detail-table td {
  padding: .5rem .75rem;
  text-align: left;
  border-bottom: 1px solid var(--wop-border);
  font-size: .9rem;
}

.wop-detail-table th {
  width: 130px;
  color: #666;
  font-weight: 600;
}

.wop-pending-apply {
  border-top: 1px solid var(--wop-border);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

.wop-pending-apply h3 {
  margin-top: 0;
}

.wop-help-text {
  color: #666;
  font-size: .9rem;
  margin-bottom: 1rem;
}

/* --- Artists directory CTA banner --- */
.wop-artists-cta {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4e 100%);
  border-radius: var(--wop-radius);
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wop-artists-cta-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.wop-artists-cta p {
  color: #fff;
  margin: 0;
  font-size: 1rem;
  opacity: .9;
}

.wop-artists-cta .wop-btn {
  background: var(--wop-accent);
  border-color: var(--wop-accent);
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}

.wop-artists-cta .wop-btn:hover {
  background: var(--wop-accent-h);
  border-color: var(--wop-accent-h);
}

/* Gallery event count badge on artist card */
.wop-artist-events-badge {
  display: inline-block;
  background: var(--wop-accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  border-radius: 10px;
  padding: .15rem .55rem;
  margin-top: .35rem;
  letter-spacing: .02em;
}

/* ============================================================
   Open Calls / Events List  (Arts to Hearts style)
   ============================================================ */
.wop-opencalls-wrap { margin: 1.5rem 0; }

/* Tabs */
.wop-opencalls-tabs {
  display: flex;
  margin-bottom: 2rem;
  border: 2px solid #111;
  border-radius: 6px;
  overflow: hidden;
  width: fit-content;
}
.wop-octab {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.5rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  color: #111;
  background: #fff;
  border-right: 2px solid #111;
  transition: background .15s, color .15s;
}
.wop-octab:last-child { border-right: none; }
.wop-octab.active { background: #111; color: #fff; }
.wop-octab:hover:not(.active) { background: #f5f5f5; }
.wop-octab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 11px;
  font-size: .7rem;
  font-weight: 800;
  background: rgba(0,0,0,.12);
}
.wop-octab.active .wop-octab-count { background: rgba(255,255,255,.25); }

/* Cards */
.wop-opencalls-list { display: flex; flex-direction: column; gap: 1.25rem; }

.wop-opencall-card {
  display: flex;
  background: #fff;
  border: 1px solid var(--wop-border);
  border-radius: var(--wop-radius);
  box-shadow: var(--wop-shadow);
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.wop-opencall-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.11); border-color: #ccc; }

.wop-opencall-img {
  flex-shrink: 0;
  width: 220px;
  min-height: 180px;
  background: var(--wop-light);
  overflow: hidden;
}
.wop-opencall-img a { display: block; height: 100%; }
.wop-opencall-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.wop-opencall-img:hover img { transform: scale(1.03); }

.wop-opencall-body {
  flex: 1;
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.wop-opencall-meta-top { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.wop-opencall-type {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #999;
}
.wop-opencall-loc-tag {
  font-size: .78rem;
  color: #666;
  background: #f0f0f0;
  border-radius: 20px;
  padding: .18rem .65rem;
}

.wop-opencall-title { margin: 0; font-family: var(--wop-font); font-size: 1.3rem; line-height: 1.3; }
.wop-opencall-title a { color: var(--wop-primary); text-decoration: none; }
.wop-opencall-title a:hover { color: var(--wop-accent); }

.wop-opencall-desc { margin: 0; font-size: .9rem; color: #555; line-height: 1.6; flex: 1; }

.wop-opencall-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--wop-border);
}
.wop-opencall-deadline { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }

.wop-deadline-badge {
  display: inline-block;
  padding: .22rem .75rem;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.wop-badge-open   { background: #d4edda; color: #155724; }
.wop-badge-urgent { background: #f8d7da; color: #721c24; }
.wop-badge-past   { background: #e2e3e5; color: #555; }
.wop-opencall-date { font-size: .83rem; color: #888; }

.wop-opencall-apply-btn {
  display: inline-block;
  padding: .55rem 1.4rem;
  background: #111;
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: .02em;
  transition: background .15s, transform .1s;
  white-space: nowrap;
}
.wop-opencall-apply-btn:hover { background: #333; transform: translateY(-1px); }
.wop-opencall-btn-ghost { background: #fff; color: #555; border: 1px solid #ccc; }
.wop-opencall-btn-ghost:hover { background: #f5f5f5; color: #333; }

@media (max-width: 640px) {
  .wop-opencall-card { flex-direction: column; }
  .wop-opencall-img  { width: 100%; min-height: 160px; }
  .wop-opencalls-tabs { width: 100%; }
  .wop-octab { flex: 1; justify-content: center; padding: .6rem .5rem; font-size: .72rem; }
}

/* ============================================================
   Single Event Page
   ============================================================ */
.wop-event-hero {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  border-radius: var(--wop-radius);
  margin-bottom: 0;
}
.wop-event-hero img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.wop-single-event-header {
  background: #fff;
  border: 1px solid var(--wop-border);
  border-radius: 0 0 var(--wop-radius) var(--wop-radius);
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--wop-shadow);
}
.wop-single-event-title {
  margin: 0 0 .6rem;
  font-family: var(--wop-font);
  font-size: 2rem;
  color: var(--wop-primary);
}
.wop-event-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.25rem;
  font-size: .9rem;
  color: #555;
}
.wop-event-meta-item { display: inline-flex; align-items: center; gap: .3rem; }
.wop-single-event-desc {
  background: #fff;
  border: 1px solid var(--wop-border);
  border-radius: var(--wop-radius);
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--wop-shadow);
  line-height: 1.8;
  color: #333;
}

/* Apply section */
.wop-event-apply-section { margin-bottom: 2rem; }

/* Status state boxes (login CTA / pending / rejected / already applied) */
.wop-apply-cta-box {
  background: #fff;
  border: 1px solid var(--wop-border);
  border-radius: var(--wop-radius);
  padding: 2rem;
  box-shadow: var(--wop-shadow);
}
.wop-apply-cta-box h3 { margin: 0 0 .5rem; font-family: var(--wop-font); font-size: 1.2rem; color: var(--wop-primary); }
.wop-apply-cta-box p  { margin: 0 0 1rem; font-size: .95rem; color: #555; }
.wop-cta-btns { display: flex; gap: .75rem; flex-wrap: wrap; }

.wop-apply-cta-pending { background: #fffbef; border-color: #f0d98a; }
.wop-apply-cta-pending h3 { color: #7a5c00; }
.wop-already-applied   { background: #f2fbf5; border-color: #b7e5c5; }
.wop-already-applied h3 { color: #155724; }

/* ── Silver Art-style Exhibit Apply Wrap ── */
.wop-exhibit-apply-wrap {
  background: #fff;
  border: 1px solid var(--wop-border);
  border-radius: var(--wop-radius);
  box-shadow: var(--wop-shadow);
  overflow: hidden;
}
.wop-exhibit-apply-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--wop-border);
  flex-wrap: wrap;
}
.wop-exhibit-apply-intro h3 {
  margin: 0 0 .3rem;
  font-family: var(--wop-font);
  font-size: 1.2rem;
  color: var(--wop-primary);
}
.wop-exhibit-apply-intro p { margin: 0; font-size: .9rem; color: #666; }

/* Two-column form */
.wop-exhibit-form-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.wop-exhibit-no-artworks { grid-template-columns: 1fr; }

.wop-exhibit-form-artworks {
  padding: 2rem;
  background: #fafafa;
  border-right: 1px solid var(--wop-border);
  overflow-y: auto;
  max-height: 600px;
}
.wop-exhibit-form-letter {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.wop-exhibit-col-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #999;
  margin: 0 0 .35rem;
}
.wop-exhibit-form-artworks .wop-help-text,
.wop-exhibit-form-letter .wop-help-text {
  font-size: .85rem;
  color: #888;
  margin: 0 0 1rem;
}

/* Image-card artwork checkboxes */
.wop-artwork-checkboxes-apply {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: .65rem;
}
.wop-artwork-checkboxes-apply .wop-artwork-check {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 2px solid var(--wop-border);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: #fff;
  transition: border-color .15s;
}
.wop-artwork-checkboxes-apply .wop-artwork-check:hover { border-color: var(--wop-accent); }
.wop-artwork-checkboxes-apply .wop-artwork-check input[type=checkbox] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0; height: 0;
}
.wop-artwork-checkboxes-apply .wop-artwork-check input:checked ~ .wop-check-img-wrap {
  outline: 3px solid var(--wop-accent);
  outline-offset: -3px;
}
.wop-artwork-checkboxes-apply .wop-artwork-check input:checked ~ .wop-check-label {
  color: var(--wop-accent);
  font-weight: 700;
}
.wop-artwork-checkboxes-apply input:checked + .wop-check-img-wrap .wop-check-selected-icon { opacity: 1; }

.wop-check-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: #eee;
  overflow: hidden;
}
.wop-check-img-wrap .wop-check-thumb {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  border-radius: 0;
}
.wop-check-selected-icon {
  position: absolute;
  top: 5px; right: 5px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--wop-accent);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .15s;
}
.wop-check-label {
  padding: .35rem .5rem;
  font-size: .73rem;
  color: #444;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.wop-exhibit-form-letter textarea {
  flex: 1;
  min-height: 220px;
  padding: .9rem 1rem;
  border: 1px solid var(--wop-border);
  border-radius: 6px;
  font-family: inherit;
  font-size: .95rem;
  line-height: 1.65;
  resize: vertical;
  transition: border-color .15s;
}
.wop-exhibit-form-letter textarea:focus { outline: none; border-color: var(--wop-accent); }

.wop-exhibit-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
.wop-btn-dark { background: #111; border-color: #111; color: #fff; }
.wop-btn-dark:hover { background: #333; border-color: #333; }

@media (max-width: 700px) {
  .wop-exhibit-form-cols { grid-template-columns: 1fr; }
  .wop-exhibit-form-artworks { border-right: none; border-bottom: 1px solid var(--wop-border); max-height: none; }
  .wop-exhibit-apply-header { flex-direction: column; align-items: flex-start; }
}

/* Featured artists on single event page */
.wop-single-event-artists { margin-top: 2rem; }

/* ============================================================
   Dashboard — Gallery Events Tab
   ============================================================ */

/* Tab badge (open events count) */
.wop-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--wop-accent);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  border-radius: 10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 5px;
  vertical-align: middle;
}

/* Section headings inside the events tab */
.wop-dash-events-section {
  margin-bottom: 2.5rem;
}
.wop-dash-events-section h2 {
  font-family: var(--wop-font);
  font-size: 1.2rem;
  color: var(--wop-primary);
  margin: 0 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--wop-accent);
  display: inline-block;
}

/* My Applications list */
.wop-applications-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.wop-application-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--wop-border);
  border-radius: var(--wop-radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--wop-shadow);
}
.wop-application-info {
  flex: 1;
}
.wop-app-event-name {
  display: block;
  font-size: 1rem;
  color: var(--wop-primary);
  margin-bottom: .3rem;
}
.wop-app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .9rem;
  margin-bottom: .4rem;
  font-size: .8rem;
  color: #777;
}
.wop-app-message {
  font-size: .875rem;
  color: #555;
  margin: .4rem 0 0;
  font-style: italic;
}
.wop-application-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
  flex-shrink: 0;
}

/* Available events to apply */
.wop-open-event {
  background: #fff;
  border: 1px solid var(--wop-border);
  border-radius: var(--wop-radius);
  margin-bottom: .75rem;
  box-shadow: var(--wop-shadow);
  overflow: hidden;
}
.wop-open-event-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
}
.wop-open-event-info {
  flex: 1;
}
.wop-open-event-info strong {
  display: block;
  font-size: 1rem;
  color: var(--wop-primary);
  margin-bottom: .3rem;
}
.wop-event-desc {
  font-size: .875rem;
  color: #555;
  margin: .4rem 0 0;
}

/* Inline application form */
.wop-event-apply-form {
  border-top: 1px solid var(--wop-border);
  background: var(--wop-light);
  padding: 1.25rem;
}
.wop-event-apply-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .875rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 1rem;
}
.wop-event-apply-form textarea {
  width: 100%;
  padding: .6rem .75rem;
  border: 1px solid var(--wop-border);
  border-radius: var(--wop-radius);
  font-size: .9rem;
  resize: vertical;
  font-family: inherit;
}

/* Artwork checkbox grid */
.wop-artwork-select { margin-bottom: 1rem; }
.wop-artwork-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .5rem;
  margin-top: .5rem;
}
.wop-artwork-check {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1px solid var(--wop-border);
  border-radius: 6px;
  padding: .5rem .75rem;
  cursor: pointer;
  font-size: .85rem;
  font-weight: 400;
  transition: border-color .2s, background .2s;
}
.wop-artwork-check:hover { border-color: var(--wop-accent); }
.wop-artwork-check input[type=checkbox] { flex-shrink: 0; margin: 0; }
.wop-check-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.wop-check-thumb-placeholder {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--wop-border);
  border-radius: 4px;
  flex-shrink: 0;
}

/* ============================================================
   Complete Artist Profile Page
   ============================================================ */

/* Back link */
.wop-profile-back {
  margin-bottom: 1.25rem;
}
.wop-back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--wop-primary);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  opacity: .7;
  transition: opacity .2s;
}
.wop-back-link:hover { opacity: 1; }

/* Cover image */
.wop-artist-cover {
  width: 100%;
  max-height: 380px;
  overflow: hidden;
  border-radius: var(--wop-radius);
  margin-bottom: 0;
  position: relative;
}
.wop-artist-cover img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

/* Header */
.wop-artist-header {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--wop-border);
  border-radius: 0 0 var(--wop-radius) var(--wop-radius);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--wop-shadow);
}
.wop-profile-avatar-wrap { flex-shrink: 0; }
.wop-profile-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--wop-accent);
  display: block;
}
.wop-artist-name {
  margin: 0 0 .25rem;
  font-family: var(--wop-font);
  font-size: 1.8rem;
  color: var(--wop-primary);
}
.wop-specialty {
  color: var(--wop-accent);
  font-weight: 600;
  margin: 0 0 .75rem;
  font-size: 1rem;
}

/* Contact details */
.wop-contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  margin-bottom: .75rem;
}
.wop-contact-item {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #555;
  text-decoration: none;
  font-size: .875rem;
}
.wop-contact-item:hover { color: var(--wop-primary); }
.wop-contact-icon { font-size: 1rem; }

/* Social links */
.wop-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.wop-social {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  padding: .3rem .7rem;
  border-radius: 20px;
  border: 1px solid var(--wop-border);
  color: var(--wop-primary);
  transition: background .2s, color .2s;
}
.wop-social:hover { background: var(--wop-primary); color: #fff; border-color: var(--wop-primary); }

/* Stats bar */
.wop-profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2rem;
}
.wop-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--wop-light);
  border: 1px solid var(--wop-border);
  border-radius: 20px;
  padding: .45rem 1rem;
  font-size: .85rem;
  color: #555;
}
.wop-stat-pill strong {
  font-size: 1rem;
  color: var(--wop-primary);
  font-weight: 700;
}

/* Profile sections */
.wop-profile-section {
  margin-bottom: 2.5rem;
}
.wop-section-title {
  font-family: var(--wop-font);
  font-size: 1.35rem;
  color: var(--wop-primary);
  margin: 0 0 1rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--wop-accent);
  display: inline-block;
}

/* Artist bio */
.wop-artist-bio {
  color: #444;
  line-height: 1.8;
  font-size: 1rem;
  max-width: 720px;
}

/* Portfolio grid — artwork cards with hover */
.wop-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.wop-artwork-card {
  background: #fff;
  border: 1px solid var(--wop-border);
  border-radius: var(--wop-radius);
  overflow: hidden;
  box-shadow: var(--wop-shadow);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.wop-artwork-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,.14);
}
.wop-artwork-img {
  position: relative;
  overflow: hidden;
  background: var(--wop-light);
  aspect-ratio: 4 / 3;
}
.wop-artwork-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.wop-artwork-card:hover .wop-artwork-img img { transform: scale(1.05); }
.wop-artwork-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.wop-artwork-card:hover .wop-artwork-overlay { opacity: 1; }
.wop-artwork-info {
  padding: .9rem 1rem;
}
.wop-artwork-info h4 {
  margin: 0 0 .3rem;
  font-size: .95rem;
  font-family: var(--wop-font);
  color: var(--wop-primary);
}
.wop-meta {
  color: #777;
  font-size: .8rem;
  margin: .2rem 0;
}
.wop-dimensions { font-size: .78rem; }
.wop-price {
  color: var(--wop-success);
  font-weight: 700;
  font-size: .9rem;
  margin: .35rem 0 0;
}
.wop-price-contact { color: var(--wop-accent); font-weight: 600; }

/* Exhibitions list */
.wop-exhibitions-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.wop-exhibition-row {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--wop-border);
  border-radius: var(--wop-radius);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--wop-shadow);
}
.wop-exhibition-img {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--wop-light);
}
.wop-exhibition-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wop-exhibition-info h4 {
  margin: 0 0 .3rem;
  font-family: var(--wop-font);
  font-size: 1rem;
  color: var(--wop-primary);
}
.wop-exhibition-desc {
  color: #555;
  font-size: .875rem;
  line-height: 1.5;
  margin: .4rem 0 0;
}

/* ============================================================
   Artwork Lightbox
   ============================================================ */
.wop-lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  z-index: 99998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.wop-lightbox-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.wop-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s;
}
.wop-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.wop-lightbox-inner {
  background: #fff;
  border-radius: var(--wop-radius);
  overflow: hidden;
  display: flex;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.wop-lightbox-img-wrap {
  flex: 1 1 55%;
  background: var(--wop-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  overflow: hidden;
}
.wop-lightbox-img-wrap img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}
.wop-lightbox-details {
  flex: 0 0 280px;
  padding: 1.75rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.wop-lightbox-details h3 {
  margin: 0 0 .75rem;
  font-family: var(--wop-font);
  color: var(--wop-primary);
  font-size: 1.25rem;
}
.wop-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.wop-lightbox-close:hover { background: rgba(255,255,255,.35); }

body.wop-no-scroll { overflow: hidden; }

/* --- Responsive --- */
@media (max-width: 640px) {
  .wop-form-row { grid-template-columns: 1fr; }
  .wop-artist-header { flex-direction: column; text-align: center; }
  .wop-profile-avatar-wrap { align-self: center; }
  .wop-social-links { justify-content: center; }
  .wop-contact-details { justify-content: center; }
  .wop-gallery-grid,
  .wop-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .wop-artists-grid { grid-template-columns: repeat(2, 1fr); }
  .wop-card { padding: 1.25rem; margin: 1rem; }
  .wop-lightbox-inner { flex-direction: column; }
  .wop-lightbox-img-wrap { flex: none; max-height: 45vh; }
  .wop-lightbox-details { flex: none; padding: 1rem; }
  .wop-exhibition-row { flex-direction: column; }
  .wop-exhibition-img { width: 100%; height: 140px; }
}

/* ============================================================
   Gallery Apply Form  [wop_gallery_apply]  — Silver Art style
   ============================================================ */
.wop-gap-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
  font-family: inherit;
}

.wop-gap-top-bar {
  padding: 1.5rem 0 1.25rem;
  border-bottom: 1px solid var(--wop-border);
  margin-bottom: 2rem;
}
.wop-gap-review-label {
  font-size: .78rem;
  color: #999;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin: 0 0 .35rem;
}
.wop-gap-event-name {
  font-family: var(--wop-font);
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--wop-primary);
}

.wop-gap-notice { margin-bottom: 1.5rem; }

/* Two-column layout */
.wop-gap-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* ── LEFT: Portfolio ── */
.wop-gap-left { position: sticky; top: 2rem; }

.wop-gap-cover-wrap {
  position: relative;
  border-radius: var(--wop-radius);
  overflow: hidden;
  background: #111;
  margin-bottom: 1rem;
  aspect-ratio: 4/5;
}
.wop-gap-cover-wrap img,
.wop-gap-cover-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.wop-gap-cover-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: .85rem;
  background: #1a1a1a;
}
.wop-gap-cover-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  padding: .25rem .6rem;
  border-radius: 3px;
  z-index: 2;
}
.wop-gap-cover-display { width: 100%; height: 100%; }
.wop-gap-cover-display img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Thumbnail grid below cover */
.wop-gap-thumb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  margin-bottom: 1rem;
}
.wop-gap-thumb {
  border-radius: 4px;
  overflow: hidden;
  background: #eee;
  opacity: .5;
  transition: opacity .2s;
}
.wop-gap-thumb.is-selected { opacity: 1; }
.wop-gap-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.wop-gap-thumb-cap {
  padding: .3rem .4rem;
  font-size: .7rem;
  color: #555;
  line-height: 1.3;
  margin: 0;
}
.wop-gap-thumb-cap small { color: #999; }

.wop-gap-edit-img-btn {
  display: block;
  width: 100%;
  padding: .6rem;
  background: none;
  border: 1px solid var(--wop-border);
  border-radius: 6px;
  cursor: pointer;
  font-size: .85rem;
  font-weight: 600;
  color: #555;
  text-align: center;
  transition: border-color .15s, color .15s;
  margin-bottom: 1rem;
}
.wop-gap-edit-img-btn:hover { border-color: var(--wop-accent); color: var(--wop-accent); }

/* Image editor panel */
.wop-gap-img-panel {
  border: 1px solid var(--wop-border);
  border-radius: var(--wop-radius);
  padding: 1.25rem;
  background: #fafafa;
  margin-top: .5rem;
}
.wop-gap-img-sub { margin-bottom: 1.25rem; }
.wop-gap-img-sub:last-child { margin-bottom: 0; }
.wop-gap-img-sub-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #999;
  margin: 0 0 .6rem;
}
.wop-gap-port-toggle { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .75rem; }
.wop-gap-port-toggle label { font-size: .875rem; display: flex; align-items: center; gap: .5rem; cursor: pointer; }
.wop-gap-file-preview { margin-top: .5rem; font-size: .85rem; }
.wop-gap-file-preview a { color: var(--wop-accent); }

/* ── RIGHT: Sections ── */
.wop-gap-right { display: flex; flex-direction: column; gap: 0; }

.wop-gap-sec {
  border-bottom: 1px solid var(--wop-border);
  padding: 1.5rem 0;
}
.wop-gap-sec:first-child { border-top: 1px solid var(--wop-border); }

.wop-gap-sec-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .75rem;
}
.wop-gap-sec-lbl {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #999;
}
.wop-gap-edit-btn {
  font-size: .8rem;
  font-weight: 600;
  color: var(--wop-accent);
  background: none;
  border: none;
  cursor: pointer;
  padding: .2rem .5rem;
  border-radius: 4px;
  transition: background .15s;
}
.wop-gap-edit-btn:hover { background: rgba(0,0,0,.05); }

/* View mode — definition list */
.wop-gap-dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: .4rem 1rem;
  margin: 0;
  font-size: .9rem;
}
.wop-gap-dl dt { color: #888; font-weight: 500; }
.wop-gap-dl dd { margin: 0; color: #222; }
.wop-gap-dl a { color: var(--wop-accent); }

.wop-gap-body { font-size: .9rem; line-height: 1.75; color: #333; margin: 0; }
.wop-gap-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.wop-gap-tag {
  background: #f0f0f0;
  border-radius: 20px;
  padding: .2rem .75rem;
  font-size: .8rem;
  color: #333;
}
.wop-gap-empty { font-size: .9rem; color: #aaa; }

/* Edit mode — form fields */
.wop-gap-edit { padding-top: .75rem; }
.wop-gap-edit label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-size: .85rem;
  font-weight: 600;
  color: #555;
  margin-bottom: .85rem;
}
.wop-gap-edit input[type=text],
.wop-gap-edit input[type=email],
.wop-gap-edit input[type=tel],
.wop-gap-edit input[type=url],
.wop-gap-edit select,
.wop-gap-edit textarea {
  width: 100%;
  padding: .65rem .85rem;
  border: 1px solid var(--wop-border);
  border-radius: 6px;
  font-family: inherit;
  font-size: .9rem;
  line-height: 1.5;
  transition: border-color .15s;
  background: #fff;
}
.wop-gap-edit input:focus,
.wop-gap-edit select:focus,
.wop-gap-edit textarea:focus { outline: none; border-color: var(--wop-accent); }
.wop-gap-edit textarea { resize: vertical; min-height: 100px; }

.wop-gap-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}

.wop-gap-checkrow { display: flex; flex-wrap: wrap; gap: .5rem .75rem; }
.wop-gap-chk { display: flex; align-items: center; gap: .4rem; font-size: .875rem; font-weight: 400; cursor: pointer; }

/* Upload fields */
.wop-gap-upload-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: .5rem; }
.wop-gap-upload-field { display: flex; flex-direction: column; gap: .4rem; }
.wop-gap-upload-lbl { font-size: .78rem; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: .06em; margin: 0; }
.wop-gap-file-prev { font-size: .82rem; margin-top: .25rem; }
.wop-gap-file-prev a { color: var(--wop-accent); }

/* New artwork entry */
.wop-gap-new-artwork-entry {
  border: 1px solid var(--wop-border);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: .85rem;
  background: #fff;
  position: relative;
}
.wop-gap-new-artwork-entry .wop-gap-artwork-img-preview { margin-bottom: .75rem; }
.wop-gap-new-artwork-entry .wop-gap-artwork-img-preview img { max-width: 120px; border-radius: 4px; display: block; }
.wop-gap-remove-artwork {
  position: absolute;
  top: .5rem; right: .5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: #aaa;
  line-height: 1;
  padding: .25rem;
}
.wop-gap-remove-artwork:hover { color: #c00; }

/* Actions bar */
.wop-gap-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0 0;
  border-top: 1px solid var(--wop-border);
  margin-top: 1rem;
}
.wop-gap-back {
  font-size: .9rem;
  color: #666;
  text-decoration: none;
  font-weight: 500;
}
.wop-gap-back:hover { color: var(--wop-primary); }
.wop-gap-submit { min-width: 200px; }

/* Responsive */
@media (max-width: 860px) {
  .wop-gap-layout { grid-template-columns: 1fr; }
  .wop-gap-left { position: static; }
  .wop-gap-cover-wrap { aspect-ratio: 16/7; }
  .wop-gap-row { grid-template-columns: 1fr; }
  .wop-gap-upload-row { grid-template-columns: 1fr; }
  .wop-gap-dl { grid-template-columns: 110px 1fr; }
}
