/* =========================================================
   PROFIL.CSS - LACAK TB
   =========================================================
   TUJUAN:
   - Styling khusus halaman profil.
   - Selaras dengan style final index.html:
     clean, elegan, soft-neumorphism, dan mobile friendly.
   - Tidak menampilkan partikel bergerak.
   - Tidak menampilkan dekorasi lingkaran besar pada card.
   - Tidak mengubah struktur HTML dan logic JavaScript.

   CATATAN:
   - File ini bergantung pada variable dari login.css/dashboard.css:
     --surface, --surface2, --ink, --muted, --blue,
     --neu-out, --neu-out-sm, --neu-in-sm, --primaryGrad,
     --primaryShadow.
   ========================================================= */


/* =========================================================
   SAFETY: NONAKTIFKAN PARTIKEL / RING JIKA ADA CACHE LAMA
   ========================================================= */
.profile-dashboard-page #bg,
.profile-dashboard-page .ringHint{
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


/* =========================================================
   SAFETY: HIDDEN KHUSUS MODAL CROPPER
   =========================================================
   Catatan:
   - Tidak memakai [hidden] global agar tombol Simpan bawah
     tidak ikut terkunci oleh CSS ketika JS mengubah statusnya.
   - Untuk elemen lain, atribut hidden tetap mengikuti default browser.
   ========================================================= */
.profileCropModal[hidden]{
  display: none !important;
}


/* =========================================================
   LAYOUT PROFIL
   ========================================================= */
.profile-dashboard-page .dashboardLayout{
  align-items: start;
}

.profile-dashboard-page .dashboardContent{
  gap: 20px;
}

.profile-dashboard-page .dashboardPanels{
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.profile-dashboard-page .profileContent{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}


/* =========================================================
   CARD DASAR
   ========================================================= */
.profile-dashboard-page .profileHeroCard,
.profile-dashboard-page .profileInfoCard{
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: var(--neu-out);
  border-radius: 28px;
  transition:
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease,
    transform .18s ease;
}

html[data-theme="dark"] .profile-dashboard-page .profileHeroCard,
html[data-theme="dark"] .profile-dashboard-page .profileInfoCard{
  border-color: rgba(255,255,255,.06);
}


/* =========================================================
   HERO PROFIL
   ========================================================= */
.profile-dashboard-page .profileHeroCard{
  position: relative;
  overflow: hidden;
  padding: 28px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

/* =========================================================
   CLEAN MODE
   ---------------------------------------------------------
   Lingkaran dekoratif pada card profil dimatikan agar
   tampilan selaras dengan index.html final yang clean.
   ========================================================= */
.profile-dashboard-page .profileHeroCard::before{
  content: none !important;
  display: none !important;
}

.profile-dashboard-page .profileAvatarWrap,
.profile-dashboard-page .profileHeroInfo{
  position: relative;
  z-index: 1;
}

.profile-dashboard-page .profileAvatarWrap{
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.profile-dashboard-page .profileAvatar{
  width: 104px;
  height: 104px;
  border-radius: 28px;
  object-fit: cover;
  background: var(--surface2);
  border: 1px solid rgba(255,255,255,.45);
  box-shadow: var(--neu-out-sm);
}

html[data-theme="dark"] .profile-dashboard-page .profileAvatar{
  border-color: rgba(255,255,255,.08);
}

.profile-dashboard-page .profileHeroInfo{
  min-width: 0;
}


.profile-dashboard-page .profileDisplayName{
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.02em;
  word-break: break-word;
}

.profile-dashboard-page .profileEmail{
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  word-break: break-word;
}

.profile-dashboard-page .profileHeroActions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}


/* =========================================================
   BUTTON AKSI HERO
   ========================================================= */
.profile-dashboard-page .profileActionBtn{
  appearance: none;
  min-height: 40px;
  padding: 0 15px;
  border: 0;
  border-radius: 14px;
  background: var(--primaryGrad);
  color: #fff;
  box-shadow: var(--primaryShadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    opacity .18s ease;
}

.profile-dashboard-page .profileActionBtn:hover{
  transform: translateY(-1px);
}

.profile-dashboard-page .profileActionBtn:active{
  transform: translateY(0);
}

.profile-dashboard-page .profileActionBtn:disabled{
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

.profile-dashboard-page .profileActionBtn i,
.profile-dashboard-page .profileActionBtn span{
  color: inherit;
}

.profile-dashboard-page .profileActionBtn i{
  font-size: 13px;
}

.profile-dashboard-page .profileActionBtn--ghost{
  background: var(--surface2);
  color: var(--danger, #e15b64);
  border: 1px solid rgba(255,255,255,.45);
  box-shadow: var(--neu-out-sm);
}

html[data-theme="dark"] .profile-dashboard-page .profileActionBtn--ghost{
  border-color: rgba(255,255,255,.08);
}

.profile-dashboard-page .profileActionNote{
  margin: 14px 0 0;
  min-height: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}


/* =========================================================
   GRID PROFIL
   ========================================================= */
.profile-dashboard-page .profileGrid{
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, .85fr);
  gap: 22px;
}

.profile-dashboard-page .profileInfoCard{
  position: relative;
  overflow: hidden;
  padding: 24px;
}

/* =========================================================
   CLEAN MODE
   ---------------------------------------------------------
   Lingkaran dekoratif pada info card dimatikan agar tampilan
   lebih bersih dan tidak ramai.
   ========================================================= */
.profile-dashboard-page .profileInfoCard::before{
  content: none !important;
  display: none !important;
}

.profile-dashboard-page .profileCardHead,
.profile-dashboard-page .profileInfoList,
.profile-dashboard-page .profileForm,
.profile-dashboard-page .profileFormHelp{
  position: relative;
  z-index: 1;
}

.profile-dashboard-page .profileCardHead{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.profile-dashboard-page .profileCardHead--form{
  align-items: flex-start;
  gap: 18px;
}

.profile-dashboard-page .profileCardHeadBlock{
  min-width: 0;
}

.profile-dashboard-page .profileCardHead h3{
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.profile-dashboard-page .profileCardSub{
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.profile-dashboard-page .profileCardActions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}


/* =========================================================
   BUTTON AKSI CARD
   ========================================================= */
.profile-dashboard-page .profileCardActionBtn{
  appearance: none;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.42);
  background: var(--surface2);
  color: var(--ink);
  box-shadow: var(--neu-out-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform .18s ease,
    background .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    opacity .18s ease;
}

.profile-dashboard-page .profileCardActionBtn:hover{
  transform: translateY(-1px);
}

.profile-dashboard-page .profileCardActionBtn:disabled{
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

.profile-dashboard-page .profileCardActionBtn--primary{
  border: 0;
  background: var(--primaryGrad);
  color: #fff;
  box-shadow: var(--primaryShadow);
}

.profile-dashboard-page .profileCardActionBtn--ghost{
  background: var(--surface2);
  color: var(--ink);
}

html[data-theme="dark"] .profile-dashboard-page .profileCardActionBtn{
  border-color: rgba(255,255,255,.08);
}

.profile-dashboard-page .profileCardIcon{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--surface2);
  border: 1px solid rgba(255,255,255,.42);
  box-shadow: var(--neu-out-sm);
  color: var(--blue);
}

html[data-theme="dark"] .profile-dashboard-page .profileCardIcon{
  border-color: rgba(255,255,255,.08);
}


/* =========================================================
   FORM PROFIL
   ========================================================= */
.profile-dashboard-page .profileForm{
  margin: 0;
}


/* =========================================================
   AKSI SIMPAN DI BAWAH FORM
   =========================================================
   Tombol Simpan utama sekarang hanya ada di bagian paling
   bawah form. Tombol ini tetap memakai style button card
   agar konsisten dengan tampilan sebelumnya.
   ========================================================= */
.profile-dashboard-page .profileFormBottomActions{
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(127,145,179,.20);
}

html[data-theme="dark"] .profile-dashboard-page .profileFormBottomActions{
  border-top-color: rgba(255,255,255,.10);
}

.profile-dashboard-page .profileFormSaveBtn{
  min-width: 118px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   FORM SECTION - INFORMASI PROFIL TAMBAHAN
   =========================================================
   TUJUAN:
   - Memberi pembatas visual yang rapi antara data profil
     utama dan data Faskes BPJS, dan data alamat.
   - Tetap memakai tone soft-neumorphism yang sama.
   - Mendukung beberapa section form tanpa mengubah style input lama.
   ========================================================= */
.profile-dashboard-page .profileFormSection{
  width: 100%;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(127,145,179,.20);
}

html[data-theme="dark"] .profile-dashboard-page .profileFormSection{
  border-top-color: rgba(255,255,255,.10);
}

.profile-dashboard-page .profileFormSectionHead{
  margin: 0 0 16px;
}

.profile-dashboard-page .profileFormSectionTitle{
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.015em;
}

.profile-dashboard-page .profileFormSectionSub{
  margin: 7px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
  font-weight: 500;
}

.profile-dashboard-page .profileFormGrid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.profile-dashboard-page .profileField{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-dashboard-page .profileFieldControl{
  position: relative;
}

.profile-dashboard-page .profileFieldInput{
  width: 100%;
  min-height: 56px;
  padding: 0 52px 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.36);
  background: rgba(255,255,255,.42);
  color: var(--ink);
  box-shadow: var(--neu-out-sm);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  outline: none;
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.profile-dashboard-page .profileFieldInput::placeholder{
  color: var(--muted);
  opacity: .9;
}

.profile-dashboard-page .profileFieldInput:focus{
  border-color: rgba(11,99,255,.35);
  box-shadow:
    var(--neu-out-sm),
    0 0 0 3px rgba(11,99,255,.12);
  background: rgba(255,255,255,.56);
}

.profile-dashboard-page .profileFieldInput:disabled{
  opacity: 1;
  cursor: default;
}

.profile-dashboard-page .profileFieldSelect{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 26px) calc(50% - 3px),
    calc(100% - 20px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

html[data-theme="dark"] .profile-dashboard-page .profileFieldInput{
  background: rgba(17,28,52,.28);
  border-color: rgba(255,255,255,.07);
}

html[data-theme="dark"] .profile-dashboard-page .profileFieldInput:focus{
  background: rgba(17,28,52,.4);
}

.profile-dashboard-page .profileFieldClearBtn{
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.38);
  background: var(--surface2);
  color: var(--danger, #e15b64);
  box-shadow: var(--neu-out-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform .18s ease,
    opacity .18s ease,
    border-color .18s ease;
}

.profile-dashboard-page .profileFieldClearBtn:hover{
  transform: translateY(-50%) scale(1.04);
}

html[data-theme="dark"] .profile-dashboard-page .profileFieldClearBtn{
  border-color: rgba(255,255,255,.08);
}


/* =========================================================
   IKON EDIT DI DALAM INPUT
   =========================================================
   Tombol kanan input sekarang menjadi tombol edit/ubah,
   bukan tombol hapus. Class lama profileFieldClearBtn tetap
   dipertahankan agar ukuran dan posisi tidak berubah.
   ========================================================= */
.profile-dashboard-page .profileFieldEditBtn{
  color: var(--blue);
}

.profile-dashboard-page .profileFieldEditBtn:hover{
  transform: translateY(-50%) scale(1.04);
}

.profile-dashboard-page .profileFieldEditBtn i{
  color: inherit;
}

/* =========================================================
   FIELD MAP LOKASI + TOMBOL GPS
   =========================================================
   TUJUAN:
   - Merapikan field Map Lokasi yang memiliki 2 tombol:
     1. Tombol GPS / deteksi lokasi
     2. Tombol edit input
   - Tidak mengubah style input lain.
   - Dipakai oleh:
     #inputAddressMapLocation
     #btnGetMapLocation
   ========================================================= */
.profile-dashboard-page .profileFieldControl--map .profileFieldInput{
  padding-right: 96px;
}

.profile-dashboard-page .profileFieldMapBtn{
  position: absolute;
  top: 50%;
  right: 50px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.38);
  background: var(--primaryGrad);
  color: #ffffff;
  box-shadow: var(--primaryShadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform .18s ease,
    opacity .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.profile-dashboard-page .profileFieldMapBtn:hover{
  transform: translateY(-50%) scale(1.04);
}

.profile-dashboard-page .profileFieldMapBtn:active{
  transform: translateY(-50%) scale(1);
}

.profile-dashboard-page .profileFieldMapBtn:disabled{
  opacity: .65;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.profile-dashboard-page .profileFieldMapBtn i{
  color: inherit;
  font-size: 13px;
}

html[data-theme="dark"] .profile-dashboard-page .profileFieldMapBtn{
  border-color: rgba(255,255,255,.08);
}

.profile-dashboard-page .profileFormHelp{
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}


/* =========================================================
   INFORMASI KEAMANAN
   ========================================================= */
.profile-dashboard-page .profileInfoList{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-dashboard-page .profileInfoRow{
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.42);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: var(--neu-out-sm);
}

html[data-theme="dark"] .profile-dashboard-page .profileInfoRow{
  background: rgba(17,28,52,.28);
  border-color: rgba(255,255,255,.07);
}

.profile-dashboard-page .profileInfoLabel{
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.profile-dashboard-page .profileInfoValue{
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  word-break: break-word;
}


/* =========================================================
   CROP MODAL
   ========================================================= */
.profileCropModal[hidden]{
  display: none !important;
}

.profileCropModal{
  position: fixed;
  inset: 0;
  z-index: 999;
}

.profileCropBackdrop{
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 34, .56);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.profileCropDialog{
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(92vw, 980px);
  max-height: min(88vh, 860px);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.38);
  box-shadow: var(--neu-out);
  overflow: hidden;
}

html[data-theme="dark"] .profileCropDialog{
  border-color: rgba(255,255,255,.08);
}

.profileCropHead{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.profileCropHeadText{
  min-width: 0;
}

.profileCropTitle{
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.profileCropSub{
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.profileCropCloseBtn{
  appearance: none;
  width: 42px;
  height: 42px;
  min-width: 42px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 14px;
  background: var(--surface2);
  color: var(--ink);
  box-shadow: var(--neu-out-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform .18s ease,
    background .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.profileCropCloseBtn:hover{
  transform: translateY(-1px);
}

html[data-theme="dark"] .profileCropCloseBtn{
  border-color: rgba(255,255,255,.08);
}

.profileCropBody{
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
}

.profileCropCanvasWrap{
  position: relative;
  width: 100%;
  height: min(58vh, 520px);
  min-height: 320px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(45deg, rgba(255,255,255,.65) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,.65) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,.65) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,.65) 75%);
  background-size: 24px 24px;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
  border: 1px solid rgba(255,255,255,.38);
  box-shadow: var(--neu-in-sm);
}

html[data-theme="dark"] .profileCropCanvasWrap{
  background:
    linear-gradient(45deg, rgba(255,255,255,.04) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,.04) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255,255,255,.04) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,.04) 75%);
  background-size: 24px 24px;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
  border-color: rgba(255,255,255,.08);
}

.profileCropImage{
  display: block;
  max-width: 100%;
}

.profileCropToolbar{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.profileCropToolBtn{
  appearance: none;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.42);
  background: var(--surface2);
  color: var(--ink);
  box-shadow: var(--neu-out-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform .18s ease,
    background .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.profileCropToolBtn:hover{
  transform: translateY(-1px);
}

html[data-theme="dark"] .profileCropToolBtn{
  border-color: rgba(255,255,255,.08);
}

.profileCropFoot{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 2px;
}

.profileCropActionBtn{
  appearance: none;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  background: var(--primaryGrad);
  color: #fff;
  box-shadow: var(--primaryShadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    opacity .18s ease;
}

.profileCropActionBtn:hover{
  transform: translateY(-1px);
}

.profileCropActionBtn:active{
  transform: translateY(0);
}

.profileCropActionBtn:disabled{
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

.profileCropActionBtn--ghost{
  background: var(--surface2);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.42);
  box-shadow: var(--neu-out-sm);
}

html[data-theme="dark"] .profileCropActionBtn--ghost{
  border-color: rgba(255,255,255,.08);
}

.profileCropCanvasWrap .cropper-container{
  direction: ltr;
}

.profileCropCanvasWrap .cropper-view-box,
.profileCropCanvasWrap .cropper-face{
  border-radius: 24px;
}

.profileCropCanvasWrap .cropper-view-box{
  outline: 2px solid rgba(255,255,255,.95);
  outline-color: rgba(255,255,255,.95);
}

.profileCropCanvasWrap .cropper-line,
.profileCropCanvasWrap .cropper-point{
  background-color: #fff;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px){
  .profile-dashboard-page .profileGrid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px){
  .profile-dashboard-page .profileHeroCard{
    padding: 24px 20px;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 18px;
  }

  .profile-dashboard-page .profileAvatar{
    width: 96px;
    height: 96px;
    border-radius: 25px;
  }

  .profile-dashboard-page .profileDisplayName{
    font-size: 24px;
  }

  .profile-dashboard-page .profileActionBtn{
    min-height: 38px;
    padding: 0 14px;
    border-radius: 13px;
    font-size: 12.5px;
  }

  .profile-dashboard-page .profileInfoCard{
    padding: 20px;
  }

  .profile-dashboard-page .profileFormGrid{
    grid-template-columns: 1fr;
  }

  .profile-dashboard-page .profileCardHead--form{
    flex-direction: column;
    align-items: stretch;
  }

  .profile-dashboard-page .profileCardActions{
    justify-content: flex-start;
  }

  .profileCropDialog{
    width: min(94vw, 920px);
    padding: 18px;
    border-radius: 24px;
  }

  .profileCropCanvasWrap{
    height: min(54vh, 460px);
  }
}

/* =========================================================
   RESPONSIVE MOBILE - PROFIL FORM APP STYLE
   ========================================================= */
@media (max-width: 760px){
  .profile-dashboard-page .dashboardContent{
    gap: 14px;
    padding-inline: 0;
  }

  .profile-dashboard-page .dashboardPanels{
    gap: 14px;
  }

  .profile-dashboard-page .profileContent{
    gap: 14px;
  }

  .profile-dashboard-page .profileHeroCard{
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 14px 17px;
    border-radius: 24px;
    align-items: center;
  }

  .profile-dashboard-page .profileAvatarWrap{
    justify-content: center;
    align-items: center;
  }

  .profile-dashboard-page .profileAvatar{
    width: 88px;
    height: 88px;
    border-radius: 25px;
  }


  .profile-dashboard-page .profileDisplayName{
    margin-bottom: 4px;
    font-size: 19px;
    line-height: 1.18;
  }

  .profile-dashboard-page .profileEmail{
    margin-bottom: 10px;
    font-size: 12.5px;
    line-height: 1.42;
  }

  .profile-dashboard-page .profileHeroActions{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }

  .profile-dashboard-page .profileActionBtn{
    width: auto;
    min-width: 0;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 12px;
    gap: 6px;
    font-size: 12px;
    line-height: 1;
    box-shadow: var(--neu-out-sm);
    white-space: nowrap;
  }

  .profile-dashboard-page .profileActionBtn i{
    font-size: 12px;
  }

  .profile-dashboard-page .profileActionBtn--ghost{
    padding-inline: 11px;
  }

  .profile-dashboard-page .profileGrid{
    gap: 14px;
  }

  .profile-dashboard-page .profileInfoCard{
    padding: 16px 13px;
    border-radius: 24px;
  }

  .profile-dashboard-page .profileInfoCard--form{
    padding: 16px 13px 15px;
  }

  .profile-dashboard-page .profileCardHead{
    margin-bottom: 14px;
  }

  .profile-dashboard-page .profileCardHead--form{
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .profile-dashboard-page .profileCardHead h3{
    font-size: 17px;
    line-height: 1.2;
  }

  .profile-dashboard-page .profileCardSub{
    margin-top: 6px;
    font-size: 12.5px;
    line-height: 1.55;
  }

  .profile-dashboard-page .profileCardActions{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    justify-content: stretch;
  }

  .profile-dashboard-page .profileCardActionBtn{
    width: 100%;
    min-height: 36px;
    padding: 0 10px;
    border-radius: 12px;
    gap: 6px;
    font-size: 12px;
    white-space: nowrap;
  }

  .profile-dashboard-page .profileCardActionBtn i{
    font-size: 12px;
  }

  .profile-dashboard-page .profileForm{
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .profile-dashboard-page .profileFormGrid{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .profile-dashboard-page .profileField{
    gap: 6px;
  }

  .profile-dashboard-page .profileInfoLabel{
    font-size: 10.5px;
    letter-spacing: .065em;
  }

  .profile-dashboard-page .profileFieldInput{
    min-height: 48px;
    padding: 0 46px 0 14px;
    border-radius: 16px;
    font-size: 13.5px;
    font-weight: 650;
    background: rgba(255,255,255,.50);
  }

  .profile-dashboard-page .profileFieldInput::placeholder{
    font-size: 13px;
  }

  .profile-dashboard-page .profileFieldInput:focus{
    box-shadow:
      var(--neu-out-sm),
      0 0 0 2.5px rgba(11,99,255,.12);
  }

  .profile-dashboard-page .profileFieldSelect{
    background-position:
      calc(100% - 24px) calc(50% - 3px),
      calc(100% - 18px) calc(50% - 3px);
  }

  .profile-dashboard-page .profileFieldClearBtn{
    right: 8px;
    width: 31px;
    height: 31px;
    border-radius: 11px;
  }

  .profile-dashboard-page .profileFieldClearBtn i{
    font-size: 12px;
  }

  /* =======================================================
     MOBILE: FIELD MAP LOKASI + TOMBOL GPS
     ======================================================= */
  .profile-dashboard-page .profileFieldControl--map .profileFieldInput{
    padding-right: 86px;
  }

  .profile-dashboard-page .profileFieldMapBtn{
    right: 45px;
    width: 31px;
    height: 31px;
    border-radius: 11px;
  }

  .profile-dashboard-page .profileFieldMapBtn i{
    font-size: 12px;
  }

  .profile-dashboard-page .profileFormSection{
    margin-top: 17px;
    padding-top: 17px;
  }

  .profile-dashboard-page .profileFormSectionHead{
    margin-bottom: 13px;
  }

  .profile-dashboard-page .profileFormSectionTitle{
    font-size: 15px;
    line-height: 1.22;
  }

  .profile-dashboard-page .profileFormSectionSub{
    margin-top: 6px;
    font-size: 12.3px;
    line-height: 1.52;
  }

  .profile-dashboard-page .profileFormHelp{
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.5;
  }

  .profile-dashboard-page .profileActionNote{
    margin-top: 8px;
    min-height: 16px;
    font-size: 12px;
    line-height: 1.45;
  }

  .profile-dashboard-page .profileInfoList{
    gap: 11px;
  }

  .profile-dashboard-page .profileInfoRow{
    padding: 12px 13px;
    border-radius: 17px;
  }

  .profile-dashboard-page .profileInfoValue{
    font-size: 13.5px;
    line-height: 1.45;
  }

  .profile-dashboard-page .profileCardIcon{
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .profile-dashboard-page .profileFormBottomActions{
    margin-top: 18px;
    padding-top: 16px;
    justify-content: stretch;
  }

  .profile-dashboard-page .profileFormSaveBtn{
    width: 100%;
    min-height: 42px;
    border-radius: 14px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* =========================================================
     MOBILE ONLY: HIDE KEAMANAN AKUN
     =========================================================
     Keamanan Akun disembunyikan hanya saat layar HP.
     Card form profil tetap tampil karena memiliki class
     .profileInfoCard--form.
     ========================================================= */
  .profile-dashboard-page .profileGrid > .profileInfoCard:not(.profileInfoCard--form){
    display: none !important;
  }

  .profileCropDialog{
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    padding: 14px;
    border-radius: 20px;
    gap: 14px;
  }

  .profileCropHead{
    gap: 10px;
  }

  .profileCropTitle{
    font-size: 18px;
  }

  .profileCropSub{
    font-size: 13px;
  }

  .profileCropCanvasWrap{
    min-height: 260px;
    height: 42vh;
    border-radius: 18px;
  }

  .profileCropToolbar{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .profileCropToolBtn{
    width: 100%;
  }

  .profileCropFoot{
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .profileCropActionBtn{
    width: 100%;
  }
}

/* =========================================================
   RESPONSIVE EXTRA SMALL - HP KECIL
   ========================================================= */
@media (max-width: 420px){
  .profile-dashboard-page .profileHeroCard{
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 11px;
    padding: 16px 12px;
  }

  .profile-dashboard-page .profileAvatar{
    width: 84px;
    height: 84px;
    border-radius: 24px;
  }

  .profile-dashboard-page .profileDisplayName{
    font-size: 18px;
  }

  .profile-dashboard-page .profileEmail{
    font-size: 12px;
  }

  .profile-dashboard-page .profileHeroActions{
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }

  .profile-dashboard-page .profileActionBtn{
    min-height: 32px;
    padding: 0 10px;
    border-radius: 11px;
    gap: 5px;
    font-size: 11.5px;
  }

  .profile-dashboard-page .profileActionBtn i{
    font-size: 11.5px;
  }

  .profile-dashboard-page .profileInfoCard{
    padding: 15px 12px;
    border-radius: 22px;
  }

  .profile-dashboard-page .profileCardActions{
    grid-template-columns: 1fr;
  }

  .profile-dashboard-page .profileCardActionBtn{
    min-height: 36px;
  }

  .profile-dashboard-page .profileFieldInput{
    min-height: 47px;
    border-radius: 15px;
    font-size: 13px;
  }

  .profile-dashboard-page .profileFieldControl--map .profileFieldInput{
    padding-right: 82px;
  }

  .profile-dashboard-page .profileFieldMapBtn{
    right: 43px;
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  .profile-dashboard-page .profileFieldMapBtn i{
    font-size: 11.5px;
  }

  .profile-dashboard-page .profileFormGrid{
    gap: 11px;
  }
}


/* =========================================================
   BUMIL KU - PROFIL BOTTOM NAV EXACT DASHBOARD V5
   =========================================================
   Bottom navbar Profil tidak memiliki visual override sendiri.
   Seluruh frame, surface, shadow, radius, padding, hover,
   active card, dan responsive behavior dimiliki dashboard.css.

   Tampilan Profil identik dengan Home/Dashboard;
   perbedaannya hanya item Profil yang memiliki .is-active.
   ========================================================= */

/* =========================================================
   BUMIL KU - PROFIL BOTTOM NAV DASHBOARD V64 SYNC V6
   =========================================================
   - Bottom navbar Profil memakai dashboard.css V64 secara langsung.
   - HANYA .dashboardMobileFooterBtn.is-active yang memiliki
     card putih neumorphism.
   - Pada halaman Profil, item aktif adalah Profil.
   - Item Home / Aktivitas / Siaran / Pesan tetap transparan.
   - profil.css tidak mengambil alih visual bottom navbar.
   ========================================================= */


/* =========================================================
   BUMIL KU - PROFIL FOOTER OWNERSHIP CLEAN FIX V8
   =========================================================
   PENYEBAB YANG DIPERBAIKI:
   - profil.html sebelumnya masih memuat login.css.
   - login.css memiliki footer.siteFooter mobile global yang
     bertabrakan dengan bottom navbar Dashboard.

   FINAL:
   - login.css tidak lagi dimuat di halaman Profil.
   - Visual dashboardMobileFooterNav tetap 100% dimiliki
     dashboard.css V64.
   - Rule di bawah hanya menjamin container footer tetap
     menjadi host fixed navbar saat mobile.
   ========================================================= */
@media (max-width:740px){

  body.profile-dashboard-page{
    padding-bottom:
      calc(92px + env(safe-area-inset-bottom)) !important;
  }

  body.profile-dashboard-page
  footer.siteFooter{
    position:fixed !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    z-index:88 !important;

    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;

    margin:0 !important;

    padding:
      0 10px
      max(8px, env(safe-area-inset-bottom)) !important;

    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;

    overflow:visible !important;
    pointer-events:none !important;
  }

  body.profile-dashboard-page
  footer.siteFooter
  > .footerInner{
    display:none !important;
    visibility:hidden !important;
    opacity:0 !important;
    pointer-events:none !important;
  }

  body.profile-dashboard-page
  footer.siteFooter
  > .dashboardMobileFooterNav{
    display:grid !important;
    visibility:visible !important;
    opacity:1 !important;
    pointer-events:auto !important;
  }
}

@media (max-width:380px){
  body.profile-dashboard-page{
    padding-bottom:
      calc(86px + env(safe-area-inset-bottom)) !important;
  }
}


/* =========================================================
   BUMIL KU - PROFIL HERO BELOW FIXED NAVBAR V9
   =========================================================
   PENYEBAB:
   - dashboardMobileBrandHeader sekarang position:fixed.
   - Dashboard Home memiliki kompensasi pada
     #section-dashboard .dashboardOverviewGrid.
   - Halaman Profil tidak memakai struktur tersebut, sehingga
     profileHeroCard naik dan tertutup navbar atas.

   FINAL:
   - Beri ruang awal pada profileContent setinggi navbar.
   - Hero Profil mulai tepat di bawah navbar fixed.
   - Navbar tetap fixed saat scroll.
   - Card, foto, tombol, form, bottom navbar dan JS tidak diubah.
   ========================================================= */
@media (max-width:740px){

  body.profile-dashboard-page
  .profileContent{
    padding-top:
      calc(72px + env(safe-area-inset-top)) !important;
  }

  body.profile-dashboard-page
  .profileHeroCard{
    margin-top:0 !important;
  }
}

/* =========================================================
   COMPACT MOBILE <=420PX
   Mengikuti tinggi navbar Dashboard compact.
   ========================================================= */
@media (max-width:420px){

  body.profile-dashboard-page
  .profileContent{
    padding-top:
      calc(68px + env(safe-area-inset-top)) !important;
  }
}

/* =========================================================
   VERY SMALL <=350PX
   ========================================================= */
@media (max-width:350px){

  body.profile-dashboard-page
  .profileContent{
    padding-top:
      calc(68px + env(safe-area-inset-top)) !important;
  }
}



/* =========================================================
   BUMIL KU - PROFIL FRONTEND FORM SIMPLIFY V10
   =========================================================
   Section berikut telah dihapus dari frontend profil.html:
   - Riwayat Persalinan Sebelumnya
   - Data Kesehatan Fisik & Medis Ibu
   - Riwayat Penyakit & Gaya Hidup
   - Keluhan & Kondisi Terkini
   - Pemantauan Kehamilan & Rencana Persalinan
   - Informasi Fasilitas Kesehatan

   Tahap ini hanya merapikan frontend.
   ========================================================= */

/* =========================================================
   BUMIL KU - PROFIL FRONTEND REMOVE IDENTITY V11
   =========================================================
   Section "Informasi Identitas" telah dihapus dari profil.html:
   - Nomor Induk Kependudukan (NIK)
   - Nomor BPJS Kesehatan

   Tahap ini tetap frontend-only.
   Informasi Dasar, Informasi Alamat, dan Informasi Utama
   Kehamilan tetap dipertahankan.
   ========================================================= */

/* =========================================================
   BUMIL KU - PROFIL FRONTEND HPHT ONLY V12
   =========================================================
   Pada section Informasi Utama Kehamilan, frontend kini hanya
   menampilkan:
   - Hari Pertama Haid Terakhir (HPHT)

   Field yang dihapus dari frontend:
   - HPL
   - Usia Kehamilan Saat Ini
   - Gravida
   - Partus
   - Abortus

   Tahap ini masih frontend-only.
   ========================================================= */
