/* ═══ Команда Поддержки — Design System ═══ */
:root {
  --kp-violet: #7c3aed;
  --kp-purple: #a855f7;
  --kp-pink: #ec4899;
  --kp-coral: #fb7185;
  --kp-cyan: #22d3ee;
  --kp-mint: #34d399;
  --kp-amber: #fbbf24;

  --kp-bg: #f8f7ff;
  --kp-surface: #ffffff;
  --kp-text: #1e1b4b;
  --kp-text-muted: #64748b;
  --kp-border: rgba(124, 58, 237, 0.12);

  --kp-gradient: linear-gradient(135deg, #7c3aed 0%, #ec4899 50%, #f97316 100%);
  --kp-gradient-soft: linear-gradient(160deg, #ede9fe 0%, #fce7f3 40%, #cffafe 100%);
  --kp-shadow: 0 4px 24px rgba(124, 58, 237, 0.12);
  --kp-shadow-lg: 0 12px 40px rgba(124, 58, 237, 0.18);
  --kp-radius: 20px;
  --kp-radius-sm: 14px;
  --kp-radius-pill: 999px;

  --nav-height: 64px;
  --bottom-nav-height: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--kp-bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(168, 85, 247, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(236, 72, 153, 0.1), transparent);
  color: var(--kp-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* ─── Layout ─── */
.page-content {
  flex: 1;
  padding-bottom: calc(var(--bottom-nav-height) + 1.5rem);
}

@media (min-width: 992px) {
  .page-content { padding-bottom: 2rem; }
}

.app-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1rem 1rem 0;
}

@media (min-width: 768px) {
  .app-container { padding: 1.5rem 1.5rem 0; }
}

/* ─── Top bar ─── */
.kp-topbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--kp-border);
  height: var(--nav-height);
}

.kp-topbar-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.kp-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--kp-text);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.kp-brand-icon {
  width: 38px;
  height: 38px;
  background: var(--kp-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}

.kp-greeting {
  font-size: 0.85rem;
  color: var(--kp-text-muted);
  display: none;
}

@media (min-width: 768px) {
  .kp-greeting { display: block; }
  .kp-greeting strong { color: var(--kp-violet); }
}

.kp-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--kp-gradient);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

/* Desktop nav */
.kp-desktop-nav {
  display: none;
  gap: 0.25rem;
}

@media (min-width: 992px) {
  .kp-desktop-nav { display: flex; }
}

.kp-nav-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--kp-radius-pill);
  text-decoration: none;
  color: var(--kp-text-muted);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.kp-nav-link:hover {
  color: var(--kp-violet);
  background: rgba(124, 58, 237, 0.08);
}

.kp-nav-link.active {
  color: white;
  background: var(--kp-gradient);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.kp-logout-btn {
  padding: 0.45rem 1rem;
  border-radius: var(--kp-radius-pill);
  border: 2px solid var(--kp-border);
  background: transparent;
  color: var(--kp-text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s;
}

.kp-logout-btn:hover {
  border-color: var(--kp-coral);
  color: var(--kp-coral);
  background: rgba(251, 113, 133, 0.08);
}

/* Bottom nav (mobile) */
.kp-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--kp-border);
  padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom));
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
}

@media (min-width: 992px) {
  .kp-bottom-nav { display: none; }
}

.kp-bottom-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.35rem 0.25rem;
  text-decoration: none;
  color: var(--kp-text-muted);
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.2s;
  max-width: 72px;
}

.kp-bottom-item i {
  font-size: 1.35rem;
  transition: transform 0.2s;
}

.kp-bottom-item.active {
  color: var(--kp-violet);
}

.kp-bottom-item.active i {
  transform: scale(1.1);
}

.kp-bottom-item.kp-bottom-cta {
  position: relative;
  top: -12px;
}

.kp-bottom-item.kp-bottom-cta .kp-cta-circle {
  width: 52px;
  height: 52px;
  background: var(--kp-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: var(--kp-shadow-lg);
  border: 3px solid white;
}

.kp-bottom-item.kp-bottom-cta span { color: var(--kp-violet); }

/* ─── Auth pages ─── */
.auth-layout {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.auth-layout::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--kp-gradient-soft);
  z-index: 0;
}

