/* ============================================================
   GUIDE PROFILE PAGE — styles/guide-profile.css
   ------------------------------------------------------------
   Moved out of guide-profile.html's inline <style> block, verbatim
   (separation standard: docs/frontend-separation.md). Linked after
   styles/styles.css so page rules still win.
   ============================================================ */

.profile-layout { display: grid; grid-template-columns: 1fr 340px; gap: 1.5rem; align-items: start; }
.profile-main { min-width: 0; }
.profile-side { position: sticky; top: 1rem; }

/* Hero */
.profile-hero {
    background: linear-gradient(135deg, var(--accent-deep), var(--accent));
    border-radius: 1.5rem; padding: 2rem; color: #fff; margin-bottom: 1.5rem;
    display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.profile-avatar {
    width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,0.25);
    color: #fff; display: inline-flex; align-items: center; justify-content: center;
    font-size: 2.6rem; font-weight: 800; flex: 0 0 110px; overflow: hidden;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-hero h1 { margin: 0; font-size: clamp(1.6rem, 4vw, 2.2rem); display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem; }
.verified-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 1.15em; height: 1.15em; border-radius: 50%; background: #1d9bf0;
    color: #fff; font-size: 0.7em; font-weight: 800; line-height: 1;
    vertical-align: middle; cursor: help;
}
.payment-badge {
    display: inline-flex; align-items: center; gap: 0.3rem;
    background: rgba(46, 204, 113, 0.15); color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.4); border-radius: 999px;
    padding: 0.25rem 0.7rem; font-size: 0.78rem; font-weight: 700;
    cursor: help; margin-top: 0.4rem;
}
.payment-badge svg { width: 0.9em; height: 0.9em; }
.profile-hero p { margin: 0.25rem 0; opacity: 0.95; }
.profile-hero .rate { font-size: 1.6rem; font-weight: 800; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 0.5rem; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 1.3rem; font-weight: 800; }
.hero-stat .lbl { font-size: 0.75rem; opacity: 0.9; }

/* Sections */
.profile-section {
    background: var(--surface-strong); border: 1px solid var(--line); border-radius: 1.5rem;
    padding: 1.5rem; margin-bottom: 1.5rem; box-shadow: var(--shadow);
}
.profile-section h2 { margin: 0 0 1rem; font-size: 1.25rem; color: var(--ink); }
.profile-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.profile-tag {
    background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
    padding: 0.25rem 0.8rem; font-size: 0.8rem; color: var(--muted);
}
.tour-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.tour-info-item { background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; padding: 1rem; }
.tour-info-item .lbl { color: var(--muted); font-size: 0.8rem; }
.tour-info-item .val { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-top: 0.2rem; }

