/* =====================================================
   ASTROLOGER PROFILE
===================================================== */

.astro-profile-page {
  min-height: 100vh;
  background: #0d0906;
  color: #eee9e1;
  padding-bottom: 80px;
}

.astro-container {
  width: calc(100% - 64px);
  max-width: 1340px;
  margin: 0 auto;
}

/* =====================================================
   BREADCRUMB
===================================================== */

.astro-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 30px 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #77716a;
}

.astro-breadcrumb strong {
  color: #d7a92c;
}

.breadcrumb-arrow {
  color: #4e4842;
  font-size: 17px;
}

/* =====================================================
   PROFILE CARD
===================================================== */

.astro-profile-card {
  background: #171310;
  border: 1px solid #2b2621;
  border-radius: 25px;
  padding: 28px 32px 20px;
}

.astro-profile-top {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* =====================================================
   AVATAR
===================================================== */

.astro-avatar-wrapper {
  position: relative;
  flex: 0 0 138px;
  width: 138px;
  height: 138px;
  padding: 4px;
  border: 3px solid #21b45a;
  border-radius: 50%;
}

.astro-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid #080706;
}

.astro-online-dot {
  position: absolute;
  right: 0;
  bottom: 5px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #20bb5c;
  border: 3px solid #171310;
}

/* =====================================================
   PROFILE INFO
===================================================== */

.astro-profile-info {
  flex: 1;
  min-width: 0;
}

.astro-name-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 23px;
}

.astro-name-row h1 {
  margin: 0;
  color: #f1ede8;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
}

.astro-verified {
  display: inline-flex;
}

.astro-info-row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 13px;
  font-size: 14px;
}

.info-icon {
  width: 20px;
  color: #d5aa3a;
}

.info-label {
  width: 75px;
  color: #79726b;
  font-size: 12px;
  font-weight: 700;
}

.info-value {
  color: #d5d0ca;
}

/* =====================================================
   HEADER ACTIONS
===================================================== */

.astro-header-actions {
  min-width: 310px;
  text-align: right;
}

.astro-price {
  color: #f0ebe5;
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 20px;
}

.astro-price small,
.consult-price small {
  font-size: 12px;
  color: #99928a;
  font-weight: 600;
}

.astro-action-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 13px;
}

.astro-outline-button {
  min-width: 147px;
  height: 49px;
  border-radius: 13px;
  border: 1px solid #16843d;
  background: transparent;
  color: #19bd58;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.astro-outline-button:hover {
  background: rgba(22, 132, 61, 0.1);
  border-color: #20b956;
}

.astro-outline-button span {
  margin-right: 7px;
}

/* =====================================================
   DIVIDER
===================================================== */

.astro-divider {
  height: 1px;
  background: #2a2521;
  margin: 25px 0 20px;
}

/* =====================================================
   STATS
===================================================== */

.astro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.astro-stat {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-right: 1px solid #302b26;
}

.astro-stat:last-child {
  border-right: 0;
}

.stat-icon {
  color: #d6a92e;
  font-size: 21px;
  margin-bottom: 3px;
}

.astro-stat strong {
  color: #eee9e2;
  font-size: 21px;
}

.astro-stat > span:last-child {
  margin-top: 5px;
  color: #756f69;
  font-size: 14px;
}

/* =====================================================
   CONTENT
===================================================== */

.astro-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  margin-top: 28px;
}

.astro-main-content {
  min-width: 0;
}

.astro-section {
  margin-bottom: 28px;
}

.astro-section h2,
.astro-reviews h2 {
  margin: 0 0 12px;
  color: #ede8e1;
  font-size: 20px;
  font-weight: 700;
}

.about-text {
  color: #a7a09a;
  font-size: 15px;
  line-height: 1.62;
  max-height: 128px;
  overflow: hidden;
}

.about-text.expanded {
  max-height: none;
}

.read-more-button {
  margin-top: 9px;
  border: 1px solid #d1a532;
  border-radius: 5px;
  background: transparent;
  color: #d5ac3d;
  padding: 2px 8px;
  font-size: 12px;
  cursor: pointer;
}

/* =====================================================
   SKILLS
===================================================== */

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: #bbb4ad;
  font-size: 14px;
}

.skills-list span b {
  color: #d6ad3d;
  margin-right: 7px;
}

/* =====================================================
   GALLERY
===================================================== */

.section-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title-row span {
  color: #aaa29b;
  font-size: 13px;
}

.astro-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
  position: relative;
}

