/*=========================================================
  NAKSHATRA — ASTROLOGER PROFILE STYLES
  Custom details page styling matching the provided screenshot.
  Uses global design variables for consistent aesthetics.
==========================================================*/

/* --- Page Container & Layout --- */
.nkProfilePage {
  background-color: #fcfbf8;
  min-height: 80vh;
  padding-block: var(--nk-space-md) var(--nk-space-2xl);
  font-family: var(--nk-font-body);
}

.nkProfileContainer {
  max-width: 1000px;
  margin: 0 auto;
  padding-inline: var(--nk-space-md);
}

/* --- Breadcrumb Navigation --- */
.nkBreadcrumb {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: var(--nk-space-md);
}

.nkBreadcrumbHome {
  background-color: #f0ead8;
  border: 1px solid #dcd3bb;
  border-radius: 4px 0 0 4px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  transition: background-color var(--nk-transition-fast);
  height: 32px;
}

.nkBreadcrumbHome:hover {
  background-color: #e5dcbe;
}

.nkBreadcrumbHome svg {
  width: 16px;
  height: 16px;
}

.nkBreadcrumbCurrent {
  background-color: #f2a93b;
  color: #1a1a1a;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 0 4px 4px 0;
  height: 32px;
  display: flex;
  align-items: center;
  position: relative;
}

/* Optional triangle separator on breadcrumb */
.nkBreadcrumbCurrent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  border-left: 8px solid #f0ead8;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
}

/* --- Profile Main Card --- */
.nkProfileMainCard {
  background: var(--nk-surface);
  border: 1px solid #eee3c7;
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(43, 32, 19, 0.05);
  padding: 30px;
  margin-bottom: 24px;
  display: flex;
  gap: 30px;
}

.nkProfileLeftCol {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
  flex-shrink: 0;
}

.nkProfileAvatarWrap {
  position: relative;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 4px solid #fdf1d6;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  margin-bottom: 16px;
  background-color: #fffefa;
}

.nkProfileAvatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nkFollowBtn {
  background-color: #f2a93b;
  color: #1a1a1a;
  border: 1px solid #c97a1a;
  padding: 6px 24px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: capitalize;
  box-shadow: 0 2px 4px rgba(201, 122, 26, 0.2);
  transition: all var(--nk-transition-fast);
  width: 100px;
  text-align: center;
}

.nkFollowBtn:hover {
  background-color: #c97a1a;
  color: #ffffff;
  transform: translateY(-1px);
}

.nkFollowBtn.isFollowing {
  background-color: #e6f7e6;
  color: #2e7d32;
  border-color: #81c784;
}