/* Trust & reliability */
.trust-level-badge {
    display: inline-block; padding: 0.3rem 0.9rem; border-radius: 999px;
    font-size: 0.8rem; font-weight: 700; margin-bottom: 1rem;
}
.trust-level-badge.orange { background: rgba(230, 126, 34, 0.15); color: #e67e22; }
.trust-level-badge.blue { background: rgba(29, 155, 240, 0.15); color: #1d9bf0; }
.trust-level-badge.green { background: rgba(46, 204, 113, 0.15); color: #2ecc71; }
.trust-categories { display: grid; gap: 0.6rem; margin-bottom: 1.25rem; }
.trust-cat-head { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.25rem; }
.trust-cat-empty { color: var(--muted); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.trust-cat-bar { height: 8px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.trust-cat-fill { height: 100%; border-radius: 999px; }
.trust-cat-fill.green { background: #2ecc71; }
.trust-cat-fill.blue { background: #1d9bf0; }
.trust-cat-fill.orange { background: #e67e22; }
.trust-score-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }

.trust-score-num { font-size: 2.4rem; font-weight: 800; }
.trust-score-num.green { color: #2ecc71; }
.trust-score-num.blue { color: #1d9bf0; }
.trust-score-num.orange { color: #e67e22; }
.trust-bar { flex: 1; height: 12px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.trust-bar-fill { height: 100%; border-radius: 999px; transition: width 0.6s ease; }
.trust-bar-fill.green { background: #2ecc71; }
.trust-bar-fill.blue { background: #1d9bf0; }
.trust-bar-fill.orange { background: #e67e22; }
.reliability-list { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.reliability-list li { display: flex; align-items: center; gap: 0.6rem; padding: 0.4rem 0; color: var(--ink); font-size: 0.95rem; }
.reliability-list li .check { color: #2ecc71; font-weight: 800; }
.platform-record { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.platform-record .pr-item { text-align: center; }
.platform-record .pr-item .num { font-size: 1.4rem; font-weight: 800; color: var(--ink); }
.platform-record .pr-item .lbl { color: var(--muted); font-size: 0.8rem; }

/* Reputation history (Option C: neutral, collapsed) */
.reputation-history { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1rem; }
.reputation-toggle { display:flex; align-items:center; justify-content:space-between; width:100%; background:none; border:none; padding:0; cursor:pointer; font:inherit; text-align:left; }
.reputation-toggle .rt-label { color: var(--ink); font-weight:700; }
.reputation-toggle .rt-note { color: var(--muted); font-size:0.82rem; }
.reputation-list { list-style:none; margin:0.9rem 0 0; padding:0; }
.reputation-list li { display:flex; justify-content:space-between; align-items:center; padding:0.45rem 0; color:var(--muted); font-size:0.92rem; border-bottom:1px solid rgba(255,255,255,0.04); }
.reputation-list li .rp-pts { font-variant-numeric: tabular-nums; }
.reputation-history .rp-pos { color:#2ecc71; }
.reputation-history .rp-neg { color:#e67e22; }
.reputation-notice { margin:0.9rem 0 0; padding:0.8rem 1rem; border:1px solid #e67e22; border-radius:0.75rem; font-size:0.88rem; color:var(--muted); background:rgba(230,126,34,0.06); }
.reputation-notice strong { display:block; color:#e67e22; margin-bottom:0.25rem; }

/* Reviews */
.review-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: 1rem;
    padding: 1rem; margin-bottom: 0.8rem;
}
.review-card:last-child { margin-bottom: 0; }
.review-card .review-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; flex-wrap: wrap; }
.review-avatar {
    width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--ink);
    display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem;
    flex: 0 0 36px; overflow: hidden;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-card .review-name { font-weight: 600; color: var(--ink); }
.review-card .review-stars { color: #f4a261; }
.review-card .review-stars .star-icon { width: 1em; height: 1em; vertical-align: -0.15em; }
.review-card .review-stars .star-icon.empty { color: var(--muted); }
.star-icon { width: 1em; height: 1em; vertical-align: -0.15em; }
.star-icon.empty { color: var(--muted); }
.reliability-list li .check { width: 1em; height: 1em; color: #2ecc71; flex: 0 0 auto; }
.review-card .review-date { color: var(--muted); font-size: 0.8rem; margin-left: auto; }
.review-card p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

/* Booking card */
.booking-card {
    background: var(--surface-strong); border: 1px solid var(--line); border-radius: 1.5rem;
    padding: 1.5rem; box-shadow: var(--shadow);
}
.booking-card h2 { margin: 0 0 1rem; font-size: 1.25rem; color: var(--ink); }
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; margin-bottom: 0.35rem; color: var(--muted); font-size: 0.9rem; }
.form-field input, .form-field select, .form-field textarea {
    width: 100%; padding: 0.7rem 1rem; border-radius: 12px; border: 1px solid var(--line);
    background: var(--surface); color: var(--ink); font: inherit;
}
.form-field textarea { resize: vertical; min-height: 70px; }
.avail-msg { font-size: 0.85rem; margin-top: 0.4rem; }
.avail-msg.ok { color: #2ecc71; }
.avail-msg.bad { color: #e74c3c; }

/* Availability calendar */
.calendar { margin-bottom: 1rem; }
.calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.calendar-head button {
    background: var(--surface); border: 1px solid var(--line); color: var(--ink);
    border-radius: 8px; padding: 0.3rem 0.7rem; cursor: pointer; font: inherit;
}
.calendar-head .cal-title { font-weight: 700; color: var(--ink); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.3rem; }
.cal-dow { text-align: center; color: var(--muted); font-size: 0.7rem; padding: 0.2rem 0; }
.cal-day {
    aspect-ratio: 1; border-radius: 8px; display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; cursor: default; border: 1px solid transparent;
}
.cal-day.available { background: rgba(46, 204, 113, 0.15); color: #2ecc71; cursor: pointer; }
.cal-day.available:hover { border-color: #2ecc71; }
.cal-day.unavailable { background: var(--bg); color: var(--muted); }
.cal-day.booked { background: rgba(231, 76, 60, 0.15); color: #e74c3c; }
.cal-day.selected { border-color: var(--accent); background: var(--accent); color: var(--ink); font-weight: 700; }
.cal-day.blank { visibility: hidden; }
.cal-legend { display: flex; gap: 1rem; margin-top: 0.6rem; font-size: 0.75rem; color: var(--muted); flex-wrap: wrap; }
.cal-legend span { display: inline-flex; align-items: center; gap: 0.3rem; }
.cal-legend .dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.dot.green { background: #2ecc71; }
.dot.gray { background: var(--muted); }
.dot.red { background: #e74c3c; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.7rem 1.4rem; border: none; border-radius: 12px; background: var(--accent);
    color: var(--ink); font-weight: 600; cursor: pointer; text-decoration: none; transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--accent-deep); color: #fff; transform: translateY(-2px); }
.btn.block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn.secondary { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.btn.secondary:hover { border-color: var(--accent); background: var(--surface-strong); color: var(--ink); }

.signin-prompt { text-align: center; padding: 2rem 1rem; }
.signin-prompt h2 { font-size: 1.4rem; color: var(--ink); }
.signin-prompt p { color: var(--muted); margin-bottom: 1.5rem; }
.hidden { display: none !important; }
.loading { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.not-found { text-align: center; padding: 4rem 1rem; color: var(--muted); }

@media (max-width: 900px) {
    .profile-layout { grid-template-columns: 1fr; }
    .profile-side { position: static; }
}

/* Carried by the page's inline style attributes. */
.guide-track-note {
  color:var(--muted);
  font-size:0.95rem;
  margin:0 0 1.25rem;
}
.guide-activity-caption {
  color:var(--muted);
  font-size:0.9rem;
  margin-top:0;
}
.guide-activity-empty {
  text-align:center;
  padding:1.5rem 1rem;
  color:var(--muted);
}
.guide-empty-title {
  margin:0 0 0.25rem;
}
.guide-empty-note {
  margin:0;
  font-size:0.85rem;
}
.cal-dot-1 {
  background:#2b2b2b;
}
.cal-dot-2 {
  background:#7a3b0e;
}
.cal-dot-3 {
  background:#c25e00;
}
.cal-dot-4 {
  background:#e85d04;
}
.cal-dot-5 {
  background:#ffb703;
}
.guide-calendar-note {
  color:var(--muted);
  font-size:0.85rem;
  margin:0 0 0.5rem;
}


/* Full-width "Show more reviews" for the paged public review list. */
.reviews-load-more {
  display: block;
  width: 100%;
  margin-top: 1rem;
  text-align: center;
}
