/* === source lines 2085-5542 === */
/* ══════════════════════════════════════
   PANEL DE USUARIO - VARIABLES & RESET
══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

/* Ajustar el main del template para ancho completo */
body > main {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

:root {
  --green:        #00674F;
  --green-mid:    #00855f;
  --green-dark:   #1A4A38;
  --green-pale:   #E8F2EE;
  --green-ghost:  rgba(0,103,79,0.07);
  --green-border: rgba(0,103,79,0.18);
  --mint:         #5DCCA0;
  --cream:        #f5f5f5;
  --white:        #ffffff;
  --ink:          #141C19;
  --ink-mid:      #3A4A44;
  --muted:        #8A9E97;
  --border:       #E2EAE6;
  --border-soft:  #EEF2F0;
  --sidebar-w:    260px;
  --radius:       14px;
  --radius-sm:    9px;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.05);
  --shadow-md:    0 6px 24px rgba(0,0,0,0.08);
  --shadow-green: 0 8px 24px rgba(0,103,79,0.18);
}

/* ══════════════════════════════════════
   LAYOUT SHELL
══════════════════════════════════════ */
.panel-shell {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: calc(100vh - 80px);
  background: white;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* ══════════════════════════════════════
     SIDEBAR (TEMPLATE STYLE)
══════════════════════════════════════ */
.panel-shell .sidebar {
    background: var(--white);
    border-radius: 10px;
    padding: 15px;
    margin: 32px 0 32px 32px;
}

.panel-shell .sidebar-top {
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.panel-shell .sidebar-profile-img {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 15px auto;
    border-radius: 50px;
    padding: 4px;
    border: 3px solid var(--green);
}

.panel-shell .sidebar-profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.panel-shell .sidebar-profile-img.is-logo-fallback,
.panel-profile-mobile-avatar.is-logo-fallback,
.offcanvas-profile .sidebar-profile-img.is-logo-fallback {
    background: #ffffff;
}

.panel-shell .sidebar-profile-img.is-logo-fallback img,
.panel-profile-mobile-avatar.is-logo-fallback img,
.offcanvas-profile .sidebar-profile-img.is-logo-fallback img {
    object-fit: contain;
    padding: 12px;
    background: #ffffff;
}

.panel-shell .profile-img-btn {
    position: absolute;
    border-radius: 50px;
    background: var(--green);
    color: var(--white);
    width: 30px;
    height: 30px;
    line-height: 28px;
    text-align: center;
    border: none;
    right: 0;
    bottom: 0;
    cursor: pointer;
}

.panel-shell .profile-img-btn.is-loading {
    pointer-events: none;
    opacity: 0.92;
}

.panel-shell .profile-img-file {
    display: none;
}

.panel-shell .sidebar-top h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
}

.panel-shell .sidebar-top p {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 0;
}

.panel-shell .sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.panel-shell .sidebar-list li {
    margin: 5px 0;
}

.panel-shell .sidebar-list li a {
    color: var(--ink);
    padding: 6px 6px 6px 15px;
    display: block;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    border-radius: 8px;
}

.panel-shell .sidebar-list li a:hover {
    padding-left: 20px;
}

.panel-shell .sidebar-list li a i {
    margin-right: 5px;
    color: var(--green);
}

.panel-shell .sidebar-list .active {
    background: var(--green);
    color: var(--white);
}

.panel-shell .sidebar-list .active i {
    color: var(--white);
}

.panel-shell .sidebar-list li a span {
    float: right;
    padding: 0 6px;
    border-radius: 10px;
    margin-top: 3px;
}

.panel-mobile-section-nav {
    display: none;
}

.panel-mobile-section-link {
    text-decoration: none;
}

/* ══════════════════════════════════════
   MAIN CONTENT
══════════════════════════════════════ */
.panel-main-content {
  padding: 32px 36px;
  min-height: calc(100vh - 80px);
}

/* Page header */
.panel-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.panel-page-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.panel-page-eyebrow::before {
  content: '';
  display: block;
  width: 20px; height: 1.5px;
  background: var(--green);
}

.panel-page-title {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* ══════════════════════════════════════
   STAT CARDS (dashboard row)
══════════════════════════════════════ */
.panel-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.panel-stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow 0.2s, transform 0.2s;
}

.panel-stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.panel-stat-card-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.panel-stat-card-value {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}

.panel-stat-card-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.panel-stat-card-icon i { font-size: 20px; }

.panel-stat-card-icon.green { background: var(--green-ghost); }
.panel-stat-card-icon.green i { color: var(--green); }
.panel-stat-card-icon.mint  { background: rgba(93,204,160,0.1); }
.panel-stat-card-icon.mint i { color: var(--mint); }
.panel-stat-card-icon.gold  { background: rgba(230,185,90,0.1); }
.panel-stat-card-icon.gold i { color: #C99D30; }
.panel-stat-card-icon.red   { background: rgba(220,80,80,0.08); }
.panel-stat-card-icon.red i { color: #D04040; }

/* ══════════════════════════════════════
   PROFILE STATS ROW (sección principal)
══════════════════════════════════════ */
.profile-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.profile-stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  transition: box-shadow .2s, transform .15s;
}
.profile-stat-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,.07);
  transform: translateY(-2px);
}

.profile-stat-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.profile-stat-icon i { font-size: 18px; }
.profile-stat-icon--green { background: var(--green-ghost, rgba(26,107,60,.08)); }
.profile-stat-icon--green i { color: var(--green, #1a6b3c); }
.profile-stat-icon--blue  { background: rgba(59,130,246,.1); }
.profile-stat-icon--blue i { color: #2563eb; }
.profile-stat-icon--gold  { background: rgba(230,185,90,.12); }
.profile-stat-icon--gold i { color: #b07d10; }
.profile-stat-icon--purple { background: rgba(124,58,237,.1); }
.profile-stat-icon--purple i { color: #7c3aed; }

.profile-stat-body { min-width: 0; }
.profile-stat-value {
  font-size: 26px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  color: var(--ink, #1a1a1a);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-stat-value--money { font-size: 20px; }
.profile-stat-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-60, #888);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: 3px;
}

@media (max-width: 900px) {
  .profile-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .profile-stat-value { font-size: 22px; }
  .profile-stat-value--money { font-size: 18px; }
}

@media (max-width: 480px) {
  .profile-stats-row { gap: 10px; }
  .profile-stat-card { padding: 14px 12px; gap: 10px; }
  .profile-stat-icon { width: 38px; height: 38px; border-radius: 10px; }
  .profile-stat-icon i { font-size: 15px; }
  .profile-stat-value { font-size: 20px; }
  .profile-stat-value--money { font-size: 16px; }
}

/* ══════════════════════════════════════
   CONTENT CARD
══════════════════════════════════════ */
.panel-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 20px;
  overflow: hidden;
}

.panel-card-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.panel-card-subtitle {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--muted);
  margin-top: 3px;
}

.panel-card-body {
  padding: 24px;
}

/* ══════════════════════════════════════
   FORM FIELDS
══════════════════════════════════════ */
.panel-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.panel-form-grid.cols-1 { grid-template-columns: 1fr; }

.panel-form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.panel-form-field.full { grid-column: 1 / -1; }

.panel-form-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.panel-form-input {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  width: 100%;
}

.panel-form-input::placeholder { color: #B8C4BF; }

.panel-form-input:hover { border-color: var(--green-border); }

.panel-form-input:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,103,79,0.08);
}

.panel-form-input.is-invalid {
    border-color: #d32f2f;
    background: #fff7f7;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.09);
}

.panel-form-error {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.35;
    color: #c62828;
    font-weight: 600;
}

.panel-form-success {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.35;
    color: var(--green);
    font-weight: 600;
}

.panel-pw-wrap {
    position: relative;
}

.panel-pw-wrap .panel-form-input {
    padding-right: 34px;
}

.panel-pw-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--muted);
    padding: 4px;
    cursor: pointer;
}

.panel-pw-toggle i {
    font-size: 14px;
}

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.panel-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.panel-btn i { font-size: 15px; }

.panel-btn-primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

.panel-btn-primary:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  box-shadow: var(--shadow-green);
  transform: translateY(-1px);
}

.panel-btn-ghost {
  background: transparent;
  color: var(--ink-mid);
  border-color: var(--border);
}

.panel-btn-ghost:hover {
  border-color: var(--green-border);
  color: var(--green);
  background: var(--green-ghost);
}

.panel-btn-sm { padding: 7px 14px; font-size: 12px; }
.panel-btn-manage-winner {
    padding: 5px 10px;
    font-size: 11px;
    letter-spacing: 0.01em;
    white-space: nowrap;
    flex: 0 0 auto;
}

.panel-btn-myauc-new {
    padding: 9px 14px;
}

/* ══════════════════════════════════════
   BADGE
══════════════════════════════════════ */
.panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
}

.panel-badge::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

