/* ===== PUBLIC PROFILE ===== */
.ttj-profile {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  color: #1F2937;
}

/* HERO */
.ttj-profile-hero {
  display: flex;
  gap: 32px;
  background: #fff;
  padding: 32px;
  border-radius: 18px;
  box-shadow:
    0 6px 20px rgba(0,0,0,0.08),
    0 2px 6px rgba(0,0,0,0.04);
}

/* AVATAR */
.ttj-profile-avatar img {
  width: 160px;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
}

/* MAIN */
.ttj-profile-main {
  flex: 1;
}

.ttj-profile-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ttj-profile-name h1 {
  font-size: 28px;
  font-weight: 600;
  margin: 0;
}

/* NAME BADGE */
.ttj-name-badge i {
  color: #2563eb;
  font-size: 17px;
  font-weight: 900;
}

/* TRADE */
.ttj-profile-trade {
  font-size: 16px;
  color: #6B7280;
  margin-top: 4px;
}

/* RATING */
.ttj-profile-rating {
  margin-top: 6px;
  font-size: 14px;
}

.ttj-profile-rating i {
  color: #facc15;
  margin-right: 4px;
}

/* META */
.ttj-profile-meta {
  display: flex;
  gap: 18px;
  margin-top: 12px;
  color: #374151;
}

/* VERIFIED */
.ttj-profile-verification {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.verified {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  background: #e6f4ea;
  color: #137333;

  font-size: 14px;
  font-weight: 600;

  padding: 7px 14px;
  border-radius: 999px;
}

/* ACTION */
.ttj-profile-actions {
  margin-top: 22px;
}

.ttj-profile .btn-primary {
  background: #2563eb;
  color: #fff;
  font-size: 14px;
  padding: 7px 22px;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 600;
  display: inline-block;
}

button .btn-primary {
  background: #2563eb;
  color: #fff;
  font-size: 14px;
  padding: 7px 22px;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 600;
  display: inline-block;
}

/* ABOUT */
.ttj-profile-about {
  margin-top: 48px;
  max-width: 720px;
}

.ttj-profile-about h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.ttj-profile-about p {
  color: #374151;
  line-height: 1.7;
}

/* ===== MOBILE ===== */
@media (max-width: 725px) {

  .ttj-profile-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ttj-profile-meta,
  .ttj-profile-verification {
    justify-content: center;
    flex-wrap: wrap;
  }

  .ttj-profile-avatar img {
    width: 155px;
    height: 950px;
  }
}

/* ===============================
   PORTFOLIO SECTION
================================ */
.ttj-profile-portfolio {
  margin-top: 48px;
  width: 100%;
}

.ttj-section-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 18px;
  color: #0f172a;
}

/* GRID */
.ttj-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* ITEM */
.ttj-portfolio-item {
  width: 100%;
  height: 220px;              /* CONTROLLED HEIGHT */
  background: #f1f5f9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 6px 18px rgba(0,0,0,0.08),
    0 2px 6px rgba(0,0,0,0.04);
  cursor: zoom-in;
  position: relative;
}

.ttj-portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* CROP, NOT STRETCH */
  display: block;
  transition: transform 0.35s ease;
}

/* HOVER EFFECT (ENTERPRISE TOUCH) */
.ttj-portfolio-item:hover img {
  transform: scale(1.06);
}

/* TABLET */
@media (max-width: 1024px) {
  .ttj-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media (max-width: 725px) {
  .ttj-profile-portfolio {
    margin-top: 36px;
    text-align: center;
  }

  .ttj-section-title {
    text-align: center;
  }

  .ttj-portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.ttj-lightbox-img {
  max-width: 100%;
  max-height: none;            /* allow natural height */
  width: auto;
  height: auto;

  object-fit: contain;
  border-radius: 14px;

  display: block;
}

.ttj-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  overflow: auto;              /* 🔥 VERY IMPORTANT */
  padding: 40px 24px;
}

.ttj-lightbox-close {
  display: none;
}

.ttj-lightbox-close {
  position: fixed;      /* not absolute */
  top: 18px;
  right: 22px;
  font-size: 34px;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}

.ttj-lightbox.open {
  display: flex;
}

.ttj-lightbox.open .ttj-lightbox-close {
  display: block;
}

.ttj-profile-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
  vertical-align: middle;
}

