/* Estilos gerais */
.privacy-profile-container {
  font-family: Arial, sans-serif;
  max-width: 600px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Header */
.privacy-profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
}

.privacy-profile-logo {
  display: flex;
  align-items: center;
  color: #ff7f5c;
}

/* Logo wrapper - fixed size container */
.privacy-profile-icon-wrapper {
  width: 28px;
  height: 28px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}

.privacy-profile-custom-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.privacy-profile-logo span {
  font-weight: 500;
}

.privacy-profile-message-icon {
  color: #666;
}

/* Banner */
.privacy-profile-banner {
  position: relative;
  width: 100%;
  height: 200px;
}

.privacy-profile-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.privacy-profile-banner-placeholder {
  width: 100%;
  height: 100%;
  background-color: #333;
}

.privacy-profile-stats-top {
  position: absolute;
  top: 8px;
  right: 8px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.privacy-profile-stats-top span {
  margin: 0 4px;
}

/* Profile Info */
.privacy-profile-info {
  display: flex;
  padding: 0 16px;
  margin-top: -48px;
  position: relative;
}

.privacy-profile-avatar-container {
  position: relative;
}

.privacy-profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 4px solid white;
  overflow: hidden;
}

.privacy-profile-avatar-live {
  border: 4px solid #e74c3c;
}

.privacy-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.privacy-profile-avatar-placeholder {
  width: 100%;
  height: 100%;
  background-color: #ddd;
}

.privacy-profile-live-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #e74c3c;
  color: white;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 12px;
}

.privacy-profile-user-info {
  margin-left: 16px;
  padding-top: 48px;
}

.privacy-profile-name {
  display: flex;
  align-items: center;
}

.privacy-profile-name h1 {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
}

.privacy-profile-verified {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background-color: #f1c40f;
  border-radius: 50%;
  margin-left: 4px;
}

.privacy-profile-username {
  font-size: 14px;
  color: #666;
  margin-top: 2px;
}

/* Bio */
.privacy-profile-bio {
  padding: 16px;
  font-size: 14px;
  color: #333;
}

.privacy-profile-bio-text {
  margin: 0 0 8px 0;
  position: relative;
  overflow: hidden;
  max-height: 4.5em; /* Altura para mostrar aproximadamente 3 linhas */
  transition: max-height 0.3s ease;
}

.privacy-profile-bio-text.expanded {
  max-height: 1000px; /* Valor grande para garantir que todo o texto seja exibido */
}

.privacy-profile-bio-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.privacy-profile-bio-text.expanded::after {
  opacity: 0;
}

.privacy-profile-bio-text p:first-child {
  margin-top: 0;
}

.privacy-profile-show-more {
  background: none;
  border: none;
  color: #777;
  font-size: 14px;
  padding: 0;
  cursor: pointer;
}

/* Subscription */
.privacy-profile-subscription {
  padding: 16px;
}

.privacy-profile-subscription h2 {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 16px;
}

.privacy-profile-subscription-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.privacy-profile-subscription-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(to right, #ff9f7f, #ff7f5c);
  border: none;
  border-radius: 9999px;
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.privacy-profile-subscription-button:hover {
  box-shadow: 0 4px 12px rgba(255, 127, 92, 0.3);
  transform: scale(1.05);
}

/* Pulse animation - growing/shrinking effect */
.privacy-profile-pulse {
  animation: privacy-profile-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes privacy-profile-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

/* Content Stats */
.privacy-profile-content-stats {
  padding: 16px;
  text-align: center;
  font-size: 14px;
  color: #666;
  border-top: 1px solid #eee;
}

.privacy-profile-content-stats span {
  margin: 0 4px;
}

/* Responsividade */
@media (max-width: 480px) {
  .privacy-profile-info {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .privacy-profile-user-info {
    margin-left: 16px;
    padding-top: 48px;
  }

  .privacy-profile-name {
    justify-content: flex-start;
  }

  .privacy-profile-avatar-container {
    margin-bottom: 0;
  }

  /* Make avatar slightly smaller on very small screens */
  .privacy-profile-avatar {
    width: 80px;
    height: 80px;
  }
}

@media (min-width: 768px) {
  .privacy-profile-container {
    max-width: 800px;
  }

  .privacy-profile-banner {
    height: 300px;
  }
}

