/* Swiper Notion — Panel de revisión */

#swiper-panel {
  width: 70vw;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 0 48px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #111;
}

/* ---------- Estados ---------- */
#sn-loading,#sn-no-token,#sn-error,#sn-done {
  text-align: center; padding: 60px 24px; color: #64748b;
}
.sn-spinner {
  width: 36px; height: 36px;
  border: 3px solid #e2e8f0; border-top-color: #111;
  border-radius: 50%; animation: sn-spin .7s linear infinite; margin: 0 auto 16px;
}
@keyframes sn-spin { to { transform: rotate(360deg) } }
#sn-loading p,#sn-no-token p,#sn-error p,#sn-done p { margin: 0 0 8px; font-size: 15px; line-height: 1.5 }
.sn-state-icon { font-size: 40px; margin-bottom: 12px; display: block }
.sn-done-title { font-size: 22px; font-weight: 700; color: #111; margin-bottom: 6px !important }
#sn-retry-btn {
  display: inline-flex; margin-top: 16px; background: #111; color: #fff;
  border: none; border-radius: 10px; padding: 11px 22px;
  font-size: 14px; font-weight: 600; cursor: pointer;
}

/* ---------- Account tabs ---------- */
#sn-account-bar { margin-bottom: 20px; padding: 0 12px; }
#sn-account-tabs {
  display: flex; gap: 6px;
  background: #f1f5f9; border-radius: 12px; padding: 4px;
}
#swiper-panel .sn-tab {
  flex: 1; display: flex !important; align-items: center !important; justify-content: center !important;
  gap: 6px; padding: 9px 12px; background: transparent !important; border: none !important;
  border-radius: 9px; font-family: inherit; font-size: 13px; font-weight: 500;
  color: #64748b; cursor: pointer; white-space: nowrap; transition: all .15s;
}
#swiper-panel .sn-tab:hover:not(.sn-tab-active) { background: #e2e8f0 !important; color: #334155 }
#swiper-panel .sn-tab-active {
  background: #fff !important; color: #111 !important;
  font-weight: 700; box-shadow: 0 1px 4px rgba(0,0,0,.1);
}
.sn-tab-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px;
  background: #e0e7ff; color: #4338ca;
  font-size: 11px; font-weight: 700; border-radius: 99px;
}
#swiper-panel .sn-tab-active .sn-tab-count { background: #111; color: #fff }

/* ---------- Contador ---------- */
#sn-counter {
  text-align: center; font-size: 11px; color: #aaa;
  margin-bottom: 14px; letter-spacing: .06em; text-transform: uppercase;
}

/* ---------- CARD ---------- */
#swiper-panel .sn-card {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
  margin: 0 12px;
}

/* Topbar con navegación */
#swiper-panel .sn-card-topbar {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end ;
  padding: 12px 16px 0;
}

/* Navegación */
#swiper-panel .sn-nav {
  display: flex !important; align-items: center !important; gap: 6px !important;
}
#swiper-panel .sn-nav-index {
  font-size: 12px; color: black; min-width: 40px; text-align: center;
}
#swiper-panel .sn-nav-btn {
  display: flex !important; align-items: center !important; justify-content: center !important;
  width: 28px !important; height: 28px !important;
  background: #f5f5f5 !important; border: 1px solid #e8e8e8 !important;
  border-radius: 8px !important; cursor: pointer; color: #555; padding: 0 !important;
  transition: background .15s;
}
#swiper-panel .sn-nav-btn:hover:not(:disabled) { background: #ebebeb !important; color: #111 }
#swiper-panel .sn-nav-btn:disabled { opacity: .3; cursor: not-allowed }

/* Layout dos columnas */
#swiper-panel .sn-card-body-split {
  display: flex !important;
  align-items: stretch !important;
  height: calc(100vh - 180px); /* ocupa toda la pantalla menos topbar/tabs/counter */
  min-height: 500px;
  max-height: 900px;
}

/* Columna izquierda: media */
#swiper-panel .sn-col-media {
  flex: 0 0 42%;
  max-width: 42%;
  overflow: hidden;
  border-right: 1px solid #f0f0f0;
  height: 100%;
}

/* Columna derecha: info */
#swiper-panel .sn-col-info {
  flex: 1;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

#swiper-panel .sn-col-info-inner {
  flex: 1;
  padding: 18px 20px 12px;
  overflow-y: auto;
}

/* Título y status */
#swiper-panel .sn-card-title {
  font-size: 25px; font-weight: 700; color: #111;
  margin: 20px 0 15px; line-height: 1.35;
}


#swiper-panel .sn-card-status {
  font-size: 12px; color: #94a3b8; margin: 0 0 12px;
}