.ttj-profile-meta {
  display: flex;
  gap: 18px;
  margin-top: 12px;
  color: #374151;
}

.ttj-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.ttj-meta-item svg {
  width: 18px;
  height: 18px;
  stroke: #374151;
  fill: none;
  stroke-width: 1.8;
}

.ttj-hero-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  flex-wrap: nowrap;
}

.ttj-meta-primary,
.ttj-meta-secondary {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ttj-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #374151;
}

.ttj-meta-item svg {
  width: 18px;
  height: 18px;
  stroke: #374151;
  fill: none;
  stroke-width: 1.8;
}

.divider {
  opacity: 0.35;
}

@media (max-width: 1024px) {

  .ttj-hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .ttj-meta-primary {
    width: 100%;
  }

  .ttj-meta-secondary {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }
}

.verified {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e6f4ea;
  color: #137333;
  font-size: 14px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
}

/* ======================================================
   SINGLE PROFILE – MOBILE (TRUE DIRECTORY STYLE)
   ====================================================== */
@media (max-width: 725px) {

  /* CONTAINER */
  .ttj-profile {
    padding: 0 14px;
  }

  /* HERO CARD */
  .ttj-profile-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;

    padding: 22px 18px;
    border-radius: 20px;

    box-shadow:
      0 12px 30px rgba(0,0,0,0.12),
      0 4px 12px rgba(0,0,0,0.06);
  }

  /* AVATAR – KEEP IT */
  /*.ttj-profile-avatar {
    margin-bottom: 14px;
  }*/

  .ttj-profile-avatar img {
    width: 120px;
    height: 150px;
    border-radius: 18px;
    object-fit: cover;
  }

  /* MAIN WRAPPER */
  .ttj-profile-main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* NAME */
  .ttj-profile-name {
    justify-content: center;
    gap: 6px;
  }

  .ttj-profile-name h1 {
    font-size: 20px;
    text-align: center;
  }

  /* TRADE */
  .ttj-profile-trade {
    text-align: center;
    margin-top: 2px;
  }

  /* RATING */
  .ttj-profile-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 6px;
  }

  /* META WRAPPER */
  .ttj-hero-meta {
    width: 100%;
    margin-top: 14px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  /* LOCATION + EXPERIENCE → STACKED */
  .ttj-meta-primary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .ttj-meta-primary .divider {
    display: none;
  }

  .ttj-meta-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
  }

  /* SVG ICONS */
  .ttj-meta-item svg {
    width: 16px;
    height: 16px;
    stroke: #6b7280;
    fill: none;
    stroke-width: 1.8;
  }

  /* ABOUT */
  .ttj-profile-about h2 {
    text-align: center;
  }

  .ttj-profile-about p {
    text-align: center;
  }

  /* VERIFIED + CONTACT → VERTICAL CENTERED */
  .ttj-meta-secondary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  /* VERIFIED PILLS */
  .ttj-meta-secondary .verified {
    text-align: center !important;
    background: #e6f4ea;
    color: #137333;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 999px;
  }

}

/* ===== REVIEWS LINK ===== */
.ttj-view-reviews {
  margin-left: 14px;
  font-weight: 600;
  color: #0A66C2;
  text-decoration: none !important;
  cursor: pointer;
}

/* REVIEWS */
.ttj-reviews-list {
  margin-bottom: 16px;
}

.ttj-review-item {
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}

/* STAR RATING */
.ttj-star-rating {
  font-size: 26px;
  color: #d1d5db;
  cursor: pointer;
  margin-bottom: 10px;
}

/* FORM */
#ttjReviewForm textarea {
  width: 100%;
  min-height: 90px;
  padding: 10px;
  margin-bottom: 10px;
}

#ttjReviewForm button {
  position: relative;
}

