/* 
 * Gnarly Booking Engine - Copyright (c) 2025 Brand Wars LLC
 * Licensed under proprietary license. See LICENSE.txt for details.
 */

/* =========================================
   BASE STYLES
   ========================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

/* =========================================
   LAYOUT
   ========================================= */
.hostapi-property-stats {
  display: flex;
  width: 100%;
  border-top: 1px dotted #ddd;
  border-bottom: 1px dotted #ddd;
  margin: 24px 0;
}

.hostapi-breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
}

.hostapi-breadcrumb a {
    text-decoration: none;
}

.hostapi-stat-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 10px;
  border-left: none;
  border-right: 1px dotted #ddd;
}

.hostapi-stat-box:last-child {
  border-right: none;
}

.hostapi-stat-icon {
  margin-bottom: 8px;
  color: #777;
  font-size: 24px;
}

.hostapi-stat-title {
  font-size: 14px;
  font-weight: normal;
  color: #777;
  margin-bottom: 5px;
}

.hostapi-stat-value {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}
/* Container for entire details page */
.hostapi-details-page-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Back link */
.hostapi-listing-details__back-link {
  margin-bottom: 10px;
}
.hostapi-listing-details__back-link a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

/* Main content layout: 70% (left) / 30% (right) */
.hostapi-details-row {
  display: flex;
  width: 100%;
  gap: 10px;
  margin-top: 20px;
  min-height: 600px;
}

.hostapi-details-leftcol {
  flex: 0 0 65%;
  overflow-y: auto;
  padding: 20px;
}

.hostapi-details-rightcol {
  flex: 0 0 35%;
  position: relative;
  padding: 10px;
}

/* =========================================
   LISTING TITLE & INFO
   ========================================= */
.hostapi-listing-title-row {
  position: relative;
  margin-bottom: 10px;
}

.hostapi-listing-main-title {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
  white-space: nowrap;   
  overflow-x: clip;   
  text-overflow: ellipsis;  
  max-width: 80%;           
  display: inline-block;    
}

.hostapi-share-icons {
  position: absolute;
  right: 0;
  top: 0;
}

.hostapi-share-icons a {
  margin-left: 10px;
  color: #666;
  text-decoration: none;
  font-size: 18px;
}

.hostapi-listing__city-state {
  font-size: 18px;
  color: #777;
  margin: 5px 0 10px 0;
}

.hostapi-listing-info-icons {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 20px;
}

.hostapi-info-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 10px;
}

/* Section titles */
.hostapi-listing-section-title {
  font-size: 20px;
  margin-top: 25px;
  margin-bottom: 25px;
}

/* =========================================
   PHOTOS & GALLERY
   ========================================= */

/* Photos row (60/40) */
.hostapi-photos-row {
  display: flex;
  width: 100%;
  height: 500px;
  gap: 10px;
}

/* Main carousel (60%) */
.hostapi-photos-main-carousel {
  flex: 0 0 60%;
  position: relative;
  overflow: hidden;
}

.hostapi-carousel-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.hostapi-carousel__images {
  display: flex;
  width: 100%;
  height: 100%;
}

.hostapi-carousel__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.hostapi-carousel__left,
.hostapi-carousel__right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #00000075;
  color: #fff;
  border: none;
  width: 30px;
  cursor: pointer;
  z-index: 10;
  font-size: 16px;
}

.hostapi-carousel__left {
  left: 10px;
}

.hostapi-carousel__right {
  right: 10px;
}

/* 3 stacked photos (40%) */
.hostapi-photos-stacked-column {
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hostapi-stacked-photo {
  flex: 1;
  overflow: hidden;
}

.hostapi-stacked-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hostapi-last-stacked-photo-container {
  position: relative;
}

.hostapi-view-all-photos-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
  transition: background 0.3s ease;
  z-index: 1;
}

.hostapi-view-all-photos-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Large photo modal */
.hostapi-photos-modal-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.hostapi-photos-modal-content {
  background: #fff;
  position: relative;
  max-width: 80%;
  max-height: 80%;
  overflow: hidden;
  padding: 20px;
  border-radius: 8px;
}

.hostapi-photos-modal-close {
  color: #fff;
  background-color: rgba(0,0,0,0.6);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 10px;
  right: 10px;
  opacity: 0.8;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  z-index: 1001;
}

.hostapi-photos-modal-close:hover {
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 1;
}

.hostapi-photos-modal-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.hostapi-photos-modal-images {
  display: flex;
  width: 100%;
  height: 100%;
}

.hostapi-photos-modal-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: none;
  margin: 0 auto;
  max-height: 70vh;
}