/* Copy block */
#swiper-panel .sn-copy-block {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}
#swiper-panel .sn-copy-label {
  font-size: 12px; font-weight: 700; color: #333;
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: 5px;
}
#swiper-panel .sn-copy-text {
  font-size: 13px; color: #333; line-height: 1.6; margin: 0; white-space: pre-wrap;
}

/* ---------- Media ---------- */
.sn-media-wrap {
  width: 100%;
  height: 100%;
  background: white;
  overflow: hidden;
  position: relative;
}
.sn-media-img {
  display: block; width: 100%; height: 100% !important; object-fit: contain !important;
  /* Fade in cuando carga */
  opacity: 0; transition: opacity 0.3s ease;
}
.sn-media-img.loaded { opacity: 1; }
.sn-video-wrap { position: relative; width: 100%; height: 100%; }
.sn-media-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.sn-media-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; height: 100%; min-height: 320px; color: #ccc; font-size: 13px;
}

/* Skeleton shimmer mientras carga */
.sn-media-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: sn-shimmer 1.5s infinite;
  z-index: 0;
}
.sn-media-wrap.media-loaded::before { display: none; }
@keyframes sn-shimmer {
  0% { background-position: 200% 0 }
  100% { background-position: -200% 0 }
}

/* Carrusel clásico */
.sn-carousel { position: relative; overflow: hidden; height: 100%; }
.sn-carousel-slide { display: none; height: 100%; }
.sn-carousel-slide.active { display: block; }
.sn-carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sn-carousel-prev,.sn-carousel-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.92); border: none; border-radius: 50%;
  width: 32px; height: 32px; font-size: 18px; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  display: flex; align-items: center; justify-content: center; color: #111; z-index: 2;
}
.sn-carousel-prev { left: 8px } .sn-carousel-next { right: 8px }
.sn-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 5px; z-index: 2;
}
.sn-dot { width: 5px; height: 5px; border-radius: 50%; border: none; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; transition: all .2s }
.sn-dot.active { background: #fff; width: 14px; border-radius: 3px; }
.sn-slide-counter {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,.4); color: #fff;
  font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 99px; z-index: 2;
}

/* Carrusel IG horizontal */
.sn-ig-carousel {
  position: relative; width: 100%; overflow: hidden;
  height: 100%;
}
.sn-ig-track {
  display: flex; height: 100%;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
.sn-ig-slide { flex: 0 0 100%; height: 100%; overflow: hidden; }
.sn-ig-slide img { width: 100%; height: 100% !important; object-fit: contain !important; display: block; user-select: none; -webkit-user-drag: none; }
.sn-ig-carousel .sn-dot { background: rgba(255,255,255,.5) }
.sn-ig-carousel .sn-dot.active { background: #fff; width: 14px; border-radius: 3px; }

/* ---------- Botones ---------- */
#swiper-panel .sn-actions {
  display: flex !important; gap: 8px; padding: 12px 10px;
  border-top: 1px solid #f0f0f0;
}
#swiper-panel .sn-btn {
  flex: 1; display: inline-flex !important; align-items: center !important; justify-content: center !important;
  gap: 6px; padding: 15px 18px; border-radius: 10px;
  font-size: 18px; font-weight: 600; cursor: pointer; line-height: 1;
  transition: all .15s;
}
#swiper-panel .sn-btn:active { transform: scale(.97) }
#swiper-panel .sn-btn:disabled { opacity: .5; cursor: not-allowed }
#swiper-panel .sn-btn-adjust {
  background: #fff !important; color: #111 !important;
  border: 1.5px solid #e0e0e0 !important;
}
#swiper-panel .sn-btn-adjust:hover:not(:disabled) { background: #f5f5f5 !important }
#swiper-panel .sn-btn-approve {
  background: #f0fdf4 !important; color: #15803d !important;
  border: 1.5px solid #bbf7d0 !important;
}
#swiper-panel .sn-btn-approve:hover:not(:disabled) { background: #dcfce7 !important }