.panel-badge-success  { background: #E6F7EE; color: #1A7A48; }
.panel-badge-warning  { background: #FFF8E6; color: #9A6C00; }
.panel-badge-danger   { background: #FDECEA; color: #C0392B; }
.panel-badge-muted    { background: var(--border-soft); color: var(--muted); }

.panel-btn-danger-ghost {
    background: transparent;
    border: 1px solid #fca5a5;
    color: #dc2626;
    font-size: 11.5px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 7px;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}
.panel-btn-danger-ghost:hover { background: #fff1f1; color: #b91c1c; }

/* Modal confirmación de eliminación */
.del-auction-modal-bg {
    position: fixed;
    inset: 0;
    background: rgba(17,19,21,.45);
    z-index: 13000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
}
.del-auction-modal-bg.is-open { opacity: 1; pointer-events: all; }
.del-auction-modal {
    background: #fff;
    border-radius: 14px;
    padding: 28px 24px 22px;
    max-width: 360px;
    width: 90%;
    box-shadow: 0 20px 48px rgba(0,0,0,.18);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: translateY(8px) scale(.97);
    transition: transform .18s ease;
}
.del-auction-modal-bg.is-open .del-auction-modal { transform: none; }
.del-auction-modal-icon {
    width: 46px;
    height: 46px;
    background: #fff1f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 4px;
}
.del-auction-modal-icon i { font-size: 20px; color: #dc2626; }
.del-auction-modal-title { font-size: 16px; font-weight: 700; color: var(--ink); text-align: center; }
.del-auction-modal-desc { font-size: 13px; color: var(--muted); text-align: center; line-height: 1.6; }
.del-auction-modal-name { font-weight: 600; color: var(--ink); }
.del-auction-modal-actions { display: flex; gap: 10px; margin-top: 6px; }
.del-auction-modal-actions button { flex: 1; padding: 10px; font-size: 13px; font-weight: 600; border-radius: 9px; border: none; cursor: pointer; transition: background .15s ease; }
.del-modal-cancel { background: var(--border-soft); color: var(--ink); }
.del-modal-cancel:hover { background: #d1d5db; }
.del-modal-confirm { background: #dc2626; color: #fff; }
.del-modal-confirm:hover { background: #b91c1c; }
.myauc-card-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 8px 12px 10px;
    border-top: 1px solid var(--border-soft);
    justify-content: flex-end;
}

/* ══════════════════════════════════════
   TABLE
══════════════════════════════════════ */
.panel-data-table {
  width: 100%;
  border-collapse: collapse;
}

.panel-data-table thead tr {
  border-bottom: 2px solid var(--border-soft);
}

.panel-data-table th {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 16px;
  text-align: left;
  white-space: nowrap;
}

.panel-data-table td {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--ink-mid);
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: middle;
}

.panel-data-table tbody tr:last-child td { border-bottom: none; }

.panel-data-table tbody tr { transition: background 0.15s; }

.panel-auction-row-link { cursor: pointer; }

.panel-data-table tbody tr:hover { background: var(--cream); }

.panel-auction-thumb-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.panel-auction-thumb {
  width: 48px; height: 48px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--green-pale);
}

.panel-auction-name {
  font-weight: 400;
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.35;
}

.panel-auction-id {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.panel-amount {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--ink);
  font-size: 13.5px;
}

/* ══════════════════════════════════════
   ALERT
══════════════════════════════════════ */
.panel-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 300;
  margin-bottom: 20px;
  border: 1.5px solid transparent;
}

.panel-alert i { font-size: 17px; flex-shrink: 0; margin-top: 1px; }

.panel-alert-success { background: #E6F7EE; border-color: rgba(26,122,72,0.2); color: #1A5C3A; }
.panel-alert-danger  { background: #FDECEA; border-color: rgba(192,57,43,0.2); color: #8B2218; }
.panel-alert-warning { background: #FFF6DD; border-color: rgba(184,134,11,0.22); color: #8A6600; }

.create-auction-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 10000;
    padding: 24px;
}

.create-auction-modal.is-open {
    display: flex;
}

.create-auction-modal-dialog {
    width: min(440px, 100%);
    background: #fff;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    padding: 36px 36px 32px;
    animation: createAuctionModalIn .35s cubic-bezier(.32,1.05,.6,1) both;
}

@keyframes createAuctionModalIn {
    from { transform: scale(.93) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.create-auction-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: #f3f4f6;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

.create-auction-modal-close:hover {
    background: #e5e7eb;
    color: #111;
}

.create-auction-modal-close svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
}

.create-auction-modal-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #edfaf3;
    border: 1.5px solid #bbf0d4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.create-auction-modal-icon svg {
    width: 28px;
    height: 28px;
    stroke: #1a6b3c;
    fill: none;
    stroke-width: 2.3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.create-auction-modal-eyebrow {
    font-size: 10px;
    font-weight: 700;
    color: #1a6b3c;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    margin-bottom: 6px;
}

.create-auction-modal-title {
    margin: 0 0 8px;
    font-family: 'DM Sans', var(--heading-font), sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #111;
    text-align: center;
    letter-spacing: -.5px;
}

.create-auction-modal-body {
    font-size: 13.5px;
    color: #6b7280;
    text-align: center;
    line-height: 1.65;
    margin-bottom: 24px;
}

.create-auction-modal-actions {
    display: flex;
    gap: 10px;
}

.create-auction-modal-primary,
.create-auction-modal-secondary {
    flex: 1;
    padding: 13px;
    border-radius: 10px;
    font-family: 'DM Sans', var(--body-font), sans-serif;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .15s ease;
}

.create-auction-modal-primary {
    background: #000;
    color: #fff;
    border: none;
    font-weight: 700;
}

.create-auction-modal-primary:hover {
    background: #155530;
    color: #fff;
}

.create-auction-modal-primary svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

.create-auction-modal-secondary {
    background: transparent;
    color: #6b7280;
    border: 1.5px solid #e5e7eb;
    font-weight: 600;
}

.create-auction-modal-secondary:hover {
    border-color: #111;
    color: #111;
}

@media (max-width: 640px) {
    .create-auction-modal {
        align-items: flex-end;
        padding: 0;
    }

    .create-auction-modal-dialog {
        width: 100%;
        max-width: 100%;
        border-radius: 24px 24px 0 0;
        padding: 0 24px 40px;
        border-bottom: none;
    }

    .create-auction-modal-dialog::before {
        content: '';
        display: block;
        width: 36px;
        height: 4px;
        background: #e5e7eb;
        border-radius: 2px;
        margin: 14px auto 24px;
    }

    .create-auction-modal-close {
        display: none;
    }

    .create-auction-modal-icon {
        width: 54px;
        height: 54px;
        margin-bottom: 16px;
    }

    .create-auction-modal-icon svg {
        width: 24px;
        height: 24px;
    }

    .create-auction-modal-title {
        font-size: 20px;
    }

    .create-auction-modal-body {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .create-auction-modal-actions {
        flex-direction: column;
    }
}

.create-auction-submit-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.create-auction-submit-loading i {
    font-size: 14px;
}

.submit-feedback-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.submit-feedback-loading i {
    font-size: 14px;
}

.site-action-overlay,
.site-action-card,
.site-action-toast {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.action-feedback-toast {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 12001;
    background: #e6f7ee;
    color: #1a5c3a;
    border: 1px solid rgba(26, 122, 72, 0.22);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 12.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 24px rgba(17, 19, 21, 0.12);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.action-feedback-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.action-feedback-toast i {
    color: #1a7a48;
}

/* ══════════════════════════════════════
   PASSWORD STRENGTH
══════════════════════════════════════ */
.panel-password-strength {
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  margin-top: 8px;
  overflow: hidden;
}

.panel-password-strength-bar {
  height: 100%;
  border-radius: 2px;
  background: var(--green);
  width: 0%;
  transition: width 0.3s ease, background 0.3s;
}

.panel-password-hint {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 5px;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 960px) {
    #scroll-top {
            display: none !important;
    }
  .panel-shell { grid-template-columns: 1fr; }
        footer.footer,
        footer.footer-area {
        display: none !important;
    }
    .panel-shell .sidebar { display: none; }
    .panel-main-content { padding: 24px 20px 90px; }
    .panel-mobile-section-nav {
        display: flex;
        align-items: center;
        gap: 8px;
        overflow-x: auto;
        padding: 0 0 12px;
        margin-bottom: 10px;
        scrollbar-width: thin;
    }
    .panel-mobile-section-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: #ffffff;
        border: 1px solid var(--border-soft);
        color: var(--ink-mid);
        border-radius: 999px;
        padding: 7px 11px;
        font-size: 11px;
        font-weight: 600;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .panel-mobile-section-link.is-active {
        background: var(--green);
        border-color: var(--green);
        color: #ffffff;
    }
    .panel-mobile-section-link .notif-nav-badge {
        margin-left: 4px;
    }
  .panel-stats-row { grid-template-columns: repeat(2, 1fr); }
  .panel-form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .panel-main-content { padding: 16px 12px; }
    .panel-page-header { margin-bottom: 14px; gap: 6px; padding: 11px 11px 11px 11px; }
    .panel-page-eyebrow { font-size: 9px; letter-spacing: 0.14em; margin-bottom: 2px; }
    .panel-page-eyebrow::before { width: 12px; }
    .panel-page-title { font-size: 18px; }

    .panel-card { margin-bottom: 12px; border-radius: 10px; }
    .panel-card-header { padding: 12px 14px 10px; }
    .panel-card-title { font-size: 13px; }
    .panel-card-subtitle { font-size: 11px; margin-top: 2px; }
    .panel-card-body { padding: 14px; }

    .panel-form-grid { gap: 12px; }
    .panel-form-field { gap: 5px; }
    .panel-form-label { font-size: 10px; letter-spacing: 0.06em; }
    .panel-form-input { font-size: 13px; padding: 9px 10px; }

    .panel-btn { font-size: 11.5px; padding: 9px 12px; letter-spacing: 0.03em; }
    .panel-btn i { font-size: 13px; }
    .panel-btn-myauc-new { padding: 7px 11px; font-size: 11px; }

  .panel-stats-row { grid-template-columns: 1fr; }
  .panel-data-table { font-size: 12px; }
}

@media (max-width: 430px) {
    .panel-main-content { padding: 12px 0px 88px; }


    .panel-page-title { font-size: 16px; }
    .panel-card { border-radius: 9px; }
    .panel-card-header { padding: 10px 12px 8px; }
    .panel-card-body { padding: 12px; }
    .panel-card-title { font-size: 12.5px; }
    .panel-card-subtitle { font-size: 10.5px; }

    .panel-form-grid { gap: 10px; }
    .panel-form-label { font-size: 9.5px; }
    .panel-form-input { font-size: 12.5px; padding: 8px 9px; }

    .panel-btn { width: 100%; justify-content: center; padding: 8px 10px; }
    .panel-page-header-myauc { align-items: center; }
    .panel-btn-myauc-new {
        width: auto;
        min-width: 0;
        justify-content: center;
        align-self: flex-start;
        padding: 6px 10px;
        font-size: 10.5px;
        letter-spacing: 0.02em;
    }

    .panel-card-body { overflow-x: auto; }
    .panel-data-table { min-width: 620px; }
    .panel-data-table th, .panel-data-table td { padding-left: 10px; padding-right: 10px; }
}

/* Fix avatar file input */
.panel-avatar-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

.panel-profile-mobile-intro {
    display: none;
}

.panel-profile-mobile-navline {
    display: none;
}

/* Zona de riesgo - desktop */
.panel-profile-mobile-danger {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
    margin-top: 16px;
}
.panel-profile-mobile-danger-label {
    display: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #dc2626;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.panel-profile-mobile-danger-btn {
    padding: 10px 20px;
    border-radius: 9px;
    border: 1.5px solid #fecaca;
    background: transparent;
    color: #ef4444;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
    font-family: 'Inter', sans-serif;
}
.panel-profile-mobile-danger-btn:hover {
    background: #fef2f2;
    color: #dc2626;
}

.panel-create-mobile-navline,
.panel-create-mobile-steps {
    display: none;
}

.panel-create-mobile-sub {
    font-size: 13.5px;
    color: var(--muted);
    margin-top: 4px;
}

.panel-create-mobile-actions {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 12px;
}

.panel-create-mobile-actions .panel-btn-cancel-mobile {
    background: #f5f5f3;
    color: var(--ink);
    border-color: transparent;
}

.panel-create-mobile-info {
    margin-top: 24px;
    background: #f9f9f7;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
}

.panel-create-mobile-info h4 {
    margin: 0;
    color: var(--ink);
    font-size: 14.5px;
    font-weight: 600;
}

.panel-create-mobile-info ul {
    margin: 12px 0 0;
    padding-left: 20px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .panel-profile-view {
        background: var(--white);
        width: 100%;
        max-width: 370px;
        margin: 0 auto;
        padding-bottom: 12px;
    }

    .panel-profile-mobile-navline {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 8px 10px 10px;
        background: var(--white);
        border-bottom: 1px solid var(--border-soft);
    }

    .panel-profile-mobile-back {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 13px;
        font-weight: 500;
        color: #6b7280;
    }

    .panel-profile-mobile-back i {
        font-size: 13px;
    }

    .panel-profile-view .panel-page-header {
        margin-bottom: 0;
        padding: 11px 11px 11px 11px;
        background: var(--white);
        border-bottom: 1px solid var(--border-soft);
        border-radius: 0;
    }

    /* Evitar zoom automático en móvil cuando el usuario escribe en campos de formulario */
    html, body, input, textarea, select, button {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    .panel-form-input,
    .panel-form-input[type="text"],
    .panel-form-input[type="email"],
    .panel-form-input[type="number"],
    .panel-form-input[type="tel"],
    .panel-form-input[type="textarea"],
    textarea.panel-form-input {
        font-size: 16px !important;
    }

    .panel-profile-view .panel-page-eyebrow {
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.14em;
        margin-bottom: 3px;
    }

    .panel-profile-view .panel-page-eyebrow::before {
        content: none;
    }

    .panel-profile-view .panel-page-title {
        font-size: 21px;
        letter-spacing: -0.03em;
    }

    .panel-profile-mobile-intro {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 10px;
        background: var(--white);
        border-bottom: 1px solid var(--border-soft);
        margin-bottom: 10px;
    }

    .panel-profile-mobile-avatar-wrap {
        position: relative;
        width: 64px;
        height: 64px;
        flex-shrink: 0;
        margin: 0;
    }

    .panel-profile-mobile-avatar {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        border: 2px solid var(--green);
        overflow: hidden;
    }

    .panel-profile-mobile-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .panel-profile-mobile-cam {
        position: absolute;
        right: -2px;
        bottom: -2px;
        z-index: 2;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        border: 2px solid var(--white);
        background: var(--ink);
        color: var(--white);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        cursor: pointer;
    }

    .panel-profile-mobile-meta {
        min-width: 0;
        flex: 1;
    }

    .panel-profile-mobile-name {
        font-size: 16px;
        font-weight: 700;
        color: var(--ink);
        margin-bottom: 2px;
    }

    .panel-profile-mobile-email {
        font-size: 11.5px;
        color: var(--muted);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 6px;
    }

    .panel-profile-mobile-change {
        font-size: 12px;
        font-weight: 600;
        color: var(--green);
        cursor: pointer;
    }

    .panel-profile-view .panel-alert {
        margin: 8px 10px;
        border-radius: 10px;
        font-size: 12px;
        padding: 10px 12px;
    }

    .panel-profile-view .panel-card {
        border: none;
        border-radius: 0;
        margin: 0;
        background: var(--white);
    }

    .panel-profile-view .panel-profile-card-password {
        margin-top: 10px;
    }

    .panel-profile-view .panel-card-header {
        padding: 14px 10px 8px;
        border-bottom: 1px solid var(--border-soft);
    }

    .panel-profile-view .panel-card-title {
        font-size: 13px;
        font-weight: 700;
    }

    .panel-profile-view .panel-card-subtitle {
        font-size: 11px;
        color: var(--muted);
    }

    .panel-profile-view .panel-card-body {
        padding: 0 10px 14px;
        overflow: visible;
    }

    .panel-profile-view .panel-profile-card-personal .panel-form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0 12px;
    }

    .panel-profile-view .panel-form-field {
        gap: 5px;
        padding: 12px 0;
        border-bottom: 1px solid var(--border-soft);
    }

    .panel-profile-view .panel-form-field.full {
        grid-column: 1 / -1;
    }

    .panel-profile-view .panel-form-label {
        font-size: 9.5px;
        font-weight: 700;
        letter-spacing: 0.06em;
        color: var(--muted);
    }

    .panel-profile-view .panel-form-input {
        padding: 8px 0;
        border: none;
        border-bottom: 1.5px solid var(--border);
        border-radius: 0;
        background: transparent;
        font-size: 14px;
    }

    .panel-profile-view .panel-form-input:focus {
        box-shadow: none;
        border-bottom-color: var(--ink);
        background: transparent;
    }

    .panel-profile-view .panel-profile-card-password .panel-form-grid {
        max-width: 100% !important;
        gap: 0;
    }

    .panel-profile-view .panel-pw-wrap {
        position: relative;
    }

    .panel-profile-view .panel-pw-wrap .panel-form-input {
        padding-right: 30px;
    }

    .panel-profile-view .panel-pw-toggle {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        border: none;
        background: transparent;
        color: var(--muted);
        padding: 4px;
        cursor: pointer;
    }

    .panel-profile-view .panel-pw-toggle i {
        font-size: 14px;
    }

    .panel-profile-view .panel-pw-strength {
        display: flex;
        gap: 4px;
        margin-top: 8px;
    }

    .panel-profile-view .panel-pw-bar {
        flex: 1;
        height: 2px;
        border-radius: 2px;
        background: var(--border);
    }

    .panel-profile-view .panel-pw-bar.active {
        background: var(--green);
    }

    .panel-profile-view .panel-pw-hint {
        font-size: 10px;
        color: var(--muted);
        margin-top: 5px;
    }

    .panel-profile-view .panel-btn {
        width: 100%;
        justify-content: center;
        border-radius: 10px;
        padding: 12px;
        font-size: 13.5px;
        font-weight: 700;
        letter-spacing: 0.02em;
    }

    .panel-profile-view .panel-profile-card-password .panel-btn-primary {
        background: transparent;
        color: var(--ink);
        border: 1.5px solid #e5e7eb;
    }

    .panel-profile-view .panel-profile-card-password .panel-btn-primary i {
        color: var(--ink);
    }

    .panel-profile-mobile-danger {
        background: var(--white);
        border: none;
        border-radius: 0;
        margin-top: 10px;
        padding: 14px 10px 20px;
        border-top: 1px solid var(--border-soft);
        border-bottom: 1px solid var(--border-soft);
    }

    .panel-profile-mobile-danger-label {
        display: block;
        font-size: 9.5px;
        color: var(--muted);
    }

    .panel-profile-mobile-danger-btn {
        width: 100%;
        padding: 12px;
        border-radius: 10px;
        justify-content: center;
        font-weight: 700;
    }

    .panel-create-mobile-view {
        background: #f5f5f5;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        padding-bottom: 96px;
    }

    .panel-create-mobile-navline {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 10px 10px;
        background: var(--white);
        border-bottom: 1px solid var(--border-soft);
    }

    .panel-create-mobile-back {
        display: inline-flex;
        align-items: center;
        gap: 3px;
        font-size: 13px;
        font-weight: 500;
        color: #6b7280;
    }

    .panel-create-mobile-logo {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        font-size: 15px;
        font-weight: 700;
        color: var(--green);
    }

    .panel-create-mobile-logo-mark {
        width: 28px;
        height: 28px;
        border-radius: 7px;
        background: var(--green);
        color: var(--white);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
    }

    .panel-create-mobile-spacer {
        width: 52px;
    }

    .panel-create-mobile-view .panel-page-header {
        margin-bottom: 0;
        padding: 11px 11px 11px 11px;
        background: var(--white);
        border-bottom: 1px solid var(--border-soft);
    }

    .panel-create-mobile-view .panel-page-eyebrow::before {
        content: none;
    }

    .panel-create-mobile-view .panel-page-eyebrow {
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.14em;
        margin-bottom: 2px;
    }

    .panel-create-mobile-view .panel-page-title {
        font-size: 22px;
        letter-spacing: -0.03em;
    }

    .panel-create-mobile-sub {
        font-size: 12px;
        color: var(--muted);
        margin-top: 3px;
    }

    .panel-create-mobile-steps {
        display: flex;
        align-items: center;
        gap: 0;
        padding: 14px 12px;
        background: var(--white);
        border-bottom: 1px solid var(--border-soft);
    }

    .panel-create-step {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1;
    }

    .panel-create-step:last-child {
        flex: none;
    }

    .panel-create-step-circle {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        border: 2px solid #e5e7eb;
        color: #adb5bd;
        font-size: 11px;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .panel-create-step-circle.active {
        background: var(--ink);
        border-color: var(--ink);
        color: var(--white);
    }

    .panel-create-step-label {
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
        color: #adb5bd;
    }

    .panel-create-step-label.active {
        color: var(--ink);
    }

    .panel-create-step-circle.completed {
        background: var(--green);
        border-color: var(--green);
        font-size: 0;
        color: transparent;
    }

    .panel-create-step-circle.completed::after {
        content: "✓";
        font-size: 11px;
        font-weight: 700;
        color: var(--white);
        display: block;
    }

    .panel-create-step-label.completed {
        color: var(--green);
    }

    .panel-create-step-line.completed {
        background: var(--green);
    }

    .panel-create-step-line {
        flex: 1;
        height: 1px;
        background: #e5e7eb;
        margin: 0 8px;
    }

    .panel-create-mobile-view .panel-create-card {
        margin: 10px 40px 10px 10px;
        
        border: none;
        border-radius: 0;
        background: var(--white);
    }

    .panel-create-mobile-view .panel-card-header {
        padding: 14px 12px 6px;
        border-bottom: 0;
    }

    .panel-create-mobile-view .panel-card-title {
        font-size: 13px;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        gap: 7px;
    }

    .panel-create-mobile-view .panel-card-title i {
        color: var(--green);
        font-size: 13px;
    }

    .panel-create-mobile-view .panel-card-subtitle {
        font-size: 11px;
        color: var(--muted);
        margin-left: 20px;
    }

    .panel-create-mobile-view .panel-card-body {
        padding: 0 12px 8px;
        overflow: visible;
    }

    .panel-create-mobile-view .panel-form-field {
        padding: 12px 0;
        border-bottom: 1px solid var(--border-soft);
        gap: 6px;
    }

    .panel-create-mobile-view .panel-form-field:last-child {
        border-bottom: none;
    }

    .panel-create-mobile-view .panel-form-grid {
        gap: 0 14px;
    }

    .panel-create-mobile-view .panel-form-label {
        font-size: 9.5px;
        font-weight: 700;
        letter-spacing: .06em;
        color: #adb5bd;
    }

    .panel-create-mobile-view .panel-form-input {
        border: none;
        border-bottom: 1.5px solid #e5e7eb;
        border-radius: 0;
        background: transparent;
        padding: 8px 0;
        font-size: 14px;
    }

    .panel-create-mobile-view .panel-form-input:focus {
        border-bottom-color: var(--ink);
        box-shadow: none;
        background: transparent;
    }

    .panel-create-mobile-view #editor-container {
        height: 180px !important;
        width: 100% !important;
        max-width: 100% !important;
        border: none !important;
        border-bottom: 1.5px solid #e5e7eb !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-sizing: border-box;
        padding: 0 !important;
    }

    .panel-create-mobile-view .ql-container.ql-snow {
        border: none !important;
        font-size: 14px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .panel-create-mobile-view .ql-editor {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-height: 180px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: pre-wrap !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        padding: 12px !important;
        display: block !important;
    }

    .panel-create-mobile-view .ql-toolbar.ql-snow {
        border: none !important;
        border-bottom: 1px solid var(--border-soft) !important;
        padding: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: auto !important;
        overflow-y: hidden;
        white-space: nowrap;
    }

    .panel-create-mobile-view .ql-toolbar.ql-snow .ql-formats {
        margin-right: 8px;
    }

    .panel-create-mobile-view .panel-create-image-note {
        display: block;
        margin-top: 6px;
        font-size: 10px;
        color: #adb5bd;
    }

    .panel-create-mobile-view .panel-create-image-note.limit-reached {
        color: #dc2626;
        font-weight: 600;
        font-size: 11px;
    }

    .panel-create-mobile-view .panel-create-mobile-info {
        margin: 10px 12px;
        padding: 12px 12px;
        border-left: 3px solid var(--green);
        border-radius: 0 8px 8px 0;
        background: var(--green-ghost);
    }

    .panel-create-mobile-view .panel-create-mobile-info h4 {
        margin: 0 0 6px;
        font-size: 12px;
        font-weight: 700;
        color: var(--green);
    }

    .panel-create-mobile-view .panel-create-mobile-info ul {
        margin: 0;
        padding-left: 14px;
        font-size: 11px;
        color: var(--green);
        line-height: 1.5;
    }

    .panel-create-mobile-actions {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 56px;
        z-index: 1041;
        background: var(--white);
        border-top: 1px solid var(--border-soft);
        padding: 12px max(10px, env(safe-area-inset-left)) calc(12px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-right));
        display: flex;
        gap: 10px;
        margin-top: 0;
    }

    .panel-create-mobile-actions .panel-btn {
        flex: 1;
        margin: 0;
        border-radius: 10px;
        font-size: 13.5px;
        font-weight: 700;
        letter-spacing: 0.02em;
        justify-content: center;
    }

    .panel-create-mobile-actions .panel-btn-cancel-mobile {
        background: transparent;
        border: 1.5px solid #e5e7eb;
        color: #6b7280;
    }

    .panel-create-mobile-actions .panel-btn-upgrade-mobile {
        background: linear-gradient(135deg, #1a6b3c 0%, #2d8a56 100%);
        color: var(--white);
        border-color: transparent;
    }
}

/* ══════════════════════════════════════
     HISTORIAL MOBILE (cards)
══════════════════════════════════════ */
.panel-history-mobile {
    display: none;
}

@media (max-width: 768px) {
    .panel-history-desktop {
        display: none !important;
    }

    .panel-history-mobile {
        display: block;
        margin-top: 6px;
        padding: 11px 11px 11px 11px;
    }

    .history-mobile-stats {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 10px;
        overflow: hidden;
        margin-bottom: 10px;
    }

    .history-mobile-stat {
        padding: 10px 6px;
        text-align: center;
        border-right: 1px solid var(--border-soft);
    }

    .history-mobile-stat:last-child {
        border-right: none;
    }

    .history-mobile-stat-value {
        font-size: 18px;
        font-weight: 700;
        color: var(--ink);
        line-height: 1;
        letter-spacing: -0.02em;
        margin-bottom: 3px;
    }

    .history-mobile-stat-value.green {
        color: var(--green);
    }

    .history-mobile-stat-label {
        font-size: 9px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--muted);
        font-weight: 600;
    }

    .history-mobile-filters {
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 8px;
        display: flex;
        gap: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 8px;
    }

    .history-mobile-filter {
        border: 1px solid var(--border);
        background: var(--white);
        color: var(--ink-mid);
        border-radius: 20px;
        font-size: 11.5px;
        font-weight: 600;
        padding: 5px 12px;
        white-space: nowrap;
        cursor: pointer;
    }

    .history-mobile-filter.active {
        background: var(--ink);
        border-color: var(--ink);
        color: var(--white);
    }

    .history-mobile-label {
        font-size: 10px;
        font-weight: 700;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 0.06em;
        padding: 11px 11px 11px 11px;
    }

    .history-mobile-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .history-mobile-card {
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 12px;
        overflow: hidden;
    }

    .history-mobile-main {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px;
    }

    .history-mobile-img {
        width: 50px;
        height: 50px;
        border-radius: 8px;
        border: 1px solid var(--border);
        overflow: hidden;
        flex-shrink: 0;
        background: var(--green-pale);
    }

    .history-mobile-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .history-mobile-info {
        min-width: 0;
        flex: 1;
    }

    .history-mobile-status {
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 3px;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        color: var(--ink-mid);
    }

    .history-mobile-status::before {
        content: '';
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: currentColor;
        opacity: 0.8;
    }

    .history-mobile-status.win {
        color: #1A7A48;
    }

    .history-mobile-status.progress {
        color: var(--ink);
    }

    .history-mobile-status.lost {
        color: var(--muted);
    }

    .history-mobile-title {
        font-size: 12.5px;
        font-weight: 600;
        color: var(--ink);
        line-height: 1.3;
        display: -webkit-box;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .history-mobile-prices {
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-top: 1px solid var(--border-soft);
    }

    .history-mobile-price-col {
        padding: 8px 12px;
        border-right: 1px solid var(--border-soft);
    }

    .history-mobile-price-col:last-child {
        border-right: none;
    }

    .history-mobile-price-label {
        font-size: 8.5px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--muted);
        margin-bottom: 2px;
    }

    .history-mobile-price-value {
        font-size: 12.5px;
        font-weight: 600;
        color: var(--ink);
        line-height: 1.25;
    }

    .history-mobile-price-value.green {
        color: var(--green);
    }

    .history-mobile-note {
        font-size: 9px;
        color: var(--muted);
        margin-top: 1px;
    }

    .history-mobile-foot {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 8px 12px;
        border-top: 1px solid var(--border-soft);
        background: white;
    }

    .history-mobile-date {
        font-size: 10px;
        color: var(--muted);
    }

    .history-mobile-btn {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 5px 12px;
        border-radius: 7px;
        text-decoration: none;
        font-size: 11.5px;
        font-weight: 600;
        background: var(--ink);
        color: var(--white);
        border: 1px solid var(--ink);
    }

    .history-mobile-btn.primary {
        background: var(--green);
        border-color: var(--green);
    }
}

    /* ══════════════════════════════════════
       MIS SUBASTAS MOBILE (cards)
    ══════════════════════════════════════ */
    .panel-my-auctions-mobile {
        display: none;
    }

    @media (max-width: 768px) {
        .panel-my-auctions-desktop {
            display: none !important;
        }

        .panel-my-auctions-mobile {
            display: block;
            margin-top: 6px;
            padding: 11px 11px 11px 11px;
        }

        .myauc-stats {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 10px;
        }

        .myauc-stat {
            padding: 10px 6px;
            text-align: center;
            border-right: 1px solid var(--border-soft);
        }

        .myauc-stat:last-child {
            border-right: none;
        }

        .myauc-stat-value {
            font-size: 18px;
            font-weight: 700;
            color: var(--ink);
            line-height: 1;
            letter-spacing: -0.02em;
            margin-bottom: 3px;
        }

        .myauc-stat-value.green {
            color: var(--green);
        }

        .myauc-stat-label {
            font-size: 9px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: var(--muted);
        }

        .myauc-filters {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 8px;
            display: flex;
            gap: 6px;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            margin-bottom: 8px;
        }

        .myauc-filter {
            padding: 5px 12px;
            border-radius: 20px;
            border: 1px solid var(--border);
            background: var(--white);
            color: var(--ink-mid);
            font-size: 11.5px;
            font-weight: 600;
            white-space: nowrap;
            cursor: pointer;
        }

        .myauc-filter.active {
            background: var(--ink);
            border-color: var(--ink);
            color: var(--white);
        }

        .myauc-section-label {
            padding: 2px 2px 6px;
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: var(--muted);
        }

        .myauc-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .myauc-card {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 12px;
            overflow: hidden;
        }

        .myauc-card-link { cursor: pointer; }

        .myauc-main {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px;
        }

        .myauc-img {
            width: 50px;
            height: 50px;
            border-radius: 8px;
            border: 1px solid var(--border);
            overflow: hidden;
            flex-shrink: 0;
            background: var(--green-pale);
        }

        .myauc-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .myauc-info {
            min-width: 0;
            flex: 1;
        }

        .myauc-id {
            font-size: 10px;
            font-weight: 700;
            color: var(--muted);
            margin-bottom: 3px;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .myauc-title {
            font-size: 12.5px;
            font-weight: 600;
            color: var(--ink);
            line-height: 1.3;
            display: -webkit-box;
            line-clamp: 2;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .myauc-meta {
            overflow: hidden;
            display: flex;
            align-items: center;
            gap: 6px;
            margin-top: 2px;
        }

        .myauc-sep {
            width: 3px;
            height: 3px;
            border-radius: 50%;
            background: #e5e7eb;
            flex-shrink: 0;
        }

        .myauc-status {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 0;
            border-radius: 0;
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .myauc-status::before {
            content: '';
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: currentColor;
            opacity: 0.8;
        }

        .myauc-status-pub,
        .myauc-status-live {
            color: var(--ink);
        }

        .myauc-status-upcoming {
            color: #9A6C00;
        }

        .myauc-status-rev {
            color: #B35A00;
        }

        .myauc-status-fin {
            color: #6E7378;
        }

        .myauc-prices {
            display: grid;
            grid-template-columns: 1fr 1fr;
            border-top: 1px solid var(--border-soft);
        }
        .myauc-status-pay {
            color: #9a6700;
        }
        .myauc-status-paid {
            color: #1a7a48;
        }
        .myauc-status-nobuyer {
            color: #6b7280;
        }

        .myauc-price-col {
            padding: 8px 12px;
            border-right: 1px solid var(--border-soft);
        }
        .seller-winner-panel {
            margin-top: 12px;
            padding: 20px;
            border: 1px solid #ebebeb;
            border-radius: 12px;
            background: #ffffff;
        }
        .seller-winner-panel.desktop {
            margin: 0;
            border-radius: 0 0 12px 12px;
            border-top: none;
            background: #ffffff;
        }
        .seller-winner-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 16px;
            margin-bottom: 14px;
        }
        .seller-winner-kicker {
            font-size: 9.5px;
            letter-spacing: 1.2px;
            text-transform: uppercase;
            font-weight: 700;
            color: #777;
            margin-bottom: 5px;
        }
        .seller-winner-title {
            font-size: 18px;
            font-weight: 800;
            color: var(--ink);
            letter-spacing: -0.02em;
            line-height: 1.2;
        }
        .seller-winner-subtitle {
            font-size: 12px;
            color: #888;
            margin-top: 4px;
        }
        .seller-winner-attempt {
            font-size: 10px;
            font-weight: 700;
            color: #777;
            background: #f7f7f5;
            border: 1px solid #ebebeb;
            border-radius: 6px;
            padding: 3px 9px;
            white-space: nowrap;
        }
        .seller-winner-status {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 11px;
            font-weight: 700;
            color: #d68910;
            background: #fef3e2;
            border: 1px solid #f5d79e;
            border-radius: 999px;
            padding: 6px 14px;
            letter-spacing: 0.02em;
        }
        .seller-winner-status::before {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: currentColor;
        }
        .seller-winner-status.paid {
            color: #1a6b3c;
            background: #e8f5ee;
            border-color: #c8e0d2;
        }
        .seller-winner-status.nobuyer {
            color: #d63f3f;
            background: #fde8e8;
            border-color: #f5b7b7;
        }
        .seller-winner-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1px;
            background: #ebebeb;
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 16px;
        }
        .seller-winner-field {
            min-width: 0;
            background: #fff;
            border: 0;
            border-radius: 0;
            padding: 14px 16px;
        }
        .seller-winner-field.full {
            grid-column: 1 / -1;
        }
        .seller-winner-field-label {
            font-size: 9px;
            text-transform: uppercase;
            letter-spacing: 1.2px;
            color: #bbb;
            font-weight: 700;
            margin-bottom: 4px;
        }
        .seller-winner-field-value {
            font-size: 13.5px;
            font-weight: 600;
            color: var(--ink);
            word-break: break-word;
        }
        .seller-winner-field-value a {
            color: #1a6b3c;
            text-decoration: none;
        }
        .seller-winner-field-value a:hover {
            text-decoration: underline;
        }
        .seller-winner-offer {
            background: #e8f5ee;
            border: 1px solid #c8e0d2;
            border-radius: 8px;
            padding: 14px 18px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 16px;
            gap: 12px;
        }
        .seller-winner-offer-label {
            font-size: 10px;
            font-weight: 700;
            color: #3d8a5e;
            text-transform: uppercase;
            letter-spacing: 1.2px;
            margin-bottom: 3px;
        }
        .seller-winner-offer-amount {
            font-size: 26px;
            font-weight: 800;
            color: #1a6b3c;
            letter-spacing: -0.04em;
            line-height: 1;
        }
        .seller-winner-offer-amount span {
            font-size: 12px;
            font-weight: 500;
            margin-left: 2px;
        }
        .seller-winner-offer-rank {
            font-size: 11px;
            font-weight: 600;
            color: #3d8a5e;
            text-align: right;
        }
        .seller-winner-note {
            font-size: 11px;
            color: #bbb;
            text-align: center;
            line-height: 1.55;
        }
        .seller-winner-actions {
            display: flex;
            gap: 10px;
            margin-top: 10px;
            flex-wrap: wrap;
            flex-direction: column;
        }
        .seller-winner-form {
            flex: 1 1 auto;
        }
        .seller-winner-btn {
            width: 100%;
            border: none;
            border-radius: 9px;
            padding: 12px 14px;
            font-size: 13.5px;
            font-weight: 700;
            cursor: pointer;
            transition: background .2s, transform .15s, border-color .2s;
        }
        .seller-winner-btn-paid {
            background: #1a6b3c;
            color: #fff;
        }
        .seller-winner-btn-paid:hover {
            background: #1d7a45;
            transform: translateY(-1px);
        }
        .seller-winner-btn-next {
            background: none;
            color: #d63f3f;
            border: 1.5px solid #f5b7b7;
            font-size: 13px;
            font-weight: 600;
        }
        .seller-winner-btn-next:hover {
            background: #fde8e8;
            border-color: #d63f3f;
        }
        .seller-winner-empty {
            margin-top: 12px;
            padding: 18px;
            border-radius: 10px;
            background: #fde8e8;
            border: 1px solid #f5b7b7;
            font-size: 12.5px;
            color: #d63f3f;
            line-height: 1.6;
        }
        .seller-winner-cta-card {
            margin-top: 12px;
            padding: 14px;
            border: 1px solid #ebebeb;
            border-radius: 12px;
            background: #fff;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }
        .seller-winner-cta-label {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 1.2px;
            font-weight: 700;
            color: #777;
            margin-bottom: 4px;
        }
        .seller-winner-cta-text {
            font-size: 12.5px;
            color: #555;
            line-height: 1.5;
            max-width: 520px;
        }
        .seller-winner-detail-wrap {
            max-width: 980px;
            margin: 0 auto;
        }
        .seller-winner-detail-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 14px;
            flex-wrap: wrap;
        }
        .seller-winner-detail-back {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            font-weight: 700;
            color: #666;
            text-decoration: none;
        }
        .seller-winner-detail-back:hover {
            color: #1a6b3c;
        }
        .seller-winner-detail-grid {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 16px;
        }
        .seller-winner-detail-main,
        .seller-winner-detail-side {
            background: #fff;
            border: 1px solid #ebebeb;
            border-radius: 12px;
        }
        .seller-winner-detail-main {
            padding: 20px;
        }
        .seller-winner-detail-side {
            padding: 16px;
        }
        .seller-winner-side-title {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 1.2px;
            color: #999;
            font-weight: 700;
            margin-bottom: 10px;
        }
        .seller-winner-side-row {
            display: flex;
            justify-content: space-between;
            gap: 8px;
            padding: 7px 0;
            border-bottom: 1px solid #f1f1f1;
            font-size: 12px;
            color: #555;
        }
        .seller-winner-side-row strong {
            color: #111;
            font-weight: 700;
        }
        .seller-winner-side-row:last-child {
            border-bottom: none;
        }
        @media (max-width: 900px) {
            .seller-winner-detail-grid {
                grid-template-columns: 1fr;
            }
            .seller-winner-cta-card {
                flex-direction: column;
                align-items: flex-start;
            }
        }

        .swd-page {
            font-family: 'Geist', sans-serif;
            background: #f7f7f5;
            border: 1px solid #ebebeb;
            border-radius: 14px;
            padding: 24px;
        }
        .swd-breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
            color: #bbb;
            margin-bottom: 16px;
        }
        .swd-breadcrumb a {
            color: #bbb;
            text-decoration: none;
        }
        .swd-breadcrumb a:hover {
            color: #777;
        }
        .swd-breadcrumb span {
            color: #777;
            font-weight: 500;
        }
        .swd-header {
            background: #fff;
            border: 1px solid #ebebeb;
            border-radius: 12px;
            padding: 24px 28px;
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 20px;
            margin-bottom: 16px;
            flex-wrap: wrap;
        }
        .swd-tag {
            font-size: 9.5px;
            font-weight: 700;
            color: #777;
            text-transform: uppercase;
            letter-spacing: 1.3px;
            margin-bottom: 6px;
        }
        .swd-title {
            font-size: 20px;
            font-weight: 800;
            color: #0f0f0f;
            letter-spacing: -0.03em;
            margin-bottom: 8px;
        }
        .swd-meta {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }
        .swd-meta-label {
            font-size: 9px;
            font-weight: 700;
            color: #bbb;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 2px;
        }
        .swd-meta-value {
            font-size: 14px;
            font-weight: 700;
            color: #0f0f0f;
        }
        .swd-meta-value.green {
            color: #1a6b3c;
        }
        .swd-status-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 14px;
            border-radius: 99px;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: .02em;
        }
        .swd-status-badge.finalizada {
            background: #f7f7f5;
            color: #777;
            border: 1px solid #ebebeb;
        }
        .swd-status-badge.pendiente {
            background: #fef3e2;
            color: #d68910;
            border: 1px solid #f5d79e;
        }
        .swd-status-badge.pagada {
            background: #e8f5ee;
            color: #1a6b3c;
            border: 1px solid #c8e0d2;
        }
        .swd-status-badge.sin_comprador {
            background: #fde8e8;
            color: #d63f3f;
            border: 1px solid #f5b7b7;
        }
        .swd-status-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: currentColor;
        }
        .swd-main-grid {
            display: grid;
            grid-template-columns: 1fr 340px;
            gap: 16px;
            align-items: start;
        }
        .swd-card {
            background: #fff;
            border: 1px solid #ebebeb;
            border-radius: 12px;
            overflow: hidden;
        }
        .swd-card-head {
            padding: 18px 24px;
            border-bottom: 1px solid #ebebeb;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
        }
        .swd-card-title {
            font-size: 13px;
            font-weight: 700;
            color: #0f0f0f;
        }
        .swd-card-sub {
            font-size: 11.5px;
            color: #bbb;
        }
        .swd-attempt {
            font-size: 10px;
            font-weight: 700;
            color: #777;
            background: #f7f7f5;
            border: 1px solid #ebebeb;
            border-radius: 6px;
            padding: 3px 9px;
            white-space: nowrap;
        }
        .swd-card-body {
            padding: 24px;
        }
        .swd-winner-info {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 24px;
        }
        .swd-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: #e8f5ee;
            border: 2px solid #c8e0d2;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            font-weight: 800;
            color: #1a6b3c;
            flex-shrink: 0;
        }
        .swd-winner-name {
            font-size: 16px;
            font-weight: 800;
            color: #0f0f0f;
            letter-spacing: -0.02em;
        }
        .swd-winner-since {
            font-size: 11.5px;
            color: #bbb;
            margin-top: 2px;
        }
        .swd-contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1px;
            background: #ebebeb;
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 24px;
        }
        .swd-contact-cell {
            background: #fff;
            padding: 14px 16px;
        }
        .swd-contact-cell.full {
            grid-column: 1 / -1;
        }
        .swd-cc-label {
            font-size: 9px;
            font-weight: 700;
            color: #bbb;
            text-transform: uppercase;
            letter-spacing: 1.2px;
            margin-bottom: 4px;
        }
        .swd-cc-value {
            font-size: 13.5px;
            font-weight: 600;
            color: #0f0f0f;
            word-break: break-word;
        }
        .swd-cc-value a {
            color: #1a6b3c;
            text-decoration: none;
        }
        .swd-cc-value a:hover {
            text-decoration: underline;
        }
        .swd-offer {
            background: #e8f5ee;
            border: 1px solid #c8e0d2;
            border-radius: 8px;
            padding: 14px 18px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 24px;
            gap: 12px;
        }
        .swd-offer-label {
            font-size: 10px;
            font-weight: 700;
            color: #3d8a5e;
            text-transform: uppercase;
            letter-spacing: 1.2px;
            margin-bottom: 3px;
        }
        .swd-offer-amount {
            font-size: 26px;
            font-weight: 800;
            color: #1a6b3c;
            letter-spacing: -0.04em;
            line-height: 1;
        }
        .swd-offer-amount span {
            font-size: 12px;
            font-weight: 500;
            margin-left: 2px;
        }
        .swd-offer-rank {
            font-size: 11px;
            font-weight: 600;
            color: #3d8a5e;
            text-align: right;
        }
        .swd-actions {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .swd-btn-paid,
        .swd-btn-skip {
            font-family: 'Geist', sans-serif;
            width: 100%;
            border-radius: 9px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        .swd-btn-paid {
            font-size: 13.5px;
            font-weight: 700;
            background: #1a6b3c;
            color: #fff;
            border: none;
            padding: 13px;
            transition: background .2s, transform .15s;
        }
        .swd-btn-paid:hover {
            background: #1d7a45;
            transform: translateY(-1px);
        }
        .swd-btn-skip {
            font-size: 13px;
            font-weight: 600;
            background: none;
            color: #d63f3f;
            border: 1.5px solid #f5b7b7;
            padding: 11px;
            transition: background .2s, border-color .2s;
        }
        .swd-btn-skip:hover {
            background: #fde8e8;
            border-color: #d63f3f;
        }
        .swd-btn-note {
            font-size: 11px;
            color: #bbb;
            text-align: center;
            line-height: 1.55;
        }
        .swd-confirm {
            padding: 40px 24px;
            text-align: center;
        }
        .swd-confirm-icon {
            width: 60px;
            height: 60px;
            background: #e8f5ee;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            margin: 0 auto 16px;
        }
        .swd-confirm-title {
            font-size: 18px;
            font-weight: 800;
            color: #0f0f0f;
            letter-spacing: -0.03em;
            margin-bottom: 8px;
        }
        .swd-confirm-sub {
            font-size: 13px;
            color: #777;
            line-height: 1.65;
            margin-bottom: 24px;
        }
        .swd-confirm-detail {
            background: #e8f5ee;
            border: 1px solid #c8e0d2;
            border-radius: 8px;
            padding: 14px 18px;
            text-align: left;
        }
        .swd-confirm-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 5px 0;
            border-bottom: 1px solid rgba(26,107,60,.1);
        }
        .swd-confirm-row:last-child {
            border-bottom: none;
        }
        .swd-confirm-label {
            font-size: 11px;
            color: #3d8a5e;
        }
        .swd-confirm-value {
            font-size: 12px;
            font-weight: 700;
            color: #1a6b3c;
        }
        .swd-nopay {
            padding: 32px 24px;
            text-align: center;
        }
        .swd-nopay-icon {
            width: 56px;
            height: 56px;
            background: #fde8e8;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            margin: 0 auto 14px;
        }
        .swd-nopay-title {
            font-size: 16px;
            font-weight: 800;
            color: #0f0f0f;
            margin-bottom: 7px;
        }
        .swd-nopay-sub {
            font-size: 13px;
            color: #777;
            line-height: 1.65;
            margin-bottom: 8px;
        }
        .swd-side {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }
        .swd-side-card {
            background: #fff;
            border: 1px solid #ebebeb;
            border-radius: 12px;
            overflow: hidden;
        }
        .swd-side-head {
            padding: 16px 20px;
            border-bottom: 1px solid #ebebeb;
        }
        .swd-side-title {
            font-size: 12.5px;
            font-weight: 700;
            color: #0f0f0f;
        }
        .swd-timeline {
            padding: 16px 20px;
            display: flex;
            flex-direction: column;
            gap: 0;
        }
        .swd-tl-item {
            display: flex;
            gap: 12px;
            padding-bottom: 18px;
            position: relative;
        }
        .swd-tl-item:last-child {
            padding-bottom: 0;
        }
        .swd-tl-item:not(:last-child)::before {
            content: '';
            position: absolute;
            left: 10px;
            top: 22px;
            bottom: 0;
            width: 1px;
            background: #ebebeb;
        }
        .swd-tl-dot {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 9px;
            margin-top: 1px;
            position: relative;
            z-index: 1;
        }
        .swd-tl-dot.done {
            background: #e8f5ee;
            color: #1a6b3c;
            border: 1.5px solid #c8e0d2;
        }
        .swd-tl-dot.current {
            background: #fef3e2;
            color: #d68910;
            border: 1.5px solid #f5d79e;
        }
        .swd-tl-dot.pending {
            background: #f7f7f5;
            color: #bbb;
            border: 1.5px solid #ebebeb;
        }
        .swd-tl-label {
            font-size: 12px;
            font-weight: 600;
            color: #0f0f0f;
            margin-bottom: 2px;
            line-height: 1.3;
        }
        .swd-tl-label.muted {
            color: #bbb;
            font-weight: 500;
        }
        .swd-tl-time {
            font-size: 10.5px;
            color: #bbb;
        }
        .swd-postors {
            padding: 8px 0;
        }
        .swd-postor-row {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 9px 20px;
            transition: background .15s;
        }
        .swd-postor-row:hover {
            background: #f7f7f5;
        }
        .swd-postor-row.winner {
            background: #e8f5ee;
        }
        .swd-pr-rank {
            font-size: 10px;
            font-weight: 700;
            color: #bbb;
            width: 18px;
            text-align: center;
            flex-shrink: 0;
        }
        .swd-pr-rank.first {
            color: #1a6b3c;
        }
        .swd-pr-avatar {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: #f7f7f5;
            border: 1px solid #ebebeb;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            font-weight: 700;
            color: #777;
            flex-shrink: 0;
        }
        .swd-postor-row.winner .swd-pr-avatar {
            background: #e8f5ee;
            color: #1a6b3c;
            border-color: #c8e0d2;
        }
        .swd-pr-name {
            font-size: 12px;
            font-weight: 600;
            color: #0f0f0f;
            flex: 1;
        }
        .swd-pr-name.muted {
            color: #bbb;
            font-weight: 400;
        }
        .swd-pr-amount {
            font-size: 12px;
            font-weight: 700;
            color: #0f0f0f;
        }
        .swd-pr-amount.green {
            color: #1a6b3c;
        }
        .swd-pr-badge {
            font-size: 9px;
            font-weight: 700;
            background: #1a6b3c;
            color: #fff;
            border-radius: 4px;
            padding: 2px 6px;
            margin-left: 4px;
        }
        .swd-pr-badge.skip {
            background: #fde8e8;
            color: #d63f3f;
        }
        @media (max-width: 980px) {
            .swd-main-grid {
                grid-template-columns: 1fr;
            }
            .swd-side {
                order: -1;
            }
        }
        @media (max-width: 760px) {
            .swd-page {
                padding: 14px;
            }
            .swd-header {
                flex-direction: column;
                padding: 18px;
            }
            .swd-contact-grid {
                grid-template-columns: 1fr;
            }
            .swd-offer {
                flex-direction: column;
                align-items: flex-start;
            }
            .swd-offer-rank {
                text-align: left;
            }
        }

        .seller-template {
            font-family: 'Geist', sans-serif;
            background: #f7f7f5;
            border: 1px solid #ebebeb;
            border-radius: 14px;
            overflow: hidden;
        }
        .seller-template nav {
            height: 56px;
            background: #fff;
            border-bottom: 1px solid #ebebeb;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 24px;
            position: sticky;
            top: 0;
            z-index: 2;
        }
        .seller-template .nav-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
        .seller-template .nav-mark { width: 28px; height: 28px; background: #1a6b3c; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; }
        .seller-template .nav-name { font-size: 14px; font-weight: 700; color: #0f0f0f; }
        .seller-template .nav-right { display: flex; align-items: center; gap: 16px; }
        .seller-template .nav-badge { font-size: 11px; font-weight: 600; color: #777; background: #f7f7f5; border: 1px solid #ebebeb; border-radius: 6px; padding: 4px 10px; }
        .seller-template .nav-avatar { width: 30px; height: 30px; background: #e8f5ee; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #1a6b3c; }
        .seller-template .page { max-width: 900px; margin: 0 auto; padding: 24px; }
        .seller-template .breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #bbb; margin-bottom: 24px; }
        .seller-template .breadcrumb a { color: #bbb; text-decoration: none; }
        .seller-template .breadcrumb a:hover { color: #777; }
        .seller-template .breadcrumb span { color: #777; font-weight: 500; }
        .seller-template .auction-header { background: #fff; border: 1px solid #ebebeb; border-radius: 12px; padding: 24px 28px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
        .seller-template .ah-tag { font-size: 9.5px; font-weight: 700; color: #777; text-transform: uppercase; letter-spacing: 1.3px; margin-bottom: 6px; }
        .seller-template .ah-title { font-size: 20px; font-weight: 800; color: #0f0f0f; letter-spacing: -.03em; margin-bottom: 8px; }
        .seller-template .ah-meta { display: flex; gap: 20px; flex-wrap: wrap; }
        .seller-template .ahmi-label { font-size: 9px; font-weight: 700; color: #bbb; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
        .seller-template .ahmi-value { font-size: 14px; font-weight: 700; color: #0f0f0f; }
        .seller-template .ahmi-value.green { color: #1a6b3c; }
        .seller-template .status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 99px; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
        .seller-template .status-badge.finalizada { background: #f7f7f5; color: #777; border: 1px solid #ebebeb; }
        .seller-template .status-badge.pendiente { background: #fef3e2; color: #d68910; border: 1px solid #f5d79e; }
        .seller-template .status-badge.pagada { background: #e8f5ee; color: #1a6b3c; border: 1px solid #c8e0d2; }
        .seller-template .status-badge.sin_comprador { background: #fde8e8; color: #d63f3f; border: 1px solid #f5b7b7; }
        .seller-template .status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
        .seller-template .main-grid { display: grid; grid-template-columns: 1fr 340px; gap: 16px; align-items: start; }
        .seller-template .winner-card, .seller-template .timeline-card, .seller-template .postors-card { background: #fff; border: 1px solid #ebebeb; border-radius: 12px; overflow: hidden; }
        .seller-template .wc-head { padding: 18px 24px; border-bottom: 1px solid #ebebeb; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
        .seller-template .wc-head-title { font-size: 13px; font-weight: 700; color: #0f0f0f; }
        .seller-template .wc-head-sub { font-size: 11.5px; color: #bbb; }
        .seller-template .wc-attempt { font-size: 10px; font-weight: 700; color: #777; background: #f7f7f5; border: 1px solid #ebebeb; border-radius: 6px; padding: 3px 9px; white-space: nowrap; }
        .seller-template .wc-body { padding: 24px; }
        .seller-template .winner-info { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
        .seller-template .winner-avatar { width: 48px; height: 48px; border-radius: 50%; background: #e8f5ee; border: 2px solid #c8e0d2; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; color: #1a6b3c; }
        .seller-template .winner-name { font-size: 16px; font-weight: 800; color: #0f0f0f; letter-spacing: -.02em; }
        .seller-template .winner-since { font-size: 11.5px; color: #bbb; margin-top: 2px; }
        .seller-template .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #ebebeb; border-radius: 8px; overflow: hidden; margin-bottom: 24px; }
        .seller-template .contact-cell { background: #fff; padding: 14px 16px; }
        .seller-template .contact-cell.full { grid-column: 1 / -1; }
        .seller-template .cc-label { font-size: 9px; font-weight: 700; color: #bbb; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 4px; }
        .seller-template .cc-value { font-size: 13.5px; font-weight: 600; color: #0f0f0f; word-break: break-word; }
        .seller-template .cc-value a { color: #1a6b3c; text-decoration: none; }
        .seller-template .cc-value a:hover { text-decoration: underline; }
        .seller-template .offer-highlight { background: #e8f5ee; border: 1px solid #c8e0d2; border-radius: 8px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; gap: 12px; }
        .seller-template .oh-label { font-size: 10px; font-weight: 700; color: #989998; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 3px; }
        .seller-template .oh-amount { font-size: 26px; font-weight: 800; color: #121413; letter-spacing: -.04em; line-height: 1; }
        .seller-template .oh-amount span { font-size: 12px; font-weight: 500; margin-left: 2px; }
        .seller-template .oh-rank { font-size: 11px; font-weight: 600; color: #3d8a5e; }
        .seller-template .actions { display: flex; flex-direction: column; gap: 10px; }
        .seller-template .btn-paid { font-family: 'Geist', sans-serif; font-size: 13.5px; font-weight: 700; background: #000000; color: #fff; border: none; border-radius: 9px; padding: 13px; cursor: pointer; width: 100%; transition: background .2s, transform .15s; }
        .seller-template .btn-paid:hover { background: #1d7a45; transform: translateY(-1px); }
        .seller-template .btn-skip { font-family: 'Geist', sans-serif; font-size: 13px; font-weight: 600; background: none; color: #d63f3f; border: 1.5px solid #f5b7b7; border-radius: 9px; padding: 11px; cursor: pointer; width: 100%; transition: background .2s, border-color .2s; }
        .seller-template .btn-skip:hover { background: #fde8e8; border-color: #d63f3f; }
        .seller-template .btn-note { font-size: 11px; color: #bbb; text-align: center; line-height: 1.55; }
        .seller-template .sidebar { display: flex; flex-direction: column; gap: 16px; }
        .seller-template .tc-head, .seller-template .pc-head { padding: 16px 20px; border-bottom: 1px solid #ebebeb; }
        .seller-template .pc-head { display: flex; justify-content: space-between; align-items: center; }
        .seller-template .tc-title, .seller-template .pc-title { font-size: 12.5px; font-weight: 700; color: #0f0f0f; }
        .seller-template .pc-count { font-size: 11px; color: #bbb; }
        .seller-template .timeline { padding: 16px 20px; display: flex; flex-direction: column; gap: 0; }
        .seller-template .tl-item { display: flex; gap: 12px; padding-bottom: 18px; position: relative; }
        .seller-template .tl-item:last-child { padding-bottom: 0; }
        .seller-template .tl-item:not(:last-child)::before { content: ''; position: absolute; left: 10px; top: 22px; bottom: 0; width: 1px; background: #ebebeb; }
        .seller-template .tl-dot { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 9px; margin-top: 1px; position: relative; z-index: 1; }
        .seller-template .tl-dot.done { background: #e8f5ee; color: #1a6b3c; border: 1.5px solid #c8e0d2; }
        .seller-template .tl-dot.current { background: #fef3e2; color: #d68910; border: 1.5px solid #f5d79e; }
        .seller-template .tl-dot.pending { background: #f7f7f5; color: #bbb; border: 1.5px solid #ebebeb; }
        .seller-template .tl-label { font-size: 12px; font-weight: 600; color: #0f0f0f; margin-bottom: 2px; line-height: 1.3; }
        .seller-template .tl-label.muted { color: #bbb; font-weight: 500; }
        .seller-template .tl-time { font-size: 10.5px; color: #bbb; }
        .seller-template .postor-list { padding: 8px 0; }
        .seller-template .postor-row { display: flex; align-items: center; gap: 10px; padding: 9px 20px; transition: background .15s; }
        .seller-template .postor-row:hover { background: #f7f7f5; }
        .seller-template .postor-row.winner { background: #f5f5f5; }
        .seller-template .pr-rank { font-size: 10px; font-weight: 700; color: #bbb; width: 18px; text-align: center; flex-shrink: 0; }
        .seller-template .pr-rank.first { color: #1a6b3c; }
        .seller-template .pr-avatar { width: 26px; height: 26px; border-radius: 50%; background: #f7f7f5; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #777; flex-shrink: 0; border: 1px solid #ebebeb; }
        .seller-template .postor-row.winner .pr-avatar { background: #e8f5ee; color: #1a6b3c; border-color: #c8e0d2; }
        .seller-template .pr-name { font-size: 12px; font-weight: 600; color: #0f0f0f; flex: 1; }
        .seller-template .pr-name.muted { color: #bbb; font-weight: 400; }
        .seller-template .pr-amount { font-size: 12px; font-weight: 700; color: #0f0f0f; }
        .seller-template .pr-amount.green { color: #1a6b3c; }
        .seller-template .pr-badge { font-size: 9px; font-weight: 700; background: #1a6b3c; color: #fff; border-radius: 4px; padding: 2px 6px; margin-left: 4px; }
        .seller-template .pr-badge.skip { background: #fde8e8; color: #d63f3f; }
        .seller-template .confirm-body, .seller-template .nopay-body { padding: 32px 24px; text-align: center; }
        .seller-template .confirm-icon, .seller-template .nopay-icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 14px; }
        .seller-template .confirm-icon { background: #e8f5ee; }
        .seller-template .nopay-icon { background: #fde8e8; }
        .seller-template .confirm-title, .seller-template .nopay-title { font-size: 16px; font-weight: 800; color: #0f0f0f; margin-bottom: 7px; }
        .seller-template .confirm-sub, .seller-template .nopay-sub { font-size: 13px; color: #777; line-height: 1.65; margin-bottom: 20px; }
        .seller-template .confirm-detail { background: #e8f5ee; border: 1px solid #c8e0d2; border-radius: 8px; padding: 14px 18px; text-align: left; }
        .seller-template .cd-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border-bottom: 1px solid rgba(26,107,60,.1); }
        .seller-template .cd-row:last-child { border-bottom: none; }
        .seller-template .cd-label { font-size: 11px; color: #3d8a5e; }
        .seller-template .cd-value { font-size: 12px; font-weight: 700; color: #1a6b3c; }
        @media (max-width: 720px) {
            .seller-template .main-grid {
                display: flex !important;
                flex-direction: column !important;
            }
            .seller-template .winner-card { order: 1 !important; }
            .seller-template .sidebar {
                order: 2 !important;
                padding: 0 !important;
                margin: 32px 32px 32px 32px !important;
            }
            .seller-template .auction-header { flex-direction: column; }
            .seller-template .contact-grid { grid-template-columns: 1fr; }
            .seller-template nav { padding: 0 14px; }
            .seller-template .page { padding: 14px; }
        }

        .myauc-price-col:last-child {
            border-right: none;
        }

        .myauc-price-label {
            font-size: 8.5px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: var(--muted);
            margin-bottom: 2px;
        }

        .myauc-price-value {
            font-size: 12.5px;
            font-weight: 600;
            color: var(--ink);
            line-height: 1.25;
        }

        .myauc-price-value.green {
            color: var(--green);
        }

        .myauc-price-value.muted {
            color: var(--muted);
        }

        .myauc-note {
            font-size: 9px;
            color: var(--muted);
            margin-top: 1px;
        }

        @media (max-width: 760px) {
            .seller-winner-grid {
                grid-template-columns: 1fr;
            }
            .seller-winner-header {
                flex-direction: column;
            }
            .seller-winner-attempt {
                align-self: flex-start;
            }
            .seller-winner-offer {
                flex-direction: column;
                align-items: flex-start;
            }
            .seller-winner-offer-rank {
                text-align: left;
            }
        }



}
/* === source lines 6893-7353 === */
                        @import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800&display=swap');

                        .seller-template,
                        .seller-template *,
                        .seller-template *::before,
                        .seller-template *::after {
                            box-sizing: border-box;
                            margin: 0;
                            padding: 0;
                        }

                        .seller-template {
                            --green: #1a6b3c;
                            --green-light: #e8f5ee;
                            --green-mid: #c8e0d2;
                            --dark: #0f0f0f;
                            --mid: #888;
                            --light: #bbb;
                            --border: #ebebeb;
                            --bg: #f9f9f7;
                            --white: #ffffff;
                            --yellow: #c97d10;
                            --yellow-light: #fef6e8;
                            --red: #c0392b;
                            --red-light: #fdf0ef;
                            font-family: 'Geist', sans-serif;
                            background: var(--white);
                            color: var(--dark);
                            min-height: 100vh;
                        }

                        .seller-template nav {
                            height: 56px;
                            background: var(--white);
                            border-bottom: 1px solid var(--border);
                            display: flex;
                            align-items: center;
                            justify-content: space-between;
                            padding: 0 32px;
                            position: sticky;
                            top: 0;
                            z-index: 50;
                        }

                        .seller-template .nav-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
                        .seller-template .nav-mark { width: 28px; height: 28px; background: var(--green); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; }
                        .seller-template .nav-name { font-size: 14px; font-weight: 700; color: var(--dark); }
                        .seller-template .nav-right { display: flex; align-items: center; gap: 16px; }
                        .seller-template .nav-badge { font-size: 11px; font-weight: 600; color: var(--mid); background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 4px 10px; }
                        .seller-template .nav-avatar { width: 30px; height: 30px; background: var(--green-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--green); cursor: pointer; }

                        .seller-template .page { max-width: 900px; margin: 0 auto; padding: 32px 24px 64px; }

                        .seller-template .breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--light); margin-bottom: 24px; }
                        .seller-template .breadcrumb a { color: var(--light); text-decoration: none; }
                        .seller-template .breadcrumb a:hover { color: var(--mid); }
                        .seller-template .breadcrumb span { color: var(--mid); font-weight: 500; }

                        .seller-template .auction-header {
                            background: var(--white);
                            border: 1px solid var(--border);
                            border-radius: 12px;
                            padding: 24px 28px;
                            display: flex;
                            align-items: flex-start;
                            justify-content: space-between;
                            gap: 20px;
                            margin-bottom: 20px;
                            flex-wrap: wrap;
                        }

                        .seller-template .ah-tag { font-size: 9.5px; font-weight: 700; color: var(--mid); text-transform: uppercase; letter-spacing: 1.3px; margin-bottom: 6px; }
                        .seller-template .ah-title { font-size: 20px; font-weight: 800; color: var(--dark); letter-spacing: -.03em; margin-bottom: 8px; }
                        .seller-template .ah-meta { display: flex; gap: 20px; flex-wrap: wrap; }
                        .seller-template .ahmi-label { font-size: 9px; font-weight: 700; color: var(--light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
                        .seller-template .ahmi-value { font-size: 14px; font-weight: 700; color: var(--dark); }
                        .seller-template .ahmi-value.green { color: var(--green); }

                        .seller-template .status-badge {
                            display: inline-flex;
                            align-items: center;
                            gap: 6px;
                            padding: 6px 14px;
                            border-radius: 99px;
                            font-size: 11px;
                            font-weight: 700;
                            letter-spacing: .02em;
                        }

                        .seller-template .status-badge.finalizada { background: var(--bg); color: var(--mid); border: 1px solid var(--border); }
                        .seller-template .status-badge.pendiente { background: var(--yellow-light); color: var(--yellow); border: 1px solid #f5d79e; }
                        .seller-template .status-badge.pagada { background: var(--green-light); color: var(--green); border: 1px solid var(--green-mid); }
                        .seller-template .status-badge.sin_comprador { background: var(--red-light); color: var(--red); border: 1px solid #f5b7b7; }
                        .seller-template .status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

                        .seller-template .main-grid {
                            display: grid;
                            grid-template-columns: 1fr 340px;
                            gap: 16px;
                            align-items: start;
                        }

                        .seller-template .winner-card,
                        .seller-template .timeline-card,
                        .seller-template .postors-card {
                            background: var(--white);
                            border: 1px solid var(--border);
                            border-radius: 12px;
                            overflow: hidden;
                        }

                        .seller-template .wc-head {
                            padding: 18px 24px;
                            border-bottom: 1px solid var(--border);
                            display: flex;
                            align-items: center;
                            justify-content: space-between;
                        }

                        .seller-template .wc-head-title { font-size: 13px; font-weight: 700; color: var(--dark); }
                        .seller-template .wc-head-sub { font-size: 11.5px; color: var(--light); }
                        .seller-template .wc-attempt {
                            font-size: 10px;
                            font-weight: 700;
                            color: var(--mid);
                            background: var(--bg);
                            border: 1px solid var(--border);
                            border-radius: 6px;
                            padding: 3px 9px;
                        }

                        .seller-template .wc-body { padding: 24px; }

                        .seller-template .winner-info { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
                        .seller-template .winner-avatar {
                            width: 48px;
                            height: 48px;
                            border-radius: 50%;
                            background: var(--green-light);
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            font-size: 18px;
                            font-weight: 800;
                            color: var(--green);
                            flex-shrink: 0;
                            border: 2px solid var(--green-mid);
                        }

                        .seller-template .winner-name { font-size: 16px; font-weight: 800; color: var(--dark); letter-spacing: -.02em; }
                        .seller-template .winner-since { font-size: 11.5px; color: var(--light); margin-top: 2px; }

                        .seller-template .contact-grid {
                            display: grid;
                            grid-template-columns: 1fr 1fr;
                            gap: 1px;
                            background: var(--border);
                            border-radius: 8px;
                            overflow: hidden;
                            margin-bottom: 24px;
                        }

                        .seller-template .contact-cell { background: var(--white); padding: 14px 16px; }
                        .seller-template .contact-cell.full { grid-column: 1 / -1; }
                        .seller-template .cc-label { font-size: 9px; font-weight: 700; color: var(--light); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 4px; }
                        .seller-template .cc-value { font-size: 13.5px; font-weight: 600; color: var(--dark); }
                        .seller-template .cc-value a { color: var(--green); text-decoration: none; }
                        .seller-template .cc-value a:hover { text-decoration: underline; }

                        .seller-template .offer-highlight {
                            background: #ffffff;
                            border: 1px solid  #ccd7d0;
                            border-radius: 8px;
                            padding: 14px 18px;
                            display: flex;
                            align-items: center;
                            justify-content: space-between;
                            margin-bottom: 24px;
                        }

                        .seller-template .oh-label { font-size: 10px; font-weight: 700; color: #202221; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 3px; }
                        .seller-template .oh-amount { font-size: 26px; font-weight: 800; color: #202221; letter-spacing: -.04em; line-height: 1; }
                        .seller-template .oh-amount span { font-size: 12px; font-weight: 500; margin-left: 2px; }
                        .seller-template .oh-rank { font-size: 11px; font-weight: 600; color: #202221; }

                        .seller-template .actions { display: flex; flex-direction: column; gap: 10px; }
                        .seller-template .btn-paid {
                            font-family: 'Geist', sans-serif;
                            font-size: 13.5px;
                            font-weight: 700;
                            background: #1e201f;
                            color: #fff;
                            border: none;
                            border-radius: 9px;
                            padding: 13px;
                            cursor: pointer;
                            width: 100%;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            gap: 8px;
                            transition: background .2s, transform .15s;
                        }

                        .seller-template .btn-paid:hover { background: #1d7a45; transform: translateY(-1px); }
                        .seller-template .btn-skip {
                            font-family: 'Geist', sans-serif;
                            font-size: 13px;
                            font-weight: 600;
                            background: none;
                            color: var(--red);
                            border: 1.5px solid #f5b7b7;
                            border-radius: 9px;
                            padding: 11px;
                            cursor: pointer;
                            width: 100%;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            gap: 8px;
                            transition: background .2s, border-color .2s;
                        }

                        .seller-template .btn-skip:hover { background: var(--red-light); border-color: var(--red); }
                        .seller-template .btn-note { font-size: 11px; color: var(--light); text-align: center; line-height: 1.55; }

                        .seller-template .sidebar { display: flex; flex-direction: column; gap: 16px; }

                        .seller-template .tc-head { padding: 16px 20px; border-bottom: 1px solid var(--border); }
                        .seller-template .tc-title { font-size: 12.5px; font-weight: 700; color: var(--dark); }

                        .seller-template .timeline { padding: 16px 20px; display: flex; flex-direction: column; gap: 0; }
                        .seller-template .tl-item { display: flex; gap: 12px; padding-bottom: 18px; position: relative; }
                        .seller-template .tl-item:last-child { padding-bottom: 0; }
                        .seller-template .tl-item:not(:last-child)::before {
                            content: '';
                            position: absolute;
                            left: 10px;
                            top: 22px;
                            bottom: 0;
                            width: 1px;
                            background: var(--border);
                        }

                        .seller-template .tl-dot {
                            width: 20px;
                            height: 20px;
                            border-radius: 50%;
                            flex-shrink: 0;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            font-size: 9px;
                            margin-top: 1px;
                            position: relative;
                            z-index: 1;
                        }

                        .seller-template .tl-dot.done { background: var(--green-light); color: var(--green); border: 1.5px solid var(--green-mid); }
                        .seller-template .tl-dot.current { background: var(--yellow-light); color: var(--yellow); border: 1.5px solid #f5d79e; }
                        .seller-template .tl-dot.pending { background: var(--bg); color: var(--light); border: 1.5px solid var(--border); }
                        .seller-template .tl-label { font-size: 12px; font-weight: 600; color: var(--dark); margin-bottom: 2px; line-height: 1.3; }
                        .seller-template .tl-label.muted { color: var(--light); font-weight: 500; }
                        .seller-template .tl-time { font-size: 10.5px; color: var(--light); }

                        .seller-template .pc-head { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
                        .seller-template .pc-title { font-size: 12.5px; font-weight: 700; color: var(--dark); }
                        .seller-template .pc-count { font-size: 11px; color: var(--light); }
                        .seller-template .postor-list { padding: 8px 0; }
                        .seller-template .postor-row { display: flex; align-items: center; gap: 10px; padding: 9px 20px; transition: background .15s; }
                        .seller-template .postor-row:hover { background: var(--bg); }
                        .seller-template .postor-row.winner { background: #f4f9f6; }
                        .seller-template .pr-rank { font-size: 10px; font-weight: 700; color: var(--light); width: 18px; text-align: center; flex-shrink: 0; }
                        .seller-template .pr-rank.first { color: var(--green); }
                        .seller-template .pr-avatar {
                            width: 26px;
                            height: 26px;
                            border-radius: 50%;
                            background: var(--bg);
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            font-size: 10px;
                            font-weight: 700;
                            color: var(--mid);
                            flex-shrink: 0;
                            border: 1px solid var(--border);
                        }

                        .seller-template .postor-row.winner .pr-avatar { background: var(--green-light); color: var(--green); border-color: var(--green-mid); }
                        .seller-template .pr-name { font-size: 12px; font-weight: 600; color: var(--dark); flex: 1; }
                        .seller-template .pr-name.muted { color: var(--light); font-weight: 400; }
                        .seller-template .pr-amount { font-size: 12px; font-weight: 700; color: var(--dark); }
                        .seller-template .pr-amount.green { color: var(--green); }
                        .seller-template .pr-badge { font-size: 9px; font-weight: 700; background: var(--green); color: #fff; border-radius: 4px; padding: 2px 6px; margin-left: 4px; }
                        .seller-template .pr-badge.skip { background: var(--red-light); color: var(--red); }

                        .seller-template .confirmed-state { display: none; }
                        .seller-template .confirmed-state.show { display: block; }
                        .seller-template .winner-card .default-state.hide { display: none; }

                        .seller-template .confirm-body { padding: 40px 24px; text-align: center; }
                        .seller-template .confirm-icon {
                            width: 60px;
                            height: 60px;
                            background: var(--green-light);
                            border-radius: 50%;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            font-size: 24px;
                            margin: 0 auto 16px;
                        }

                        .seller-template .confirm-title { font-size: 18px; font-weight: 800; color: var(--dark); letter-spacing: -.03em; margin-bottom: 8px; }
                        .seller-template .confirm-sub { font-size: 13px; color: var(--mid); line-height: 1.65; margin-bottom: 24px; }
                        .seller-template .confirm-detail { background: var(--green-light); border: 1px solid var(--green-mid); border-radius: 8px; padding: 14px 18px; text-align: left; margin-bottom: 0; }
                        .seller-template .cd-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border-bottom: 1px solid rgba(26,107,60,.1); }
                        .seller-template .cd-row:last-child { border-bottom: none; }
                        .seller-template .cd-label { font-size: 11px; color: #3d8a5e; }
                        .seller-template .cd-value { font-size: 12px; font-weight: 700; color: var(--green); }

                        .seller-template .nopay-state { display: none; }
                        .seller-template .nopay-state.show { display: block; }
                        .seller-template .nopay-body { padding: 32px 24px; text-align: center; }
                        .seller-template .nopay-icon { width: 56px; height: 56px; background: var(--red-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 14px; }
                        .seller-template .nopay-icon i { font-size: 22px; color: var(--red); }
                        .seller-template .nopay-title { font-size: 16px; font-weight: 800; color: var(--dark); margin-bottom: 7px; }
                        .seller-template .nopay-sub { font-size: 13px; color: var(--mid); line-height: 1.65; margin-bottom: 20px; }
                        .seller-template .nopay-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
                        .seller-template .nopay-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 10px; font-family: 'Geist', sans-serif; font-size: 13.5px; font-weight: 700; padding: 13px 24px; text-decoration: none; cursor: pointer; transition: opacity .15s; }
                        .seller-template .nopay-btn:hover { opacity: .85; text-decoration: none; }
                        .seller-template .nopay-btn-primary { background: var(--dark); color: #fff; }
                        .seller-template .nopay-btn-ghost { background: transparent; color: var(--dark); border: 1.5px solid var(--border); }
                        .seller-template .btn-next {
                            font-family: 'Geist', sans-serif;
                            font-size: 13.5px;
                            font-weight: 700;
                            background: var(--dark);
                            color: #fff;
                            border: none;
                            border-radius: 9px;
                            padding: 13px 24px;
                            cursor: pointer;
                            width: 100%;
                            transition: background .2s;
                        }

                        .seller-template .btn-next:hover { background: #222; }

                        .seller-template .action-confirm-modal {
                            position: fixed;
                            inset: 0;
                            background: rgba(15, 15, 15, .45);
                            display: none;
                            align-items: center;
                            justify-content: center;
                            padding: 20px;
                            z-index: 999;
                        }

                        .seller-template .action-confirm-modal.is-open { display: flex; }

                        .seller-template .action-confirm-dialog {
                            width: 100%;
                            max-width: 420px;
                            background: var(--white);
                            border: 1px solid var(--border);
                            border-radius: 16px;
                            box-shadow: 0 24px 60px rgba(15, 15, 15, .18);
                            padding: 24px;
                        }

                        .seller-template .action-confirm-icon {
                            width: 52px;
                            height: 52px;
                            border-radius: 50%;
                            background: var(--bg);
                            color: var(--dark);
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            margin: 0 auto 16px;
                            font-size: 18px;
                        }

                        .seller-template .action-confirm-icon.is-danger {
                            background: var(--red-light);
                            color: var(--red);
                        }

                        .seller-template .action-confirm-title {
                            font-size: 18px;
                            font-weight: 800;
                            color: var(--dark);
                            letter-spacing: -.03em;
                            margin-bottom: 8px;
                        }

                        .seller-template .action-confirm-text {
                            font-size: 13px;
                            line-height: 1.7;
                            color: var(--mid);
                            margin-bottom: 20px;
                        }

                        .seller-template .action-confirm-actions {
                            display: flex;
                            gap: 10px;
                        }

                        .seller-template .action-confirm-cancel,
                        .seller-template .action-confirm-submit {
                            flex: 1;
                            border-radius: 10px;
                            padding: 12px 14px;
                            font-family: 'Geist', sans-serif;
                            font-size: 13px;
                            font-weight: 700;
                            cursor: pointer;
                            transition: background .2s, border-color .2s, color .2s;
                        }

                        .seller-template .action-confirm-cancel {
                            background: var(--white);
                            color: var(--dark);
                            border: 1px solid var(--border);
                        }

                        .seller-template .action-confirm-cancel:hover {
                            background: var(--bg);
                        }

                        .seller-template .action-confirm-submit {
                            background: var(--dark);
                            color: #fff;
                            border: 1px solid var(--dark);
                        }

                        .seller-template .action-confirm-submit.is-danger {
                            background: var(--red);
                            border-color: var(--red);
                        }

                        .seller-template .action-confirm-submit:hover {
                            background: #222;
                            border-color: #222;
                        }

                        .seller-template .action-confirm-submit.is-danger:hover {
                            background: #bb2f2f;
                            border-color: #bb2f2f;
                        }

                        @media (max-width: 720px) {
                            .seller-template .sidebar { order: 2 !important; }
                            .seller-template .auction-header { flex-direction: column; }
                            .seller-template .contact-grid { grid-template-columns: 1fr; }
                        }
/* === source lines 8431-8511 === */
      .notif-list { display:flex; flex-direction:column; gap:0; }
      .notif-item {
          display:flex; align-items:flex-start; gap:14px;
          padding:16px 20px;
          border-bottom:1px solid var(--border-soft);
          transition: background .12s ease;
      }
      .notif-item:last-child { border-bottom:none; }
      .notif-item:hover { background:var(--cream); }
      .notif-icon {
          width:40px; height:40px; border-radius:50%;
          display:flex; align-items:center; justify-content:center;
          flex-shrink:0; font-size:16px;
      }
      .notif-thumb {
          width:40px; height:40px; border-radius:8px;
          object-fit:cover; flex-shrink:0;
          border:1px solid var(--border-soft);
      }
      .notif-content { flex:1; min-width:0; }
      .notif-title { font-size:13.5px; font-weight:700; color:var(--ink); margin-bottom:3px; }
      .notif-body  { font-size:12.5px; color:var(--muted); line-height:1.55; }
      .notif-body strong { color:var(--ink); }
      .notif-body em { font-style:normal; color:var(--ink); font-weight:600; }
      .notif-time  { font-size:11px; color:var(--muted); margin-top:5px; }
      .notif-cta   { font-size:11.5px; font-weight:600; color:var(--green); text-decoration:none; }
      .notif-cta:hover { text-decoration:underline; }
      @media(max-width:600px){
          .notif-item { padding:14px 16px; gap:10px; }
          .notif-icon,.notif-thumb { width:34px; height:34px; font-size:14px; }
      }
      .notif-nav-badge {
          display:inline-flex; align-items:center; justify-content:center;
          min-width:18px; height:18px; padding:0 5px;
          background:#e84040; color:#fff;
          font-size:10px; font-weight:800; line-height:1;
          border-radius:20px; vertical-align:middle; flex-shrink:0;
          box-shadow:0 1px 4px rgba(232,64,64,.35);
      }
            .notif-filter-row {
                    display:flex; flex-wrap:wrap; gap:8px;
                    margin:0 0 14px;
            }
            .notif-filter-chip {
                    display:inline-flex; align-items:center; gap:6px;
                    border:1px solid var(--border-soft);
                    border-radius:999px;
                    padding:7px 12px;
                    font-size:12px; font-weight:600;
                    color:var(--muted); text-decoration:none;
                    background:#fff;
            }
            .notif-filter-chip:hover { border-color:var(--green); color:var(--green); }
            .notif-filter-chip.active {
                    border-color:var(--green);
                    background:var(--green-ghost);
                    color:var(--green);
            }
            .notif-filter-chip .count {
                    background:rgba(0,0,0,.06);
                    border-radius:999px;
                    padding:1px 6px;
                    font-size:10.5px;
                    font-weight:700;
                    line-height:1.3;
            }
            .notif-item.unread {
                    background:#fbfefc;
                    border-left:3px solid var(--green);
                    padding-left:17px;
            }
            .notif-unread-dot {
                    width:8px; height:8px;
                    border-radius:50%;
                    background:var(--green);
                    display:inline-block;
                    margin-left:7px;
                    vertical-align:middle;
            }
/* === source lines 8635-8650 === */
            .settings-grid { display:grid; gap:14px; }
            .settings-check-list { display:grid; gap:10px; }
            .settings-check {
                display:flex; align-items:flex-start; gap:10px;
                padding:10px 12px;
                border:1px solid var(--border-soft);
                border-radius:10px;
                background:#fff;
            }
            .settings-check input[type="checkbox"] { margin-top:2px; accent-color: var(--green); }
            .settings-check-title { font-size:13px; font-weight:600; color:var(--ink); }
            .settings-check-help { font-size:11.5px; color:var(--muted); margin-top:2px; }
            .settings-actions { display:flex; flex-wrap:wrap; gap:10px; }
            @media(max-width:600px){ .settings-actions .panel-btn { width:100%; justify-content:center; } }
/* === source lines 8817-8960 === */
    .dash-section-title {
        font-size:13px; font-weight:700; color:var(--muted);
        letter-spacing:.06em; text-transform:uppercase;
        margin:28px 0 12px;
        padding:11px 11px 11px 11px;
    }
    .dash-stats-grid {
        display:grid;
        grid-template-columns: repeat(auto-fill, minmax(160px,1fr));
        gap:12px;
        margin-bottom:4px;
        padding:11px 11px 11px 11px;
    }
    .dash-stat {
        background:#fff;
        border:1px solid var(--border-soft);
        border-radius:12px;
        padding:18px 16px 14px;
        display:flex; flex-direction:column; gap:6px;
    }
    .dash-stat-icon {
        width:34px; height:34px; border-radius:9px;
        display:flex; align-items:center; justify-content:center;
        font-size:15px; margin-bottom:4px;
    }
    .dash-stat-icon.green  { background:#e6f7ee; color:#1a7a48; }
    .dash-stat-icon.blue   { background:#eff6ff; color:#1d4ed8; }
    .dash-stat-icon.orange { background:#fff8e6; color:#9a6c00; }
    .dash-stat-icon.purple { background:#f5f3ff; color:#6d28d9; }
    .dash-stat-icon.red    { background:#fff1f1; color:#dc2626; }
    .dash-stat-icon.muted  { background:#f3f4f6; color:#6b7280; }
    .dash-stat-val  { font-size:26px; font-weight:800; color:var(--ink); line-height:1; }
    .dash-stat-label{ font-size:12px; color:var(--muted); font-weight:500; }
    .dash-stat-sub  { font-size:11px; color:var(--muted); }

    .dash-two-col {
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:16px;
        margin-top:4px;
    }
    @media(max-width:820px){ .dash-two-col { grid-template-columns:1fr; } }

    .dash-card {
        background:#fff;
        border:1px solid var(--border-soft);
        border-radius:12px;
        overflow:hidden;
    }
    .dash-card-head {
        padding:14px 18px 10px;
        border-bottom:1px solid var(--border-soft);
        display:flex; align-items:center; justify-content:space-between;
    }
    .dash-card-head-title { font-size:13.5px; font-weight:700; color:var(--ink); }
    .dash-card-head a { font-size:11.5px; color:var(--green); font-weight:600; text-decoration:none; }
    .dash-card-head a:hover { text-decoration:underline; }

    .dash-pending-row {
        display:flex; align-items:center; gap:12px;
        padding:10px 18px;
        border-bottom:1px solid var(--border-soft);
        transition:background .12s;
    }
    .dash-pending-row:last-child { border-bottom:none; }
    .dash-pending-row:hover { background:var(--cream); }
    .dash-pending-thumb {
        width:38px; height:38px; border-radius:7px;
        object-fit:cover; flex-shrink:0;
        border:1px solid var(--border-soft);
    }
    .dash-pending-title { font-size:12.5px; font-weight:600; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:160px; }
    .dash-pending-meta  { font-size:11px; color:var(--muted); }
    .dash-pending-actions { margin-left:auto; flex-shrink:0; }
    .dash-approve-btn {
        background:var(--green); color:#fff;
        border:none; border-radius:6px;
        font-size:11px; font-weight:700;
        padding:4px 10px; cursor:pointer;
        text-decoration:none; display:inline-block;
        transition:background .15s;
    }
    .dash-approve-btn:hover { background:#158044; }

    .dash-bid-row {
        display:flex; align-items:center; gap:10px;
        padding:9px 18px;
        border-bottom:1px solid var(--border-soft);
    }
    .dash-bid-row:last-child { border-bottom:none; }
    .dash-bid-avatar {
        width:30px; height:30px; border-radius:50%;
        background:var(--green-ghost); color:var(--green);
        display:flex; align-items:center; justify-content:center;
        font-size:12px; font-weight:700; flex-shrink:0; overflow:hidden;
    }
    .dash-bid-avatar img {
        width:100%; height:100%; object-fit:cover; border-radius:50%;
    }
    .dash-bid-info { flex:1; min-width:0; }
    .dash-bid-name  { font-size:12px; font-weight:600; color:var(--ink); }
    .dash-bid-auc   { font-size:11px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:180px; }
    .dash-bid-amt   { font-size:13px; font-weight:700; color:var(--green); flex-shrink:0; }
    .dash-bid-time  { font-size:10.5px; color:var(--muted); flex-shrink:0; }

    .dash-top-row {
        display:flex; align-items:center; gap:10px;
        padding:9px 18px;
        border-bottom:1px solid var(--border-soft);
    }
    .dash-top-row:last-child { border-bottom:none; }
    .dash-top-rank  { font-size:13px; font-weight:800; color:var(--muted); width:20px; flex-shrink:0; text-align:center; }
    .dash-top-thumb { width:34px; height:34px; border-radius:6px; object-fit:cover; flex-shrink:0; border:1px solid var(--border-soft); }
    .dash-top-info  { flex:1; min-width:0; }
    .dash-top-title { font-size:12px; font-weight:600; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .dash-top-meta  { font-size:11px; color:var(--muted); }
    .dash-top-bids  { font-size:12px; font-weight:700; color:var(--ink-mid); flex-shrink:0; }

    .dash-quick-grid {
        display:grid;
        grid-template-columns: repeat(auto-fill, minmax(140px,1fr));
        gap:10px;
        margin-top:4px;
        padding:11px 11px 11px 11px;
    }
    .dash-quick-btn {
        background:#fff; border:1px solid var(--border-soft);
        border-radius:11px; padding:14px 14px 12px;
        display:flex; flex-direction:column; align-items:center; gap:8px;
        text-decoration:none; transition:border-color .15s, box-shadow .15s;
        cursor:pointer;
    }
    .dash-quick-btn:hover { border-color:var(--green); box-shadow:0 0 0 3px rgba(26,122,72,.08); }
    .dash-quick-btn i { font-size:20px; color:var(--green); }
    .dash-quick-btn span { font-size:11.5px; font-weight:600; color:var(--ink); text-align:center; }

    .dash-badge-pending {
        background:#fff8e6; color:#9a6c00;
        font-size:10.5px; font-weight:700;
        padding:2px 7px; border-radius:20px;
        display:inline-block;
    }
/* === source lines 9316-10335 === */
body {
    background: #ffffff;
    background-image: none;
}
footer.footer-area,
#scroll-top,
.search-popup,
.preloader {
    display: none !important;
}
header.header {
    display: block !important;
}
.header-top {
    display: none !important;
}
main.main {
    min-height: auto;
}
.auth-shell .auth-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 26px;
    align-items: stretch;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}
.auth-shell.login-view {
    min-height: calc(100vh - 150px);
    display: flex;
    align-items: center;
    background: #ffffff;
}
.auth-shell.register-view {
    background: #ffffff;
}
.auth-shell.login-view .container {
    width: 100%;
}
.auth-shell.login-view .auth-layout {
    grid-template-columns: minmax(0, 620px) minmax(560px, 1fr);
    justify-content: center;
    align-items: stretch;
}
.auth-shell.register-view .auth-layout {
    grid-template-columns: minmax(0, 2fr) minmax(620px, 1fr);
    max-width: 1200px;
    margin: 0 auto;
}
.auth-shell .auth-left-card {
    background-color: #e9ecef;
    background-image:
        linear-gradient(0deg, rgba(17, 19, 21, 0.18), rgba(17, 19, 21, 0.18)),
        url('../assets/img/banner/inicio-sesion.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    min-height: 100%;
    position: relative;
    overflow: hidden;
}
.auth-shell .auth-left-card::before {
    content: none;
}
.auth-shell .auth-left-inner {
    display: none;
}
.auth-shell .auth-left-kicker {
    margin: 0 0 10px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6c757d;
    font-weight: 700;
}
.auth-shell .auth-left-title {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.2;
    color: #111315;
    font-weight: 800;
}
.auth-shell .auth-left-text {
    margin: 0;
    color: #4b535a;
    font-size: 14px;
    line-height: 1.75;
}
.auth-shell .auth-card {
    display: block;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: hidden;
    position: relative;
    border-radius: 0;
    transform: translateY(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    animation: authCardIn .45s ease-out;
}
@keyframes authCardIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.99);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.auth-shell .auth-card::before {
    content: none;
}
.auth-shell .auth-card:hover {
    transform: none;
    box-shadow: none;
}
.auth-shell .auth-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 18px;
    line-height: 1;
    z-index: 3;
    transition: all 0.25s ease;
}
.auth-shell .auth-close:hover {
    color: #111315;
    border-color: rgba(0, 0, 0, 0.25);
    transform: scale(1.05);
}
.auth-shell .auth-panel {
    display: none !important;
}
.auth-shell .auth-panel > * {
    position: relative;
    z-index: 1;
}
.auth-shell .auth-panel::before,
.auth-shell .auth-panel::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    pointer-events: none;
}
.auth-shell .auth-panel::before {
    width: 220px;
    height: 220px;
    right: -70px;
    bottom: -70px;
}
.auth-shell .auth-panel::after {
    width: 130px;
    height: 130px;
    right: 22px;
    bottom: 26px;
    opacity: 0.55;
}
.auth-shell .auth-brand {
    font-size: 26px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 700;
}
.auth-shell .auth-tagline {
    margin: 0;
    font-size: 12px;
    opacity: 0.75;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.auth-shell .auth-quote {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.72;
    max-width: 210px;
}
.auth-shell .auth-form-area {
    padding: 42px 40px;
    background: #fff;
}
.auth-shell .auth-title {
    margin-bottom: 6px;
    font-weight: 700;
    text-align: center;
    font-size: 36px;
    line-height: 1.2;
}
.auth-shell .auth-subtitle {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 22px;
    text-align: center;
}
.auth-shell .auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.auth-shell .auth-field {
    margin-bottom: 14px;
}
.auth-shell .auth-label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6c757d;
    margin-bottom: 6px;
    font-weight: 600;
    transition: color 0.2s ease;
}
.auth-shell .auth-input-wrap {
    position: relative;
}
.auth-shell .auth-input-wrap:focus-within + .auth-field-msg,
.auth-shell .auth-field:focus-within .auth-label {
    color: #111315;
}
.auth-shell .auth-input-wrap .form-control {
    border: 0;
    border-bottom: 1px solid #dee2e6;
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
    background: transparent;
    transition: border-color 0.25s ease, color 0.25s ease;
}
.auth-shell .auth-input-wrap .form-control:focus {
    box-shadow: none;
    border-color: #111315;
}
.auth-shell .auth-input-wrap .form-control:hover {
    border-color: #c9cdd2;
}
.auth-shell .auth-input-wrap .form-control.field-error,
.auth-shell .auth-input-wrap select.form-control.field-error {
    border-bottom-color: #dc3545 !important;
}
.auth-shell .auth-input-wrap .form-control.field-ok,
.auth-shell .auth-input-wrap select.form-control.field-ok {
    border-bottom-color: #198754 !important;
}
.auth-shell .auth-field-msg {
    display: block;
    min-height: 16px;
    margin-top: 4px;
    font-size: 12px;
    color: #dc3545;
}
.auth-shell .auth-input-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: #111315;
    transition: width 0.3s ease;
}
.auth-shell .auth-input-wrap:focus-within::after {
    width: 100%;
}
.auth-shell .auth-input-wrap .form-control.with-eye {
    padding-right: 36px;
}
.auth-shell .auth-input-wrap .form-control::placeholder {
    color: #b8b8b8;
    opacity: 1;
}
.auth-shell .auth-input-wrap select.form-control {
    color: #b8b8b8;
}
.auth-shell .auth-input-wrap select.form-control.has-value {
    color: #111315;
}
.auth-shell .auth-input-wrap select.form-control option {
    color: #111315;
}
.auth-shell .auth-input-wrap select.form-control option[value=""] {
    color: #b8b8b8;
}
.auth-shell .auth-eye-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #6c757d;
    padding: 4px;
    line-height: 1;
}
.auth-shell .auth-eye-btn:hover {
    color: #111315;
}
.auth-shell .auth-help {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 12px;
    padding: 10px 12px;
    border: 1px dashed rgba(17, 19, 21, 0.18);
    border-radius: 8px;
    background: rgba(17, 19, 21, 0.02);
}
.auth-shell .auth-check-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 10px 0 16px;
}
.auth-shell .auth-check-row input[type="checkbox"] {
    margin-top: 4px;
    accent-color: #111315;
}
.auth-shell .auth-check-row.field-error input[type="checkbox"] {
    accent-color: #dc3545;
}
.auth-shell .auth-check-row label {
    margin: 0;
    font-size: 13px;
    color: #6c757d;
    line-height: 1.6;
}
.auth-shell .auth-check-row.field-error label,
.auth-shell .auth-check-row.field-error a {
    color: #dc3545;
}
.auth-shell .auth-check-row a {
    font-weight: 600;
}
.auth-shell .auth-label-opt,
.mobile-label-opt {
    font-weight: 400;
    font-size: 11px;
    color: #9ca3af;
    letter-spacing: .02em;
}
.auth-shell .auth-field-nickname-wrap { margin-top: 4px; }
.auth-shell .auth-field-hint {
    margin: 5px 0 0;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
}
.auth-shell .auth-check-nickname {
    margin-top: 6px;
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    padding: 10px 12px;
}
.auth-shell .auth-check-sub {
    font-size: 11px;
    color: #9ca3af;
}

/* Mobile nickname */
.mobile-auth-shell .mobile-field-hint {
    margin: 4px 0 0;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
}
.mobile-auth-shell .mobile-check-nickname {
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 14px;
}
.mobile-auth-shell .mobile-check-sub {
    font-size: 11px;
    color: #9ca3af;
    display: block;
    margin-top: 2px;
}

.auth-shell .auth-submit {
    width: 100%;
    min-height: 48px;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.auth-shell .auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}
.auth-shell .auth-submit:active {
    transform: translateY(0);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.14);
}
.auth-shell .auth-alt {
    margin-top: 16px;
    margin-bottom: 0;
    font-size: 14px;
    color: #6c757d;
}
.auth-shell .auth-forgot {
    text-align: right;
    margin: 4px 0 16px;
}
.auth-shell .auth-forgot a {
    font-size: 13px;
    color: #6c757d;
    font-weight: 600;
    text-decoration: none;
}
.auth-shell .auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0 12px;
    color: #9aa2ab;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.auth-shell .auth-divider::before,
.auth-shell .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e3e6ea;
}
.auth-shell .auth-google-btn {
    width: 100%;
    border: 1px solid #d6dae0;
    border-radius: 8px;
    background: #fff;
    color: #1f2933;
    font-weight: 600;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.auth-shell .auth-google-btn:hover {
    border-color: #c3c9d1;
    background: #f7f7f7;
    color: #111315;
    transform: translateY(-1px);
}
.auth-shell .auth-card.login-mode .auth-form-area {
    padding: 46px 44px;
}
.auth-shell.login-view .auth-card.login-mode {
    min-height: 500px;
}
.auth-shell .auth-card.login-mode .auth-field {
    margin-bottom: 18px;
}
.auth-shell .auth-right-wrap {
    display: flex;
}
.auth-shell .auth-right-wrap .auth-card {
    width: 100%;
}
.auth-shell.login-view .auth-right-wrap .auth-form-area {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.auth-shell .auth-alt a {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.auth-shell .alert {
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.08);
    font-size: 13px;
    padding: 12px 14px;
}
.auth-shell .auth-success-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(17, 19, 21, 0.48);
    z-index: 9999;
    padding: 18px;
}
.auth-shell .auth-success-modal.is-open {
    display: flex;
}
.auth-success-banner {
    display: none;
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    border-left: 4px solid #86efac;
    color: #166534;
    padding: 16px 20px;
    border-radius: 6px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.12);
    animation: slideDown 0.3s ease-out;
}
.auth-success-banner.is-visible {
    display: block;
}
.auth-success-banner strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
    font-weight: 700;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.auth-shell.shop-single.py-90 {
    width: 100%;
    padding: 44px 0 24px !important;
}
.auth-shell .container {
    max-width: 1200px;
}
.auth-shell.register-view .container {
    max-width: 1500px;
}
@media (max-width: 991.98px) {
    .auth-shell.shop-single.py-90 {
        padding-top: 20px !important;
    }
    .auth-shell .auth-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .auth-shell.login-view {
        min-height: auto;
        display: block;
    }
    .auth-shell.login-view .auth-layout {
        grid-template-columns: 1fr;
    }
    .auth-shell.login-view .auth-left-card,
    .auth-shell.login-view .auth-right-wrap .auth-card {
        height: auto;
    }
    .auth-shell .auth-layout {
        border-radius: 18px;
    }
    .auth-shell .auth-left-card {
        border-radius: 0;
        min-height: 220px;
    }
    .auth-shell .auth-panel {
        display: none;
    }
    .auth-shell .auth-form-area {
        padding: 30px 22px;
    }
    .auth-shell .auth-title {
        font-size: 30px;
    }
}
@media (max-width: 767.98px) {
    .auth-shell .auth-grid {
        grid-template-columns: 1fr;
    }
    .auth-shell .auth-title {
        font-size: 27px;
        line-height: 1.25;
    }
}

/* Mejoras responsive adicionales */
@media (max-width: 576px) {
    .auth-shell.shop-single.py-90 {
        padding: 20px 0 !important;
    }
    .auth-shell .auth-card {
        padding: 0;
    }
    .auth-shell .auth-form-area {
        padding: 20px 15px;
    }
    .auth-shell .auth-title {
        font-size: 24px;
    }
    .auth-shell .auth-subtitle {
        font-size: 14px;
    }
    .auth-shell .auth-field label {
        font-size: 13px;
    }
    .auth-shell .auth-field input,
    .auth-shell .auth-field select {
        font-size: 14px;
        padding: 10px 12px;
    }
    .auth-shell .theme-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .auth-shell .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .auth-shell .auth-layout {
        border-radius: 12px;
    }
    .auth-shell .auth-left-card {
        min-height: 180px;
    }
}

/* ══════════════════════════════════════════════════════════════ */
/* MOBILE-ONLY AUTHENTICATION INTERFACE                           */
/* ══════════════════════════════════════════════════════════════ */
.mobile-auth-shell {
    display: none;
}

@media (max-width: 768px) {
    .auth-shell {
        display: none !important;
    }

    .mobile-auth-shell {
        --m-green: #1a6b3c;
        --m-dark: #111111;
        --m-border: #e5e7eb;
        --m-gray: #9ca3af;
        --m-mid: #6b7280;
        display: block;
        background: #ffffff;
        min-height: 100vh;
        font-family: 'DM Sans', sans-serif;
    }

    .mobile-screen {
        background: #fff;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .mobile-status {
        padding: 14px 26px 0;
        display: flex;
        justify-content: space-between;
    }

    .mobile-status-time {
        font-size: 15px;
        font-weight: 700;
        color: var(--m-dark);
        font-family: 'DM Mono', monospace;
    }

    .mobile-status-icons {
        font-size: 11px;
        color: var(--m-dark);
    }

    .mobile-nav {
        padding: 8px 20px 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #f0f0f0;
    }

    .mobile-nav-logo {
        display: flex;
        align-items: center;
        gap: 7px;
        text-decoration: none;
    }

    .mobile-nav-mark {
        width: 28px;
        height: 28px;
        background: var(--m-green);
        border-radius: 7px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 13px;
    }

    .mobile-nav-name {
        font-size: 15px;
        font-weight: 700;
        color: var(--m-green);
    }

    .mobile-hamburger {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .mobile-hamburger span {
        display: block;
        height: 1.5px;
        background: var(--m-dark);
        border-radius: 2px;
    }

    .mobile-hamburger span:nth-child(1) { width: 20px; }
    .mobile-hamburger span:nth-child(2) { width: 14px; }
    .mobile-hamburger span:nth-child(3) { width: 17px; }

    .mobile-auth-body {
        flex: 1;
        padding: 85px 40px 4px;
        display: flex;
        flex-direction: column;
    }

    .mobile-auth-body.is-register {
        padding: 45px 40px 4px;
    }

    .mobile-auth-head {
        margin-bottom: 24px;
    }

    .mobile-auth-title {
        font-size: 28px;
        font-weight: 700;
        color: var(--m-dark);
        letter-spacing: -1px;
        line-height: 1.1;
        margin-bottom: 7px;
    }

    .mobile-auth-desc {
        font-size: 13px;
        color: var(--m-mid);
        line-height: 1.5;
    }

    .mobile-card {
        background: #fff;
        position: relative;
    }

    .mobile-field,
    .mobile-field-row {
        margin-bottom: 14px;
    }

    .mobile-field-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .mobile-label {
        display: block;
        font-size: 10.5px;
        font-weight: 700;
        color: var(--m-dark);
        text-transform: uppercase;
        letter-spacing: .7px;
        margin-bottom: 6px;
    }

    .mobile-input,
    .mobile-select {
        width: 100%;
        padding: 12px 14px;
        border: 1.5px solid var(--m-border);
        border-radius: 9px;
        background: #fff;
        color: var(--m-dark);
        font-family: 'DM Sans', sans-serif;
        font-size: 14px;
        outline: none;
        -webkit-appearance: none;
        appearance: none;
        transition: border-color .15s;
    }

    .mobile-input:focus,
    .mobile-select:focus {
        border-color: var(--m-dark);
    }

    .mobile-input.filled {
        background: #fafafa;
        border-color: #dddddd;
    }

    .mobile-input.field-error {
        border: 0 !important;
        border-bottom: 2px solid #dc2626 !important;
        border-radius: 0 !important;
        background: transparent !important;
    }

    .mobile-input-wrap {
        position: relative;
    }

    .mobile-input-wrap .mobile-input {
        padding-right: 40px;
    }

    .mobile-eye-btn {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        font-size: 14px;
        color: var(--m-gray);
    }

    .mobile-forgot {
        text-align: right;
        margin: 4px 0 20px;
    }

    .mobile-forgot a {
        font-size: 12px;
        color: var(--m-mid);
        font-weight: 600;
        text-decoration: none;
    }

    .mobile-divider-or {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0 0 14px;
        font-size: 11px;
        color: var(--m-gray);
        font-weight: 600;
    }

    .mobile-divider-or::before,
    .mobile-divider-or::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--m-border);
    }

    .mobile-btn-primary {
        width: 100%;
        padding: 14px;
        background: var(--m-green);
        color: white;
        border: none;
        border-radius: 10px;
        font-family: 'DM Sans', sans-serif;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: .2px;
        cursor: pointer;
        margin-bottom: 18px;
    }

    .mobile-btn-primary:hover {
        background: #155530;
    }

    .mobile-btn-google {
        width: 100%;
        padding: 12px 16px;
        background: #fff;
        border: 1.5px solid var(--m-border);
        border-radius: 10px;
        font-family: 'DM Sans', sans-serif;
        font-size: 13.5px;
        font-weight: 600;
        color: var(--m-dark);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-decoration: none;
        margin-bottom: 24px;
    }

    .mobile-btn-google:hover {
        border-color: #d1d5db;
    }

    .mobile-pwd-hint {
        font-size: 10.5px;
        color: var(--m-mid);
        margin-top: 6px;
    }

    .mobile-check-row {
        display: flex;
        align-items: flex-start;
        gap: 9px;
        margin: 14px 0 18px;
        font-size: 11.5px;
        color: var(--m-mid);
        line-height: 1.55;
    }

    .mobile-check-row input[type="checkbox"] {
        width: 17px;
        height: 17px;
        margin-top: 1px;
        border: 1.5px solid var(--m-border);
        border-radius: 4px;
        flex-shrink: 0;
        cursor: pointer;
    }

    .mobile-check-row.field-error input[type="checkbox"] {
        accent-color: #dc2626;
    }

    .mobile-check-row.field-error,
    .mobile-check-row.field-error label,
    .mobile-check-row.field-error a {
        color: #dc2626;
    }

    .mobile-check-row a {
        color: var(--m-dark);
        font-weight: 600;
        text-decoration: none;
    }

    .mobile-footer-link {
        text-align: center;
        font-size: 13px;
        color: var(--m-mid);
        margin-top: auto;
    }

    .mobile-footer-link a {
        color: var(--m-dark);
        font-weight: 700;
        text-decoration: none;
        border-bottom: 1.5px solid var(--m-dark);
    }

    .mobile-auth-bottom-nav {
        background: #fff;
        border-top: 1px solid #f0f0f0;
        display: flex;
        padding: 8px 0 22px;
        flex-shrink: 0;
    }

    .mobile-auth-bottom-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        text-decoration: none;
        color: var(--m-gray);
    }

    .mobile-auth-bottom-item i {
        font-size: 17px;
        color: var(--m-gray);
    }

    .mobile-auth-bottom-item span {
        font-size: 9.5px;
        font-weight: 600;
    }

    .mobile-auth-bottom-item.is-active i,
    .mobile-auth-bottom-item.is-active span {
        color: var(--m-green);
    }

    .mobile-auth-bottom-item.is-login i {
        color: var(--m-green);
    }

    .alert-warning {
        background: #fffbeb;
        border: 1px solid #fef3c7;
        border-radius: 8px;
        padding: 12px;
        font-size: 14px;
        color: #92400e;
        margin-bottom: 16px;
    }

    .mobile-alert {
        background: #fef2f2;
        border: 1px solid #fee2e2;
        border-radius: 8px;
        padding: 12px;
        font-size: 12px;
        color: #991b1b;
        margin-bottom: 16px;
    }

    .mobile-alert.alert-success {
        background: #f0fdf4;
        border-color: #dcfce7;
        color: #166534;
    }

    @media (max-width: 380px) {
        .mobile-auth-body {
            padding: 85px 40px 4px;
        }

        .mobile-auth-body.is-register {
            padding: 45px 40px 4px;
        }

        .mobile-field-row {
            grid-template-columns: 1fr;
            gap: 0;
        }
    }
}

/* ── Phone Bidder Gate ─────────────────────────────────────────────────────── */
.phone-bidder-gate {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 40px 16px;
}

.phone-bidder-gate-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px 36px 32px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
}

.phone-bidder-gate-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(26, 107, 60, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 26px;
    color: #1a6b3c;
}

.phone-bidder-gate-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 10px;
    line-height: 1.3;
}

.phone-bidder-gate-msg {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 24px;
}

.phone-bidder-gate-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.phone-bidder-gate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .18s, transform .15s;
}

.phone-bidder-gate-btn--primary {
    background: #1a6b3c;
    color: #fff;
}
.phone-bidder-gate-btn--primary:hover {
    background: #155c32;
    color: #fff;
    transform: translateY(-1px);
}

.phone-bidder-gate-btn--secondary {
    background: #f3f4f6;
    color: #374151;
}
.phone-bidder-gate-btn--secondary:hover {
    background: #e5e7eb;
    color: #111827;
}

.phone-bidder-gate-note {
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.phone-bidder-gate-note i {
    color: #22c55e;
}

@media (max-width: 480px) {
    .phone-bidder-gate-card {
        padding: 28px 20px 24px;
    }
    .phone-bidder-gate-title {
        font-size: 17px;
    }
}

/* ════════════════════════════════════════════════════════════════
   CREAR SUBASTA — vista mobile single-page (sin wizard) + Quill responsive
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Ocultar definitivamente la barra de pasos y los botones siguiente/atrás */
    .panel-create-mobile-steps,
    #create-auction-next-mobile,
    #create-auction-back-mobile {
        display: none !important;
    }

    /* Cards no se esconden — todas visibles, una bajo la otra */
    .panel-create-mobile-view .panel-create-card {
        display: block !important;
        margin: 12px 12px 14px !important;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    /* Contenedor general del form no se desborda */
    #create-auction-form {
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    .panel-create-mobile-view {
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    /* ─── Quill editor responsive ─── */
    #editor-container {
        max-width: 100% !important;
        min-width: 0;
        box-sizing: border-box;
        overflow: hidden;
    }
    #editor-container .ql-toolbar {
        max-width: 100%;
        flex-wrap: wrap;
        box-sizing: border-box;
    }
    #editor-container .ql-container {
        max-width: 100%;
        box-sizing: border-box;
    }
    #editor-container .ql-editor {
        max-width: 100%;
        word-break: break-word;
        overflow-wrap: anywhere;
        white-space: pre-wrap;
        box-sizing: border-box;
    }
    /* Inputs y selects que no rebasen el ancho del padre */
    .panel-create-mobile-view .panel-form-input,
    .panel-create-mobile-view input,
    .panel-create-mobile-view select,
    .panel-create-mobile-view textarea {
        max-width: 100%;
        box-sizing: border-box;
    }
    /* Botón Finalizar siempre visible al final */
    #create-auction-submit {
        display: inline-flex !important;
        flex: 1;
    }
}

/* Tablet/desktop: aseguro que el Quill tampoco se rompa al pegar texto largo */
#editor-container .ql-editor {
    word-break: break-word;
    overflow-wrap: anywhere;
}