.hostapi-modal-carousel__left,
.hostapi-modal-carousel__right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #00000075;
  color: #fff;
  border: none;
  width: 30px;
  cursor: pointer;
  z-index: 10;
  font-size: 16px;
}

.hostapi-modal-carousel__left {
  left: 10px;
}

.hostapi-modal-carousel__right {
  right: 10px;
}

/* =========================================
   BOOKING BOX
   ========================================= */
.hostapi-booking-box {
  position: sticky;
  top: 20px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  padding: 20px;
  border-radius: 8px;
  width: 100%;
  border: 1px solid #ddd;
  position: relative; /* For spinner positioning */
}

/* Price slash (vs Airbnb) shown after dates are selected, in place of the
   "From $X / night" line. */
.hostapi-price-slash {
  margin: 0 0 4px;
}
.hostapi-price-slash__airbnb {
  text-decoration: line-through;
  color: #717171;
  font-weight: 400;
  font-size: 18px;
  margin-right: 8px;
}
.hostapi-price-slash__direct {
  font-weight: 700;
  font-size: 22px;
  color: #222;
}
.hostapi-price-slash__savings {
  color: #ff385c;
  font-size: 14px;
  font-weight: 600;
  margin-top: 4px;
}

.hostapi-booking-book-now-btn {
  width: 100%;
  background: #FE595E;
  color: #fff;
  padding: 12px 20px;
  border: none;
  font-weight: 700;
  border-radius: 10px !important;
  font-size: 16px;
  margin-top: 10px;
  cursor: pointer;
}

.hostapi-booking-note {
  text-align: center;
  font-size: 12px;
  margin-top: 10px;
}

/* Date fields */
.hostapi-checkin-checkout-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.hostapi-date-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.hostapi-date-field label {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  margin-bottom: 4px;
}

.hostapi-input-with-icon {
  position: relative;
  width: 100%;
}

.hostapi-input-with-icon input {
  width: 100%;
  height: 48px;
  padding: 0 40px 0 16px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-size: 14px;
  color: #111827;
  background-color: #fff;
  transition: border-color 0.2s ease;
}

.hostapi-input-with-icon input:hover {
  border-color: #D1D5DB;
}

.hostapi-input-with-icon input:focus {
  outline: none;
  border-color: #9CA3AF;
}

.hostapi-input-with-icon input::placeholder {
  color: #6B7280;
}

.hostapi-input-with-icon .calendar-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6B7280;
  font-size: 20px;
  pointer-events: none;
}

/* Guest count */
.hostapi-booking-guest-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.hostapi-booking-guest-row label {
  font-weight: bold;
  margin-bottom: 5px;
}

.hostapi-guest-count-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hostapi-guest-count-container button {
  width: 30px;
  height: 30px;
  background: #eee;
  border: 1px solid #ccc;
  cursor: pointer;
  border-radius: 4px;
  font-size: 18px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.hostapi-guest-count-container button:hover {
  background: #ddd;
}

.hostapi-guest-count-container button:focus {
  outline: none;
  border-color: #007bff;
}

.hostapi-guest-count-container input {
  width: 60px;
  height: 40px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
  background-color: #f9f9f9;
}

/* Pricing breakdown */
.hostapi-booking-pricing-breakdown {
  margin-top: 20px;
}

.hostapi-pricing-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hostapi-pricing-items li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 16px;
}

.hostapi-pricing-items li.bold {
  font-weight: bold;
  border-top: 1px solid #ccc;
  padding-top: 10px;
}

.hostapi-grand-total {
  text-align: left;
  border-top: 1px solid #ddd;
  margin-top: 10px;
  padding-top: 15px;
  font-weight: bold;
  font-size: 16px;
}

/* Discount code field (Stripe listings) — sits under the total, above the
   cancellation policy. Applying a code re-renders the breakdown above. */