/* LOADER */
.btn-loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.ttj-profile button.loading .btn-text {
  display: none;
}
.ttj-profile button.loading .btn-loader {
  display: inline-block;
}

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

/* ===== MODAL BOX ===== */
.ttj-reviews-modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;

  border-radius: 16px;
  padding: 22px 24px;

  overflow-y: auto;
  position: relative;

  box-shadow:
    0 25px 60px rgba(0,0,0,0.25);
}

/* CLOSE BUTTON */
.ttj-reviews-close {
  position: absolute;
  top: 14px;
  right: 14px;

  border: none;
  background: none;
  font-size: 22px;
  cursor: pointer;
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
  .ttj-reviews-modal-box {
    max-width: calc(100% - 24px);
    padding: 18px;
  }
}

.star.active,
.ttj-review-stars .active{
  color:#facc15;
}

.btn-loader{
  display:none;
  position:absolute;
  inset:0;
  background:rgba(255,255,255,.6);
}

.ttj-profile button.loading .btn-loader{display:block}

/* ===== PUBLIC PROFILE ===== */
.ttj-profile {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  color: #1F2937;
}

/* HERO */
.ttj-profile-hero {
  display: flex;
  gap: 32px;
  background: #fff;
  padding: 32px;
  border-radius: 18px;
  box-shadow:
    0 6px 20px rgba(0,0,0,0.08),
    0 2px 6px rgba(0,0,0,0.04);
}

/* AVATAR */
.ttj-profile-avatar img {
  width: 160px;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
}

/* MAIN */
.ttj-profile-main {
  flex: 1;
}

.ttj-profile-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ttj-profile-name h1 {
  font-size: 28px;
  font-weight: 600;
  margin: 0;
}

/* NAME BADGE */
.ttj-name-badge i {
  color: #2563eb;
  font-size: 17px;
  font-weight: 900;
}

/* TRADE */
.ttj-profile-trade {
  font-size: 16px;
  color: #6B7280;
  margin-top: 4px;
}

/* RATING */
.ttj-profile-rating {
  margin-top: 6px;
  font-size: 14px;
}

.ttj-profile-rating i {
  color: #facc15;
  margin-right: 4px;
}

/* META */
.ttj-profile-meta {
  display: flex;
  gap: 18px;
  margin-top: 12px;
  color: #374151;
}

/* VERIFIED */
.ttj-profile-verification {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.verified {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  background: #e6f4ea;
  color: #137333;

  font-size: 14px;
  font-weight: 600;

  padding: 7px 14px;
  border-radius: 999px;
}

/* ACTION */
.ttj-profile-actions {
  margin-top: 22px;
}

/* ABOUT */
.ttj-profile-about {
  margin-top: 48px;
  max-width: 720px;
}

.ttj-profile-about h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.ttj-profile-about p {
  color: #374151;
  line-height: 1.7;
}

/* ===== MOBILE ===== */
@media (max-width: 725px) {

  .ttj-profile-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ttj-profile-meta,
  .ttj-profile-verification {
    justify-content: center;
    flex-wrap: wrap;
  }

  .ttj-profile-avatar img {
    width: 155px;
    height: 950px;
  }
}

/* ===============================
   PORTFOLIO SECTION
================================ */
.ttj-profile-portfolio {
  margin-top: 48px;
  width: 100%;
}

.ttj-section-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 18px;
  color: #0f172a;
}

/* GRID */
.ttj-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* ITEM */
.ttj-portfolio-item {
  width: 100%;
  height: 220px;              /* CONTROLLED HEIGHT */
  background: #f1f5f9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 6px 18px rgba(0,0,0,0.08),
    0 2px 6px rgba(0,0,0,0.04);
  cursor: zoom-in;
  position: relative;
}

.ttj-portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* CROP, NOT STRETCH */
  display: block;
  transition: transform 0.35s ease;
}

/* HOVER EFFECT (ENTERPRISE TOUCH) */
.ttj-portfolio-item:hover img {
  transform: scale(1.06);
}

