.profile-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* معلومات المستخدم */
.profile-top {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f3d791, #c9982e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #070a14;
  flex-shrink: 0;
  box-shadow: 0 0 24px rgba(232,196,104,0.18);
}

.profile-info h2 {
  font-family: 'Manrope', 'Tajawal', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: #f5f2ea;
}

.profile-info p {
  font-size: 0.9rem;
  color: rgba(245,242,234,0.45);
  margin-bottom: 0.35rem;
}

.member-since {
  font-size: 0.8rem;
  color: rgba(245,242,234,0.3);
}

/* الشبكة الرئيسية */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* بطاقة Trust Score */
.trust-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(232,196,104,0.18);
  border-radius: 22px;
  padding: 2rem;
  position: relative;
  box-shadow: 0 0 40px rgba(232,196,104,0.05);
}

.trust-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e8c468, transparent);
}

.trust-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.trust-header h3 {
  font-family: 'Manrope', 'Tajawal', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #f5f2ea;
}

.trust-badge {
  background: rgba(232,196,104,0.12);
  border: 1px solid rgba(232,196,104,0.25);
  color: #e8c468;
  font-size: 0.8rem;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-weight: 600;
}

.trust-score-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 1.75rem;
}

.trust-circle {
  width: 100%;
  height: 100%;
}

.trust-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Manrope', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #f3d791, #c9982e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* عوامل الثقة */
.trust-factors {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.factor-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.factor-row span:first-child {
  font-size: 0.8rem;
  color: rgba(245,242,234,0.55);
  width: 130px;
  flex-shrink: 0;
}

.factor-bar {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  overflow: hidden;
}

.factor-fill {
  height: 100%;
  background: linear-gradient(90deg, #f3d791, #c9982e);
  border-radius: 10px;
}

.factor-val {
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  color: #e8c468;
  width: 35px;
  text-align: left;
}

/* الإحصائيات */
.stats-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-content: start;
}

.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.stat-card:hover {
  border-color: rgba(232,196,104,0.22);
  transform: translateY(-2px);
}

.stat-card.highlight {
  border-color: rgba(232,196,104,0.28);
  background: rgba(232,196,104,0.05);
}

.stat-num {
  font-family: 'Manrope', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #f3d791, #c9982e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.4rem;
}

.stat-lbl {
  font-size: 0.8rem;
  color: rgba(245,242,234,0.45);
  line-height: 1.4;
}

/* المعاملات */
.transactions {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 1.75rem;
}

.transactions h3 {
  font-family: 'Manrope', 'Tajawal', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: rgba(245,242,234,0.85);
}

.transaction-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.transaction-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.transaction-row:last-child {
  border-bottom: none;
}

.t-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 140px;
}

.t-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #f5f2ea;
}

.t-date {
  font-size: 0.78rem;
  color: rgba(245,242,234,0.35);
}

.t-middle {
  font-size: 0.875rem;
  color: rgba(245,242,234,0.55);
  flex: 1;
  text-align: center;
}

.t-status {
  font-size: 0.78rem;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-weight: 600;
}

.t-status.success {
  background: rgba(29,158,117,0.15);
  color: #1D9E75;
  border: 1px solid rgba(29,158,117,0.25);
}

.t-status.pending {
  background: rgba(232,196,104,0.1);
  color: #e8c468;
  border: 1px solid rgba(232,196,104,0.22);
}

/* الشاشات الصغيرة */
@media (max-width: 768px) {
  .profile-grid { grid-template-columns: 1fr; }
  .stats-col { grid-template-columns: 1fr 1fr; }
}