.hostapi-discount { margin-top: 14px; }
.hostapi-discount-row { display: flex; gap: 8px; }
.hostapi-discount-row input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  text-transform: uppercase;
  box-sizing: border-box;
}
.hostapi-discount-row input::placeholder { text-transform: none; }
.hostapi-discount-row button {
  flex: 0 0 auto;
  padding: 0 18px;
  border: 1px solid #222;
  background: #222;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.hostapi-discount-row button:hover { background: #000; }
.hostapi-discount-row button:disabled { opacity: .6; cursor: default; }
.hostapi-discount-msg { margin-top: 8px; font-size: 13px; }
.hostapi-discount-msg.success { color: #047857; }
.hostapi-discount-msg.error { color: #b91c1c; }
.hostapi-pricing-items li.hostapi-discount-line span:last-child { color: #047857; }

/* Loading spinner */
.hostapi-booking-spinner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* Centered spinner shown in the price breakdown while live pricing loads. */
.hostapi-pricing-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 0;
}

.hostapi-spinner {
  width: 40px;
  height: 40px;
  position: relative;
}

.hostapi-spinner__bounce1, 
.hostapi-spinner__bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #333;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  animation: bounce 2.0s infinite ease-in-out;
}

.hostapi-spinner__bounce2 {
  animation-delay: -1.0s;
}

@keyframes bounce {
  0%, 100% { transform: scale(0); }
  50% { transform: scale(1); }
}

/* =========================================
   GUEST SELECTION DROPDOWN
   ========================================= */
.hostapi-guest-dropdown-wrapper,
.hostapi-guest-dropdown-wrapper-mobile {
  position: relative;
  width: 100%;
}

.hostapi-guest-dropdown-content,
.hostapi-guest-dropdown-content-mobile {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  z-index: 1000;
  padding: 16px;
}

.hostapi-guest-dropdown-content {
  width: calc(100% - 20px);
  left: 10px;
}

/* Guest Editor Modal - Airbnb Style */
/* Guest Editor Modal - Airbnb Style */
#hostapi-guest-editor-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: rgba(0, 0, 0, 0.4) !important;
  z-index: 9999 !important;
  display: none;
  align-items: flex-end !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.hostapi-guest-editor-content {
  background: white;
  border-radius: 12px 12px 0 0;
  width: 100%;
  max-width: 768px;
  padding: 24px 16px;
  position: relative;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
  margin: 0 !important;
  bottom: 0 !important;
}

.hostapi-guest-editor-content.animated {
  transform: translateY(0);
}

.hostapi-guest-editor-header {
  display: flex;
  justify-content: center;
  position: relative;
  padding-bottom: 24px;
  border-bottom: 1px solid #ebebeb;
  margin-bottom: 8px;
}

.hostapi-guest-editor-title {
  font-size: 16px;
  font-weight: 600;
  color: #222222;
}

.hostapi-guest-editor-close {
  position: absolute;
  left: 0;
  top: 0;
  background: none;
  border: none;
  font-size: 16px;
  padding: 0;
  color: #222222;
  cursor: pointer;
}

/* Airbnb-style guest type rows */
.hostapi-guest-type-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid #ebebeb;
}

.hostapi-guest-type-row:last-child {
  border-bottom: none;
}

.hostapi-guest-type-info {
  flex: 1;
}

.hostapi-guest-type-label {
  font-weight: 600;
  font-size: 16px;
  color: #222222;
  margin-bottom: 4px;
}

.hostapi-guest-type-sublabel {
  font-size: 14px;
  color: #717171;
}

/* Airbnb-style guest counter */
.hostapi-guest-counter {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hostapi-counter-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #b0b0b0;
  border-radius: 50%;
  background: white;
  color: #222222;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
  font-size: 16px;
}

.hostapi-counter-btn:hover:not(:disabled) {
  border-color: #222222;
}

.hostapi-counter-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: #dddddd;
}

.hostapi-guest-count {
  min-width: 24px;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
}

.hostapi-service-animal-link {
  color: #222222;
  text-decoration: underline;
  font-size: 14px;
}

.hostapi-guest-info-footer {
  padding-top: 16px;
  border-top: 1px solid #ebebeb;
  font-size: 14px;
  color: #717171;
}

/* New Airbnb-style footer buttons */
.hostapi-guest-editor-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #ebebeb;
  margin-top: 16px;
}

.hostapi-guest-editor-cancel {
  background: none;
  border: none;
  color: #222222;
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 8px 0;
}