.astro-gallery img {
  width: 100%;
  height: 166px;
  object-fit: cover;
  border-radius: 17px;
  border: 1px solid #302a25;
}

/* =====================================================
   SIDEBAR
===================================================== */

.astro-sidebar {
  position: relative;
}

.consult-card {
  position: sticky;
  top: 25px;
  background: #171310;
  border: 1px solid #2c2722;
  border-radius: 20px;
  padding: 26px 24px;
}

.consult-card h3 {
  margin: 0 0 17px;
  text-align: center;
  color: #eee9e3;
  font-size: 18px;
}

.consult-price {
  text-align: center;
  color: #eee9e3;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 22px;
}

.consult-button {
  width: 100%;
  height: 53px;
  margin-bottom: 10px;
  border: 1px solid #15843d;
  border-radius: 13px;
  background: transparent;
  color: #16b950;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.consult-button:hover {
  background: rgba(22, 185, 80, 0.08);
}

.consult-button span {
  margin-right: 9px;
}

.consult-divider {
  height: 1px;
  background: #302a25;
  margin: 6px 0 17px;
}

.consult-feature {
  display: flex;
  gap: 11px;
  align-items: center;
  color: #9d968f;
  font-size: 13px;
  margin-bottom: 14px;
}

.consult-feature span:first-child {
  color: #d4a936;
}

/* =====================================================
   REVIEWS
===================================================== */

.astro-reviews {
  margin-top: 38px;
}

.reviews-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rating-summary {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rating-summary strong {
  color: #eee9e3;
  font-size: 15px;
}
.rating-summary .stars{
  margin-bottom: 0px;
}

.rating-summary .stars,
.review-stars {
  color: #dca70d;
  letter-spacing: 2px;
}

.rating-summary span:last-child {
  color: #9b938c;
  font-size: 13px;
}

.reviews-sort {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 9px;
  color: #827b74;
  font-size: 13px;
  margin: 24px 0 15px;
}

.reviews-sort button {
  height: 40px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid #312c27;
  border-radius: 10px;
  background: #171310;
  color: #d9d3cc;
  cursor: pointer;
}

.review-card {
  background: #171310;
  border: 1px solid #2b2723;
  border-radius: 17px;
  padding: 21px 22px;
  margin-bottom: 14px;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-user img,
.review-initial {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.review-user img {
  object-fit: cover;
}

.review-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d8ae37;
  color: #16110a;
  font-weight: 700;
}

.review-user strong {
  color: #ded8d1;
  font-size: 14px;
}

.review-stars {
  font-size: 12px;
}

.review-card p {
  margin: 15px 0 0;
  color: #aaa39c;
  font-size: 14px;
  line-height: 1.5;
}

.view-more {
  border: 0;
  padding: 3px 0;
  background: transparent;
  color: #d7ac37;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.no-reviews,
.reviews-loading {
  padding: 30px 0;
  color: #817a73;
}

/* =====================================================
   ASSISTANT
===================================================== */

.assistant-bar {
  width: 100%;
  height: 56px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  border: 1px solid #302b25;
  border-radius: 12px;
  background: #1a1713;
  color: #e3ded8;
  font-size: 15px;
  cursor: pointer;
}

.assistant-bar span:nth-child(2) {
  flex: 1;
  text-align: left;
}

.assistant-bar span:last-child {
  font-size: 24px;
  color: #a69f98;
}

/* =====================================================
   LOADING / ERROR
===================================================== */

.astro-profile-loading,
.astro-profile-error {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.astro-profile-loading p,
.astro-profile-error p {
  color: #8e8780;
}

.astro-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid #332c25;
  border-top-color: #d5a92f;
  border-radius: 50%;
  animation: astro-spin 0.8s linear infinite;
  margin-bottom: 15px;
}

@keyframes astro-spin {
  to {
    transform: rotate(360deg);
  }
}

.astro-gold-button {
  border: 0;
  border-radius: 8px;
  background: #d5a72c;
  color: #16110a;
  padding: 11px 20px;
  font-weight: 600;
  cursor: pointer;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1100px) {
  .astro-content-grid {
    grid-template-columns: minmax(0, 1fr) 290px;
  }

  .astro-header-actions {
    min-width: 280px;
  }

  .astro-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .astro-profile-top {
    flex-wrap: wrap;
  }

  .astro-header-actions {
    width: 100%;
    min-width: 0;
    text-align: left;
  }

  .astro-action-buttons {
    justify-content: flex-start;
  }

  .astro-content-grid {
    grid-template-columns: 1fr;
  }

  .consult-card {
    position: static;
  }
}

@media (max-width: 650px) {
  .astro-container {
    width: calc(100% - 28px);
  }

  .astro-profile-card {
    padding: 20px;
    border-radius: 18px;
  }

  .astro-profile-top {
    align-items: flex-start;
  }

  .astro-avatar-wrapper {
    flex-basis: 90px;
    width: 90px;
    height: 90px;
  }

  .astro-profile-info {
    width: calc(100% - 120px);
  }

  .astro-name-row h1 {
    font-size: 25px;
  }

  .astro-name-row {
    margin-bottom: 15px;
  }

  .astro-info-row {
    flex-wrap: wrap;
    gap: 5px;
  }

  .info-label {
    width: auto;
  }

  .info-value {
    width: 100%;
    padding-left: 31px;
  }

  .astro-action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .astro-outline-button {
    min-width: 0;
  }

  .astro-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .astro-stat strong {
    font-size: 16px;
  }

  .astro-stat > span:last-child {
    font-size: 11px;
  }

  .astro-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .astro-gallery img {
    height: 130px;
  }

  .reviews-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .rating-summary {
    margin-bottom: 5px;
  }
}

@media (max-width: 430px) {
  .astro-profile-top {
    display: grid;
    grid-template-columns: 90px 1fr;
  }

  .astro-profile-info {
    width: auto;
  }

  .astro-header-actions {
    grid-column: 1 / -1;
  }

  .astro-action-buttons {
    grid-template-columns: 1fr;
  }

  .astro-outline-button {
    width: 100%;
  }

  .astro-stats {
    gap: 0;
  }

  .astro-stat {
    min-height: 75px;
  }

  .rating-summary {
    flex-wrap: wrap;
  }
}




/* =========================================
   PROFILE MENU
========================================= */

.astro-profile-card {
  position: relative;
}

.astro-profile-menu-wrapper {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 30;
}

.astro-profile-menu-button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #d8d0c4;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.astro-profile-menu-button:hover {
  background: rgba(255, 255, 255, 0.06);
}


/* =========================================
   DROPDOWN
========================================= */

.astro-profile-dropdown {
  position: absolute;
  top: 40px;
  right: 0;
  width: 168px;
  background: #211c16;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
  z-index: 100;
}

.astro-profile-dropdown-item {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: #eee7dd;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 14px;
  text-align: left;
}

.astro-profile-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.astro-profile-dropdown-item:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.astro-profile-dropdown-item span:first-child {
  width: 18px;
  color: #e6c65c;
  font-size: 17px;
}

.astro-profile-dropdown-item.report-item {
  margin-top: 2px;
}


/* =========================================
   UNFOLLOW OVERLAY
========================================= */

.astro-unfollow-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;

  background: rgba(0, 0, 0, 0.72);

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;
}


/* =========================================
   UNFOLLOW MODAL
========================================= */

.astro-unfollow-modal {
  width: 100%;
  max-width: 380px;

  background: #211c16;

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 18px;

  padding: 28px 24px;

  text-align: center;

  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.55);
}

