
/* BOTÓN REFRESCAR */
.refresh-fab { position: fixed; right: 16px; bottom: 112px; z-index: 998; width: 38px; height: 38px; border-radius: 50%; border: none; background: var(--verde); color: white; box-shadow: var(--sombra-lg); font-size: 17px; font-weight: 900; cursor: pointer; display: none; align-items: center; justify-content: center; opacity: 0.82; }
.refresh-fab:active { transform: scale(0.94); }
.refresh-fab.spin { animation: refreshSpin 0.8s linear infinite; }
@keyframes refreshSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
/* Pull to Refresh */
#ptr-indicator { position: fixed; top: 0; left: 0; right: 0; z-index: 9998; display: flex; align-items: center; justify-content: center; height: 0; overflow: hidden; background: var(--verde); transition: height 0.2s; pointer-events: none; }
#ptr-indicator .ptr-inner { display: flex; align-items: center; gap: 8px; color: white; font-size: 13px; font-weight: 800; opacity: 0; transition: opacity 0.2s; }
#ptr-indicator.ptr-visible .ptr-inner { opacity: 1; }
#ptr-indicator .ptr-spinner { width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.4); border-top-color: white; border-radius: 50%; animation: refreshSpin 0.7s linear infinite; }
#ptr-indicator.ptr-loading { height: 56px !important; }

.divider { height: 1px; background: var(--gris2); margin: 18px 0; }
.tag-tipo { display: inline-block; font-size: 10px; font-weight: 800; padding: 3px 9px; border-radius: 10px; margin-left: 6px; }

/* MÉTODO DE PAGO */
.metodo-btn { background: var(--blanco); border: 2px solid var(--gris2); border-radius: var(--radio-sm); padding: 12px 6px; cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif; color: var(--texto2); transition: all 0.18s; text-align: center; }
.metodo-btn.on { background: var(--verde3); border-color: var(--verde); color: var(--verde2); }
.metodo-btn:active { transform: scale(0.96); }

/* ADMIN TABS */
.admin-tab { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.8); border-radius: 20px; padding: 7px 14px; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; font-family: 'Plus Jakarta Sans', sans-serif; transition: all 0.18s; backdrop-filter: blur(8px); }
.admin-tab.on { background: white; color: var(--verde); border-color: white; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }

/* STARS */
.star { cursor: pointer; transition: transform 0.1s; display: inline-block; line-height: 1; }
.star:active { transform: scale(1.3); }
.star.on { filter: none; }

/* NOTIF BADGE */
.notif-dot { width: 8px; height: 8px; background: var(--naranja); border-radius: 50%; position: absolute; top: 2px; right: 2px; border: 1.5px solid white; }

/* PAGO REGISTRO */
.pago-row { background: var(--blanco); border-radius: var(--radio-sm); border: 1px solid var(--gris2); padding: 14px 16px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 1px 6px rgba(0,0,0,0.05); }
.pago-tipo { font-size: 10px; font-weight: 800; padding: 3px 10px; border-radius: 20px; margin-top: 4px; display: inline-block; }
.pago-rest { background: var(--verde3); color: var(--verde2); }
.pago-rep { background: #EDE9FE; color: #5B21B6; }

/* PROFILE ROW */
/* PROFILE ROW */
.profile-row { background: var(--blanco); border-radius: var(--radio-sm); border: 1px solid var(--gris2); padding: 14px 16px; margin-bottom: 10px; display: flex; align-items: center; gap: 14px; box-shadow: 0 1px 6px rgba(0,0,0,0.05); }
.profile-avatar { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.profile-info { flex: 1; min-width: 0; }
.profile-name { font-size: 14px; font-weight: 800; color: var(--texto); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-meta { font-size: 11px; color: var(--texto3); margin-top: 2px; font-weight: 500; }
.profile-btns { display: flex; gap: 6px; flex-shrink: 0; }

/* ===== MEJORAS CHAMOGO PRO ===== */
:root { --amarillo:#FFD166; --amarillo2:#FFF7D6; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.pro-card { background: var(--blanco); border: 1px solid rgba(15,25,35,0.06); border-radius: var(--radio); padding: 16px; box-shadow: var(--sombra); margin-bottom: 14px; }
.pro-card.soft { background: linear-gradient(135deg, #ffffff 0%, #f8fbf9 100%); }
.pro-title { font-size: 15px; font-weight: 900; color: var(--texto); margin-bottom: 6px; }
.pro-text { font-size: 12px; color: var(--texto2); line-height: 1.55; font-weight: 600; }
.pro-list { display: grid; gap: 8px; margin-top: 12px; }
.pro-step { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: var(--texto2); font-weight: 600; line-height: 1.45; }
.pro-step b { color: var(--texto); }
.pro-dot { width: 24px; height: 24px; border-radius: 50%; background: var(--verde3); color: var(--verde); display:flex; align-items:center; justify-content:center; font-weight:900; flex-shrink:0; }
.admin-alert { background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 100%); border:1px solid #fed7aa; color:#7c2d12; border-radius: var(--radio); padding: 13px 14px; font-size:12px; font-weight:700; line-height:1.45; margin-bottom:14px; }
.trust-badge { display:inline-flex; align-items:center; gap:5px; background:var(--verde3); color:var(--verde2); border:1px solid var(--verde4); border-radius:18px; padding:4px 9px; font-size:10px; font-weight:900; }
.btn:disabled, button:disabled { opacity:.55 !important; cursor:not-allowed !important; transform:none !important; }
img { max-width: 100%; }
@media (prefers-reduced-motion: reduce) { * { animation:none !important; transition:none !important; scroll-behavior:auto !important; } }
@media (max-width: 380px) { .content { padding-left:12px; padding-right:12px; } .stat-num { font-size:24px; } .btn { padding:14px; } .wlogo { font-size:44px; } }


/* FOTOS RESTAURANTE Y REPARTIDOR */
.rest-foto-img { width:100%; height:100%; object-fit:cover; display:block; }
.rest-foto-img[src=""], .rest-foto-img:not([src]) { display:none; }
.rep-foto-img { width:100%; height:100%; object-fit:cover; }
.rep-foto-img[src=""], .rep-foto-img:not([src]) { display:none; }

/* INDICADOR EN VIVO */
@keyframes pulse-dot { 0%,100%{opacity:1;} 50%{opacity:0.3;} }
.live-dot { display:inline-block; width:7px; height:7px; border-radius:50%; background:#22c55e; margin-right:5px; animation:pulse-dot 1.8s ease-in-out infinite; }

@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
