/* ==========================================================================
   WINGPAL DETAILS PAGES (BUDDY ACTIVITY & WING PROFILE)
   ========================================================================== */

/* Avatar & Global Component Safety */
.user-header-avatar,
.user-nav-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid #0D9488;
  display: block;
}

.user-avatar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.avatar-dropdown {
  width: 16px;
  height: 16px;
  color: #64748B;
}

.host-avatar-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  object-fit: cover;
  display: block;
}

.review-author-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  object-fit: cover;
  display: block;
}

/* Sub-nav back bar */
.sub-nav-bar {
  padding: 16px 0 20px;
}

.sub-nav-bar .container {
  display: flex;
  align-items: center;
}

.back-to-discover-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #1E293B;
  text-decoration: none;
  transition: all 0.15s ease;
}

.back-to-discover-btn:hover {
  color: #0D9488;
  transform: translateX(-2px);
}

.back-to-discover-btn svg {
  width: 18px;
  height: 18px;
}

/* Common Page Container */
.details-page-main {
  padding-bottom: 80px;
}

/* Two-column Layout */
.details-grid-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: start;
}

@media (max-width: 1024px) {
  .details-grid-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ==========================================================================
   BUDDY ACTIVITY DETAILS SPECIFICS
   ========================================================================== */

/* Hero Image Banner */
.activity-hero-card {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.activity-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-gallery-pill {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.image-gallery-pill svg {
  width: 14px;
  height: 14px;
}

/* Activity Header & Meta */
.activity-header-section {
  padding: 24px 0 16px;
}

.activity-title {
  font-size: 32px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.activity-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  color: #475569;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 16px;
}

.activity-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.activity-meta-item svg {
  width: 17px;
  height: 17px;
  color: #0D9488;
}

.activity-description {
  font-size: 16px;
  line-height: 1.6;
  color: #334155;
  margin: 0 0 16px;
}

/* Tags Row */
.activity-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.activity-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background-color: #E6F7F5;
  color: #0F766E;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.activity-tag-pill svg {
  width: 14px;
  height: 14px;
}

/* What to Expect */
.expect-section {
  padding: 24px 0 32px;
  border-top: 1px solid #E2E8F0;
}

.expect-heading {
  font-size: 20px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 18px;
}

.expect-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .expect-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.expect-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.expect-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: #E6F7F5;
  color: #0D9488;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.expect-icon-box svg {
  width: 22px;
  height: 22px;
}

.expect-label {
  font-size: 14.5px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 2px;
}

.expect-sub {
  font-size: 12.5px;
  color: #64748B;
  margin: 0;
}

/* Details Tabs */
.content-tabs-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 2px solid #E2E8F0;
  margin-bottom: 24px;
}

.content-tab-btn {
  background: none;
  border: none;
  padding: 12px 2px 14px;
  font-size: 16px;
  font-weight: 700;
  color: #64748B;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
}

.content-tab-btn:hover {
  color: #0D9488;
}

.content-tab-btn.active {
  color: #0D9488;
}

.content-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #0D9488;
  border-radius: 2px 2px 0 0;
}

/* Tab Panel - Host */
.host-profile-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.host-profile-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.host-avatar-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.host-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.host-name {
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
}

.host-subtitle {
  font-size: 13.5px;
  color: #64748B;
  margin: 0;
}

.host-view-btn {
  padding: 8px 18px;
  background-color: #FFFFFF;
  border: 1.5px solid #0D9488;
  color: #0D9488;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.host-view-btn:hover {
  background-color: #E6F7F5;
}

/* ==========================================================================
   SIDEBAR (BUDDY & WING)
   ========================================================================== */
.sidebar-sticky {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-box {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.sidebar-action-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.sidebar-attendee-count {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
}

.sidebar-attendee-count svg {
  width: 22px;
  height: 22px;
  color: #0D9488;
}

.spots-left-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background-color: #DCFCE7;
  color: #15803D;
  font-size: 13px;
  font-weight: 800;
  border-radius: var(--radius-full);
}

.btn-primary-orange {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  background-color: #EA580C;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 800;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-bottom: 12px;
  text-decoration: none;
}

.btn-primary-orange:hover {
  background-color: #C2410C;
  transform: translateY(-1px);
}

.btn-secondary-white {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background-color: #FFFFFF;
  color: #0F172A;
  font-size: 15px;
  font-weight: 700;
  border: 1.5px solid #CBD5E1;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-bottom: 16px;
  text-decoration: none;
}

.btn-secondary-white:hover {
  background-color: #F8FAFC;
  border-color: #94A3B8;
}

.btn-secondary-white svg {
  width: 18px;
  height: 18px;
}

/* Notice Countdown Box */
.sidebar-notice-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background-color: #FFF7ED;
  border: 1px solid #FFEDD5;
  border-radius: 12px;
}

.notice-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #EA580C;
  flex-shrink: 0;
}

.notice-icon-circle svg {
  width: 24px;
  height: 24px;
}

.notice-label {
  font-size: 12.5px;
  color: #64748B;
  margin: 0 0 2px;
}

.notice-value {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
}

/* Activity at a Glance Card */
.glance-heading {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 16px;
}

.glance-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.glance-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: #334155;
  font-weight: 500;
}

.glance-item svg {
  width: 18px;
  height: 18px;
  color: #475569;
  flex-shrink: 0;
}

/* ==========================================================================
   WING DETAILS SPECIFICS
   ========================================================================== */

