/* SIMSAR_PROFILE_V19
   Premium compact account dashboard. */

#page-profile{
  --v19-border:#e7ebf1;
  --v19-text:#111827;
  --v19-muted:#697386;
  --v19-soft:#f7f9fc;
  --v19-red:#dc3325;
  --v19-green:#15925b;
}

#page-profile .simsar-v19-shell{
  width:100%;
  display:grid;
  gap:14px;
  padding:0 0 26px;
}

#page-profile .simsar-v19-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin:2px 0 0;
}

#page-profile .simsar-v19-head h2{
  margin:0;
  color:var(--v19-text);
  font-size:22px;
  line-height:1.15;
  letter-spacing:-.45px;
}

#page-profile .simsar-v19-head p{
  margin:5px 0 0;
  color:var(--v19-muted);
  font-size:12.5px;
  line-height:1.4;
}

#page-profile .simsar-v19-signout{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:36px;
  padding:0 13px;
  border:1px solid #f0c8c3;
  border-radius:10px;
  background:#fff;
  color:#c92f24;
  font:800 12px/1 inherit;
  cursor:pointer;
  box-shadow:0 2px 8px rgba(17,24,39,.035);
}

#page-profile .simsar-v19-signout:hover{
  background:#fff7f6;
  border-color:#eaa59e;
}

#page-profile .simsar-v19-top{
  display:grid;
  grid-template-columns:minmax(270px,340px) minmax(0,1fr);
  gap:14px;
  align-items:stretch;
}

#page-profile .simsar-v19-card{
  border:1px solid var(--v19-border);
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 24px rgba(18,31,52,.045);
}

#page-profile .simsar-v19-identity{
  position:relative;
  overflow:hidden;
  min-height:210px;
  padding:20px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

#page-profile .simsar-v19-identity:before{
  content:"";
  position:absolute;
  width:170px;
  height:170px;
  right:-65px;
  top:-80px;
  border-radius:50%;
  background:rgba(220,51,37,.06);
  pointer-events:none;
}

#page-profile .simsar-v19-person{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:13px;
}

#page-profile .simsar-v19-avatar{
  width:54px;
  height:54px;
  flex:0 0 54px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,#e53b2c,#bf271d);
  color:#fff;
  font-size:17px;
  font-weight:900;
  letter-spacing:.4px;
  box-shadow:0 8px 18px rgba(220,51,37,.18);
}

#page-profile .simsar-v19-name{
  min-width:0;
}

#page-profile .simsar-v19-name h3{
  margin:0;
  color:var(--v19-text);
  font-size:18px;
  line-height:1.2;
  letter-spacing:-.3px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

#page-profile .simsar-v19-role{
  margin-top:4px;
  color:var(--v19-muted);
  font-size:11.5px;
  font-weight:700;
}

#page-profile .simsar-v19-badges{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-top:11px;
}

#page-profile .simsar-v19-badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  height:24px;
  padding:0 8px;
  border-radius:999px;
  font-size:10px;
  font-weight:900;
}

#page-profile .simsar-v19-badge.active{
  background:#e9f8ef;
  color:#137748;
}

#page-profile .simsar-v19-badge.verified{
  background:#eef5ff;
  color:#315c9d;
}

#page-profile .simsar-v19-contact{
  position:relative;
  z-index:1;
  display:grid;
  gap:7px;
  margin-top:18px;
}

#page-profile .simsar-v19-contact-row{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  color:#566174;
  font-size:11.5px;
}

#page-profile .simsar-v19-icon{
  width:16px;
  height:16px;
  flex:0 0 16px;
  display:grid;
  place-items:center;
  color:#a0a8b5;
}

#page-profile .simsar-v19-contact-row span:last-child{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

#page-profile .simsar-v19-details{
  padding:18px;
  display:grid;
  gap:14px;
}

#page-profile .simsar-v19-card-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

#page-profile .simsar-v19-card-title h3{
  margin:0;
  color:var(--v19-text);
  font-size:14px;
}

#page-profile .simsar-v19-plan-chip{
  display:inline-flex;
  align-items:center;
  height:24px;
  padding:0 9px;
  border-radius:999px;
  background:#fff1ef;
  color:#cb3428;
  font-size:10px;
  font-weight:900;
}

#page-profile .simsar-v19-info-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}

#page-profile .simsar-v19-info{
  min-width:0;
  min-height:62px;
  padding:10px 11px;
  border:1px solid #e8edf3;
  border-radius:11px;
  background:var(--v19-soft);
}

