/* ================================================================
   MODALS-UI.CSS — TuEstilo
   Modales de UI: Confirm, Delete, Manage Categories, Lightbox,
   Post-Service Review, Store Review, Onboarding, Admin Modal
   Extraído de modals-ui.css (Fase 2.5 — Refinamiento CSS)
   ================================================================ */

  justify-content: center;
}

.store-service-placeholder-icon {
  width: 40px;
  height: 40px;
  color: var(--color-text-placeholder);
  flex-shrink: 0;
}

/* Kebab superpuesto en esquina de la imagen (solo admin) */
.store-service-kebab-overlay {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 10;
}

.store-service-kebab-overlay .store-service-kebab-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.store-service-kebab-overlay .store-service-kebab-btn:hover {
  background: var(--color-surface);
}

.store-service-kebab-overlay .store-service-kebab-btn svg {
  width: 18px;
  height: 18px;
}

.store-service-kebab-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  min-width: 160px;
  background: var(--color-surface);
  border-radius: var(--radius-xs);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-border);
  padding: 6px;
  z-index: 20;
  display: none;
}

.store-service-kebab-wrap.store-service-kebab-open .store-service-kebab-dropdown {
  display: block;
}

.store-kebab-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  text-align: left;
}

.store-kebab-item:hover {
  background: var(--color-border-light);
}

.store-kebab-item-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.store-kebab-item--danger {
  color: var(--color-danger);
}

.store-kebab-item--danger:hover {
  background: var(--color-danger-bg-light);
}

.store-service-card-body {
  padding: 10px 12px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.store-service-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 4px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-service-card-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary, var(--color-primary));
  margin: 0 0 6px 0;
  line-height: 1.2;
}

.store-service-card-desc {
  font-size: 0.8rem;
  color: var(--color-text-light);
  line-height: 1.35;
  margin: 0 0 10px 0;
  flex: 1;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-service-btn-reservar {
  width: 100%;
  padding: 8px 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-surface);
  background: var(--color-primary);
  border: none;
  border-radius: var(--radius-2xs);
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: auto;
}

.store-service-btn-reservar:hover {
  background: var(--color-primary-dark);
}

.store-service-btn-reservar:active {
  transform: scale(0.98);
}

/* Skeleton de tarjeta de servicio */
.store-service-card--skeleton .store-service-card-hero--skeleton {
  background: linear-gradient(90deg, var(--color-border-light) 25%, var(--color-border) 50%, var(--color-border-light) 75%);
  background-size: 200% 100%;
  animation: store-service-skeleton-shine 1.2s ease-in-out infinite;
}

.store-service-skeleton-line {
  background: linear-gradient(90deg, var(--color-border-light) 25%, var(--color-border) 50%, var(--color-border-light) 75%);
  background-size: 200% 100%;
  animation: store-service-skeleton-shine 1.2s ease-in-out infinite;
  border-radius: 6px;
  margin-bottom: 8px;
}

.store-service-skeleton-title {
  height: 22px;
  width: 70%;
}

.store-service-skeleton-price {
  height: 26px;
  width: 40%;
}

.store-service-skeleton-desc {
  height: 16px;
  width: 100%;
}

.store-service-skeleton-desc+.store-service-skeleton-desc {
  width: 85%;
}

.store-service-skeleton-btn {
  height: 44px;
  width: 100%;
  margin-top: 8px;
  margin-bottom: 0;
}

@keyframes store-service-skeleton-shine {
  to {
    background-position: 200% 0;
  }
}

/* Modal Gestionar Categorías */
.manage-categories-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xs);
  transition: background 0.2s;
}

.manage-categories-row:hover {
  background: var(--color-surface-subtle);
}

.manage-categories-name {
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.9375rem;
}

.manage-categories-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.manage-cat-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: var(--radius-2xs);
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.manage-cat-btn--clock {
  background: var(--color-warning-bg);
}

.manage-cat-btn--clock:hover {
  background: #fde68a;
}

.manage-cat-btn--edit {
  background: var(--color-primary-bg);
}

.manage-cat-btn--edit:hover {
  background: #bfdbfe;
}

.manage-cat-btn--delete {
  background: var(--color-danger-bg);
}

.manage-cat-btn--delete:hover {
  background: #fecaca;
}

/* Login Modal Overlay */
#login-overlay {
  background: rgba(9, 30, 66, 0.54);
  backdrop-filter: blur(4px);
}

/* Sidebar Styling */
.sidebar-scroll::-webkit-scrollbar {
  width: 4px;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
  background-color: #dfe1e6;
  border-radius: 4px;
}

/* Wave Header */
.header-wave {
  background: linear-gradient(135deg, #0052cc 0%, #00C6FF 100%);
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  box-shadow: 0 10px 30px -10px rgba(0, 82, 204, 0.3);
}

/* --- Vista de reserva: hoja completa fija (evita espacio blanco) --- */
