/* Profile Page */
.profile-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.profile-header {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 32px;
  margin-bottom: 32px;
  display: flex;
  gap: 32px;
  align-items: start;
}

.profile-avatar {
  flex-shrink: 0;
}

.avatar-large {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 600;
}

.profile-info {
  flex: 1;
}

.profile-name {
  font-size: 32px;
  margin-bottom: 12px;
}

.profile-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.badge-business {
  background: var(--warning-color);
  color: white;
}

.badge-verified {
  background: var(--success-color);
  color: white;
}

.profile-bio {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 20px;
}

.profile-actions {
  display: flex;
  gap: 12px;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.stat-item {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 24px;
  text-align: center;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: #6b7280;
  text-transform: uppercase;
  font-weight: 600;
}

.profile-content {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 32px;
}

.profile-content h2 {
  font-size: 24px;
  margin-bottom: 24px;
}

.view-all-container {
  text-align: center;
  margin-top: 32px;
}

/* Settings Page */
.settings-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.settings-header {
  margin-bottom: 32px;
}

.settings-header h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

.settings-subtitle {
  color: #6b7280;
  font-size: 16px;
}

.settings-form {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 32px;
}

.settings-section {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
}

.settings-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.settings-section h2 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--text-color);
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--success-color);
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
}

.verified-badge .icon {
  width: 18px;
  height: 18px;
}

.verify-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
}

.verify-link:hover {
  text-decoration: underline;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.checkbox-group label {
  margin-bottom: 0;
  cursor: pointer;
}

.security-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 8px;
}

.security-info h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.security-info p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-stats {
    grid-template-columns: 1fr;
  }

  .security-item {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
}

/* === WELCOME PAGE (post-signup) === */
.welcome-page {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  background: linear-gradient(180deg, #fff7ed 0%, #f9fafb 60%);
}

.welcome-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
  max-width: 640px;
  width: 100%;
  padding: 2.5rem 2rem;
  text-align: center;
}

.welcome-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: #ecfdf5;
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
}

.welcome-icon svg {
  width: 36px;
  height: 36px;
}

.welcome-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.welcome-subtitle {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.welcome-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  text-align: start;
}

.welcome-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.welcome-step:hover {
  border-color: #ef4444;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.08);
  transform: translateY(-1px);
}

.welcome-step-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.welcome-step-icon svg {
  width: 22px;
  height: 22px;
}

.welcome-step-icon--post   { background: #fef2f2; color: #ef4444; }
.welcome-step-icon--browse { background: #eff6ff; color: #3b82f6; }
.welcome-step-icon--profile{ background: #fffbeb; color: #f59e0b; }

.welcome-step-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.welcome-step-title {
  font-weight: 600;
  color: #111827;
}

.welcome-step-text {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.45;
}

.welcome-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.welcome-btn {
  min-width: 160px;
  padding: 0.875rem 1.5rem;
}

.welcome-app-hint {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.welcome-app-hint a {
  color: #ef4444;
  font-weight: 600;
}

@media (max-width: 480px) {
  .welcome-card {
    padding: 1.75rem 1.25rem;
  }
  .welcome-btn {
    width: 100%;
  }
}