/* ---------- Badges ---------- */
.sn-badge {
  display: inline-block;
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; padding: 3px 9px; border-radius: 99px;
}
.sn-badge-story    { background: #faf5ff; color: #7c3aed }
.sn-badge-reel     { background: #fce7f3; color: #be185d }
.sn-badge-carrusel { background: #e0f2fe; color: #0369a1 }
.sn-badge-post     { background: #fff7ed; color: #c2410c }
.sn-badge-pub      { background: #f0fdf4; color: #15803d }

.sn-link { font-size: 13px; color: #6366f1; text-decoration: none; font-weight: 500; }
.sn-link:hover { text-decoration: underline }

/* ---------- Meta grid debajo ---------- */
#swiper-panel .sn-meta-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; margin: 12px 12px 0;
}
#swiper-panel .sn-meta-cell {
  background: #fff; border: 1px solid #ebebeb;
  border-radius: 12px; padding: 12px 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
#swiper-panel .sn-meta-wide { grid-column: span 3 }
#swiper-panel .sn-meta-label {
  font-size: 10px; font-weight: 600; color: #aaa;
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: 5px;
}
#swiper-panel .sn-meta-value { font-size: 13px; font-weight: 600; color: #111; line-height: 1.3 }

/* ---------- Modal ---------- */
.sn-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.4);
  z-index: 99999; display: flex; align-items: flex-end; justify-content: center;
  animation: sn-fade-in .2s ease;
}
@media(min-width:600px) { .sn-overlay { align-items: center } }
@keyframes sn-fade-in { from { opacity: 0 } to { opacity: 1 } }
.sn-modal {
  background: #fff; border-radius: 20px 20px 0 0;
  padding: 28px 24px 36px; width: 100%; max-width: 1280px;
  animation: sn-slide-up .25s cubic-bezier(.34,1.56,.64,1);
}
@media(min-width:600px) { .sn-modal { border-radius: 20px; padding: 32px 28px } }
@keyframes sn-slide-up {
  from { transform: translateY(40px); opacity: 0 }
  to   { transform: translateY(0); opacity: 1 }
}
.sn-modal h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: #111 }
.sn-modal-subtitle { font-size: 13px; color: #64748b; margin: 0 0 16px }
.sn-textarea {
  width: 100%; border: 1px solid #e2e8f0; border-radius: 10px;
  padding: 12px 14px; font-size: 14px; font-family: inherit; color: #111;
  resize: vertical; outline: none; box-sizing: border-box;
}
.sn-textarea:focus { border-color: #111; box-shadow: 0 0 0 3px rgba(0,0,0,.08) }
.sn-modal-actions { display: flex; gap: 10px; margin-top: 16px }
.sn-btn-cancel {
  background: #f5f5f5 !important; color: #555 !important; flex: 0 0 auto;
  border: none !important; border-radius: 10px !important; padding: 12px 20px !important;
  font-weight: 600 !important; cursor: pointer !important; font-size: 14px !important;
}
.sn-btn-send {
  background: #111 !important; color: #fff !important; flex: 1;
  border: none !important; border-radius: 10px !important; padding: 12px 20px !important;
  font-size: 15px !important; font-weight: 600 !important; cursor: pointer !important;
}
.sn-btn-send:hover:not(:disabled) { background: #333 !important }

.swiper-login-notice { text-align: center; padding: 32px; color: #64748b }

/* ---------- Elementos solo-mobile (ocultos por defecto) ---------- */
#swiper-panel .sn-mobile-meta    { display: none; }
#swiper-panel .sn-mobile-actions { display: none; }
.sn-mob-meta-row                 { display: none; }

/* Bloque "Idea de contenido" */
.sn-idea-block {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

/* Meta-chips: fecha, formato, destino (desktop y mobile) */
#swiper-panel .sn-meta-chips {
  display: flex;
margin-bottom: 8px;
gap: 10px;
margin-top: 10px;
    
}
.sn-meta-chip {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 9px 20px;
    width: 30%;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 25px;
  justify-content: center;
}


@media screen and (max-width: 569px){
    .sn-meta-chip {
  font-size: 8px;
}
}

.sn-ads-badge {
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 2px 6px;
  border-radius: 99px;
  background: #fef9c3;
  color: #854d0e;
  border: 1px solid #fde68a;
}

/* ---------- Responsive: diseño mobile ---------- */
@media (max-width: 768px) {

  /* Card full-width */
  #swiper-panel {
    width: 100%;
    padding: 0;
  }
  #swiper-panel .sn-card {
    border-radius: 20px 20px 20px 20px !important;
    margin: 0 !important;
    border-left: none !important;
    border-right: none !important;
    box-shadow: 0 -2px 20px rgba(0,0,0,.06) !important;
  }

  /* Ocultar elementos solo-desktop */
  .sn-desk-content { display: none !important; }

  /* Topbar: centrar el nav, ocultar tabs */
  #swiper-panel .sn-card-topbar {
    justify-content: center !important;
    border-bottom: 1px solid #f0f0f0 !important;
    padding: 12px 16px 10px !important;
  }
  #sn-account-tabs-inner { display: none !important; }

  .sn-mob-meta-row { display: flex; }

  /* Mobile meta: chips + fecha/formato/destino + título */
  #swiper-panel .sn-mobile-meta {
    display: block;
    padding: 12px 10px;
    border-bottom: 1px solid #f0f0f0;
  }
  /* Chips: mismos estilos que desktop (sn-card-chips ya está definido) */
  #swiper-panel .sn-mobile-meta .sn-card-chips {
    margin-bottom: 0px;
  }
  /* Título mobile: mismo estilo que desktop */
  #swiper-panel .sn-mobile-meta .sn-card-title {
    margin: 4px 0 0;
  }

  /* Body: columna única, altura automática */
  #swiper-panel .sn-card-body-split {
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  /* Columna media: ancho completo, altura variable */
  #swiper-panel .sn-col-media {
    flex: none !important;
    max-width: 100% !important;
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
    height: auto !important;
  }
  .sn-media-wrap {
    height: auto !important;
    min-height: 0 !important;
  }
  .sn-media-img {
    height: auto !important;
    object-fit: contain !important;
  }
  .sn-ig-carousel { height: auto !important; min-height: 200px !important; }
  .sn-ig-track    { height: auto !important; }
  .sn-ig-slide    { height: auto !important; }
  .sn-ig-slide img { height: auto !important; object-fit: contain !important; }
  .sn-carousel    { height: auto !important; min-height: 200px !important; }
  .sn-carousel-slide { height: auto !important; }
  .sn-carousel-slide img { height: auto !important; object-fit: contain !important; }

  /* Columna info: altura automática */
  #swiper-panel .sn-col-info {
    height: auto !important;
    overflow: visible !important;
  }
  #swiper-panel .sn-col-info-inner {
    overflow: visible !important;
    padding: 10px 10px;
  }

  /* Idea de contenido: mismo estilo que desktop */
  .sn-idea-block {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    padding: 12px 14px;
    margin: 4px 0 6px;
  }

  /* Botones mobile: misma estética que desktop */
  #swiper-panel .sn-mobile-actions {
    display: flex !important;
    gap: 8px;
    padding: 12px 16px 20px;
    border-top: 1px solid #f0f0f0;
  }
  .sn-mob-btn {
    flex: 1;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 13px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    line-height: 1;
    transition: all .15s;
  }
  .sn-mob-btn:active { transform: scale(.97); }
  .sn-mob-btn-ajuste {
    background: #fff !important;
    color: #111 !important;
    border: 1.5px solid #e0e0e0 !important;
  }
  .sn-mob-btn-ajuste:active { background: #f5f5f5 !important; }
  .sn-mob-btn-aprobar {
    background: #f0fdf4 !important;
    color: #15803d !important;
    border: 1.5px solid #bbf7d0 !important;
  }
  .sn-mob-btn-aprobar:active { background: #dcfce7 !important; }

  #swiper-panel .sn-meta-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Tabs dentro del topbar de la card ---------- */
#swiper-panel .sn-card-topbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between;
  padding: 12px 16px 8px;
  border-bottom: 1px solid #f0f0f0;
  gap: 12px;
}

#sn-account-tabs-inner {
  display: flex;
  gap: 4px;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 3px;
  flex: 1;
}

