/* =============================================
   NikahConnect — profile.css
   ============================================= */

/* Profile page */
.nc-profile-page { max-width: 900px; margin: 100px auto 60px; padding: 0 20px; }
.nc-profile-page__header {
  display: flex; align-items: flex-start; gap: 24px;
  background: #fff; border-radius: var(--nc-radius-xl); padding: 28px;
  border: 1px solid var(--nc-border); box-shadow: var(--nc-shadow-sm);
  margin-bottom: 24px; position: relative; overflow: hidden;
}
.nc-profile-page__header::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--nc-rose), var(--nc-rose-light));
}
.nc-profile-page__avatar-wrap { position: relative; flex-shrink: 0; }
.nc-profile-page__avatar {
  width: 110px; height: 110px; border-radius: 50%; object-fit: cover;
  border: 4px solid #fff; box-shadow: var(--nc-shadow);
}
.nc-profile-page__avatar-edit {
  position: absolute; bottom: 4px; right: 4px;
  width: 32px; height: 32px; border-radius: 50%; background: var(--nc-rose);
  color: #fff; border: 2px solid #fff; cursor: pointer; font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
}
.nc-profile-page__info { flex: 1; }
.nc-profile-page__name {
  font-family: var(--nc-font-display); font-size: 1.8rem; font-weight: 700;
  color: var(--nc-dark); display: flex; align-items: center; gap: 10px; margin-bottom: 6px;
}
.nc-profile-page__meta {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px;
  font-size: .82rem; color: var(--nc-text-muted);
}
.nc-profile-page__meta span { display: flex; align-items: center; gap: 4px; }
.nc-profile-page__completion { margin-top: 14px; }

/* View profile (other user) */
.nc-view-profile { max-width: 800px; margin: 100px auto 60px; padding: 0 20px; }
.nc-view-profile__hero {
  border-radius: var(--nc-radius-xl); overflow: hidden;
  position: relative; margin-bottom: 20px;
}
.nc-view-profile__hero-img { width: 100%; height: 420px; object-fit: cover; }
.nc-view-profile__hero-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 50%);
  padding: 40px 28px 24px;
  display: flex; align-items: flex-end; justify-content: space-between;
}
.nc-view-profile__hero-info { color: #fff; }
.nc-view-profile__hero-name {
  font-family: var(--nc-font-display); font-size: 2rem; font-weight: 700;
  display: flex; align-items: center; gap: 10px; margin-bottom: 4px;
}
.nc-view-profile__hero-city { font-size: .9rem; opacity: .8; }
.nc-view-profile__hero-actions { display: flex; gap: 10px; }

/* Voice intro in profile */
.nc-voice-player {
  display: flex; align-items: center; gap: 12px; padding: 16px 20px;
  background: var(--nc-bg-section); border-radius: var(--nc-radius-lg);
  border: 1px solid var(--nc-border); margin-bottom: 20px;
}
.nc-voice-player__btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--nc-dark); color: #fff; border: none; cursor: pointer;
  font-size: 1rem; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: var(--nc-transition);
}
.nc-voice-player__btn:hover { background: var(--nc-rose); }
.nc-voice-player__wave { flex: 1; height: 40px; }
.nc-voice-player__label { font-size: .78rem; color: var(--nc-text-muted); }

/* Info sections */
.nc-profile-sections { display: flex; flex-direction: column; gap: 16px; }
.nc-profile-section {
  background: #fff; border-radius: var(--nc-radius-lg);
  padding: 22px 24px; border: 1px solid var(--nc-border);
}
.nc-profile-section__title {
  font-size: .8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--nc-text-muted); margin-bottom: 14px;
}
.nc-profile-section__grid { display: flex; flex-wrap: wrap; gap: 8px; }

/* Islam info chips */
.nc-info-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--nc-radius-full);
  background: var(--nc-bg-section); border: 1px solid var(--nc-border);
  font-size: .82rem; font-weight: 600; color: var(--nc-dark);
}

