nav li {
	display:table-cell; padding:10px;
}
.average-rating {
    margin: 1rem 0;
}
.star {
    color: #ddd;
    font-size: 1.5rem;
}
.star.filled {
    color: gold;
}
.review {
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
}
.review:last-child {
    border-bottom: none;
}
.rating-form {
	text-align:left !important;
}
.rating-form button, .rating-form textarea {
	display:block;
}
.dz-error-message {
  display: none !important;
}
.notifications-dropdown {
    position: relative;
    display: inline-block;
}

.notifications-toggle {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    font-size: 1.2rem;
    color: #333;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notifications-panel {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    width: 350px;
    max-height: 400px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.notifications-panel.show {
    display: block;
}

.notifications-header {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.notifications-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.notification-item {
    display: block;
    padding: 10px;
    border-bottom: 1px solid #f1f1f1;
    color: #333;
    text-decoration: none;
}

.notification-item.unread {
    background-color: #f8f9fa;
    font-weight: bold;
}

.notification-item:hover {
    background-color: #f1f1f1;
}

.notification-content p {
    margin: 0 0 5px 0;
}

.notification-content small {
    color: #6c757d;
    font-size: 0.8rem;
}

.no-notifications {
    padding: 20px;
    text-align: center;
    color: #6c757d;
}
.notifications-toggle {
    padding:10px;
    border:1px solid red;
}
.star-rating {
    font-size: 1.2rem;
    display: inline-block;
}

/* Rating Display Styles */
.getRatingOfListing {
  text-align: center;
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.getRatingOfListing:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.getRatingOfListing h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3436;
  margin: 0;
  line-height: 1.3;
  background: linear-gradient(135deg, #0984e3, #00cec9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Optional Rating Badge Style */
.rating-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #00b894;
  color: white;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .getRatingOfListing h1 {
    font-size: 3.5rem;
  }
}

/* Heart icon styles */
.favorite-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position:relative;
    right:0;
    top:0;
}

.heart-icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #484848;
    stroke-width: 2px;
    transition: all 0.2s ease;
}

.heart-icon.filled {
    fill: #FF5A5F;
    stroke: #FF5A5F;
}

.heart-icon.loading {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0.5; transform: scale(0.95); }
}

/* Toast notification */
.toast-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    z-index: 1000;
    animation: fadeInOut 3s ease;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}
.favorite-btn, .favorite-btn * {
    pointer-events: auto !important;
}
.favorite-btn[data-initial-favorite="true"] .heart-icon,
.heart-icon.filled {
    fill: #ff0000; /* Red fill */
    stroke: #ff0000; /* Red outline */
}
.save-to-list-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    width: 400px;
    max-width: 90%;
}

.list-item {
    padding: 12px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.list-item:hover {
    background: #f7f7f7;
}

.create-new-list {
    margin-top: 15px;
    background: none;
    border: none;
    color: #FF5A5F;
    font-weight: bold;
    cursor: pointer;
}


.create-new-list, .create-list-form {
    transition: all 0.2s ease;
    margin-top: 15px;
}

.create-list-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    background: #f7f7f7;
    border-radius: 8px;
}

.list-name-input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.cancel-create-list {
    background: none;
    border: none;
    color: #666;
}

.confirm-create-list {
    background: #ff5a5f;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top-color: #333;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.suggestions-dropdown {
    position: absolute;
    width: 26%;
    max-height: 300px;
    overflow-y: auto;
    background: #ffffff;
    border: 4px solid #e1e1e1;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    margin-top: 4px;
    padding: 8px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.suggestions-dropdown-item {
    padding: 10px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s ease;
}

.suggestions-dropdown-item:hover {
    background-color: #f5f5f5;
}

.suggestions-dropdown-item.active {
    background-color: #e9f3ff;
}

.suggestions-dropdown-item .icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.suggestions-dropdown-item .text {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.suggestions-dropdown-item .timestamp {
    font-size: 12px;
    color: #999;
}

.suggestions-dropdown-divider {
    height: 1px;
    background-color: #eee;
    margin: 6px 0;
}

.suggestions-dropdown-empty {
    padding: 16px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

/* Scrollbar styling */
.suggestions-dropdown::-webkit-scrollbar {
    width: 6px;
}

.suggestions-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.suggestions-dropdown::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.suggestions-dropdown::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Category headers */
.suggestion-category-header {
    padding: 10px 15px;
    font-weight: 600;
    color: #333;
    background-color: #f8f8f8;
    border-bottom: 1px solid #e0e0e0;
}

/* Suggestion items */
.suggestion-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.suggestion-item:hover {
    background-color: #f5f5f5;
}

.suggestion-item .icon {
    margin-right: 12px;
    font-size: 1.1em;
    flex-shrink: 0;
}

.suggestion-item .item-content {
    flex-grow: 1;
    min-width: 0;
}

.suggestion-item .item-name {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-item .item-city,
.suggestion-item .item-distance,
.suggestion-item .item-details,
.suggestion-item .item-type {
    font-size: 0.85em;
    color: #666;
    margin-top: 2px;
}

.suggestion-item .item-link {
    margin-left: 10px;
    color: #0066cc;
    text-decoration: none;
    flex-shrink: 0;
}

.no-results {
    padding: 15px;
    text-align: center;
    color: #888;
}
.search-suggestion {
    padding: 10px;
    cursor: pointer;
}

.search-suggestion:hover {
    background-color: #f5f5f5;
}

.search-suggestion .main-text {
    font-weight: 500;
    margin-bottom: 4px;
}

.search-suggestion .sub-text {
    font-size: 0.85em;
    color: #666;
}

.search-suggestion .search-meta {
    font-size: 0.8em;
    color: #888;
    margin-top: 4px;
}