/* Top Wing Profile Header Card */
.wing-profile-header-card {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.wing-profile-top-grid {
  display: grid;
  grid-template-columns: 260px 1fr 300px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 1024px) {
  .wing-profile-top-grid {
    grid-template-columns: 220px 1fr;
  }
  .wing-cta-sidebar-box {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .wing-profile-top-grid {
    grid-template-columns: 1fr;
  }
}

/* Portrait photo wrapper */
.wing-portrait-wrapper {
  position: relative;
  width: 260px;
  height: 260px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

@media (max-width: 1024px) {
  .wing-portrait-wrapper {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 768px) {
  .wing-portrait-wrapper {
    width: 100%;
    height: 280px;
  }
}

.wing-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wing-fav-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.15s ease;
}

.wing-fav-btn:hover {
  color: #EA580C;
  transform: scale(1.08);
}

.wing-fav-btn svg {
  width: 18px;
  height: 18px;
}

.wing-verified-pill-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background-color: #FFFFFF;
  color: #0F172A;
  font-size: 13px;
  font-weight: 800;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.wing-verified-pill-tag svg {
  width: 14px;
  height: 14px;
  color: #0D9488;
}

/* Wing Info Center */
.wing-info-center {
  display: flex;
  flex-direction: column;
}

.wing-name-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.wing-name-title {
  font-size: 32px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.02em;
}

.verified-badge-icon {
  width: 22px;
  height: 22px;
  color: #0D9488;
}

.wing-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 6px;
}

.wing-star-icon {
  width: 18px;
  height: 18px;
  color: #F59E0B;
  fill: #F59E0B;
}

.wing-review-count {
  font-weight: 500;
  color: #64748B;
}

.wing-loc-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  color: #64748B;
  font-weight: 500;
  margin-bottom: 14px;
}

.wing-loc-row svg {
  width: 16px;
  height: 16px;
  color: #0D9488;
}

.wing-bio-p {
  font-size: 15px;
  line-height: 1.55;
  color: #334155;
  margin: 0 0 16px;
}

.wing-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wing-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background-color: #F1F5F9;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.wing-tag-chip svg {
  width: 14px;
  height: 14px;
  color: #0D9488;
}

.wing-tag-chip.tag-extra {
  background-color: #E2E8F0;
  color: #475569;
}

/* Wing CTA Box (top right) */
.wing-cta-sidebar-box {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.wing-rate-hero-row {
  font-size: 15px;
  color: #475569;
  font-weight: 600;
  margin-bottom: 12px;
}

.wing-rate-hero-value {
  font-size: 28px;
  font-weight: 800;
  color: #0F172A;
  margin-left: 4px;
}

.wing-perks-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #E2E8F0;
}

.wing-perk-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.wing-perk-item svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   WING DETAILS BOTTOM GRID (SERVICES, ABOUT, AVAILABILITY, REVIEWS)
   ========================================================================== */

.wing-details-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 1024px) {
  .wing-details-grid {
    grid-template-columns: 1fr;
  }
}

/* Services I Offer */
.services-section {
  margin-bottom: 36px;
}

.details-section-heading {
  font-size: 20px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 16px;
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .services-cards-grid {
    grid-template-columns: 1fr;
  }
}

.service-offer-card {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.service-offer-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.service-offer-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background-color: #E6F7F5;
  color: #0D9488;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-offer-icon-box svg {
  width: 20px;
  height: 20px;
}

.service-offer-title {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 4px;
}

.service-offer-desc {
  font-size: 13px;
  line-height: 1.45;
  color: #64748B;
  margin: 0;
}

.service-offer-price {
  font-size: 14px;
  font-weight: 800;
  color: #0D9488;
  margin-top: 14px;
}

/* About Me Box */
.about-me-section {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.about-me-attributes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #E2E8F0;
}

@media (max-width: 768px) {
  .about-me-attributes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.attribute-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.attribute-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0D9488;
  flex-shrink: 0;
}

.attribute-icon-box svg {
  width: 18px;
  height: 18px;
}

.attribute-label {
  font-size: 12px;
  color: #64748B;
  margin: 0 0 2px;
  font-weight: 600;
}

.attribute-value {
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
}

.about-me-paragraph {
  font-size: 15px;
  line-height: 1.6;
  color: #334155;
  margin: 0;
}

/* Availability Calendar Card */
.availability-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.availability-view-calendar-link {
  font-size: 14px;
  font-weight: 700;
  color: #0D9488;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.availability-view-calendar-link:hover {
  text-decoration: underline;
}

.days-schedule-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
}

.day-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 4px;
  background-color: #F8FAFC;
  border-radius: 10px;
  border: 1px solid #F1F5F9;
}

.day-name {
  font-size: 11.5px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 2px;
}

.day-date {
  font-size: 10.5px;
  color: #64748B;
  margin-bottom: 8px;
}

.day-status-indicator {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.day-status-indicator.available {
  background-color: #DCFCE7;
  color: #0D9488;
}

.day-status-indicator.available svg {
  width: 14px;
  height: 14px;
  color: #0D9488;
}

.day-status-indicator.unavailable {
  color: #94A3B8;
  font-size: 16px;
}

/* Reviews List */
.reviews-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.reviews-see-all-link {
  font-size: 14px;
  font-weight: 700;
  color: #0D9488;
  text-decoration: none;
}

.reviews-see-all-link:hover {
  text-decoration: underline;
}

.review-item-card {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #F1F5F9;
}

.review-item-card:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.review-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.review-author-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.review-author-info {
  display: flex;
  flex-direction: column;
}

.review-name-stars-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-author-name {
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
}

.review-stars-inline {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #F59E0B;
}

.review-stars-inline svg {
  width: 12px;
  height: 12px;
  fill: #F59E0B;
}

.review-date-text {
  font-size: 12px;
  color: #64748B;
}

.review-body-text {
  font-size: 13.5px;
  line-height: 1.5;
  color: #334155;
  margin: 0;
}