/* Report / Block actions */
.nc-profile-safety {
  display: flex; gap: 10px; padding: 16px; background: var(--nc-bg-section);
  border-radius: var(--nc-radius-lg); border: 1px solid var(--nc-border);
}
.nc-profile-safety__btn {
  flex: 1; padding: 9px; font-size: .78rem; font-weight: 600;
  border-radius: var(--nc-radius); cursor: pointer; border: 1px solid var(--nc-border);
  background: #fff; color: var(--nc-text-muted); transition: var(--nc-transition);
  font-family: var(--nc-font-body);
}
.nc-profile-safety__btn:hover { border-color: var(--nc-rose); color: var(--nc-rose); background: var(--nc-rose-pale); }

/* Report modal */
.nc-report-modal {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center;
}
.nc-report-modal__box {
  background: #fff; border-radius: var(--nc-radius-xl);
  padding: 32px; max-width: 400px; width: 90%;
}
.nc-report-modal__title { font-weight: 700; font-size: 1.1rem; margin-bottom: 16px; }
.nc-report-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.nc-report-option {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  border-radius: var(--nc-radius); border: 2px solid var(--nc-border);
  cursor: pointer; transition: var(--nc-transition); font-size: .88rem; font-weight: 600;
}
.nc-report-option input[type=radio] { accent-color: var(--nc-rose); }
.nc-report-option:hover { border-color: var(--nc-rose); background: var(--nc-rose-pale); }

/* Admin styles */
.nc-admin-wrap { max-width: 1200px; }
.nc-admin-stats {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr));
  gap: 16px; margin: 20px 0;
}
.nc-admin-stat {
  padding: 20px; border-radius: 12px; text-align: center; border: 2px solid transparent;
}
.nc-admin-stat__num { font-size: 2rem; font-weight: 800; margin-bottom: 4px; }
.nc-admin-stat__label { font-size: .82rem; opacity: .8; }
.nc-admin-stat__link { display: block; font-size: .75rem; margin-top: 8px; color: inherit; text-decoration: underline; }
.nc-admin-stat--blue   { background: #EFF6FF; color: #1e40af; border-color: #bfdbfe; }
.nc-admin-stat--gold   { background: #FFFBEB; color: #92400e; border-color: #fde68a; }
.nc-admin-stat--rose   { background: var(--nc-rose-pale); color: var(--nc-rose-dark); border-color: rgba(232,68,106,.25); }
.nc-admin-stat--green  { background: #F0FDF4; color: #166534; border-color: #bbf7d0; }
.nc-admin-stat--warning{ background: #FFFBEB; color: #92400e; border-color: #fcd34d; }

.nc-admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.nc-admin-card { background: #fff; border-radius: 12px; padding: 20px; border: 1px solid #e5e7eb; }
.nc-admin-card h3 { margin-bottom: 12px; font-size: 1rem; }
.nc-admin-card ul { list-style: none; }
.nc-admin-card li { padding: 6px 0; border-bottom: 1px solid #f3f4f6; font-size: .88rem; }
.nc-admin-card li a { color: var(--nc-rose); font-weight: 500; }

.nc-admin-table { margin-top: 16px !important; }
.nc-admin-table th { background: #f9fafb; }
.nc-plan-badge { padding: 3px 10px; border-radius: 99px; font-size: .75rem; font-weight: 700; }
.nc-plan-badge--free   { background: #f3f4f6; color: #6b7280; }
.nc-plan-badge--gold   { background: #fef3c7; color: #92400e; }
.nc-plan-badge--family { background: #ede9fe; color: #5b21b6; }
.nc-report-reason { background: #fee2e2; color: #991b1b; padding: 2px 8px; border-radius: 99px; font-size: .75rem; font-weight: 600; }
.nc-meta-table td, .nc-meta-table th { padding: 10px 12px; }
