/* PuntoGlam - estilos base complementarios a Tailwind */
[x-cloak] { display: none !important; }

.input {
  display: block; width: 100%;
  border-radius: .75rem; border: 1px solid rgba(31, 20, 36, .12);
  background: #fff; padding: .65rem .9rem; font-size: .9rem; color: #1f1424;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus { outline: none; border-color: #f272a0; box-shadow: 0 0 0 3px #fce7ef; }
.input::placeholder { color: #a79dab; }
textarea.input { min-height: 7rem; }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: .75rem; background: #d42a62; padding: .65rem 1.25rem;
  font-size: .9rem; font-weight: 700; color: #fff;
  box-shadow: 0 8px 20px -8px rgba(212, 42, 98, .6);
  transition: background .15s, transform .15s;
}
.btn-primary:hover { background: #b31d4d; }
.btn-primary:active { transform: translateY(1px); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: .75rem; border: 1px solid rgba(31, 20, 36, .12); background: #fff;
  padding: .6rem 1.1rem; font-size: .875rem; font-weight: 600; color: #1f1424;
}
.btn-secondary:hover { background: #fbf7f4; }

.card { background: #fff; border-radius: 1.25rem; box-shadow: 0 0 0 1px rgba(31,20,36,.05); padding: 1.5rem; }
.label { font-size: .85rem; font-weight: 600; color: #1f1424; }
.hint { font-size: .75rem; color: #7b6f80; margin-top: .25rem; }

.sortable-ghost { opacity: .4; }

/* ---------- Plan PRO ---------- */
.pro-chip {
  display: inline-flex; align-items: center; gap: .25rem;
  border-radius: 9999px; padding: .2rem .55rem;
  font-size: 10.5px; font-weight: 800; letter-spacing: .06em; color: #fff;
  background: linear-gradient(135deg, #e9c98a 0%, #c8a46a 40%, #9a7438 100%);
  box-shadow: 0 2px 10px -2px rgba(154,116,56,.55), inset 0 1px 0 rgba(255,255,255,.35);
}
.pro-ring { position: relative; box-shadow: 0 10px 30px -12px rgba(154,116,56,.45); }
.pro-ring::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 2;
  background: linear-gradient(135deg, #f1d79f, #c8a46a 35%, #e8477e 70%, #c8a46a);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.shine { position: relative; overflow: hidden; }
.shine::after {
  content: ""; position: absolute; inset: -50% auto -50% -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .shine::after { animation: none; } }
.text-gradient-gold { background: linear-gradient(135deg, #e9c98a, #b48a4a 60%, #d42a62); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Admin 2026 ---------- */
.nav-item { display: flex; align-items: center; gap: .7rem; border-radius: .8rem; padding: .55rem .75rem; font-size: .875rem; font-weight: 500; color: #4b3d50; transition: background .15s, color .15s; }
.nav-item:hover { background: rgba(31,20,36,.045); color: #1f1424; }
.nav-item.is-active { background: #1f1424; color: #fff; box-shadow: 0 6px 16px -8px rgba(31,20,36,.6); }
.admin-ui .card { border-radius: 1.25rem; box-shadow: 0 0 0 1px rgba(31,20,36,.06), 0 1px 2px rgba(31,20,36,.03); }
.stat { position: relative; overflow: hidden; background: #fff; border-radius: 1.25rem; padding: 1.25rem 1.25rem 1.1rem; box-shadow: 0 0 0 1px rgba(31,20,36,.06); }
.stat .k { font-size: .78rem; font-weight: 600; color: #7b6f80; }
.stat .v { margin-top: .4rem; font-size: 1.85rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat .ico { position: absolute; right: 1rem; top: 1rem; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: .75rem; }
.seg { display: inline-flex; gap: .25rem; padding: .25rem; border-radius: .9rem; background: #fff; box-shadow: 0 0 0 1px rgba(31,20,36,.06); }
.seg a { padding: .4rem .8rem; border-radius: .65rem; font-size: .8rem; font-weight: 600; color: #7b6f80; }
.seg a.on { background: #1f1424; color: #fff; }
.tbl th { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #7b6f80; font-weight: 600; text-align: left; padding: .8rem 1rem; background: #faf9fb; }
.tbl td { padding: .85rem 1rem; border-top: 1px solid rgba(31,20,36,.05); vertical-align: middle; }
.tbl tbody tr:hover { background: #fcfbfd; }
.switch { position: relative; display: inline-flex; height: 1.9rem; width: 3.4rem; border-radius: 9999px; transition: background .2s; }
.switch span { position: absolute; top: .2rem; left: .2rem; height: 1.5rem; width: 1.5rem; border-radius: 9999px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch.on span { transform: translateX(1.5rem); }

/* ---------- Desplegables ---------- */
.pg-trigger { display: flex; width: 100%; align-items: center; gap: .6rem; text-align: left; font-size: .9rem; color: #1f1424; transition: border-color .15s, box-shadow .15s, background .15s; }
.pg-trigger .pg-val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-trigger .pg-val.is-empty { color: #8a7f8e; }
.pg-trigger .pg-chev { flex-shrink: 0; width: 1rem; height: 1rem; color: #8a7f8e; transition: transform .2s; }
.pg-trigger[aria-expanded="true"] .pg-chev { transform: rotate(180deg); color: #d42a62; }
.pg-trigger:disabled { cursor: not-allowed; opacity: .55; }
.pg-field { border-radius: .75rem; border: 1px solid rgba(31,20,36,.12); background: #fff; padding: .65rem .9rem; }
.pg-field:hover:not(:disabled) { border-color: rgba(31,20,36,.25); }
.pg-field[aria-expanded="true"] { border-color: #f272a0; box-shadow: 0 0 0 3px #fce7ef; }
.pg-hero { border-radius: 1rem; padding: .85rem 1rem; background: transparent; }
.pg-hero:hover:not(:disabled), .pg-hero[aria-expanded="true"] { background: #fbf7f4; }
.pg-pop { position: absolute; z-index: 60; left: 0; top: calc(100% + .5rem); min-width: 100%; width: max-content; max-width: min(22rem, 92vw);
  overflow: hidden; border-radius: 1.1rem; background: #fff; box-shadow: 0 20px 50px -12px rgba(31,20,36,.28), 0 0 0 1px rgba(31,20,36,.07); }
.pg-search { display: flex; align-items: center; gap: .5rem; margin: .5rem; padding: .55rem .75rem; border-radius: .75rem; background: #f7f3f1; }
.pg-search input { width: 100%; border: 0; background: transparent; padding: 0; font-size: .875rem; outline: none; box-shadow: none; }
.pg-search input:focus { box-shadow: none; }
.pg-list { max-height: 18rem; overflow-y: auto; padding: .35rem; overscroll-behavior: contain; }
.pg-opt { display: flex; width: 100%; align-items: center; gap: .6rem; border-radius: .7rem; padding: .62rem .8rem; text-align: left; font-size: .875rem; line-height: 1.25rem; color: #3a2e3f; }
.pg-opt:hover, .pg-opt[data-hi="1"] { background: #fdf2f6; color: #1f1424; }
.pg-opt.is-sel { background: #fce7ef; color: #941b42; font-weight: 600; }
.pg-opt .pg-check { margin-left: auto; width: 1rem; height: 1rem; color: #d42a62; }
.pg-opt.is-all { color: #7b6f80; font-weight: 500; }
.pg-empty { padding: 1rem; text-align: center; font-size: .85rem; color: #8a7f8e; }
.pg-list::-webkit-scrollbar { width: 8px; } .pg-list::-webkit-scrollbar-thumb { background: #eadde3; border-radius: 99px; }

/* ---------- Negocio fundador ---------- */
.founder-chip {
  display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap;
  border-radius: 9999px; padding: .22rem .6rem .22rem .45rem;
  font-size: 11px; font-weight: 700; color: #7c1b3b;
  background: linear-gradient(135deg, #fff6e6 0%, #fde7ef 100%);
  box-shadow: inset 0 0 0 1px rgba(200,164,106,.55), 0 2px 8px -3px rgba(180,138,74,.45);
}
.founder-chip .medal {
  display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 9999px;
  font-size: 9px; line-height: 1; color: #fff;
  background: radial-gradient(circle at 35% 30%, #f6dfaa, #c8a46a 55%, #9a7438);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}
.founder-chip.is-sm { font-size: 10px; padding: .15rem .5rem .15rem .35rem; }
.founder-chip.is-sm .medal { width: 13px; height: 13px; font-size: 8px; }