.auth-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  z-index: 0;
}

.auth-blob-1 {
  width: 300px; height: 300px;
  background: var(--kp-purple);
  top: -80px; right: -60px;
}

.auth-blob-2 {
  width: 250px; height: 250px;
  background: var(--kp-pink);
  bottom: -60px; left: -40px;
}

.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 2rem 1.75rem;
  box-shadow: var(--kp-shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.auth-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  background: var(--kp-gradient);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.auth-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 0.25rem;
  background: var(--kp-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-subtitle {
  text-align: center;
  color: var(--kp-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

/* ─── Cards & surfaces ─── */
.kp-card {
  background: var(--kp-surface);
  border-radius: var(--kp-radius);
  border: 1px solid var(--kp-border);
  box-shadow: var(--kp-shadow);
  overflow: hidden;
}

.kp-card-body { padding: 1.25rem; }

@media (min-width: 768px) {
  .kp-card-body { padding: 1.5rem; }
}

.kp-section-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.kp-section-sub {
  color: var(--kp-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

/* Hero */
.kp-hero {
  background: var(--kp-gradient);
  border-radius: var(--kp-radius);
  padding: 2rem 1.5rem;
  color: white;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.kp-hero::after {
  content: '✨';
  position: absolute;
  right: 1.5rem;
  top: 1rem;
  font-size: 2.5rem;
  opacity: 0.6;
}

.kp-hero h1 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.kp-hero p {
  opacity: 0.92;
  margin: 0;
  font-size: 1rem;
}

/* Quick actions */
.kp-action-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 576px) {
  .kp-action-grid { grid-template-columns: repeat(3, 1fr); }
}

.kp-action-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 0.75rem;
  background: var(--kp-surface);
  border-radius: var(--kp-radius);
  border: 1px solid var(--kp-border);
  text-decoration: none;
  color: var(--kp-text);
  font-weight: 700;
  font-size: 0.8rem;
  text-align: center;
  transition: all 0.25s;
  box-shadow: var(--kp-shadow);
}

.kp-action-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--kp-shadow-lg);
  color: var(--kp-violet);
  border-color: rgba(124, 58, 237, 0.25);
}

.kp-action-tile .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.kp-action-tile.primary .icon-wrap {
  background: var(--kp-gradient);
  color: white;
}

.kp-action-tile.cyan .icon-wrap { background: #cffafe; color: #0891b2; }
.kp-action-tile.pink .icon-wrap { background: #fce7f3; color: #db2777; }
.kp-action-tile.mint .icon-wrap { background: #d1fae5; color: #059669; }
.kp-action-tile.amber .icon-wrap { background: #fef3c7; color: #d97706; }
.kp-action-tile.violet .icon-wrap { background: #ede9fe; color: #7c3aed; }

/* Tabs */
.kp-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  margin-bottom: 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.kp-tabs::-webkit-scrollbar { display: none; }

.kp-tab {
  flex-shrink: 0;
  padding: 0.65rem 1.25rem;
  border-radius: var(--kp-radius-pill);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--kp-text-muted);
  background: var(--kp-surface);
  border: 1px solid var(--kp-border);
  transition: all 0.2s;
}

.kp-tab:hover {
  color: var(--kp-violet);
  border-color: rgba(124, 58, 237, 0.3);
}

.kp-tab.active {
  color: white;
  background: var(--kp-gradient);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

/* Slot cards */
.slot-card {
  background: var(--kp-surface);
  border-radius: var(--kp-radius);
  padding: 1.25rem;
  border: 1px solid var(--kp-border);
  box-shadow: var(--kp-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.slot-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--kp-mint);
}

.slot-card.decorator::before { background: var(--kp-cyan); }
.slot-card.other::before { background: var(--kp-amber); }

.slot-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--kp-shadow-lg);
}

.slot-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.slot-id {
  font-weight: 800;
  font-size: 0.8rem;
  color: white;
  background: var(--kp-gradient);
  padding: 0.2rem 0.6rem;
  border-radius: var(--kp-radius-pill);
}

.slot-date { font-weight: 700; font-size: 0.95rem; }

.slot-weekday {
  font-size: 0.8rem;
  color: var(--kp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.slot-time {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--kp-violet);
  margin: 0.5rem 0;
}

.slot-position {
  font-size: 0.85rem;
  color: var(--kp-text-muted);
  margin-bottom: 1rem;
  flex: 1;
}

.store-header {
  background: linear-gradient(90deg, #ede9fe, #fce7f3);
  font-weight: 700;
  color: var(--kp-text);
  padding: 0.85rem 1rem;
  border-radius: var(--kp-radius-sm);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

/* Confirmed shift cards (mobile-friendly) */
.shift-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--kp-surface);
  border-radius: var(--kp-radius-sm);
  border: 1px solid var(--kp-border);
  margin-bottom: 0.75rem;
}

.shift-row-id {
  width: 44px;
  height: 44px;
  background: var(--kp-gradient);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Profile */
.kp-profile-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--kp-gradient);
  border-radius: var(--kp-radius);
  color: white;
  margin-bottom: 1.25rem;
}

.kp-profile-avatar {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  border: 3px solid rgba(255,255,255,0.5);
}

.kp-profile-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0;
}

.kp-profile-meta {
  opacity: 0.9;
  font-size: 0.9rem;
  margin: 0;
}

.kp-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.kp-stat {
  background: var(--kp-surface);
  border-radius: var(--kp-radius-sm);
  padding: 1rem;
  border: 1px solid var(--kp-border);
  text-align: center;
}

.kp-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--kp-text-muted);
  font-weight: 600;
}

.kp-stat-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--kp-violet);
  margin-top: 0.25rem;
}

/* Star rating */
.kp-stars {
  display: flex;
  gap: 0.35rem;
  font-size: 2rem;
  cursor: pointer;
}

.kp-stars .star {
  color: #e2e8f0;
  transition: color 0.15s, transform 0.15s;
  user-select: none;
}

.kp-stars .star.active,
.kp-stars .star.hover {
  color: var(--kp-amber);
  transform: scale(1.15);
}

/* FAQ accordion override */
.kp-accordion .accordion-item {
  border: 1px solid var(--kp-border) !important;
  border-radius: var(--kp-radius-sm) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: var(--kp-shadow);
}

.kp-accordion .accordion-button {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--kp-text);
  background: var(--kp-surface);
  padding: 1rem 1.25rem;
}

