/* ═══════════════════════════════════════════════════════════
   SETTINGS DASHBOARD - INTEGRATED WITH SIDEBAR-BUSINESS
   ═══════════════════════════════════════════════════════════ */

* {
  margin: 0;
  padding: 0;
  /* box-sizing: border-box; */
}

:root {
  /* Neon Theme Colors */
  --neon-purple: #a445ed;
  --neon-purple-dark: #6b2fb5;
  --neon-cyan: #00ffff;
  --neon-pink: #ff00ff;
  --neon-blue: #00bfff;

  /* Background Colors */
  --bg-dark: #0a0a0a;
  --bg-darker: #050505;
  --bg-card: #1a1a2e;
  --bg-sidebar: #14052e;
  --bg-main: #f5f5f5;

  /* Text Colors */
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #ffffff;
  --text-muted: #999999;

  /* Accent Colors */
  --accent-green: #4ade80;
  --accent-yellow: #fbbf24;
  --accent-red: #ef4444;

  /* Shadows & Effects */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  --shadow-neon: 0 0 20px rgba(164, 69, 237, 0.5);

  /* Transitions */
  --transition: all 0.3s ease;
}

/* ═══════════ SETTINGS NAVIGATION ═══════════ */

.settings-nav {
  flex: 1;
  padding: 0px 0px;
}

.settings-section-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
  padding: 10px 10px;
  text-align: center;
}

.settings-nav-item {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 10px 10px;
  margin-bottom: 6px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.settings-nav-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--neon-cyan);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.settings-nav-item:hover::before {
  transform: scaleY(1);
}

.settings-nav-item:hover {
  background: rgba(0, 255, 255, 0.05);
  border-color: rgba(0, 255, 255, 0.2);
  color: var(--text-light);
  padding-left: 20px;
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.1);
}

.settings-nav-item.active {
  background: linear-gradient(
    135deg,
    rgba(164, 69, 237, 0.3),
    rgba(107, 47, 181, 0.3)
  );
  border-color: rgba(0, 255, 255, 0.4);
  color: var(--text-light);
  font-weight: 400;
  box-shadow:
    0 6px 20px rgba(164, 69, 237, 0.3),
    0 0 20px rgba(0, 255, 255, 0.2);
}

.settings-nav-item.active::before {
  transform: scaleY(1);
}

.nav-icon {
  font-size: 10px;
  flex-shrink: 0;
}

.nav-text {
  flex: 1;
}
/* ═══════════ SIDEBAR HEADER ═══════════ */

.settings-header {
  padding: 0px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.business-name-dropdown {
  margin-bottom: 15px;
}

.business-name-btn {
  width: 100%;
  padding: 12px 16px;
  background: linear-gradient(
    135deg,
    rgba(107, 47, 181, 0.4),
    rgba(164, 69, 237, 0.4)
  );
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
  color: var(--text-light);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(164, 69, 237, 0.2);
}

.business-name-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(107, 47, 181, 0.6),
    rgba(164, 69, 237, 0.6)
  );
  border-color: rgba(0, 255, 255, 0.5);
  box-shadow: 0 6px 20px rgba(164, 69, 237, 0.4);
  transform: translateY(-2px);
}

.business-name-btn svg {
  width: 16px;
  height: 16px;
  color: var(--neon-cyan);
}

.back-btn {
  width: 100%;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--neon-cyan);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.back-btn:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: rgba(0, 255, 255, 0.4);
  transform: translateX(-3px);
}

.back-btn svg {
  width: 16px;
  height: 16px;
}
/* ═══════════ SETTINGS MAIN CONTENT ═══════════ */

.settings-main-content {
  flex: 1;
  margin-left: 0px;
  background: var(--bg-main);
  min-height: 100vh;
}

/* ═══════════ TOP BAR ═══════════ */

.settings-top-bar {
  background: var(--text-light);
  border-bottom: 2px solid #e5e5e5;
  padding: 20px 40px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.main-area-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.5px;
  text-align: center;
  text-transform: uppercase;
}

/* ═══════════ CONTENT SECTIONS ═══════════ */

.settings-content-section {
  display: none;
  padding: 40px;
  animation: fadeInUp 0.4s ease;
}

.settings-content-section.active {
  display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-header-main {
  margin-bottom: 30px;
}

.section-header-main h2 {
  font-size: 32px;
  font-weight: 800;
  color: 00ffff;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.section-header-main p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* ═══════════ WELCOME CARDS ═══════════ */

.welcome-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 30px;
  color: var(--text-light);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.welcome-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.welcome-card h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 15px;
}

.welcome-card p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.95;
  max-width: 800px;
  margin: 0 auto;
}

/* ═══════════ INFO CARDS ═══════════ */

