#perfilpro {
  width: auto;
  font-family: helvetica, sans-serif;
  border: 1px solid #ececec;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  position: relative;
  box-sizing: border-box;
  margin-bottom: 10px;
  margin-top: 10px !important;
}

.perfil-header {
  position: relative;
  height: 120px;
}

.perfil-bg {
  width: 100%;
  height: 100%;
  background-color: #007bff;
}

.perfil-img {
  position: absolute;
  bottom: -30px;
  left: 20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid white;
  object-fit: cover;
}

.perfil-info {
  padding: 40px 20px 20px;
}

.perfil-info h2 {
  margin: 0;
  font-size: 18px;
}

.verificado {
  color: #0073b1;
  font-size: 16px;
}

.perfil-info p {
  margin: 4px 0;
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

.perfil-info a {
  color: #0073b1;
  text-decoration: none !important;
}

.descriptionone {
  font-size: 16px !important;
  color: black !important;
}

.conexiones {
  font-weight: bold;
  color: #333;
  margin-top: 6px;
}

.perfil-botones {
  margin-top: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.btn {
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.3s;
  color: white;
  font-weight: 700;
}

.qr-btn {
  background-color: #007bff;
  color: white;
}

.qr-btn:hover {
  background-color: #005b90;
}

.compartir-btn {
  background-color: white;
  color: #007bff;
  border: 1px solid #007bff;
}

.compartir-btn:hover {
  background-color: #007bff;
  color: white;
}

.mas-btn {
  background-color: white;
  text-decoration: none;
  color: #6c757d !important;
  border: 1px solid #6c757d;
  display: none;
}

.mas-btn:hover {
  background-color: #5a6268;
  color: white !important;
}

/* Popup */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-content {
  max-width: 100vw;
  max-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup img {
  background: white;
  padding: 20px;
  border-radius: 10px;
}

@media (min-width: 769px){
.popup img {
  width: 50%;
}}