/* TABLET */
@media (max-width: 1024px) {
  .ttj-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media (max-width: 725px) {
  .ttj-profile-portfolio {
    margin-top: 36px;
    text-align: center;
  }

  .ttj-section-title {
    text-align: center;
  }

  .ttj-portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.ttj-lightbox-img {
  max-width: 100%;
  max-height: none;            /* allow natural height */
  width: auto;
  height: auto;

  object-fit: contain;
  border-radius: 14px;

  display: block;
}

.ttj-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  overflow: auto;              /* 🔥 VERY IMPORTANT */
  padding: 40px 24px;
}

.ttj-lightbox-close {
  display: none;
}

.ttj-lightbox-close {
  position: fixed;      /* not absolute */
  top: 18px;
  right: 22px;
  font-size: 34px;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}

.ttj-lightbox.open {
  display: flex;
}

.ttj-lightbox.open .ttj-lightbox-close {
  display: block;
}

.ttj-profile-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
  vertical-align: middle;
}

.ttj-profile-meta {
  display: flex;
  gap: 18px;
  margin-top: 12px;
  color: #374151;
}

.ttj-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.ttj-meta-item svg {
  width: 18px;
  height: 18px;
  stroke: #374151;
  fill: none;
  stroke-width: 1.8;
}

.ttj-hero-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  flex-wrap: nowrap;
}

.ttj-meta-primary,
.ttj-meta-secondary {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ttj-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #374151;
}

.ttj-meta-item svg {
  width: 18px;
  height: 18px;
  stroke: #374151;
  fill: none;
  stroke-width: 1.8;
}

.divider {
  opacity: 0.35;
}

@media (max-width: 1024px) {

  .ttj-hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .ttj-meta-primary {
    width: 100%;
  }

  .ttj-meta-secondary {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }
}

.verified {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e6f4ea;
  color: #137333;
  font-size: 14px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
}

/* ======================================================
   SINGLE PROFILE – MOBILE (TRUE DIRECTORY STYLE)
   ====================================================== */
@media (max-width: 725px) {

  /* CONTAINER */
  .ttj-profile {
    padding: 0 14px;
  }

  /* HERO CARD */
  .ttj-profile-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;

    padding: 22px 18px;
    border-radius: 20px;

    box-shadow:
      0 12px 30px rgba(0,0,0,0.12),
      0 4px 12px rgba(0,0,0,0.06);
  }

  /* AVATAR – KEEP IT */
  /*.ttj-profile-avatar {
    margin-bottom: 14px;
  }*/

  .ttj-profile-avatar img {
    width: 120px;
    height: 150px;
    border-radius: 18px;
    object-fit: cover;
  }

  /* MAIN WRAPPER */
  .ttj-profile-main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* NAME */
  .ttj-profile-name {
    justify-content: center;
    gap: 6px;
  }

  .ttj-profile-name h1 {
    font-size: 20px;
    text-align: center;
  }

  /* TRADE */
  .ttj-profile-trade {
    text-align: center;
    margin-top: 2px;
  }

  /* RATING */
  .ttj-profile-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 6px;
  }

  /* META WRAPPER */
  .ttj-hero-meta {
    width: 100%;
    margin-top: 14px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  /* LOCATION + EXPERIENCE → STACKED */
  .ttj-meta-primary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .ttj-meta-primary .divider {
    display: none;
  }

  .ttj-meta-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
  }

  /* SVG ICONS */
  .ttj-meta-item svg {
    width: 16px;
    height: 16px;
    stroke: #6b7280;
    fill: none;
    stroke-width: 1.8;
  }

  /* ABOUT */
  .ttj-profile-about h2 {
    text-align: center;
  }

  .ttj-profile-about p {
    text-align: center;
  }

  /* VERIFIED + CONTACT → VERTICAL CENTERED */
  .ttj-meta-secondary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 0;
  }

  /* VERIFIED PILLS */
  .ttj-meta-secondary .verified {
    text-align: center !important;
    background: #e6f4ea;
    color: #137333;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 999px;
  }

  /* CONTACT BUTTON */
  .ttj-meta-secondary .btn-primary {
    margin-top: 15px;
    min-width: 220px;
    text-align: center;
  }

}