#page-profile .simsar-v19-info span{
  display:block;
  color:#8791a0;
  font-size:9.5px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.35px;
}

#page-profile .simsar-v19-info b{
  display:block;
  margin-top:5px;
  color:#1d2738;
  font-size:12.5px;
  line-height:1.3;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

#page-profile .simsar-v19-membership{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:58px;
  padding:10px 12px;
  border-radius:12px;
  background:linear-gradient(90deg,#fbfcfe,#f6f8fb);
  border:1px solid #e8edf3;
}

#page-profile .simsar-v19-membership strong{
  display:block;
  color:#1e293b;
  font-size:12px;
}

#page-profile .simsar-v19-membership small{
  display:block;
  margin-top:3px;
  color:#7a8494;
  font-size:10.5px;
}

#page-profile .simsar-v19-membership-status{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:var(--v19-green);
  font-size:10.5px;
  font-weight:900;
  white-space:nowrap;
}

#page-profile .simsar-v19-membership-status:before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--v19-green);
  box-shadow:0 0 0 4px rgba(21,146,91,.09);
}

#page-profile .simsar-v19-stats{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
}

#page-profile .simsar-v19-stat{
  min-height:82px;
  padding:13px 14px;
  border:1px solid var(--v19-border);
  border-radius:14px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  cursor:pointer;
  transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease;
}

#page-profile .simsar-v19-stat:hover{
  transform:translateY(-1px);
  border-color:#d8dee8;
  box-shadow:0 8px 20px rgba(18,31,52,.055);
}

#page-profile .simsar-v19-stat-copy span{
  display:block;
  color:#7c8796;
  font-size:10px;
  font-weight:800;
}

#page-profile .simsar-v19-stat-copy b{
  display:block;
  margin-top:4px;
  color:#151e2d;
  font-size:22px;
  line-height:1;
}

#page-profile .simsar-v19-stat-icon{
  width:34px;
  height:34px;
  flex:0 0 34px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:#fff5f3;
  color:#d9392c;
}

#page-profile .simsar-v19-lower{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);
  gap:14px;
}

#page-profile .simsar-v19-section{
  padding:17px;
}

#page-profile .simsar-v19-section h3{
  margin:0 0 11px;
  color:var(--v19-text);
  font-size:14px;
}

#page-profile .simsar-v19-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}

#page-profile .simsar-v19-action{
  min-height:70px;
  padding:11px;
  border:1px solid #e7ebf1;
  border-radius:12px;
  background:#fff;
  color:#263143;
  text-align:left;
  cursor:pointer;
}

#page-profile .simsar-v19-action:hover{
  border-color:#e1a49e;
  background:#fff9f8;
}

#page-profile .simsar-v19-action svg{
  width:17px;
  height:17px;
  stroke:#cf3a2d;
  margin-bottom:8px;
}

#page-profile .simsar-v19-action b{
  display:block;
  font-size:11px;
}

#page-profile .simsar-v19-action small{
  display:block;
  margin-top:2px;
  color:#8a94a3;
  font-size:9.5px;
}

#page-profile .simsar-v19-security-list{
  display:grid;
  gap:8px;
}

#page-profile .simsar-v19-security-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:36px;
  padding:7px 9px;
  border-radius:10px;
  background:#f8fafc;
}

#page-profile .simsar-v19-security-row span{
  color:#667085;
  font-size:10.5px;
}

#page-profile .simsar-v19-security-row b{
  color:#202a3a;
  font-size:10.5px;
}

@media(max-width:1180px){
  #page-profile .simsar-v19-info-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  #page-profile .simsar-v19-stats{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  #page-profile .simsar-v19-lower{
    grid-template-columns:1fr;
  }
}

@media(max-width:820px){
  #page-profile .simsar-v19-top{
    grid-template-columns:1fr;
  }

  #page-profile .simsar-v19-stats{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  #page-profile .simsar-v19-actions{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:560px){
  #page-profile .simsar-v19-head{
    align-items:flex-start;
  }

  #page-profile .simsar-v19-head p{
    max-width:260px;
  }

  #page-profile .simsar-v19-info-grid,
  #page-profile .simsar-v19-stats{
    grid-template-columns:1fr 1fr;
  }

  #page-profile .simsar-v19-membership{
    align-items:flex-start;
    flex-direction:column;
  }
}