.hostapi-guest-editor-save {
  background: #222222;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

/* Original buttons (keeping for compatibility) */
.hostapi-guest-close-btn,
.hostapi-guest-close-btn-mobile {
  margin-top: 16px;
  width: 100%;
  padding: 8px 16px;
  background: #222222;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.hostapi-guest-close-btn:hover {
  background: #000000;
}

.hostapi-guest-input-display {
  width: 100%;
  height: 48px;
  padding: 0 40px 0 16px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-size: 14px;
  color: #111827;
  background-color: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hostapi-guest-input-display:hover {
  border-color: #D1D5DB;
}

.hostapi-guest-input-display::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

.hostapi-guest-input-display i {
  color: #666;
  font-size: 12px;
  margin-left: 8px;
}

/* =========================================
   TABS SECTION
   ========================================= */
.hostapi-tab-container {
  margin-bottom: 20px;
}

.hostapi-tabs {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
  border-bottom: 2px solid #ccc;
}

.hostapi-tabs li {
  padding: 5px 10px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-weight: 600;
}

.hostapi-tabs li.active {
  border-bottom: 2px solid #FE595E;
  color: #FE595E;
}

.hostapi-tab-content {
  display: none;
  margin-top: 10px;
}

.hostapi-tab-content.active {
  display: block;
}

/* =========================================
   AMENITIES SECTION
   ========================================= */
.hostapi-show-all-amenities-btn {
  background: #FE595E;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  margin-top: 10px;
  cursor: pointer;
}

.hostapi-amenities-list-two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hostapi-amenity-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #ede9e6;
  font-size: 16px;
  text-transform: capitalize;
}

.hostapi-amenity-item:last-child {
  border-bottom: none;
}

.hostapi-amenity-item i,
.hostapi-amenity-item-flat i {
  margin-right: 10px;
  color: #000;
  min-width: 20px;
  text-align: center;
  font-size: 18px;
}

.hostapi-amenity-item-flat {
  display: flex;
  align-items: center;
  padding: 15px 0;
  font-size: 16px;
  text-transform: capitalize;
}

/* Amenities modal */
.hostapi-amenities-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.hostapi-amenities-modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 60%;
  max-height: 80%;
  overflow-y: auto;
  position: relative;
}

.hostapi-amenities-modal-close {
  position: absolute;
  top: 10px; right: 10px;
  background: #00000066;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.hostapi-amenities-modal-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 18px;
  color: #333333;
}

.hostapi-amenities-modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* =========================================
   THINGS TO KNOW SECTION
   ========================================= */
.hostapi-things-to-know-list-two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hostapi-thing-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  font-size: 16px;
  text-transform: capitalize;
}

.hostapi-thing-item i {
  margin-right: 10px;
  color: #000;
  font-size: 18px;
  min-width: 20px;
  text-align: center;
}

.hostapi-thing-item:last-child {
  border-bottom: none;
}

/* =========================================
   MAP SECTION
   ========================================= */
.hostapi-listing-map-section {
  margin: 20px 0;
}

#hostapi-listing-detail-map {
  width: 100%;
  height: 400px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* =========================================
   OTHER LISTINGS CAROUSEL
   ========================================= */
.hostapi-other-listings-section {
  margin-top: 20px;
}

.hostapi-other-listings-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hostapi-other-listings-carousel .hostapi-other-listings-left,
.hostapi-other-listings-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #00000075;
  border: none;
  cursor: pointer;
  font-size: 20px;
  width: 40px; 
  z-index: 2;
  color: white;
}

.hostapi-other-listings-left {
  left: 0;
  margin-left: 5px;
}

.hostapi-other-listings-right {
  right: 0;
  margin-right: 5px;
}

.hostapi-other-listings-left:disabled,
.hostapi-other-listings-right:disabled {
  opacity: 0.4;
  cursor: default;
}

.hostapi-other-listings-container {
  display: inline-block;
  white-space: nowrap;
  transition: transform 0.3s ease;
}

.hostapi-other-listing-item {
  display: inline-block;
  vertical-align: top;
  width: 375px;
  margin-right: 10px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 10px;
}

.hostapi-other-listing-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hostapi-other-listing-item h4 {
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 10px 0 5px 0;
}

.hostapi-other-listing-item a {
  text-decoration: none !important;
  color: black !important;
}

/* =========================================
   CALENDAR STYLING
   ========================================= */
.hostapi-available-date {
  background-color: #fff !important;
  color: #000 !important;
  text-decoration: none !important;
  border-radius: 50%;
}

.hostapi-occupied-date {
  background-color: #fff !important;
  color: #9f9f9f !important;
  text-decoration: line-through !important;
  border-radius: 50%;
}

.hostapi-invalid-checkout {
  background-color: #fff;
  color: #9f9f9f;
  text-decoration: line-through;
  pointer-events: none;
  opacity: 0.5;
}

.flatpickr-day {
  display: inline-block !important;
  border-radius: 0 !important;
}

.hostapi-calendar-close-btn {
  float: right;
  margin-right: 10px;
  margin-bottom: 10px;
  margin: 5px;
  padding: 3px 6px;
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
}

.hostapi-calendar-close-btn:hover {
  background: #e0e0e0;
}

.hostapi-has-tooltip {
  position: relative;
  cursor: pointer;
}

/* Tooltip styles */
.has-tooltip {
  position: relative;
}

.has-tooltip:hover::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 10;
}

