/* V4 page styles - the profile-details-new.min.css rules that the candidate
 * profile page actually uses, plus the JS/DB-state classes in
 * docs/v4-cleanup/css-keep.txt.
 * Renamed from profile-details-new.min.css and pruned by
 * docs/v4-cleanup/tools/build-v4-compat.cjs; pretty-printed and hand-editable. */

/* ---- profile-details-new.min.css ---- */
.profile-details-page .services-mini-bar,
.quick-row .label {
  text-transform: uppercase;
  font-size: 12px;
  display: inline-flex;
}
.profile-details-page .cta-band h2,
.profile-details-page .section-head h2,
.profile-hero-content h1 {
  font-family: var(--font-display, 'Exo 2', sans-serif);
}
.profile-details-page {
  background: radial-gradient(circle at top right,#e8f4ff 0,#f7fbff 40%,#fff 100%);
  font-family: var(--font-body);
}
.profile-details-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  color: var(--secondary);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  transition: transform .2s,color .2s;
  will-change: transform;
}
.profile-details-page .back-link:hover {
  color: var(--dark);
  transform: translateX(-3px);
}
.other-profile-card:hover .view-link::after,
html[dir=rtl] .profile-details-page .back-link:hover {
  transform: translateX(3px);
}
.profile-hero-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 20px;
  background: #fff;
  border: 1px solid rgba(18,27,45,.08);
  border-radius: 30px;
  padding: 22px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.profile-hero-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(62,115,218,.1) 0,rgba(62,115,218,0) 72%);
  right: -80px;
  top: -90px;
  pointer-events: none;
}
.profile-hero-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg,#eef4ff 0,#e3edff 100%);
}
.profile-hero-media .profile-photo-fallback,
.profile-hero-media img {
  width: 100%;
  height: 420px;
  display: block;
  object-fit: cover;
  border-radius: 22px;
}
.profile-hero-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(to top,rgba(19,35,67,.3),rgba(19,35,67,0));
  pointer-events: none;
}
.profile-hero-content {
  padding: 6px 4px;
}
.profile-hero-content h1 {
  margin: 0 0 6px;
  color: var(--dark);
  font-size: 34px;
  line-height: 1.12;
  font-weight: 900;
}
.profile-code strong,
.quick-row .label .icon-fa {
  color: var(--secondary);
}
.profile-quick-details {
  background: #f6faff;
  border: 1px solid #dbe8ff;
  border-radius: 16px;
  padding: 6px 14px;
  margin-bottom: 20px;
}
.quick-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px dashed #d7e5ff;
}
.quick-row:last-child {
  border-bottom: 0;
}
.quick-row .label {
  color: #5e6f8f;
  letter-spacing: .2px;
  font-weight: 700;
  align-items: center;
  gap: 6px;
}
.quick-row .label .icon-fa {
  font-size: 11px;
}
.quick-row .value {
  color: var(--dark);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
}
.profile-video-modal {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: none;
}
.profile-video-modal.show {
  display: block;
}
.profile-video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,20,38,.72);
  backdrop-filter: blur(4px);
}
.profile-video-dialog {
  position: relative;
  max-width: 880px;
  margin: 8vh auto 0;
  width: calc(100% - 32px);
  background: #0f213f;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
}
.profile-video-dialog video {
  width: 100%;
  display: block;
  max-height: 74vh;
}
.profile-video-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,.55);
  color: #fff;
  cursor: pointer;
  z-index: 1;
  font-size: 16px;
  transition: background .2s,transform .2s;
}
.profile-video-close:hover {
  background: rgba(0,0,0,.8);
  transform: rotate(90deg);
}
.other-profile-card .thumb,
.profile-photo-fallback {
  background: linear-gradient(180deg,#eef4ff 0,#e3edff 100%);
  display: flex;
  align-items: center;
}
body.profile-video-open {
  overflow: hidden;
}
.profile-photo-fallback {
  width: 100%;
  height: 100%;
  justify-content: center;
  font-size: 64px;
  font-weight: 900;
  color: var(--secondary);
}
.profile-details-page .cta-band {
  background: var(--gradient);
  border-radius: 30px;
  box-shadow: var(--shadow-md);
  text-align: center;
  color: #fff;
  padding: 42px 24px;
  position: relative;
  overflow: hidden;
}
.profile-details-page .cta-band::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(255,255,255,.18) 0,rgba(255,255,255,0) 72%);
  right: -70px;
  top: -80px;
}
.profile-details-page .cta-band h2 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.12;
  font-weight: 900;
  color: #fff;
  position: relative;
}
.profile-details-page .cta-band p {
  margin: 0 auto;
  max-width: 720px;
  color: rgba(255,255,255,.92);
  font-size: 14px;
  line-height: 1.8;
  position: relative;
}
.profile-details-page .cta-band-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  position: relative;
}
@media (max-width:991px) {
  .profile-hero-card {
    grid-template-columns: 1fr;
  }
  .profile-hero-media .profile-photo-fallback,
  .profile-hero-media img {
    height: 360px;
  }
  .profile-hero-content h1 {
    font-size: 28px;
  }
  .profile-details-page .cta-band h2 {
    font-size: 24px;
  }
}
html[dir=rtl] .quick-row .value {
  text-align: right;
}
html[dir=rtl] .profile-hero-card::before {
  right: auto;
  left: -80px;
}
@media (max-width:575px) {
  .other-profiles-grid,
  .quick-row {
    grid-template-columns: 1fr;
  }
  .quick-row {
    gap: 4px;
    padding: 8px 0;
  }
  .quick-row .value {
    text-align: left;
  }
  html[dir=rtl] .quick-row .value {
    text-align: right;
  }
}