.kp-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(90deg, #ede9fe, transparent);
  color: var(--kp-violet);
  box-shadow: none;
}

.kp-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

/* Forms */
.kp-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--kp-text);
  margin-bottom: 0.4rem;
}

.kp-input,
.kp-select,
.form-control.kp-input,
.form-select.kp-select {
  border: 2px solid var(--kp-border);
  border-radius: var(--kp-radius-sm);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--kp-surface);
}

.kp-input:focus,
.kp-select:focus,
.form-control.kp-input:focus,
.form-select.kp-select:focus {
  border-color: var(--kp-purple);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15);
  outline: none;
}

.kp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--kp-radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  font-family: inherit;
}

.kp-btn-primary {
  background: var(--kp-gradient);
  color: white;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

.kp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.45);
  color: white;
}

.kp-btn-success {
  background: linear-gradient(135deg, #34d399, #10b981);
  color: white;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.kp-btn-success:hover {
  transform: translateY(-2px);
  color: white;
}

.kp-btn-ghost {
  background: transparent;
  color: var(--kp-text-muted);
  border: 2px solid var(--kp-border);
}

.kp-btn-ghost:hover {
  border-color: var(--kp-violet);
  color: var(--kp-violet);
}

.kp-btn-danger {
  background: transparent;
  color: var(--kp-coral);
  border: 2px solid rgba(251, 113, 133, 0.4);
}

.kp-btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.kp-btn-block { width: 100%; }

.kp-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.kp-check input { margin-top: 0.2rem; accent-color: var(--kp-violet); }

/* Alerts / messages */
.kp-alert {
  border-radius: var(--kp-radius-sm);
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  margin-bottom: 0.75rem;
}

.kp-alert-success { background: #d1fae5; color: #065f46; }
.kp-alert-error, .kp-alert-danger { background: #ffe4e6; color: #9f1239; }
.kp-alert-warning { background: #fef3c7; color: #92400e; }
.kp-alert-info { background: #ede9fe; color: #5b21b6; }

/* Bootstrap alert mapping */
.alert-success { background: #d1fae5 !important; color: #065f46 !important; border: none !important; border-radius: var(--kp-radius-sm) !important; }
.alert-danger, .alert-error { background: #ffe4e6 !important; color: #9f1239 !important; border: none !important; border-radius: var(--kp-radius-sm) !important; }
.alert-warning { background: #fef3c7 !important; color: #92400e !important; border: none !important; border-radius: var(--kp-radius-sm) !important; }
.alert-info { background: #ede9fe !important; color: #5b21b6 !important; border: none !important; border-radius: var(--kp-radius-sm) !important; }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
}

.empty-state .emoji {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 1rem;
}

.empty-state p {
  color: var(--kp-text-muted);
  font-weight: 600;
}

/* DataLens */
.datalens-frame {
  width: 100%;
  height: 70vh;
  min-height: 400px;
  border: none;
  border-radius: 0 0 var(--kp-radius) var(--kp-radius);
}

/* Resource link cards */
.resource-card {
  display: block;
  background: var(--kp-surface);
  border-radius: var(--kp-radius);
  border: 1px solid var(--kp-border);
  padding: 1.5rem;
  text-align: center;
  text-decoration: none;
  color: var(--kp-text);
  transition: all 0.25s;
  box-shadow: var(--kp-shadow);
  height: 100%;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--kp-shadow-lg);
  color: var(--kp-violet);
}

.resource-card .res-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Footer */
.site-footer {
  display: none;
}

@media (min-width: 992px) {
  .site-footer {
    display: block;
    text-align: center;
    padding: 1rem;
    color: var(--kp-text-muted);
    font-size: 0.8rem;
    margin-top: auto;
  }
}

/* Image gallery */
.kp-gallery {
  max-width: 100%;
}

.kp-gallery img {
  border-radius: var(--kp-radius);
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
  box-shadow: var(--kp-shadow);
}

.kp-home-video {
  margin-bottom: 1.5rem;
  max-width: 100%;
  overflow: hidden;
}

.kp-home-video video {
  display: block;
  width: 100%;
  /* Не растягивать шире контента и нативного 720p */
  max-width: min(100%, 720px);
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  margin-inline: auto;
  border-radius: var(--kp-radius);
  box-shadow: var(--kp-shadow);
  background: #0f172a;
  box-sizing: border-box;
}

/* Chip badge */
.kp-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--kp-radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  background: #ede9fe;
  color: var(--kp-violet);
}

/* Link list auth */
.auth-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--kp-border);
}

.auth-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: var(--kp-radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.auth-link-primary {
  background: rgba(124, 58, 237, 0.08);
  color: var(--kp-violet);
}

.auth-link-primary:hover { background: rgba(124, 58, 237, 0.15); color: var(--kp-violet); }

.auth-link-muted { color: var(--kp-text-muted); }
.auth-link-muted:hover { color: var(--kp-violet); }

/* Book slot page */
.kp-book-card {
  max-width: 520px;
  margin: 0 auto;
}

.kp-book-header {
  background: var(--kp-gradient);
  color: white;
  padding: 1.5rem;
  border-radius: var(--kp-radius) var(--kp-radius) 0 0;
}

.kp-info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--kp-border);
  font-size: 0.95rem;
}

.kp-info-row:last-child { border-bottom: none; }
.kp-info-row span:first-child { color: var(--kp-text-muted); font-weight: 600; }
.kp-info-row span:last-child { font-weight: 700; text-align: right; }

/* Radio cards for smena */
.kp-radio-card {
  display: block;
  padding: 1rem;
  border: 2px solid var(--kp-border);
  border-radius: var(--kp-radius-sm);
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.kp-radio-card:has(input:checked) {
  border-color: var(--kp-violet);
  background: rgba(124, 58, 237, 0.06);
}

.kp-radio-card input { accent-color: var(--kp-violet); }
