/* company-profile-detailview.css */

/* General resets */
body {
    font-family: 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
  }
  
  /* Utility classes */
  .divider {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 1.5rem 0;
  }
  
  .sub-divider {
    border: 0;
    height: 1px;
    background: #ccc;
    margin: 0.75rem 0;
  }
  
  h1, h2, strong {
    color: #7b1e1e;
  }
  
  a {
    color: #7b1e1e;
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  /* Business Header */
  .business-header {
    text-align: center;
    padding: 1.5rem 1rem;
  }
  
  .business-header img {
    width: 100%;
    max-width: 360px;
    height: auto;
    border-radius: 10px;
    margin-top: 1rem;
  }
  
  .business-location {
    margin-top: 0.5rem;
    font-style: italic;
    color: #666;
  }
  
  /* View All Reviews */
  .view-all-reviews {
    text-align: left;
    padding: 0 1rem;
  }
  
  .view-reviews-link {
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  /* Ratings */
  .ratings-summary {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .left-rating {
    flex: 1;
    min-width: 140px;
  }
  
  .rating-value {
    font-size: 2rem;
    font-weight: bold;
  }
  
  .rating-stars {
    font-size: 1.2rem;
    color: #f39c12;
  }
  
  .reviews-link {
    display: inline-block;
    margin-top: 0.5rem;
  }
  
  .right-criteria p {
    margin: 0.25rem 0;
    font-size: 0.95rem;
  }
  
  /* Bookmark and Description */
  .bookmark-section {
    padding: 1rem;
  }
  
  .bookmark-btn {
    background-color: #7b1e1e;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
  }
  
  .description {
    margin-top: 1rem;
  }
  
  /* Map & Address */
  .location-map {
    padding: 1rem;
    text-align: center;
  }
  
  .map-placeholder img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
  
  .address-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    gap: 0.5rem;
    font-size: 0.95rem;
  }
  
  .action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .message-btn, .call-btn {
    background-color: #7b1e1e;
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
  }
  
  /* Business Hours */
  .business-hours {
    padding: 1rem;
  }
  
  .hours-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
  }
  
  .hours-list li {
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
  }
  
  /* Business Info Grid */
  .business-info {
    padding: 1rem;
  }
  
  .info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .special-instructions, .cancellation-policy {
    margin-top: 1.5rem;
  }
  
  /* Reviews */
  .reviews-section {
    padding: 1rem;
  }
  
  .review-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
  }
  
  .filter-btn, .sort-btn {
    background-color: #eee;
    border: 1px solid #ccc;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
  }
  
  .review-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .review-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
  }
  
  .review-meta {
    flex: 1;
  }
  
  .review-date {
    display: block;
    font-size: 0.8rem;
    color: #777;
  }
  
  .review-stars {
    margin: 0.25rem 0;
    color: #f39c12;
    font-size: 0.9rem;
  }
  
  .verified {
    color: #2e7d32;
    font-weight: bold;
    margin-left: 0.5rem;
    font-size: 0.85rem;
  }
  
  .review-body {
    font-size: 0.95rem;
    margin-top: 0.25rem;
  }
  
  .review-provider {
    font-size: 0.8rem;
    color: #555;
    margin-top: 0.25rem;
  }
  
  /* Pagination */
  .pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
  }
  
  .page-btn {
    background: #fff;
    border: 1px solid #ccc;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
  }
  
  /* Sticky Book Button */
  .sticky-book-btn {
    position: sticky;
    bottom: 0;
    background-color: white;
    padding: 0.75rem 1rem;
    text-align: center;
    box-shadow: 0 -1px 5px rgba(0,0,0,0.05);
  }
  
  .book-btn {
    background-color: #7b1e1e;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
  }

/* In business-directory.css or company-profile.css */
.map-fallback {
  text-align: center;
  padding: 2rem;
  background: #fafafa;
  border: 1px solid #ddd;
  color: #666;
  font-style: italic;
}

/* Ensure map displays correctly */
.map-area {
  width: 100%;
  height: 320px; /* You can adjust to 400px or 500px as needed */
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.map-placeholder {
  position: relative;
  margin-bottom: 1rem;
}

/* Optional: keep the little bottom-left image properly aligned */
.map-bottom-left {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
}

.map-bottom-left img {
  width: 32px;
  height: 32px;
  opacity: 0.8;
}
  