#sn-account-tabs-inner .sn-tab {
  flex: 1;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px;
  padding: 6px 10px;
  background: transparent !important;
  border: none !important;
  border-radius: 7px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s;
}

#sn-account-tabs-inner .sn-tab:hover:not(.sn-tab-active) {
  background: #e2e8f0 !important;
  color: #334155;
}

#sn-account-tabs-inner .sn-tab-active {
  background: #fff !important;
  color: #111 !important;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

#sn-account-tabs-inner .sn-tab-count {
  background: #e0e7ff;
  color: #4338ca;
  font-size: 10px;
}

#sn-account-tabs-inner .sn-tab-active .sn-tab-count {
  background: #111;
  color: #fff;
}

/* ---------- Meta inline dentro de la columna derecha ---------- */
#swiper-panel .sn-inline-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
  padding: 12px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

#swiper-panel .sn-inline-meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

#swiper-panel .sn-inline-meta-item .sn-meta-label {
  font-size: 9px;
  font-weight: 600;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: .07em;
}

#swiper-panel .sn-inline-meta-item .sn-meta-value {
  font-size: 12px;
  font-weight: 600;
  color: #111;
}

/* ---------- Chips de estado y cuenta ---------- */
#swiper-panel .sn-card-chips {
  display: flex;
 
  gap: 10px;
  margin-bottom: 0px;
}

#swiper-panel .sn-status-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 9px 20px;
  background: #fef9c3;
  color: #854d0e;
  border: 1px solid #fde68a;
  border-radius: 25px;
  width: 30%;
  justify-content: center;
}

