.profile-card {
  background: var(--white-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 420px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.profile-photo-wrap {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  margin-bottom: 18px;
  background: #e0e0e0;
  flex-shrink: 0;
}

.profile-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  line-height: 1.2;
}

.profile-role {
  font-size: 1rem;
  color: var(--blue);
  font-weight: 600;
  text-align: center;
  margin-top: 4px;
}

.profile-company {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 2px;
}

.profile-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  border-radius: 2px;
  margin: 14px auto;
}

.profile-bio {
  font-size: 0.92rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.55;
  margin-bottom: 14px;
}

.profile-contacts {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.profile-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
  background: rgba(33,150,243,0.07);
  border-radius: 10px;
  padding: 8px 14px;
  transition: background 0.2s;
}

.profile-contact-item:hover { background: rgba(33,150,243,0.14); }

.profile-contact-item .icon {
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.profile-contact-item span { word-break: break-all; }

.profile-logo {
  width: 160px;
  margin: 10px auto 14px;
  display: block;
}

.btn-save-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 13px 32px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 14px rgba(33,150,243,0.3);
  transition: transform 0.15s, box-shadow 0.15s;
  width: 100%;
  margin-bottom: 16px;
}

.btn-save-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(33,150,243,0.4);
}

.profile-footer {
  font-size: 0.78rem;
  color: #999;
  text-align: center;
}

/* Inactive / not found */
.profile-inactive {
  text-align: center;
  padding: 20px 0;
}

.profile-inactive .inactive-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.profile-inactive h2 {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.profile-inactive p {
  font-size: 0.88rem;
  color: #aaa;
}
