/* ===== CUSTOMER PROFILE PAGE – dedicated design with orange (#FF8C00) ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'DM Sans', sans-serif;
  background: #050a1a; color: #f0f4ff;
  line-height: 1.6; overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

:root {
  --customer: #FF8C00;
  --customer-dark: #e07b00;
  --customer-glow: rgba(255,140,0,0.3);
  --bg-dark: #050a1a;
  --bg-mid: #0c1428;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.18);
  --text-primary: #f0f4ff;
  --text-secondary: #8fa0c0;
  --text-muted: #5a6a8a;
  --font-display: 'Playfair Display', serif;
  --font-sinhala: 'Noto Sans Sinhala', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
}

/* ===== customer utils ===== */
.gradient-text-customer {
  background: linear-gradient(135deg, #FF8C00, #ffaa33);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.btn-customer {
  padding: 10px 24px; border-radius: 30px; font-weight: 600; font-size: 0.9rem;
  background: var(--customer); color: #fff; border: none;
  box-shadow: 0 4px 20px rgba(255,140,0,0.3);
  transition: all 0.3s; cursor: pointer; display: inline-block;
}
.btn-customer:hover { transform: translateY(-2px); box-shadow: 0 8px 30px #FF8C00; }
.btn-outline-customer {
  padding: 9px 22px; border-radius: 30px; font-weight: 500;
  border: 1.5px solid rgba(255,140,0,0.4); color: var(--customer);
  background: transparent; transition: 0.3s; display: inline-block;
}
.btn-outline-customer:hover { background: rgba(255,140,0,0.1); border-color: var(--customer); }

/* ===== navbar (same as home) ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0; transition: background 0.4s, backdrop-filter 0.4s;
  background: rgba(5,10,26,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.navbar.scrolled {
  background: rgba(5,10,26,0.98);
  box-shadow: 0 2px 40px rgba(0,0,0,0.4);
}
.nav-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 40px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.5rem; font-family: var(--font-display); font-weight: 700;
}
.logo-icon { color: var(--customer); font-size: 1.8rem; filter: drop-shadow(0 0 8px #FF8C00); }
.logo-text strong { color: var(--customer); }
.nav-links { display: flex; gap: 8px; margin-left: auto; }
.nav-links a {
  padding: 8px 16px; border-radius: 30px; font-size: 0.9rem; font-weight: 500;
  color: var(--text-secondary); transition: all 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: white; background: rgba(255,140,0,0.15); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.btn-ghost {
  padding: 9px 20px; border-radius: 30px; font-size: 0.9rem; font-weight: 500;
  color: var(--text-secondary); border: 1px solid var(--border); transition: all 0.3s;
}
.btn-ghost:hover { color: white; background: var(--bg-card); }
.hamburger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer;
}
.hamburger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: 0.3s; }

/* ===== profile layout ===== */
.profile-main {
  padding: 120px 0 80px;
  background: var(--bg-dark);
  min-height: 100vh;
}
.profile-header {
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap;
  margin-bottom: 40px; gap: 20px;
}
.profile-header h1 {
  font-family: var(--font-display); font-size: 2.8rem; font-weight: 900;
  margin-bottom: 8px;
}
.sinhala-tag {
  font-family: var(--font-sinhala); color: var(--customer); font-size: 0.95rem;
}

/* profile grid: left sidebar + right content */
.profile-grid {
  display: grid; grid-template-columns: 400px 1fr; gap: 32px;
  align-items: start;
}

/* left card */
.profile-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px 32px;
  backdrop-filter: blur(10px);
  transition: 0.3s;
  position: sticky;
  top: 100px;
}
.profile-card:hover { 
  border-color: rgba(255,140,0,0.3); 
  box-shadow: 0 20px 40px rgba(255,140,0,0.1); 
}
.avatar-large {
  font-size: 5rem; background: rgba(255,140,0,0.1); width: 140px; height: 140px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; border: 3px solid var(--customer);
  box-shadow: 0 8px 24px rgba(255,140,0,0.2);
}
.profile-name {
  text-align: center; font-size: 1.9rem; font-family: var(--font-display);
  line-height: 1.2; margin-bottom: 8px;
}
.profile-badge {
  display: inline-block; background: rgba(255,140,0,0.15); color: var(--customer);
  padding: 5px 18px; border-radius: 40px; font-size: 0.75rem; font-weight: 600;
  margin: 8px auto; border: 1px solid rgba(255,140,0,0.3);
  letter-spacing: 0.5px;
}
.info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.info-row:last-child { border-bottom: none; }
.info-label { color: var(--text-muted); font-size: 0.9rem; }
.info-value { font-weight: 500; color: var(--text-primary); font-size: 0.95rem; }
.edit-profile-btn {
  width: 100%; margin-top: 24px; padding: 14px; border-radius: 40px;
  background: var(--customer); color: white; font-weight: 700; border: none;
  cursor: pointer; transition: 0.3s; font-size: 1rem;
  box-shadow: 0 4px 16px rgba(255,140,0,0.3);
}
.edit-profile-btn:hover { 
  background: var(--customer-dark); 
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,140,0,0.4);
}