.nkProfileRightCol {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nkProfileNameRow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.nkProfileNameRow h2 {
  font-family: var(--nk-font-body);
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.nkProfileVerified {
  color: #248a52;
  display: flex;
  align-items: center;
}

.nkProfileVerified svg {
  width: 22px;
  height: 22px;
  fill: #e6f7e6;
}

.nkProfileDetailsList {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.nkProfileDetailText {
  font-size: 0.9rem;
  color: #555555;
  line-height: 1.4;
}

.nkProfilePriceText {
  font-size: 0.92rem;
  color: #333333;
}

.nkProfilePriceText strong {
  font-size: 1.15rem;
  color: #1a1a1a;
  font-weight: 800;
}

/* Stats Row: Orders & Minutes */
.nkProfileStatsRow {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(238, 227, 199, 0.4);
  padding-bottom: 16px;
}

.nkProfileStatItem {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #444;
}

.nkProfileStatItem svg {
  width: 18px;
  height: 18px;
  stroke: #777777;
}

.nkProfileStatItem strong {
  color: #1a1a1a;
  font-weight: 700;
}

/* Call and Chat Buttons */
.nkProfileActionsRow {
  display: flex;
  gap: 16px;
  margin-top: auto;
}

.nkProfileActBtn {
  flex: 1;
  border-radius: 24px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  transition: all var(--nk-transition-fast);
  text-decoration: none;
}

/* Chat Active Button style */
.nkActBtnChat {
  border: 1px solid #e74c3c;
  background-color: #fff5f5;
  color: #e74c3c;
}

.nkActBtnChat:hover {
  background-color: #ffe8e8;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.15);
  transform: translateY(-1px);
}

.nkActBtnChatTitle {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nkActBtnChatTitle svg {
  width: 18px;
  height: 18px;
}

.nkActBtnChatSub {
  font-size: 0.72rem;
  font-weight: 500;
  color: #c0392b;
}

/* Call Button — Schedule Voice Call */
.nkActBtnCall {
  border: 1px solid #b5b5b5;
  background-color: #f7f7f7;
  color: #888888;
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s;
}

.nkActBtnCall:hover,
.nkActBtnCall:focus {
  background-color: #f0eaff;
  border-color: #7c3aed;
  color: #5b21b6;
}

.nkActBtnCall:hover .nkActBtnCallSub,
.nkActBtnCall:focus .nkActBtnCallSub {
  color: #7c3aed;
}

.nkActBtnCallTitle {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nkActBtnCallTitle svg {
  width: 18px;
  height: 18px;
}

.nkActBtnCallSub {
  font-size: 0.72rem;
  font-weight: 500;
  color: #999999;
}

/* --- About Me Section --- */
.nkProfileAboutSection {
  background: var(--nk-surface);
  border: 1px solid #eee3c7;
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 24px;
}

.nkProfileAboutSection h3 {
  text-align: center;
  font-family: var(--nk-font-body);
  font-size: 1.35rem;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 16px;
  position: relative;
}

.nkProfileAboutText {
  color: #555555;
  font-size: 0.92rem;
  line-height: 1.7;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

/* --- Two Column Widgets Grid --- */
.nkProfileWidgetsGrid {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 24px;
}

.nkProfileWidgetCard {
  background: var(--nk-surface);
  border: 1px solid #eee3c7;
  border-radius: 16px;
  padding: 20px;
  height: fit-content;
}

.nkWidgetTitle {
  font-family: var(--nk-font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 20px;
}

/* --- Rating & Reviews Column --- */
.nkRatingDisplayRow {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}

.nkRatingScoreCol {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
}

.nkRatingBigNumber {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
}

.nkRatingStarsRow {
  display: flex;
  gap: 1px;
  margin-top: 6px;
}

.nkRatingStarsRow span {
  color: #888888; /* grey default */
  font-size: 0.8rem;
}

.nkRatingStarsRow span.active {
  color: #f2a93b; /* gold */
}

.nkRatingUserIcon {
  margin-top: 8px;
  color: #777;
}

.nkRatingUserIcon svg {
  width: 18px;
  height: 18px;
}

.nkRatingBarsCol {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nkRatingBarRow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #555555;
  font-weight: 500;
}

.nkRatingBarTrack {
  flex: 1;
  height: 8px;
  background-color: #ededed;
  border-radius: 4px;
  overflow: hidden;
}

.nkRatingBarFill {
  height: 100%;
  border-radius: 4px;
}

.nkRatingBarFill.green {
  background-color: #2fc25b; /* bright green */
}

/* Assistant Chat Widget Banner */
.nkAssistantBanner {
  margin-top: 20px;
  border: 1px solid #dcd3bb;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: #1a1a1a;
  transition: background-color var(--nk-transition-fast);
}

.nkAssistantBanner:hover {
  background-color: #faf8f2;
}

.nkAssistantLeft {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nkAssistantIcon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #fdf1d6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f2a93b;
}

.nkAssistantIcon svg {
  width: 20px;
  height: 20px;
}

.nkAssistantText {
  font-size: 0.88rem;
  font-weight: 600;
}

.nkAssistantArrow {
  color: #888888;
}

.nkAssistantArrow svg {
  width: 16px;
  height: 16px;
}

/* --- Similar Consultants / Reviews Column --- */
.nkSimilarConsultantsHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #eee3c7;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 24px;
  background: var(--nk-surface);
}

.nkSimilarTitle {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
}

.nkSimilarInfoIcon {
  color: #888;
  display: flex;
  align-items: center;
}

.nkSimilarInfoIcon svg {
  width: 16px;
  height: 16px;
}

/* User Reviews Section */
.nkReviewsListCard {
  background: var(--nk-surface);
  border: 1px solid #eee3c7;
  border-radius: 16px;
  padding: 20px;
}

.nkReviewsScrollArea {
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: #eee3c7 transparent;
}

.nkReviewsScrollArea::-webkit-scrollbar {
  width: 6px;
}

.nkReviewsScrollArea::-webkit-scrollbar-track {
  background: transparent;
}

.nkReviewsScrollArea::-webkit-scrollbar-thumb {
  background: #eee3c7;
  border-radius: 3px;
}

/* Review Individual Card */
.nkReviewCard {
  border: 1px solid #f0ead8;
  border-radius: 12px;
  padding: 14px;
  background-color: #fffdfc;
  transition: transform var(--nk-transition-fast);
}

.nkReviewCard:hover {
  transform: translateY(-1px);
}

.nkReviewHeader {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.nkReviewAvatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f2a93b;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

/* Individual avatar colors to make it colorful */
.nkReviewAvatar.c1 { background-color: #f39c12; }
.nkReviewAvatar.c2 { background-color: #9b59b6; }
.nkReviewAvatar.c3 { background-color: #1abc9c; }
.nkReviewAvatar.c4 { background-color: #e67e22; }

.nkReviewName {
  font-size: 0.9rem;
  font-weight: 700;
  color: #222;
}

.nkReviewRating {
  margin-left: auto;
  display: flex;
  gap: 1px;
}

.nkReviewRating span {
  color: #f2a93b;
  font-size: 0.72rem;
}

.nkReviewContent {
  font-size: 0.82rem;
  color: #555555;
  line-height: 1.5;
}

/* --- Responsive Adjustments --- */
@media (max-width: 860px) {
  .nkProfileMainCard {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 20px;
  }
  .nkProfileLeftCol {
    width: 100%;
  }
  .nkProfileRightCol {
    width: 100%;
  }
  .nkProfileStatsRow {
    justify-content: center;
  }
  .nkProfileActionsRow {
    flex-direction: column;
    gap: 12px;
  }
  .nkProfileWidgetsGrid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}


/* ==========================================================
   DUAL-CURRENCY PRICE DISPLAY  (nkDualPrice)
   ========================================================== */
.nkDualPrice {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}
.nkPriceLocal {
  font-size: .85em;
  font-weight: 700;
  color: #1a1a1a;
}
.nkPriceAed {
  font-size: .7em;
  font-weight: 400;
  color: #9c8c6c;
  margin-top: 0;
}