.hostapi-min-nights-tooltip {
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 10000;
  display: none;
}

.hostapi-min-nights-tooltip:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

.hostapi-occupied-date.tooltip-active .hostapi-min-nights-tooltip {
  display: block;
}

/* Base calendar styles */
.litepicker {
  --tooltip-bg: #333;
  --tooltip-text: #fff;
}

/* Calendar Day States */
.litepicker .hostapi-occupied-date {
  color: #aaa;
  text-decoration: line-through;
  pointer-events: none;
}

.litepicker .hostapi-available-date {
  cursor: pointer;
}

/* Tooltip styles for calendar days */
.litepicker .day-item {
  position: relative;
}

.litepicker .day-item[data-tooltip]:hover::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tooltip-bg);
  color: var(--tooltip-text);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 10;
  margin-bottom: 5px;
}

/* Tooltip arrow */
.litepicker .day-item[data-tooltip]:hover::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--tooltip-bg);
  margin-bottom: -5px;
}

/* =========================================
   MOBILE BOOKING INTERFACE
   ========================================= */
.hostapi-mobile-booking-section {
  display: none;
  border-bottom: 2px solid #ebebeb;
  border-radius: 8px;
  margin: 16px 0;
}

.hostapi-mobile-booking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: white;
  cursor: pointer;
}

.hostapi-header-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hostapi-mobile-booking-header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.hostapi-mobile-booking-content {
  background: white;
  padding: 16px;
  display: none;
  border-top: 1px solid #ebebeb;
}

.hostapi-mobile-booking-content.active {
  display: block;
}

/* Mobile sticky footer - Airbnb style */
.hostapi-mobile-sticky-footer {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 14px 24px;
  box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.08);
  z-index: 100;
  border-top: 1px solid #ebebeb;
}

.hostapi-price-container {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.hostapi-price-details {
  display: flex;
  align-items: baseline;
}

.hostapi-original-price {
  font-size: 14px;
  text-decoration: line-through;
  color: #717171;
  margin-right: 8px;
}

.hostapi-current-price {
  font-size: 18px;
  font-weight: 600;
  color: #222222;
  text-decoration: underline;
}

.hostapi-price-period {
  font-size: 14px;
  color: #717171;
  margin-top: 2px;
}

/* Reserve button in Airbnb style */
.hostapi-reserve-button {
  background: #FF385C;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  min-width: 90px;
  text-align: center;
}

.hostapi-reserve-button:hover {
  background: #E31C5F;
}

.hostapi-mobile-sticky-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 4px;
}

.hostapi-mobile-sticky-price .price {
  font-size: 18px;
  font-weight: 600;
  margin-right: 4px;
  color: #222222;
}

.hostapi-mobile-sticky-price .night {
  font-size: 14px;
  color: #717171;
}

.hostapi-mobile-sticky-price .dates {
  font-size: 14px;
  color: #717171;
}

.hostapi-mobile-sticky-price .rating {
  margin-left: auto;
  font-size: 14px;
  display: flex;
  align-items: center;
  color: #222222;
}

.hostapi-mobile-sticky-price .rating i {
  color: #ff385c;
  margin-right: 4px;
}

/* Airbnb-style availability button */
.hostapi-check-availability-btn {
  width: 100%;
  background: #fe595e;
  color: #fff;
  padding: 14px 20px;
  border: none;
  font-weight: 600;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.hostapi-check-availability-btn:hover {
  background: #000000;
}

/* =========================================
   CALENDAR MODAL (MOBILE)
   ========================================= */
.hostapi-calendar-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 1000;
  overflow-y: auto;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.hostapi-calendar-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}

.hostapi-calendar-modal-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  flex-grow: 1;
}

.hostapi-calendar-modal-header .close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #222;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.hostapi-calendar-modal-content {
  padding: 16px;
}

.hostapi-calendar-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-top: 1px solid #e5e7eb;
  position: sticky;
  bottom: 0;
  background: #fff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.hostapi-calendar-footer .clear-dates {
  background: none;
  border: none;
  color: #222;
  text-decoration: underline;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.hostapi-calendar-footer .save-dates {
  background: #FF385C;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  min-width: 100px;
  text-align: center;
}

.hostapi-calendar-footer .save-dates:disabled {
  background: #d1d5db;
  cursor: not-allowed;
}

.hostapi-choose-dates-label {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
  display: block;
}

/* Calendar price details */
.hostapi-calendar-price-details {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 16px;
  margin-top: 20px;
  font-size: 14px;
}

.hostapi-calendar-price-details div {
  margin-bottom: 10px;
}

