.profile-card {
  background: var(--card-bg);
  border: 0.5px solid var(--border-color);
  border-radius: 30px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 0.5px dashed var(--border-color);
  flex-wrap: wrap;
}

.profile-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.profile-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  word-break: break-word;
}

.profile-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  word-break: break-word;
}

.profile-section {
  margin-bottom: 24px;
  width: 100%;
}

.profile-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
  word-break: break-word;
}

.profile-textarea {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 16px 18px;
  font-size: 0.9375rem;
  color: var(--text-primary);
  font-family: inherit;
  line-height: 1.5;
  min-height: 108px;
  resize: none;
  overflow-y: hidden;
  transition: all 0.2s;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--text-muted) 45%, transparent)
    transparent;
}

.profile-textarea:focus {
  outline: none;
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px rgba(74, 158, 92, 0.15);
  background: color-mix(in srgb, var(--bg-secondary) 85%, var(--card-bg));
}

.profile-textarea::-webkit-scrollbar {
  width: 8px;
}

.profile-textarea::-webkit-scrollbar-track {
  background: transparent;
}

.profile-textarea::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--text-muted) 45%, transparent);
  border-radius: 10px;
}

.save-profile-btn {
  background: var(--primary-accent);
  color: white;
  border: none;
  border-radius: 60px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  margin-top: 8px;
  box-shadow: var(--shadow-md);
}

.save-profile-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.profile-save-message {
  text-align: center;
  margin-top: 16px;
  color: var(--primary-accent);
  font-weight: 500;
  animation: fadeOut 2s forwards;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
