/* Public Profile CSS */
.pp-container { max-width: 1400px; margin: 0 auto; padding: 0 24px 24px; }
.pp-hero { 
  background-color: #fff; 
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l25.98 15v30L30 60 4.02 45V15z' fill='none' stroke='%23f3f4f6' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  background-position: center;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 40px 24px;
  text-align: center;
  margin-top: 24px;
  margin-bottom: 24px;
}
.pp-avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
}
.pp-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid #10b981;
  padding: 3px;
  background: #fff;
}
.pp-avatar-border {
  border: 2px solid #fcd34d;
  border-radius: 50%;
  padding: 2px;
  display: inline-block;
}
.pp-name {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}
.pp-verified {
  color: #3b82f6;
  font-size: 14px;
}
.pp-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: #6b7280;
  flex-wrap: wrap;
}
.pp-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pp-meta i {
  color: #9ca3af;
}

/* Tabs */
.pp-tabs-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 24px;
  padding-bottom: 0;
  flex-wrap: wrap;
  gap: 16px;
}
.pp-tabs {
  display: flex;
  gap: 24px;
  overflow-x: auto;
}
.pp-tab {
  padding: 12px 0;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.pp-tab:hover {
  color: #374151;
}
.pp-tab.active {
  color: #3b82f6;
  border-bottom-color: #3b82f6;
}
.pp-actions {
  display: flex;
  gap: 12px;
  padding-bottom: 12px;
}
.pp-btn-connect {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pp-btn-icon {
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #374151;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
}

/* Layout */
.pp-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 1024px) {
  .pp-layout {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.pp-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 24px;
  overflow: hidden;
}
.pp-card-header {
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pp-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}
.pp-card-body {
  padding: 0 24px 24px;
}
.pp-card-body-full {
  padding: 24px;
}

/* Left Sidebar Items */
.pp-badges {
  display: flex;
  gap: 12px;
}
.pp-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.pp-badge-icon.blue { background: #eff6ff; color: #3b82f6; }
.pp-badge-icon.yellow { background: #fef9c3; color: #eab308; }
.pp-badge-icon.green { background: #dcfce7; color: #22c55e; }
.pp-badge-icon.purple { background: #f3e8ff; color: #a855f7; }

.pp-about-row {
  display: flex;
  margin-bottom: 12px;
  font-size: 12px;
}
.pp-about-row:last-child { margin-bottom: 0; }
.pp-about-label {
  width: 80px;
  color: #6b7280;
  flex-shrink: 0;
}
.pp-about-val {
  color: #111827;
  font-weight: 500;
}

.pp-work-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.pp-work-item:last-child { margin-bottom: 0; }
.pp-work-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #e5e7eb;
}
.pp-work-info h4 {
  font-size: 12px;
  font-weight: 600;
  color: #3b82f6;
  margin: 0 0 2px 0;
}
.pp-work-info p {
  font-size: 12px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 2px 0;
}
.pp-work-info span {
  font-size: 10px;
  color: #6b7280;
}
.pp-link-center {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: #3b82f6;
  text-decoration: none;
  margin-top: 16px;
}

.pp-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pp-skill-tag {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  color: #374151;
}

.pp-file-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.pp-file-item:last-child { margin-bottom: 0; }
.pp-file-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.pp-file-icon.pdf { color: #ef4444; background: #fef2f2; }
.pp-file-icon.doc { color: #3b82f6; background: #eff6ff; }
.pp-file-icon.js { color: #f59e0b; background: #fffbeb; }
.pp-file-icon.ai { color: #eab308; background: #fefce8; }
.pp-file-info { flex: 1; }
.pp-file-name { font-size: 12px; font-weight: 600; color: #111827; margin-bottom: 2px; }
.pp-file-meta { font-size: 10px; color: #6b7280; }

/* Right Content */
.pp-promo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.pp-promo-content {
  max-width: 50%;
}
.pp-promo-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}
.pp-promo-desc {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 16px;
}
.pp-promo-img {
  position: absolute;
  right: 24px;
  bottom: 0;
  width: 180px;
}

.pp-chart-placeholder {
  height: 150px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 50 Q 25 20, 50 50 T 100 50 L 100 100 L 0 100 Z' fill='%23eff6ff'/%3E%3Cpath d='M0 50 Q 25 20, 50 50 T 100 50' fill='none' stroke='%233b82f6' stroke-width='2'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  border-bottom: 1px dashed #e5e7eb;
}

.pp-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .pp-grid-2 { grid-template-columns: 1fr; }
}

.pp-contributor {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.pp-contributor:last-child { margin-bottom: 0; }
.pp-contributor img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
.pp-contributor-info h5 {
  font-size: 12px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 2px 0;
}
.pp-contributor-info p {
  font-size: 10px;
  color: #6b7280;
  margin: 0;
}

.pp-pie-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 12px 0;
}
.pp-pie {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(
    #3b82f6 0% 30%,
    #ef4444 30% 55%,
    #22c55e 55% 75%,
    #f59e0b 75% 90%,
    #8b5cf6 90% 100%
  );
  position: relative;
}
.pp-pie::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  background: #fff;
  border-radius: 50%;
}
.pp-pie-legend {
  font-size: 11px;
  color: #374151;
}
.pp-pie-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.pp-pie-legend-item span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* Projects Table */
.pp-table-wrap {
  overflow-x: auto;
}
.pp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}
.pp-table th {
  text-align: left;
  padding: 12px 0;
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  border-bottom: 1px dashed #e5e7eb;
}
.pp-table td {
  padding: 16px 0;
  border-bottom: 1px dashed #e5e7eb;
  font-size: 12px;
  color: #111827;
  font-weight: 500;
}
.pp-table tr:last-child td { border-bottom: none; }
.pp-progress {
  width: 100px;
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
}
.pp-progress-bar {
  height: 100%;
}
.pp-avatars { display: flex; }
.pp-avatars img, .pp-avatars span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
}
.pp-avatars img:first-child, .pp-avatars span:first-child { margin-left: 0; }
.pp-avatars span {
  background: #f3f4f6;
  color: #374151;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
}