/* right side panels */
.settings-panel {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; margin-bottom: 28px;
  transition: 0.3s;
}
.settings-panel:hover { border-color: rgba(255,140,0,0.2); }
.panel-title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 28px;
  font-weight: 700;
}
.panel-title span { font-size: 1.8rem; }

/* toggle switches */
.pref-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--border);
}
.pref-item:last-child { border-bottom: none; }
.toggle-switch {
  width: 48px; height: 26px; background: #3a3f5e; border-radius: 40px;
  position: relative; cursor: pointer; transition: 0.2s;
  flex-shrink: 0;
}
.toggle-switch.active { background: var(--customer); }
.toggle-switch::after {
  content: ''; width: 22px; height: 22px; background: white; border-radius: 50%;
  position: absolute; top: 2px; left: 2px; transition: 0.2s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.toggle-switch.active::after { left: 24px; }

/* vendor board chips */
.board-grid {
  display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 8px;
}
.board-chip {
  background: rgba(255,140,0,0.08); border: 1px solid rgba(255,140,0,0.2);
  padding: 10px 20px; border-radius: 40px; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 6px; transition: 0.2s;
}
.board-chip:hover { background: rgba(255,140,0,0.15); border-color: var(--customer); }
.board-chip .follow-count { color: var(--customer); font-size: 0.75rem; }

/* activity mock */
.activity-item {
  display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border);
  align-items: center;
}
.activity-item:last-child { border-bottom: none; }
.activity-dot { 
  width: 10px; height: 10px; background: var(--customer); border-radius: 50%;
  flex-shrink: 0;
}
.activity-text { font-size: 0.9rem; color: var(--text-secondary); flex-grow: 1; }
.activity-time { margin-left: auto; font-size: 0.75rem; color: var(--text-muted); }

/* footer */
.footer {
  background: var(--bg-mid); padding: 60px 0 30px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px;
  margin-bottom: 40px;
}
.footer h4 { margin-bottom: 16px; color: white; font-size: 1rem; }
.footer a { 
  display: block; color: var(--text-muted); margin-bottom: 10px;
  transition: 0.2s; font-size: 0.9rem;
}
.footer a:hover { color: var(--customer); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border); padding-top: 24px;
  color: var(--text-muted);
}
.footer-links { display: flex; gap: 24px; }

/* responsive */
@media (max-width: 1200px) {
  .profile-grid { grid-template-columns: 360px 1fr; gap: 24px; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-links.open, .nav-cta.open { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    position: absolute;
    top: 60px;
    right: 24px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    z-index: 999;
  }
  .hamburger { display: flex; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-card { position: relative; top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 600px) {
  .profile-header h1 { font-size: 2rem; }
  .settings-panel { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}