#swiper-panel .sn-cuenta-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 9px 20px;
 border-radius: 25px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  width: 70%;
  justify-content: center;
}

span.sn-meta-chip:nth-child(2) {
    width: 70%;
}

@media screen and (max-width: 569px){
    #swiper-panel .sn-status-badge {
font-size: 8px;
}

#swiper-panel .sn-cuenta-badge {
  font-size:8px;
}


}

/* ---------- Login screen ---------- */
.swiper-login-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 40px 24px;
}

.swiper-login-box {
  text-align: center;
  max-width: 360px;
}

.swiper-login-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: #f1f5f9;
  border-radius: 20px;
  color: #64748b;
  margin-bottom: 20px;
}

.swiper-login-box h2 {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 0 0 10px;
}

.swiper-login-box p {
  font-size: 15px;
  color: #64748b;
  margin: 0 0 24px;
  line-height: 1.5;
}

.swiper-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #111;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 12px;
  transition: background 0.15s;
}

.swiper-login-btn:hover {
  background: #333;
}

/* ---------- Login form ---------- */
.swiper-login-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
  text-align: left;
}

.swiper-login-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.swiper-login-field label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.swiper-login-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: #111;
  background: #fff;
  outline: none;
  box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s;
}

.swiper-login-field input:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(0,0,0,.08);
}

.swiper-login-pass-wrap {
  position: relative;
}

.swiper-login-pass-wrap input {
  padding-right: 44px;
}

.swiper-toggle-pass {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  padding: 4px;
  display: flex;
  align-items: center;
}

.swiper-toggle-pass:hover { color: #111; }

.swiper-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
  text-decoration: none;
  margin-top: 4px;
  font-family: inherit;
}

.swiper-login-btn:hover { background: #333; }
.swiper-login-btn:disabled { opacity: .6; cursor: not-allowed; }

.swiper-login-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 8px;
  text-align: left;
  margin-top: 4px;
}


@media screen and (max-width: 768px){
    #sn-card-container{
        padding: 0px 25px;
    }
    
    #swiper-panel .sn-nav-index {
  font-size: 15px; color: black; min-width: 40px; text-align: center;
}

  .sn-nav-btn svg{
      width: 25px;
      height: 25px;
  }
    
    #swiper-panel .sn-card-chips{
        flex-direction: row;
        flex-wrap: unset !important;
    }
  

     #swiper-panel .sn-card-title {
  font-size: 18px; font-weight: 700; color: #111;
  
}
.page-id-7315 {
    margin-bottom: 40px;
}

#swiper-panel .sn-status-badge{
           width: 35%;
        text-wrap: nowrap;
}
#swiper-panel .sn-cuenta-badge{
       width: 70%;
}

span.sn-meta-chip {
    width: 100%;

} 
  span.sn-meta-chip:nth-child(1) {
    width: 35%;
    text-wrap: nowrap;
}  
}



/* ================================================================ */
/*  Toast Notifications - Agregar a tu CSS                          */
/* ================================================================ */

.sn-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  background: #10b981;
  color: white;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
  animation: slideIn 0.3s ease-out forwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

.sn-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.sn-toast:not(.show) {
  animation: slideOut 0.3s ease-out forwards;
}

.sn-toast-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.sn-toast-error {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.sn-toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sn-toast svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Responsive: en mobile, posición ajustada */
@media (max-width: 640px) {
  .sn-toast {
    top: auto;
    bottom: 20px;
    right: 20px;
    left: 20px;
  }
}
/* ---------- User bar / Logout ---------- */
#sn-userbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  margin-bottom: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}
.sn-userbar-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.sn-userbar-avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}
.sn-userbar-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.sn-userbar-name {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sn-userbar-email {
  font-size: 12px;
  color: #64748b;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sn-logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.sn-logout-btn:hover:not(:disabled) {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
}
.sn-logout-btn:disabled {
  opacity: .6;
  cursor: wait;
}
.sn-logout-btn svg {
  flex: 0 0 16px;
}
@media (max-width: 540px) {
  .sn-logout-btn span { display: none; }
  .sn-logout-btn { padding: 8px 10px; }
  .sn-userbar-email { display: none; }
}


button#sn-logout-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0px;
}

.sn-badge-publicidad {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 6px;
    padding: 8px 14px;
    text-align: center;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: .3px;
    text-transform: uppercase;
    color: #ffffff;
    background: rgb(0 86 255 / 45%);
    border: 1px solid rgb(10 5 184 / 29%);
    border-radius: 50px;
}