/* ==========================================================
   Delhi25 · Accounts Profile (Profile-only)
   File: static/css/sections/accounts/profile.css
   Depends on: app/shell.css
   ========================================================== */

/* Profile Navigation (left column) */
.d25-prof-navlist{
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-1);
  padding: 20px;
}

.d25-prof-item,
.d25-nav-sub{
  display: block;
  text-decoration: none;
  color: var(--grey-09);
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 1rem;
}

.d25-nav-sub{
  font-size: .9rem;
  padding: 4px 12px;
}

.d25-prof-item:hover,
.d25-nav-sub:hover{
  background: var(--grey-02);
}

.d25-prof-item.is-active,
.d25-nav-sub.is-active{
  background: var(--grey-01);
}

.d25-prof-item.is-danger{
  color: #b00020;
}

.d25-prof-group{
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--grey-02);
}

.d25-prof-group__title{
  font-size: .9rem;
  color: var(--grey-06);
  margin: 0 0 8px 12px;
  text-transform: uppercase;
}

/* --------------------------------------------
   Cards: Head = Title + Separator + Content
   -------------------------------------------- */

.d25-card{ position: relative; }

/* Header = Title then separator line */
.d25-prof-cardHead{
  display: block;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--grey-02);
}

.d25-prof-title{
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
  color: var(--grey-10);
}

/* Top-right icon action inside card */
.d25-prof-cardAction{
  position: absolute;
  top: 16px;
  right: 16px;
}

/* Icon button (Edit/Add) */
.d25-prof-edit{
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 0;
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.d25-prof-edit:hover{ background: var(--grey-01); }

.d25-prof-edit .material-symbols-outlined{
  font-size: 20px;
  color: var(--grey-07);
}

.d25-prof-edit.is-danger .material-symbols-outlined{
  color: #b00020;
}

/* Card body spacing safety */
.d25-prof-cardBody{ display:block; }

/* Text trims */
.d25-prof-name{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Values: keep clean */
.d25-prof-val{
  margin: 0;
  color: var(--grey-10);
}

/* Inline line: value + pill + delete (delete sits right after content, 6px gap) */
.d25-prof-line{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* If a delete form lives beside the content */
.d25-itemRow__delete{ margin-left: 0; }

/* Row layout (keeps actions on the right, doesn’t affect left nav) */
.d25-itemRow{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--grey-02);
}

.d25-itemRow:first-child{ border-top: 0; padding-top: 0; }

.d25-itemRow__main{
  flex: 1 1 auto;
  min-width: 0;
}

.d25-itemRow__actions{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Muted lines under address */
.d25-prof-muted{
  margin: 6px 0 0;
  color: var(--grey-08);
  font-size: .92rem;
}

/* --------------------------------------------
   "+ Add" button (single unified element)
   -------------------------------------------- */

.d25-prof-moreBtn{
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 0px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: var(--grey-07);
  font-size: .9rem;
  font-weight: 400;
  text-decoration: none; 
}

.d25-prof-moreBtn .material-symbols-outlined{
  font-size: 1.2rem;
  line-height: 1;
  color: var(--grey-05);
  font-weight: 600;
}

/* subtle, clean hover — whole unit */
.d25-prof-moreBtn:hover{
  color: var(--brand-green);
  font-weight: 600;
}

/* --------------------------------------------
   Mini action button (Make primary)
   -------------------------------------------- */
.d25-prof-mini{
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.d25-prof-mini:hover{
  transform: translateY(-2px);
}