.info-card {
  background: var(--text-light);
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.info-card:hover {
  border-color: var(--neon-purple);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.info-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.info-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ═══════════ STATS GRID ═══════════ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-box-dash {
  background: var(--text-light);
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}

.stat-box-dash:hover {
  border-color: var(--neon-purple);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.stat-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--neon-purple);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ═══════════ CONTENT CARDS ═══════════ */

.content-card-main {
  background: var(--text-light);
  border: 2px solid #e5e5e5;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-md);
}

.content-card-main h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.content-card-main p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ═══════════ STEPS LIST ═══════════ */

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: #f9fafb;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: var(--transition);
}

.step-item:hover {
  border-color: var(--neon-purple);
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(
    135deg,
    var(--neon-purple),
    var(--neon-purple-dark)
  );
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

/* ═══════════ AGENTS GRID ═══════════ */

.agents-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.agent-card {
  background: #f9fafb;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.agent-card:hover {
  border-color: var(--neon-purple);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.agent-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.agent-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.agent-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

/* ═══════════ TOGGLE SWITCH ═══════════ */

.toggle-switch-settings {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.toggle-switch-settings input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider-settings {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: 0.3s;
  border-radius: 34px;
}

.toggle-slider-settings:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.toggle-switch-settings input:checked + .toggle-slider-settings {
  background: linear-gradient(
    135deg,
    var(--neon-purple),
    var(--neon-purple-dark)
  );
}

.toggle-switch-settings input:checked + .toggle-slider-settings:before {
  transform: translateX(24px);
}

/* ═══════════ BUTTONS ═══════════ */

.btn-primary-settings {
  padding: 12px 24px;
  background: linear-gradient(
    135deg,
    var(--neon-purple),
    var(--neon-purple-dark)
  );
  color: var(--text-light);
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(164, 69, 237, 0.3);
}

.btn-primary-settings:hover {
  background: linear-gradient(
    135deg,
    var(--neon-purple-dark),
    var(--neon-purple)
  );
  box-shadow: 0 6px 20px rgba(164, 69, 237, 0.5);
  transform: translateY(-2px);
}

.btn-primary-settings:active {
  transform: translateY(0);
}

.btn-edit {
  padding: 6px 16px;
  background: transparent;
  color: var(--neon-purple);
  border: 2px solid var(--neon-purple);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-edit:hover {
  background: var(--neon-purple);
  color: var(--text-light);
}

.btn-copy {
  padding: 8px 16px;
  background: var(--neon-purple);
  color: var(--text-light);
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-copy:hover {
  background: var(--neon-purple-dark);
}

/* ═══════════ PROMPTS LIST ═══════════ */

.prompts-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.prompt-item {
  background: #f9fafb;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  padding: 20px;
  transition: var(--transition);
}

.prompt-item:hover {
  border-color: var(--neon-purple);
  box-shadow: var(--shadow-md);
}

.prompt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.prompt-header h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.prompt-preview {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prompt-status {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(74, 222, 128, 0.1);
  color: var(--accent-green);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

/* ═══════════ SETTINGS FORM ═══════════ */

.settings-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 20px;
}

.form-group-settings {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group-settings label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group-settings input,
.form-group-settings select,
.form-group-settings textarea {
  padding: 12px 16px;
  background: #f9fafb;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-primary);
  transition: var(--transition);
}

.form-group-settings input:focus,
.form-group-settings select:focus,
.form-group-settings textarea:focus {
  outline: none;
  border-color: var(--neon-purple);
  background: var(--text-light);
  box-shadow: 0 0 0 3px rgba(164, 69, 237, 0.1);
}

.input-with-copy {
  display: flex;
  gap: 10px;
}

.input-with-copy input {
  flex: 1;
}

/* ═══════════ FEATURES SETTINGS LIST ═══════════ */

.features-settings-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.feature-settings-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #f9fafb;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  transition: var(--transition);
}

.feature-settings-item:hover {
  border-color: var(--neon-purple);
  box-shadow: var(--shadow-md);
}

.feature-info {
  flex: 1;
}

.feature-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.feature-info p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

/* ═══════════ NOTIFICATION SETTINGS ═══════════ */

.notification-settings-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.notification-setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #f9fafb;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  transition: var(--transition);
}

.notification-setting-item:hover {
  border-color: var(--neon-purple);
  box-shadow: var(--shadow-md);
}

.notification-info {
  flex: 1;
}

.notification-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.notification-info p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

.timeout-select {
  margin-top: 10px;
  padding: 8px 12px;
  background: var(--text-light);
  border: 2px solid #e5e5e5;
  border-radius: 6px;
  font-size: 13px;
}

/* ═══════════ RESPONSIVE DESIGN ═══════════ */

@media (max-width: 1400px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1200px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .agents-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .sidebar-business {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .sidebar-business.active {
    transform: translateX(0);
  }

  .settings-sidebar {
    left: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .settings-sidebar.active {
    transform: translateX(0);
  }

  .main-area {
    margin-left: 0;
  }

  .settings-main-content {
    margin-left: 0;
  }

  .settings-content-section {
    padding: 20px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .settings-top-bar {
    padding: 15px 20px;
  }

  .main-area-title {
    font-size: 20px;
  }

  .section-header-main h2 {
    font-size: 24px;
  }

  .welcome-card {
    padding: 30px 20px;
  }

  .step-item {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .sidebar-business {
    width: 100%;
    min-width: 100%;
  }

  .settings-sidebar {
    width: 100%;
    min-width: 100%;
  }

  .settings-content-section {
    padding: 15px;
  }
}

/* ═══════════ LOADING ANIMATION ═══════════ */

.loading-spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid #e5e5e5;
  border-top-color: var(--neon-purple);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ═══════════ UTILITIES ═══════════ */

.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.hidden {
  display: none;
}
/* ═══════════════════════════════════════════════════════════
   COMPANY PROFILE FORM STYLES
   ═══════════════════════════════════════════════════════════ */

.company-profile-form {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Form Sections */
.form-section {
  background: #ffffff;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  padding: 30px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 20px 0;
  padding-bottom: 15px;
  border-bottom: 2px solid #e5e5e5;
}

.section-title svg {
  width: 24px;
  height: 24px;
  color: var(--neon-purple);
  flex-shrink: 0;
}

.section-description {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 20px 0;
}

/* Form Grid for Company */
.form-grid-company {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.form-group-company {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group-company.full-width {
  grid-column: 1 / -1;
}

.form-group-company label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.field-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: #e5e5e5;
  border-radius: 50%;
  font-size: 11px;
  color: #666;
  cursor: help;
  transition: var(--transition);
}

.field-info:hover {
  background: var(--neon-purple);
  color: white;
}

.form-group-company input[type="text"],
.form-group-company input[type="email"],
.form-group-company input[type="tel"],
.form-group-company input[type="url"],
.form-group-company select {
  padding: 12px 16px;
  background: #f9fafb;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-primary);
  transition: var(--transition);
}

.form-group-company input:focus,
.form-group-company select:focus {
  outline: none;
  border-color: var(--neon-purple);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(164, 69, 237, 0.1);
}

.form-group-company input::placeholder {
  color: #999;
}

/* Domain Input Group */
.domain-input-group {
  display: flex;
  gap: 10px;
}

.domain-input-group input {
  flex: 1;
}

.btn-add-domain {
  padding: 12px 20px;
  background: var(--neon-purple);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-add-domain:hover {
  background: var(--neon-purple-dark);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════
   LOGO UPLOAD SECTION - FIXED VERSION
   ═══════════════════════════════════════════════════════════ */

.logo-upload-section {
  margin-top: 15px;
}

.upload-note {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.logo-upload-box {
  position: relative;
  width: 350px;
  height: 160px;
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: var(--transition);
}

.logo-upload-box:hover {
  border-color: var(--neon-purple);
  background: #ffffff;
}

/* Upload Placeholder */
.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  z-index: 1;
}

.upload-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--neon-purple),
    var(--neon-purple-dark)
  );
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 300;
}

.upload-actions {
  display: flex;
  gap: 10px;
}

.btn-upload,
.btn-remove {
  padding: 8px 20px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-upload {
  background: var(--neon-purple);
  color: white;
}

.btn-upload:hover {
  background: var(--neon-purple-dark);
  transform: translateY(-2px);
}

.btn-remove {
  background: #e5e5e5;
  color: #666;
}

.btn-remove:hover:not(:disabled) {
  background: #ef4444;
  color: white;
}

.btn-remove:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* Logo Preview */
.logo-preview {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  z-index: 2;
}

.logo-preview.active {
  display: flex;
}

.logo-preview img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: var(--transition);
}

/* Logo Overlay (appears on hover) */
.logo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.logo-preview:hover .logo-overlay {
  opacity: 1;
}

.logo-preview:hover img {
  filter: blur(2px);
}

.btn-change-logo,
.btn-delete-logo {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-change-logo {
  background: var(--neon-purple);
  color: white;
}

.btn-change-logo:hover {
  background: var(--neon-purple-dark);
  transform: translateY(-2px);
}

.btn-delete-logo {
  background: #ef4444;
  color: white;
}

.btn-delete-logo:hover {
  background: #dc2626;
  transform: translateY(-2px);
}

.btn-change-logo svg,
.btn-delete-logo svg {
  width: 16px;
  height: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .logo-upload-box {
    width: 100%;
  }
}
/* Inline Form Actions */
.form-actions-inline {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}

.btn-update-info {
  padding: 12px 24px;
  background: linear-gradient(
    135deg,
    var(--neon-purple),
    var(--neon-purple-dark)
  );
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(164, 69, 237, 0.3);
}

.btn-update-info:hover {
  box-shadow: 0 6px 20px rgba(164, 69, 237, 0.5);
  transform: translateY(-2px);
}
/* Main Form Actions */
.form-actions-main {
  display: flex;
  justify-content: center;
  padding-top: 20px;
}

.btn-large {
  padding: 16px 40px !important;
  font-size: 16px !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-large svg {
  width: 20px;
  height: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .form-grid-company {
    grid-template-columns: 1fr;
  }

  .logo-upload-box {
    width: 100%;
  }

  .domain-input-group {
    flex-direction: column;
  }
}
/* social media */
.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.social-item {
  display: flex;
  flex-direction: column;
}

.social-item label {
  color: #cbd5f5;
  margin-bottom: 6px;
  font-size: 14px;
}

.social-item input {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 8px;
  color: #fff;
}

.social-item input:focus {
  border-color: #7c3aed;
  outline: none;
}

.btn-save-social {
  margin-top: 20px;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.btn-save-social:hover {
  opacity: 0.9;
}
/* bio link */
.bio-builder-card {
  padding: 25px;
}

.bio-header h3 {
  color: #fff;
  margin-bottom: 5px;
}

.bio-header p {
  color: #9ca3af;
  margin-bottom: 20px;
}

.bio-item {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  background: #0f172a;
  padding: 10px;
  border-radius: 10px;
  align-items: center;
}

.bio-item input {
  flex: 1;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 8px;
  color: #fff;
}

.bio-item input:focus {
  border-color: #7c3aed;
  outline: none;
}

.bio-item button {
  background: #ef4444;
  border: none;
  color: #fff;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.btn-add-link {
  margin-top: 10px;
  background: transparent;
  border: 1px dashed #7c3aed;
  color: #7c3aed;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
}

.btn-add-link:hover {
  background: rgba(124, 58, 237, 0.1);
}
/* feature and notifications */
.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0f172a;
  padding: 14px;
  border-radius: 12px;
  margin-bottom: 12px;
  color: #cbd5f5;
}

/* SWITCH */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #374151;
  border-radius: 34px;
  transition: 0.3s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}

.switch input:checked + .slider {
  background: linear-gradient(135deg, #7c3aed, #2563eb);
}

.switch input:checked + .slider:before {
  transform: translateX(24px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* .ig-wrap {
  padding: 24px;
  font-family: sans-serif;
  max-width: 700px;
  margin: 0 auto;
}

.ig-input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.ig-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 15px;
  background: #f9f9f9;
  color: #333;
  outline: none;
}

.ig-input:focus {
  border-color: #534ab7;
}

.ig-btn {
  padding: 12px 24px;
  background: #534ab7;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.ig-btn:hover {
  background: #3c3489;
}

.ig-btn:disabled {
  background: #aaa;
  cursor: not-allowed;
}

.ig-status {
  font-size: 13px;
  color: #888;
  margin-bottom: 16px;
  min-height: 20px;
}

.ig-result {
  background: #f9f9ff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  display: none;
}

.ig-result.show {
  display: block;
}

.ig-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.ig-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #534ab7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  flex-shrink: 0;
}

.ig-username {
  font-size: 17px;
  font-weight: 500;
  color: #222;
}

.ig-fullname {
  font-size: 13px;
  color: #888;
  margin-top: 2px;
}

.ig-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.ig-stat {
  text-align: center;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 12px 20px;
  flex: 1;
  min-width: 80px;
}

.ig-stat-val {
  font-size: 18px;
  font-weight: 500;
  color: #534ab7;
}

.ig-stat-label {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

.ig-bio {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 16px;
}

.ig-raw {
  margin-top: 16px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 12px;
  font-size: 12px;
  color: #888;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 200px;
  overflow-y: auto;
  display: none;
}

.ig-raw.show {
  display: block;
}

.ig-toggle-raw {
  font-size: 12px;
  color: #534ab7;
  cursor: pointer;
  margin-top: 8px;
  display: inline-block;
}

.ig-error {
  background: #fcebeb;
  border: 1px solid #f09595;
  border-radius: 10px;
  padding: 16px;
  color: #a32d2d;
  font-size: 14px;
  display: none;
}

.ig-error.show {
  display: block;
} */

/* Hide bottom part */
.google-form-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px; /* adjust to cover footer */
  background: #1a0f2e; /* match your theme background */
}

.google-form-wrapper {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #2a0d4d, #1a0f2e);
  padding: 10px;
  width: 100%;
  height: 900px; /* adjust based on your form */
  overflow: hidden; /* 🔥 removes scrollbar */
  position: relative;
}

.google-form-wrapper iframe {
  width: 100%;
  height: 1200px; /* bigger than container */
  border: none;
}
