/* =========================================
   BuddyPlanner v2 — Profile Screen
   ========================================= */

.profile-hero {
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  background: var(--grad-hero);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-4);
  box-shadow: var(--shadow-sm);
  border: 2px solid #fff;
}

.profile-name {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--text-100);
  margin-bottom: var(--sp-1);
}

.profile-email {
  font-size: var(--fs-sm);
  color: var(--text-500);
}

.profile-section {
  padding: var(--sp-5);
}

.profile-section-title {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--text-200);
  margin-bottom: var(--sp-3);
  padding-left: var(--sp-1);
}

.setting-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: var(--sp-5);
}

.setting-item {
  display: flex;
  flex-direction: column;
  padding: var(--sp-4);
  border-bottom: 1px solid var(--border-subtle);
}
.setting-item:last-child {
  border-bottom: none;
}

.setting-item-header {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-400);
  margin-bottom: var(--sp-2);
}

.setting-options {
  display: flex;
  gap: var(--sp-2);
}

.setting-opt-btn {
  flex: 1;
  padding: var(--sp-2) 0;
  border-radius: var(--r-md);
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-500);
  transition: all var(--dur-fast) var(--ease-out);
}
.setting-opt-btn.active {
  background: var(--accent-dim);
  border-color: var(--border-accent);
  color: var(--accent);
}

.address-input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  padding: 0 var(--sp-3);
  height: 48px;
}
.address-input-wrap:focus-within {
  border-color: var(--accent);
  background: var(--bg-app);
}
.address-icon {
  font-size: var(--fs-lg);
  margin-right: var(--sp-2);
}
.address-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: var(--fs-base);
  color: var(--text-100);
}

.logout-wrap {
  padding: var(--sp-4) var(--sp-5) var(--sp-8);
  display: flex;
  justify-content: center;
}
.logout-btn {
  color: var(--danger);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-decoration: underline;
  padding: var(--sp-2) var(--sp-4);
  background: transparent;
  border: none;
}