.astro-unfollow-modal h3 {
  margin: 0 0 12px;

  color: #f4efe8;

  font-size: 18px;

  font-weight: 700;
}

.astro-unfollow-modal p {
  margin: 0;

  color: #a9a198;

  font-size: 14px;

  line-height: 22px;
}

.astro-unfollow-modal p strong {
  color: #f4efe8;
}


/* =========================================
   MODAL BUTTONS
========================================= */

.astro-unfollow-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  margin-top: 24px;
}

.astro-cancel-button,
.astro-unfollow-button {
  min-width: 100px;

  height: 44px;

  padding: 0 20px;

  border-radius: 24px;

  font-size: 14px;

  font-weight: 600;

  cursor: pointer;
}

.astro-cancel-button {
  background: transparent;

  border: 1px solid rgba(255, 255, 255, 0.1);

  color: #eee7dd;
}

.astro-cancel-button:hover {
  background: rgba(255, 255, 255, 0.05);
}

.astro-unfollow-button {
  border: 0;

  background: #f4df55;

  color: #211c16;
}

.astro-unfollow-button:hover {
  background: #f7e66f;
}

.astro-cancel-button:disabled,
.astro-unfollow-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

  .astro-profile-menu-wrapper {
    top: 10px;
    right: 10px;
  }

  .astro-profile-dropdown {
    width: 165px;
  }

  .astro-unfollow-modal {
    max-width: 340px;
    padding: 24px 20px;
  }

  .astro-unfollow-actions {
    gap: 10px;
  }

}