.profile-wrapper {
  width: min(90vw, 580px);
  margin: 40px auto 0;
}

.profile-card {
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: left;
  gap: 1rem;
}

.profile-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-top: 16px;
}

.profile-email {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.profile-panel {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profile-panel-title {
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.profile-checkbox {
  margin: 0;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.profile-stat {
  flex: 1 1 160px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
}

.profile-stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
}

.profile-stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
}

.profile-status {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.profile-actions {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

.profile-actions .carousel-button {
  text-decoration: none;
}

.profile-info {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.profile-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: rgba(255, 255, 255, 0.75);
  cursor: default;
  transform: translate(0, -2px);
}

.profile-info-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 10;
  max-width: 240px;
  min-width: 160px;
  text-align: left;
  line-height: 1.3;
  text-transform: none;
}

.profile-info:hover .profile-info-tooltip {
  opacity: 1;
}