/* ===== REVIEWS LINK ===== */
.ttj-view-reviews {
  margin-left: 14px;
  font-weight: 600;
  color: #0A66C2;
  text-decoration: none !important;
  cursor: pointer;
}

/* REVIEWS */
.ttj-reviews-list {
  margin-bottom: 16px;
}

.ttj-review-item {
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}

/* STAR RATING */
.ttj-star-rating {
  font-size: 26px;
  color: #d1d5db;
  cursor: pointer;
  margin-bottom: 10px;
}

.ttj-star-rating .star.active {
  color: #facc15;
}

/* FORM */
#ttjReviewForm textarea {
  width: 100%;
  min-height: 90px;
  padding: 10px;
  margin-bottom: 10px;
}

#ttjReviewForm button {
  position: relative;
}

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

/* FULLSCREEN OVERLAY – NUCLEAR OPTION */
#ttjReviewsModal {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(15,23,42,.85) !important;
  z-index: 10000 !important;

  display: none !important;
  align-items: center;
  justify-content: center;
}

#ttjReviewsModal.open {
  display: flex !important;
}

/* ===== REVIEWS MODAL OVERLAY ===== */
#ttjReviewsModal {
  position: fixed;
  inset: 0;
  z-index: 10000;

  display: none !important;
  align-items: center;
  justify-content: center;

  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(2px);
}

/* OPEN STATE */
#ttjReviewsModal.open {
  display: flex !important;
}

/* ===== MODAL BOX ===== */
.ttj-reviews-modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;

  border-radius: 16px;
  padding: 22px 24px;

  overflow-y: auto;
  position: relative;

  box-shadow:
    0 25px 60px rgba(0,0,0,0.25);
}

/* CLOSE BUTTON */
.ttj-reviews-close {
  position: absolute;
  top: 14px;
  right: 14px;

  border: none;
  background: none;
  font-size: 22px;
  cursor: pointer;
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
  .ttj-reviews-modal-box {
    max-width: calc(100% - 24px);
    padding: 18px;
  }
}

.ttj-star-rating .star,
.ttj-review-stars span{
  font-size:22px;
  cursor:pointer;
  color:#d1d5db;
}

.star.active,
.ttj-review-stars .active{
  color:#facc15;
}

.btn-loader{
  display:none;
  position:absolute;
  inset:0;
  background:rgba(255,255,255,.6);
}

.ttj-profile button.loading .btn-loader{display:block}

/* ===== CLEAN REVIEWS MODAL ===== */

.ttj-reviews-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.ttj-reviews-overlay.open {
  display: flex;
}

.ttj-reviews-modal {
  background: #fff;
  width: 92%;
  max-width: 520px;
  border-radius: 16px;
  padding: 22px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.ttj-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

.ttj-star-rating .star {
  font-size: 22px;
  cursor: pointer;
  color: #d1d5db;
}

.ttj-star-rating .star.active {
  color: #facc15;
}

/* Remove Astra grey container background */
.ast-separate-container,
.ast-separate-container #primary,
.ast-separate-container .ast-container,
.ast-separate-container .site-content {
    background-color: #ffffff !important;
}

/* Ensure full page white */
html, body {
    background-color: #ffffff !important;
}

/* ====================================
   CONTACT BUTTON (PUBLIC PROFILE)
==================================== */

.ttj-meta-secondary .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 8px 22px;
    border-radius: 30px;

    background: linear-gradient(135deg, #1e3caa, #2563eb);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;

    transition: all 0.2s ease;
}

.ttj-meta-secondary .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.ttj-meta-secondary .btn-primary svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    flex-shrink: 0;
}

.ttj-meta-secondary .btn-primary span {
    line-height: 1;
}

.ttj-about-content {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  margin-top: 10px;
}

.public-profile-badge{
  margin-top: 2px;
}