.hostapi-calendar-price-details div:last-child {
  margin-bottom: 0;
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
  font-weight: bold;
}

/* Mobile calendar litepicker styling */
.hostapi-calendar-modal .litepicker {
  width: 100% !important;
  max-width: 100% !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.hostapi-calendar-modal .litepicker .container__months {
  width: 100% !important;
  box-shadow: none !important;
}

.hostapi-calendar-modal .litepicker .month-item {
  width: 100% !important;
  padding: 10px;
}

.hostapi-calendar-modal .litepicker .month-item-header {
  width: 100% !important;
  padding: 10px 0;
  font-weight: 600;
  font-size: 16px;
}

.hostapi-calendar-modal .litepicker .month-item-weekdays-row,
.hostapi-calendar-modal .litepicker .month-item-header {
  width: 100% !important;
}

.hostapi-calendar-modal .litepicker .month-item-weekdays-row > div,
.hostapi-calendar-modal .litepicker .container__days > div {
  flex: 1;
  width: auto !important;
}

.hostapi-calendar-modal .litepicker .month-item-weekdays-row > div {
  flex: 1;
  text-align: center;
  padding: 5px 0;
  width: 40px !important;
}

.hostapi-calendar-modal .litepicker .container__days {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  width: 100% !important;
  padding-top: 5px;
}

.hostapi-calendar-modal .litepicker .month-item-weekdays-row {
  color: #717171;
  font-size: 12px;
  margin-bottom: 8px;
}

.hostapi-calendar-modal .litepicker .container__days > div {
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  margin: 2px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.hostapi-calendar-modal .litepicker .day-item {
  border-radius: 50% !important;
}

.hostapi-calendar-modal .litepicker .is-in-range {
  background-color: #f7f7f7 !important;
  border-radius: 0 !important;
  color: #222222 !important;
}

.hostapi-calendar-modal .litepicker .is-start-date,
.hostapi-calendar-modal .litepicker .is-end-date {
  background-color: #222222 !important;
  color: white !important;
  border-radius: 50% !important;
}

/* Calendar modal spinner */
.hostapi-calendar-modal #hostapi-calendar-modal-spinner {
  display: flex;
}

.hostapi-calendar-modal .hostapi-spinner {
  width: 40px !important;
  height: 40px !important;
  position: relative !important;
}

.hostapi-calendar-modal .hostapi-spinner__bounce1,
.hostapi-calendar-modal .hostapi-spinner__bounce2 {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  background-color: #333 !important;
  opacity: 0.6 !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  animation: bounce 2.0s infinite ease-in-out !important;
}

.hostapi-calendar-modal .hostapi-spinner__bounce2 {
  animation-delay: -1.0s !important;
}

/* =========================================
   TRIP DETAILS VIEW
   ========================================= */
.hostapi-trip-details-view {
  background-color: #fff;
}

.hostapi-trip-property {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.hostapi-trip-property-info {
  flex: 1;
  margin-left: 12px;
}

.hostapi-trip-section {
  margin-bottom: 24px;
}

.hostapi-edit-btn {
  background: none;
  border: none;
  color: #222;
  text-decoration: underline;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.hostapi-reserve-btn {
  background: #FF385C;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}

.hostapi-back-to-calendar {
  background: none;
  border: none;
  color: #222;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.hostapi-trip-item {
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
}

#hostapi-trip-price-details div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

#hostapi-trip-price-details div:last-child {
  border-top: 1px solid #e5e7eb;
  padding-top: 12px;
  font-weight: 600;
  font-size: 16px;
}

.hostapi-next-btn {
  background-color: #222;
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.hostapi-next-btn:hover {
  background-color: #000;
}

/* =========================================
   UTILITY CLASSES & STATES
   ========================================= */
.hostapi-disabled {
  opacity: 0.7;
  cursor: not-allowed !important;
}

/* =========================================
   RESPONSIVE STYLES
   ========================================= */
@media screen and (max-width: 990px) {
  .hostapi-listing-main-title {
    font-size: 20px !important;
  }
}

/* Mobile devices (768px and below) */
@media screen and (max-width: 768px) {
  /* Layout adjustments */
  .hostapi-mobile-sticky-footer {
    display: block;
  }
  
  /* Hide the accommodation/bedrooms/bathrooms/pets stat row on mobile
     for a cleaner, more responsive listing detail view (desktop keeps it). */
  .hostapi-property-stats {
    display: none;
  }
  
  .hostapi-stat-box {
    flex: 1 0 50%;
    border-bottom: 1px dotted #ddd;
  }
  
  .hostapi-stat-box:nth-child(even) {
    border-right: none;
  }
  
  .hostapi-stat-box:nth-last-child(-n+2) {
    border-bottom: none;
  }
  
  /* When only one item remains in the last row */
  .hostapi-stat-box:nth-child(4):nth-last-child(1) {
    border-bottom: none;
  }
  
  .hostapi-details-leftcol {
      padding: 0px;
    }
  
  body {
    padding-bottom: 80px;
  }
  
  .hostapi-mobile-booking-section {
    display: block;
  }
  
  .hostapi-photos-row {
    flex-direction: column;
    height: auto;
  }
  
  .hostapi-listing-main-title {
    max-width: 100%;
    font-size: 20px !important;
  }
  
  .inner-container > .content-editor {
    width: 100% !important;   
  }

  /* Photo gallery adjustments */
  .hostapi-photos-main-carousel,
  .hostapi-photos-stacked-column {
    flex: 1;
    width: 100%;
  }

  .hostapi-photos-stacked-column {
    display: none;
  }
  
  .hostapi-photos-main-carousel {
    height: 300px;
  }

  .hostapi-stacked-photo {
    height: 200px;
  }

  /* Content layout adjustments */
  .hostapi-details-row {
    flex-direction: column;
    gap: 20px;
  }

  .hostapi-details-leftcol,
  .hostapi-details-rightcol {
    flex: 1;
    width: 100%;
  }
  
  .hostapi-details-rightcol {
    display: none;
  }

  /* Booking box adjustments */
  .hostapi-booking-box {
    position: static;
    margin-bottom: 20px;
  }

  /* Amenities & Things to know grid */
  .hostapi-amenities-list-two-columns,
  .hostapi-things-to-know-list-two-columns {
    grid-template-columns: 1fr;
  }

  /* Modal adjustments */
  .hostapi-photos-modal-content,
  .hostapi-amenities-modal-content {
    max-width: 95%;
    padding: 10px;
  }

  /* Date picker adjustments */
  .hostapi-checkin-checkout-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
  }

  /* Title and info adjustments */
  .hostapi-listing-title-row {
    flex-direction: column;
  }
  
  .hostapi-listing-main-title {
    font-size: 20px !important;
  }

  .hostapi-share-icons {
    position: static;
    margin-top: 10px;
    display: none;
  }

  .hostapi-listing-info-icons {
    flex-wrap: wrap;
    gap: 15px;
    display: block;
    font-size: 16px;
  }
  
  /* Tab navigation adjustments */
  .hostapi-tabs {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hostapi-tabs li {
    flex: 1;
    text-align: center;
    min-width: 120px;
  }
  
  /* Mobile booking section */
  .hostapi-mobile-booking-content .hostapi-checkin-checkout-row {
    flex-direction: column;
    gap: 12px;
  }
    
  .hostapi-mobile-booking-header .hostapi-price-display {
    font-size: 18px;
    font-weight: 600;
  }
  
  .hostapi-mobile-booking-content .hostapi-date-field {
    width: 100%;
  }
  
  .hostapi-mobile-booking-content .hostapi-booking-book-now-btn {
    width: 100%;
    margin-top: 16px;
  }
  
  /* Trip details section */
  .hostapi-trip-section {
    margin-bottom: 20px;
  }
  
  .hostapi-payment-option {
    padding: 10px;
  }
  
  .hostapi-next-btn {
    width: 100%;
  }
}

/* Small mobile devices (480px and below) */
@media screen and (max-width: 480px) {
  /* Photo gallery further adjustments */
  .hostapi-photos-main-carousel {
    height: 250px;
  }
  
  .hostapi-stat-box {
    flex: 1 0 100%;
    border-right: none;
    border-bottom: 1px dotted #ddd;
  }
  
  .hostapi-stat-box:last-child {
    border-bottom: none;
  }
  
  .hostapi-stat-box:nth-last-child(-n+2) {
    border-bottom: 1px dotted #ddd;
  }
  
  .hostapi-stat-box:last-child {
    border-bottom: none;
  }

  .hostapi-stacked-photo {
    height: 150px;
  }

  .hostapi-listing-main-title {
    font-size: 20px;
  }

  .hostapi-listing__city-state {
    font-size: 16px;
  }

  /* Tab navigation further adjustments */
  .hostapi-tabs li {
    font-size: 14px;
    min-width: 100px;
  }

  /* Guest selection adjustments */
  .hostapi-guest-type-row {
    padding: 12px 0;
  }

  .hostapi-counter-btn {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .hostapi-guest-counter {
    gap: 12px;
  }

  .hostapi-guest-type-label {
    font-size: 14px;
  }

  .hostapi-guest-type-sublabel {
    font-size: 12px;
  }

  /* Modal carousel controls adjustments */
  .hostapi-modal-carousel__left,
  .hostapi-modal-carousel__right {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }

  /* Pricing text adjustments */
  .hostapi-pricing-items li {
    font-size: 14px;
  }

  .hostapi-grand-total {
    font-size: 16px;
  }
}

/* Very small devices (360px and below) */
@media screen and (max-width: 360px) {
  .hostapi-guest-editor-modal .hostapi-counter-btn {
    width: 28px;
    height: 28px;
  }
  
  .hostapi-guest-editor-modal .hostapi-guest-counter {
    gap: 12px;
  }
}
/* --- Reviews: rating link under title + Reviews tab --- */
.hostapi-rating-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0 0;
    font-size: 15px;
    color: #222;
    text-decoration: none;
    cursor: pointer;
}
.hostapi-rating-link:hover { text-decoration: underline; }
.hostapi-review-stars i { color: #ff385c; font-size: 14px; }
.hostapi-rating-count { color: #717171; }

.hostapi-reviews-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    margin-bottom: 20px;
}
.hostapi-reviews-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
@media (max-width: 640px) {
    .hostapi-reviews-list { grid-template-columns: 1fr; }
}
.hostapi-review-item {
    padding-bottom: 16px;
    border-bottom: 1px solid #ebebeb;
}
.hostapi-review-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.hostapi-review-date { color: #717171; font-size: 13px; }
.hostapi-review-text { font-size: 14px; line-height: 1.5; color: #222; margin: 0; }
.hostapi-review-response {
    margin-top: 10px;
    padding: 10px 12px;
    background: #f7f7f7;
    border-radius: 8px;
}
.hostapi-review-response-label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 4px;
}
.hostapi-review-response p { margin: 0; font-size: 14px; line-height: 1.5; color: #444; }

/* ---------------------------------------------------------------------------
 * Check-in / late-checkout / upsell add-ons at checkout
 * ------------------------------------------------------------------------- */
.hostapi-addons { margin-top: 16px; padding-top: 16px; border-top: 1px solid #e5e7eb; }
.hostapi-addons-head { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.hostapi-addons-list { display: flex; flex-direction: column; gap: 8px; }
.hostapi-addon-item {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px 14px; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.hostapi-addon-item:hover { border-color: #B43DC5; background: #faf5ff; }
.hostapi-addon-item input[type="checkbox"] { width: 18px; height: 18px; flex: 0 0 auto; accent-color: #B43DC5; }
.hostapi-addon-label { flex: 1 1 auto; font-size: 14px; font-weight: 500; display: flex; flex-direction: column; }
.hostapi-addon-label small { font-weight: 400; color: #6b7280; font-size: 12.5px; margin-top: 2px; }
.hostapi-addon-price { flex: 0 0 auto; font-weight: 600; font-size: 14px; color: #111827; }
.hostapi-addon-price small { font-weight: 400; color: #6b7280; font-size: 11px; }
/* Quantity selector for upsells that allow a quantity. */
.hostapi-addon-qty-wrap { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; color: #6b7280; font-size: 13px; }
.hostapi-addon-qty {
  width: 56px; min-height: 32px; box-sizing: border-box;
  padding: 5px 8px; border: 1px solid #d1d5db; border-radius: 7px;
  font-size: 14px; line-height: 1.2; color: #111827; background: #fff;
  text-align: center; appearance: auto; -webkit-appearance: auto; -moz-appearance: auto;
}
.hostapi-addon-qty:disabled { background: #f3f4f6; color: #9ca3af; }
.hostapi-addons-subtotal {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 10px; padding-top: 10px; border-top: 1px solid #e5e7eb;
  font-weight: 700; font-size: 14px; color: #111827;
}
.hostapi-addons-note { font-size: 12.5px; color: #6b7280; margin: 10px 0 0; line-height: 1.5; }
@media (max-width: 560px) {
  .hostapi-addon-item { padding: 11px 12px; }
}

/* Inline spinner for the mobile trip-details price area while the live quote
   (fees & taxes) is loading. */
.hostapi-trip-price-spinner {
  display: inline-block;
  width: 15px; height: 15px;
  vertical-align: -2px;
  border: 2px solid rgba(0, 0, 0, 0.18);
  border-top-color: #222;
  border-radius: 50%;
  animation: hostapi-trip-spin 0.7s linear infinite;
}
@keyframes hostapi-trip-spin {
  to { transform: rotate(360deg); }
}
