/* ============================================================
   GENERATOR BUILDER DASHBOARD CSS
   ============================================================ */

/* Phone Mockup Frame */
.phone-mockup {
  position: relative;
  width: 360px;
  height: 720px;
  background: #111827;
  border-radius: 44px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4), 0 0 0 10px #1f2937, 0 0 0 12px #374151;
  overflow: hidden;
  margin: 0 auto;
}

.phone-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 24px;
  background: #000000;
  border-radius: 20px;
  z-index: 50;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border: none;
  background: #ffffff;
}

/* Template Selector Card */
.template-card {
  position: relative;
  border: 2px solid #E5E7EB;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  background: #FFFFFF;
}

.template-card:hover {
  transform: translateY(-3px);
  border-color: #6366F1;
  box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.15);
}

.template-card.active {
  border-color: #4F46E5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.25);
}

.template-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  display: none;
}

.template-card.active .template-badge {
  display: flex;
}

/* Tab Styling */
.builder-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 10px;
  color: #64748B;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.builder-tab:hover {
  background: #FFFFFF;
  color: #1E293B;
  border-color: #E2E8F0;
}

.builder-tab.active {
  background: #FFFFFF;
  color: #4338CA;
  font-weight: 700;
  border-color: #C7D2FE;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 4px 12px -4px rgba(79, 70, 229, 0.28);
}

.builder-tab.active::after {
  content: '';
  display: none;
}

/* Step heading emphasis inside panel */
.step-title {
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.02em;
}

.step-subtitle {
  font-size: 12px;
  color: #64748B;
  margin-top: 3px;
  font-weight: 500;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}
