
/* ===== DT17 Mobile App Profile Card UI (cover + wave + center avatar) ===== */
.dt17-social-home{
  max-width:460px!important;
  margin:0 auto 16px!important;
  gap:12px!important;
  font-family:var(--font,'Noto Sans Devanagari',system-ui,sans-serif)!important;
}
.dt17-social-card.dt17-fbprof-card{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:32px!important;
  overflow:visible!important;
  margin:8px 8px 12px!important;
}
.dt17-fbprof-shell{
  position:relative!important;
  background:#fff!important;
  color:#172033!important;
  border-radius:34px!important;
  overflow:hidden!important;
  box-shadow:0 18px 45px rgba(17,24,39,.18)!important;
  border:1px solid rgba(226,232,240,.8)!important;
}
.dt17-fbprof-cover{
  height:200px!important;
  position:relative!important;
  overflow:hidden!important;
  background-size:cover!important;
  background-position:center!important;
  background-image:
    linear-gradient(180deg,rgba(18,24,38,.18),rgba(18,24,38,.06)),
    radial-gradient(circle at 18% 15%,rgba(255,255,255,.36),transparent 26%),
    linear-gradient(135deg,#526173 0%,#d7c8b7 44%,#f5efe7 60%,#8b7b68 100%)!important;
}
.dt17-fbprof-cover:before{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(0deg,rgba(0,0,0,.12),rgba(0,0,0,0) 55%);
  z-index:1;
}
.dt17-fbprof-cover:after{
  content:"";
  position:absolute;
  left:-16%;right:-16%;bottom:-58px;
  height:118px;
  background:#fff;
  border-radius:50% 50% 0 0 / 78% 78% 0 0;
  z-index:2;
}
.dt17-fbprof-topbar{
  position:absolute!important;
  top:0;left:0;right:0;
  height:58px!important;
  padding:12px 18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  z-index:5!important;
  color:#fff!important;
}
.dt17-fbprof-icon{
  width:40px!important;height:40px!important;
  border-radius:999px!important;
  border:0!important;
  background:rgba(15,23,42,.23)!important;
  color:#fff!important;
  backdrop-filter:blur(6px)!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  font-size:23px!important;font-weight:900!important;
  cursor:pointer!important;
}
.dt17-fbprof-topright{display:flex!important;align-items:center!important;gap:10px!important;}
.dt17-fbprof-camera-cover{
  position:absolute!important;
  right:14px!important;bottom:50px!important;
  z-index:5!important;
  width:40px!important;height:40px!important;
  border-radius:999px!important;
  border:0!important;
  background:rgba(255,255,255,.88)!important;
  color:#1f2937!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  font-size:20px!important;
  box-shadow:0 8px 22px rgba(0,0,0,.14)!important;
  cursor:pointer!important;
}
.dt17-fbprof-body{
  position:relative!important;
  padding:0 18px 24px!important;
  text-align:center!important;
  background:#fff!important;
}
.dt17-fbprof-main{
  position:relative!important;
  z-index:4!important;
  display:block!important;
  margin-top:-75px!important;
}
.dt17-fbprof-avatar-wrap{
  position:relative!important;
  width:150px!important;
  min-height:150px!important;
  margin:0 auto!important;
}
.dt17-fbprof-avatar{
  width:150px!important;height:150px!important;
  border-radius:50%!important;
  border:6px solid #fff!important;
  background:linear-gradient(135deg,#1f3b6f,#0ea5a3)!important;
  color:#fff!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  font-size:40px!important;font-weight:950!important;
  overflow:hidden!important;
  cursor:pointer!important;
  box-shadow:0 10px 26px rgba(15,23,42,.24)!important;
  padding:0!important;margin:0!important;
}
.dt17-fbprof-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;}
.dt17-fbprof-avatar .dt17-photo-edit-badge{
  right:12px!important;bottom:12px!important;
  width:40px!important;height:40px!important;
  border-radius:50%!important;
  background:#fff!important;color:#172033!important;
  border:3px solid #eef2f7!important;
  box-shadow:0 8px 18px rgba(0,0,0,.16)!important;
  font-size:18px!important;
}
.dt17-fbprof-add{
  position:absolute!important;
  left:32px!important;right:32px!important;bottom:10px!important;
  height:32px!important;
  border-radius:999px!important;
  background:rgba(17,24,39,.72)!important;
  color:#fff!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  font-size:13px!important;font-weight:900!important;
  pointer-events:none!important;
}
.dt17-fbprof-name-block{padding:12px 0 0!important;text-align:center!important;min-width:0!important;}
.dt17-fbprof-name-row{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;flex-wrap:wrap!important;}
.dt17-fbprof-name{
  margin:0!important;
  max-width:100%!important;
  font-size:24px!important;
  line-height:1.15!important;
  font-weight:950!important;
  color:#263054!important;
  letter-spacing:.01em!important;
  text-align:center!important;
  white-space:normal!important;
}
.dt17-fbprof-role{display:none!important;}
.dt17-fbprof-stats{display:none!important;}
.dt17-fbprof-bio{
  margin:6px auto 0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  text-align:center!important;
  color:#677187!important;
}
.dt17-fbprof-bio small,.dt17-fbprof-bio-line{display:none!important;}
.dt17-fbprof-subtitle{
  display:block!important;
  color:#777e8d!important;
  font-size:15px!important;
  font-weight:700!important;
  letter-spacing:.02em!important;
}
.dt17-fbprof-location{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  color:#3f4654!important;
  font-size:16px!important;
  font-weight:850!important;
}
.dt17-fbprof-att{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin-top:2px!important;
  padding:7px 12px!important;
  border-radius:999px!important;
  background:#f1f7f5!important;
  color:#0f8f7b!important;
  border:1px solid #c7eee6!important;
  font-size:13px!important;
  font-weight:900!important;
}
.dt17-fbprof-friends{display:none!important;}
.dt17-fbprof-buttons{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
  margin-top:16px!important;
}
.dt17-fbprof-btn{
  height:44px!important;
  border:0!important;
  border-radius:16px!important;
  font-family:var(--font,'Noto Sans Devanagari',system-ui,sans-serif)!important;
  font-size:15px!important;
  font-weight:950!important;
  display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;
  cursor:pointer!important;
}
.dt17-fbprof-btn.primary{background:linear-gradient(135deg,#2563eb,#0ea5e9)!important;color:#fff!important;box-shadow:0 10px 20px rgba(37,99,235,.22)!important;}
.dt17-fbprof-btn.secondary{background:#eef2f7!important;color:#172033!important;}
.dt17-fbprof-tabs{display:none!important;}
.dt17-fbprof-details{
  background:#fff!important;
  border:0!important;
  border-radius:24px!important;
  box-shadow:0 12px 28px rgba(15,23,42,.08)!important;
  padding:18px 18px!important;
  margin:0 10px 14px!important;
}
.dt17-fbprof-section-head h3{font-size:20px!important;color:#172033!important;margin:0!important;font-weight:950!important;}
.dt17-fbprof-section-head{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-bottom:12px!important;}
.dt17-fbprof-edit{border:0!important;background:#f3f6fa!important;color:#596274!important;border-radius:999px!important;width:36px!important;height:36px!important;font-size:20px!important;line-height:1!important;cursor:pointer!important;}
.dt17-fbprof-detail-list{display:grid!important;gap:12px!important;margin-top:12px!important;}
.dt17-fbprof-detail{display:grid!important;grid-template-columns:42px 1fr auto!important;align-items:center!important;gap:10px!important;color:#172033!important;}
.dt17-fbprof-detail-icon{width:42px!important;height:42px!important;border-radius:14px!important;background:#f3f7fb!important;font-size:22px!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#172033!important;}
.dt17-fbprof-detail-text{font-size:16px!important;font-weight:850!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;text-align:left!important;}
.dt17-fbprof-lock{font-size:13px!important;color:#8a94a6!important;}
.dt17-fbprof-more{margin:10px 0 0 52px!important;color:#717b8d!important;font-size:14px!important;font-weight:850!important;text-align:left!important;}
.dt17-fbprof-links-title{display:flex!important;align-items:center!important;justify-content:space-between!important;margin:20px 0 0!important;font-size:18px!important;font-weight:950!important;color:#172033!important;}
.dt17-social-card.dt17-home-actions-card,.dt17-social-card.dt17-full-button-card{border-radius:24px!important;margin-left:10px!important;margin-right:10px!important;}
.dt17-social-cover,.dt17-social-profile,.dt17-social-info-grid,.dt17-social-stats{display:none!important;}
@media(max-width:520px){
  #adminScreen:not(.page-open) .page,#empScreen:not(.page-open) .page,#mgrScreen:not(.page-open) .page{padding-left:0!important;padding-right:0!important;padding-top:0!important;}
  .dt17-fb-tabs-wrap{display:none!important;}
  .dt17-social-home{max-width:100%!important;width:100%!important;margin-top:0!important;}
  .dt17-social-card.dt17-fbprof-card{margin:10px 8px 14px!important;}
  .dt17-fbprof-shell{border-radius:30px!important;}
  .dt17-fbprof-cover{height:232px!important;}
  .dt17-fbprof-cover:after{bottom:-56px;height:112px;}
  .dt17-fbprof-camera-cover{bottom:58px!important;right:16px!important;}
  .dt17-fbprof-body{padding:0 22px 26px!important;}
  .dt17-fbprof-main{margin-top:-101px!important;}
  .dt17-fbprof-avatar-wrap{width:188px!important;min-height:188px!important;}
  .dt17-fbprof-avatar{width:188px!important;height:188px!important;font-size:46px!important;}
  .dt17-fbprof-add{left:38px!important;right:38px!important;bottom:13px!important;height:34px!important;}
  .dt17-fbprof-name{font-size:29px!important;}
  .dt17-fbprof-subtitle{font-size:17px!important;}
  .dt17-fbprof-location{font-size:18px!important;}
  .dt17-fbprof-btn{height:48px!important;font-size:16px!important;border-radius:16px!important;}
  .dt17-fbprof-details{margin-left:8px!important;margin-right:8px!important;border-radius:22px!important;}
}
@media(max-width:380px){
  .dt17-fbprof-cover{height:216px!important;}
  .dt17-fbprof-main{margin-top:-92px!important;}
  .dt17-fbprof-avatar-wrap{width:168px!important;min-height:168px!important;}
  .dt17-fbprof-avatar{width:168px!important;height:168px!important;font-size:42px!important;}
  .dt17-fbprof-name{font-size:26px!important;}
  .dt17-fbprof-location{font-size:16px!important;}
  .dt17-fbprof-buttons{gap:9px!important;}
  .dt17-fbprof-btn{font-size:15px!important;}
}
