/* Ultra premium — sekme tanıtım kartları */

.admin-tab-tour {
  position: absolute;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
}

.admin-tab-tour[hidden] {
  display: none !important;
}

.admin-tab-tour.is-open {
  pointer-events: auto;
}

.admin-tab-tour-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(212, 175, 106, 0.14), transparent 65%),
    rgba(4, 6, 12, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: att-fade-in 0.35s ease;
}

.admin-tab-tour-card {
  position: relative;
  width: min(520px, 100%);
  padding: 28px 28px 24px;
  border-radius: 22px;
  border: 1px solid rgba(212, 175, 106, 0.35);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, transparent 42%),
    linear-gradient(180deg, rgba(22, 24, 32, 0.98) 0%, rgba(10, 11, 16, 0.99) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 28px 80px rgba(0, 0, 0, 0.65),
    0 0 60px rgba(212, 175, 106, 0.12);
  animation: att-card-in 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.admin-tab-tour-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(212, 175, 106, 0.65), rgba(212, 175, 106, 0.08) 40%, rgba(120, 160, 255, 0.25) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.admin-tab-tour-shine {
  position: absolute;
  top: -40%;
  left: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(212, 175, 106, 0.18), transparent 70%);
  pointer-events: none;
  animation: att-shine 4s ease-in-out infinite;
}

.admin-tab-tour-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(212, 175, 106, 0.85);
  margin-bottom: 14px;
}

.admin-tab-tour-step-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d4af6a;
  box-shadow: 0 0 12px rgba(212, 175, 106, 0.8);
}

.admin-tab-tour-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 16px;
  font-size: 1.6rem;
  background: linear-gradient(145deg, rgba(212, 175, 106, 0.22), rgba(212, 175, 106, 0.06));
  border: 1px solid rgba(212, 175, 106, 0.28);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.admin-tab-tour-title {
  margin: 0 0 8px;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8f4ea;
  line-height: 1.15;
}

.admin-tab-tour-lead {
  margin: 0 0 18px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.82);
}

.admin-tab-tour-list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-tab-tour-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(203, 213, 225, 0.92);
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-tab-tour-list li::before {
  content: "✦";
  flex-shrink: 0;
  color: #d4af6a;
  font-size: 0.7rem;
  margin-top: 2px;
}

.admin-tab-tour-hint {
  margin: 0 0 22px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.22);
}

.admin-tab-tour-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-tab-tour-skip {
  flex: 1 1 auto;
  min-width: 120px;
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(226, 232, 240, 0.75);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.admin-tab-tour-skip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(148, 163, 184, 0.4);
  color: #f1f5f9;
}

.admin-tab-tour-next {
  flex: 1 1 auto;
  min-width: 140px;
  height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #e8c882 0%, #c9a052 48%, #a8843a 100%);
  color: #1a1208;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(212, 175, 106, 0.28);
  transition: transform 0.15s, box-shadow 0.2s;
}

.admin-tab-tour-next:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(212, 175, 106, 0.38);
}

/* Nav vurgusu */
.admin-side-nav-item.is-tour-spotlight {
  position: relative;
  z-index: 130;
  border-color: rgba(212, 175, 106, 0.55) !important;
  background: rgba(212, 175, 106, 0.14) !important;
  box-shadow:
    0 0 0 1px rgba(212, 175, 106, 0.35),
    0 0 24px rgba(212, 175, 106, 0.25);
  animation: att-pulse 1.8s ease-in-out infinite;
}

#admin-workspace .admin-main {
  position: relative;
}

@keyframes att-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes att-card-in {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes att-shine {
  0%, 100% { opacity: 0.5; transform: translate(0, 0); }
  50% { opacity: 1; transform: translate(8%, 6%); }
}

@keyframes att-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(212, 175, 106, 0.35), 0 0 20px rgba(212, 175, 106, 0.2); }
  50% { box-shadow: 0 0 0 1px rgba(212, 175, 106, 0.55), 0 0 32px rgba(212, 175, 106, 0.35); }
}

@media (max-width: 640px) {
  .admin-tab-tour-card {
    padding: 22px 20px 20px;
  }

  .admin-tab-tour-title {
    font-size: 1.3rem;
  }

  .admin-tab-tour-actions {
    flex-direction: column;
  }

  .admin-tab-tour-skip,
  .admin-tab-tour-next {
    width: 100%;
  }
}
