/* Enhanced Playground Directory Styles */

/* Hero section styles */
.hero.has-background {
    position: relative;
    overflow: hidden;
    /* Ensure hero section has proper stacking context */
    z-index: 1;
}

.hero-background {
    position: absolute;
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
    opacity: 0.7;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero .hero-body {
    position: relative;
    z-index: 2;
}

.has-text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Search bar styles */
.search-container {
    display: flex;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    /* High z-index but lower than dropdown */
    z-index: 100;
}

.search-container .input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    flex-grow: 1;
}

.search-container .button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Location search dropdown styles */
.location-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 60px; /* Account for search button width */
    z-index: 2147483647 !important; /* Maximum z-index to ensure it appears above everything */
    margin-top: 2px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-height: 400px;
    overflow-y: auto;
}

.dropdown-list {
    padding: 0;
    margin: 0;
}

.dropdown-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

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

.dropdown-item small {
    color: #666;
    font-weight: normal;
    margin-left: 8px;
}

/* Hide dropdown by default */
.location-search-dropdown.is-hidden {
    display: none;
}

/* Sorting and filtering controls */
.sorting-controls {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.sorting-controls .label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.sorting-controls .select select {
    border-color: #ced4da;
}

.sorting-controls .select select:focus {
    border-color: #4a7dde;
    box-shadow: 0 0 0 0.125em rgba(74, 125, 222, 0.25);
}

/* States and cities list styles */
#states-container {
    margin-bottom: 2rem;
    /* Lower z-index to ensure dropdown appears above */
    position: relative;
    z-index: 1;
}

.menu-list {
    margin-bottom: 0.5rem;
}

.state-toggle {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    text-align: center;
    line-height: 22px;
}

.state-toggle.is-active {
    background-color: #e0e0e0;
}

/* Playground cards styles */
#playground-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Location-based search grid uses class selector */
.playground-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.playground-card-wrapper {
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.playground-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 100%;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    z-index: 1;
}

.playground-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Highlight playground name matches */
.playground-card-wrapper.playground-name-match {
    border: 2px solid #4a7dde;
    border-radius: 8px;
}

.playground-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.playground-content {
    padding: 1.5rem;
}

.playground-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
    color: #333;
}

.playground-description p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
}

.playground-address, .playground-hours {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #555;
}

.playground-rating {
    margin-bottom: 1rem;
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.reviews-count {
    color: #777;
    font-size: 0.9rem;
}

.reviews-link {
    color: #4a7dde;
    text-decoration: underline;
}

/* Equipment list styles */
.equipment-list {
    margin-bottom: 1rem;
}

.equipment-items {
    margin: 0.5rem 0;
    padding-left: 1.2rem;
}

.equipment-items li {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.equipment-items .more-items {
    font-style: italic;
    color: #666;
}

.equipment-items .more-items a {
    color: #4a7dde;
    text-decoration: none;
}

.equipment-items .more-items a:hover {
    text-decoration: underline;
}

/* Amenities styles - Grid Layout for City/State Pages */
.amenities-section {
    margin-top: 1rem;
    border-top: 1px solid #eee;
    padding-top: 0.8rem;
}

.amenities-heading {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1rem;
}

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.amenity-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 4px;
    position: relative;
    min-height: 60px;
}

.amenity-block.amenity-yes {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.amenity-block.amenity-no {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

.amenity-block.amenity-unknown {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}

.amenity-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-bottom: 0.2rem;
}

.status-indicator {
    font-size: 0.8rem;
    font-weight: bold;
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    padding: 1px 3px;
}

.amenity-yes .status-indicator {
    color: #155724;
}

.amenity-no .status-indicator {
    color: #721c24;
}

.amenity-unknown .status-indicator {
    color: #6c757d;
}

/* Enhanced Amenities styles - Individual Playground Page */
.amenity-item-enhanced {
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.amenity-item-enhanced:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.amenity-item-enhanced.amenity-available {
    background-color: #d4edda !important;
    border: 1px solid #c3e6cb !important;
}

.amenity-item-enhanced.amenity-not-available {
    background-color: #f8d7da !important;
    border: 1px solid #f5c6cb !important;
}

.amenity-item-enhanced.amenity-unknown {
    background-color: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
}

.amenity-item-enhanced .amenity-icon-container {
    margin-right: 12px;
    flex-shrink: 0;
}

.amenity-item-enhanced .amenity-icon {
    width: 32px !important;
    height: 32px !important;
    object-fit: contain;
}

.amenity-item-enhanced .amenity-details {
    flex-grow: 1;
}

.amenity-item-enhanced .amenity-name {
    font-weight: 600;
    margin-bottom: 2px;
    font-size: 1rem;
}

.amenity-item-enhanced .amenity-status {
    font-size: 0.9rem;
}

.amenity-item-enhanced.amenity-available .amenity-name,
.amenity-item-enhanced.amenity-available .amenity-status {
    color: #155724 !important;
}

.amenity-item-enhanced.amenity-not-available .amenity-name,
.amenity-item-enhanced.amenity-not-available .amenity-status {
    color: #721c24 !important;
}

.amenity-item-enhanced.amenity-unknown .amenity-name,
.amenity-item-enhanced.amenity-unknown .amenity-status {
    color: #6c757d !important;
}

.amenity-item-enhanced .status-icon {
    font-weight: bold;
    margin-right: 4px;
}

/* View more button */
.view-more {
    text-align: center;
    margin-top: 1rem;
}

/* Social sharing styles */
.playground-sharing {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.social-icons {
    gap: 0.5rem;
}

.social-icons img {
    transition: transform 0.2s;
}

.social-icons img:hover {
    transform: scale(1.1);
}

/* Send to phone styles */
.send-to-phone {
    margin-top: 0.5rem;
}

.send-to-phone a {
    color: #4a7dde;
    text-decoration: none;
    font-size: 0.9rem;
}

.send-to-phone a:hover {
    text-decoration: underline;
}

.suburb-tag {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.suburb-tag:hover {
    opacity: 0.9;
}

.suburb-tag.is-primary {
    background-color: #4a7dde !important;
    color: white !important;
}

/* City selection styles */
.city-selection {
    cursor: pointer;
    transition: all 0.2s ease;
}

.city-selection:hover {
    transform: scale(1.05);
}

.no-details-item:hover {
    background-color: #f1f3f4;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .search-container {
        flex-direction: column;
    }
    
    .search-container .input,
    .search-container .button {
        border-radius: 4px;
        margin-bottom: 0.5rem;
    }
    
    /* Ensure dropdown is full width on mobile */
    .location-search-dropdown {
        left: 0;
        right: 0;
        width: 100%;
    }
    
    #playground-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .amenities-list {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .amenity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sorting-controls {
        padding: 0.75rem;
    }
    
    /* Stack enhanced amenities vertically on small screens */
    .amenity-item-enhanced {
        padding: 8px;
    }
    
    .amenity-item-enhanced .amenity-icon {
        width: 24px !important;
        height: 24px !important;
    }
    
    .amenity-item-enhanced .amenity-icon-container {
        margin-right: 8px;
    }
}

/* State and City page specific styles */
.breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin: 0 0.5rem;
    color: #b5b5b5;
}

.breadcrumb a {
    color: #4a7dde;
}

.page-title {
    margin-bottom: 1.5rem;
}

/* Level component for title and button alignment */
.level {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.level-left, .level-right {
    display: flex;
    align-items: center;
}

.level-item {
    margin-right: 1rem;
}

.level-item:last-child {
    margin-right: 0;
}

@media screen and (max-width: 768px) {
    /* Ensure Show All button is prominent on mobile */
    .level-item:first-child .button {
        background-color: #3298dc;
        border-color: #3298dc;
        font-weight: 600;
    }
}

/* Utility classes */
.is-hidden {
    display: none !important;
}

/* Custom button styles for "Best of" buttons */
.button.is-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
}

.button.is-warning:hover {
    background-color: #e0a800;
    border-color: #d39e00;
}

.button.is-warning .icon {
    margin-right: 0.5rem;
}

/* Enhanced state toggle styles - Add this to styles.css */
.state-container {
    transition: background-color 0.2s ease;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.state-container:hover {
    background-color: #f8f9fa;
}

.state-container.is-expanded {
    background-color: #e3f2fd;
}

.state-link {
    display: inline-block;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    padding: 8px 16px;
    border-radius: 4px;
    margin-right: 10px;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    flex-grow: 1;
}

.state-link:hover {
    background-color: #e8e8e8;
}

.city-list {
    display: flex;
    flex-wrap: wrap;
    margin-left: 1.5rem;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.city-list.is-hidden {
    display: none;
}

.city-link {
    display: inline-block;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    padding: 6px 12px;
    border-radius: 4px;
    margin-right: 6px;
    margin-bottom: 6px;
    color: #555;
    text-decoration: none;
}

.city-link:hover {
    background-color: #f0f0f0;
    color: #333;
}

/* Add styles for the no-details section */
.no-details-section {
    border-top: 1px solid #eee;
    padding-top: 2rem;
}

.no-details-item {
    border-bottom: 1px solid #f5f5f5;
    padding: 1rem 0;
}

.no-details-item:last-child {
    border-bottom: none;
}

/* Enhanced Search Dropdown Styles */
.location-search-dropdown {
    position: absolute;
    z-index: 1000;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    margin-top: 0.5rem;
}

.search-container {
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Search result highlighting */
.dropdown-item strong {
    color: #3273dc;
}

/* Loading state for search */
.dropdown-list.is-loading {
    padding: 20px;
    text-align: center;
    color: #666;
}

/* No results state */
.dropdown-item.no-results {
    font-style: italic;
    color: #999;
    text-align: center;
}

/* Search input focus enhancement */
#search-input:focus + #search-button {
    border-color: #3273dc;
}

/* Responsive search container */
@media screen and (max-width: 768px) {
    .search-container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .dropdown-list {
        max-height: 250px;
    }
    
    .dropdown-item {
        padding: 10px 12px;
    }
}

/* Limited Information Cards - Compact Design */
.limited-info-section {
    margin-top: 3rem;
    border-top: 2px solid #e9ecef;
    padding-top: 2rem;
}

.limited-info-card {
    margin-bottom: 0.5rem; /* Reduced spacing */
}

.playground-card.limited-info {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 0.5rem; /* Reduced padding */
    box-shadow: none;
    height: auto;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.playground-card.limited-info:hover {
    background-color: #e9ecef;
    transform: none; /* No lift effect for limited info */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.limited-info-content {
    width: 100%;
}

.limited-info-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.limited-info-details {
    flex: 1;
    min-width: 250px;
}

.limited-info-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.1rem;
    color: #333;
}

.limited-info-address {
    font-size: 0.9rem;
    color: #666;
    line-height: 1;
}

.limited-info-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.limited-info-rating .stars {
    color: #ffc107;
    font-size: 1rem;
}

.limited-info-rating .reviews-count {
    color: #777;
    font-size: 0.85rem;
}

.limited-info-rating .reviews-link {
    color: #4a7dde;
    text-decoration: none;
    font-size: 0.85rem;
}

.limited-info-rating .reviews-link:hover {
    text-decoration: underline;
}

.limited-info-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.limited-info-actions .button {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

/* Responsive adjustments for limited info cards */
@media screen and (max-width: 768px) {
    .limited-info-main {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .limited-info-rating,
    .limited-info-actions {
        justify-content: center;
    }
    
    .limited-info-details {
        text-align: center;
        min-width: auto;
    }
}

.button.is-success {
    background-color: #48c774;
    border-color: #48c774;
}

.button.is-success:hover {
    background-color: #3ec46d;
    border-color: #3abb67;
}

/* Mobile responsive button adjustments */
@media screen and (max-width: 768px) {
    /* Reduce button sizes to 75% */
    .level .button {
        font-size: 0.75rem; /* 75% of normal size */
        padding: 0.375rem 0.75rem; /* 75% of normal padding */
    }
    
    .level .button .icon {
        font-size: 0.75rem;
    }
    
    .level .button span:not(.icon) {
        font-size: 0.75rem;
    }
    
    /* Force horizontal layout with wrapping */
    .level {
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .level-item {
        margin-right: 0.5rem !important;
        margin-bottom: 0.5rem;
        flex: 0 0 auto; /* Don't grow or shrink, maintain natural width */
    }
    
    .level-item:last-child {
        margin-right: 0;
    }
    
    /* Ensure buttons don't get too small */
    .level .button {
        min-width: auto;
        white-space: nowrap;
    }
}

/* For very small screens (phones in portrait) */
@media screen and (max-width: 480px) {
    .level .button {
        font-size: 0.7rem; /* Even smaller for very small screens */
        padding: 0.3rem 0.6rem;
    }
    
    .level .button .icon {
        font-size: 0.7rem;
    }
    
    .level .button span:not(.icon) {
        font-size: 0.7rem;
    }
    
    .level-item {
        margin-right: 0.25rem !important;
        margin-bottom: 0.25rem;
    }
}

/* Enhanced responsive adjustments */
@media screen and (max-width: 768px) {
    /* Search container adjustments */
    .search-container {
        flex-direction: column;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .search-container .input,
    .search-container .button {
        border-radius: 4px;
        margin-bottom: 0.5rem;
    }
    
    .location-search-dropdown {
        right: 0; /* Full width on mobile */
    }
    
    /* Playground grid adjustments */
    #playground-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    /* Amenity grid adjustments */
    .amenity-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Sorting controls adjustments */
    .sorting-controls .columns {
        margin-bottom: 0;
    }
    
    .sorting-controls .column {
        padding-bottom: 0.75rem;
    }
    
    /* Map adjustments */
    #map {
        height: 300px;
    }
    
    /* Button container - UPDATED for horizontal layout */
    .level {
        flex-direction: row !important; /* Force horizontal */
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .level-left, .level-right {
        justify-content: center;
        margin-bottom: 0.5rem;
        flex-wrap: wrap;
    }
    
    .level-item {
        margin-bottom: 0.5rem;
        margin-right: 0.5rem !important;
    }
    
    /* Ensure buttons are properly sized */
    .level .button {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
        min-width: auto;
    }
}

/* Show All button styling */
.button.is-info {
    background-color: #3298dc;
    border-color: #3298dc;
    color: #fff;
}

.button.is-info:hover {
    background-color: #2793da;
    border-color: #2793da;
}

/* Enhanced suburb tags styling */
.suburb-filter {
    background: #f1f3f4;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.suburb-tag.is-clickable {
    cursor: pointer;
    transition: all 0.2s ease;
}

.suburb-tag.is-clickable:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Map container styling */
#map-container {
    margin-bottom: 2rem;
}

#map {
    width: 100%;
    height: 400px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* NEW: Disabled button styling */
.button.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.button.is-disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Enhanced button tooltips */
.button[title] {
    position: relative;
}

.button[title]:hover:after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 5px;
}

.button[title]:hover:before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

/* CRITICAL FIX: Location Search Dropdown Styles */
.search-container { 
    position: relative; 
    z-index: 10000; 
}

.location-search-dropdown {
    position: fixed !important;
    background: white;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    max-height: 300px;
    overflow-y: auto;
    /* CRITICAL: Maximum z-index to appear above everything */
    z-index: 2147483647 !important;
    /* Will be positioned dynamically via JavaScript */
    min-width: 300px;
}

.location-search-dropdown.is-hidden {
    display: none;
}

.dropdown-item.is-active {
    background-color: #4a7dde;
    color: white;
}

.state-container {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

/* Section positioning adjustments */
.section {
    position: relative;
    /* Lower z-index for regular sections */
    z-index: 1;
}

/* Ensure all hero content appears above sections but below dropdown */
.hero .container {
    position: relative;
    z-index: 2;
}

/* Map container styles */
#map-container {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* Amenities styles */
.playground-amenities {
    margin-top: 1rem;
    border-top: 1px solid #eee;
    padding-top: 0.8rem;
}

.amenities-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.amenities-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.amenity {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #555;
}

.amenity .icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 0.5rem;
    font-weight: bold;
}

.amenity.is-available .icon {
    background-color: #48c774;
    color: white;
}

.amenity.not-available .icon {
    background-color: #f14668;
    color: white;
}

.amenity.unknown .icon {
    background-color: #afafaf;
    color: white;
}

/* Suburb filter styles */
.suburb-filter {
    margin-bottom: 1rem;
}

.is-hidden {
    display: none !important;
}

/* Additional styles for dropdown interaction */
.search-container:focus-within {
    z-index: 1001;
}

.search-container .input:focus {
    position: relative;
    z-index: 1001;
}

/* Ensure breadcrumb and other navigation elements don't interfere */
.breadcrumb {
    position: relative;
    z-index: 1;
}

/* Footer positioning */
.footer {
    position: relative;
    z-index: 1;
}

/* Additional styles from templates */
.section, .content, .hero, #map-container, #playground-grid { 
    position: relative; 
    z-index: 1 !important; 
}

.hero-body { 
    position: relative; 
    z-index: 3 !important; 
}

/* Map Legend Inline Styles */
.map-legend-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    font-size: 0.9rem;
}

.legend-title { 
    font-weight: 600; 
    color: #495057; 
    margin-right: 0.5rem; 
}

.legend-items { 
    display: flex; 
    gap: 1rem; 
}

.legend-item { 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
}

.legend-icon {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.legend-icon.full-info {
    background-image: url('https://unpkg.com/leaflet@1.7.1/dist/images/marker-icon.png');
    background-size: 15px 24px;
}

.legend-icon.limited-info {
    background-image: url('https://unpkg.com/leaflet@1.7.1/dist/images/marker-icon.png');
    background-size: 12px 19px;
    filter: grayscale(100%) brightness(0.7) contrast(1.2);
    opacity: 0.8;
}

/* Enhanced Amenity Grid Styles */
.amenity-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    overflow: visible;
}

.amenities-section, .playground-content, .playground-card, .playground-card-wrapper { 
    position: relative; 
    overflow: visible; 
}

.amenity-block {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: help;
    background: #f8f9fa;
    overflow: visible;
}

.amenity-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1001;
}

.amenity-block.amenity-yes { 
    background: #d4edda; 
    border-color: #c3e6cb; 
}

.amenity-block.amenity-yes:hover { 
    background: #c3e6cb; 
    border-color: #28a745; 
}

.amenity-block.amenity-no { 
    background: #f8d7da; 
    border-color: #f5c6cb; 
}

.amenity-block.amenity-no:hover { 
    background: #f5c6cb; 
    border-color: #dc3545; 
}

.amenity-block.amenity-unknown { 
    background: #e2e3e5; 
    border-color: #d6d8db; 
}

.amenity-block.amenity-unknown:hover { 
    background: #d6d8db; 
    border-color: #6c757d; 
}

.amenity-icon { 
    width: 24px; 
    height: 24px; 
    object-fit: contain; 
    margin-bottom: 4px; 
}

.status-indicator { 
    font-size: 12px; 
    font-weight: bold; 
    color: #333; 
}

/* Amenity Tooltip Styles */
.amenity-tooltip {
    position: fixed;
    background: rgba(0,0,0,0.95);
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

.amenity-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0,0,0,0.95);
}

.amenity-tooltip.show { 
    opacity: 1; 
    visibility: visible; 
}

.amenity-tooltip.tooltip-bottom::after {
    top: auto;
    bottom: 100%;
    border-top-color: transparent;
    border-bottom-color: rgba(0,0,0,0.95);
}

/* Limited Info Section */
.limited-info-section { 
    margin-top: 2rem; 
}

/* Enhanced Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .level { 
        display: block !important; 
    }
    
    .level-left, .level-right { 
        margin-bottom: 1rem; 
    }
    
    .amenity-grid { 
        grid-template-columns: repeat(5, 1fr); 
        gap: 6px; 
    }
    
    .amenity-icon { 
        width: 20px; 
        height: 20px; 
    }
    
    .amenity-tooltip { 
        font-size: 11px; 
        padding: 6px 8px; 
    }
    
    /* Ensure enhanced amenity icons match grid icon sizing on mobile/tablet */
    .amenity-item-enhanced .amenity-icon {
        width: 20px !important;
        height: 20px !important;
    }
    
    .map-legend-inline { 
        justify-content: center; 
        text-align: center; 
    }
    
    .legend-items { 
        flex-direction: column; 
        gap: 0.5rem; 
    }
}

@media screen and (max-width: 480px) {
    .amenity-grid { 
        grid-template-columns: repeat(5, 1fr); 
    }
    
    .map-legend-inline { 
        padding: 0.5rem; 
        font-size: 0.8rem; 
    }
    
    .legend-title { 
        display: block; 
        margin-bottom: 0.5rem; 
        text-align: center; 
    }
}

/* State Page Cities Section Styles */
.cities-section {
    margin-bottom: 3rem;
}

.cities-header {
    margin-bottom: 2rem;
}

#cities-container {
    gap: 0.5rem;
}

.city-wrapper {
    margin-bottom: 0.5rem;
}

.city-container {
    display: inline-block;
}

.city-container.clickable {
    cursor: pointer;
}

.city-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #f5f5f5;
    border: 1px solid #dbdbdb;
    border-radius: 4px;
    color: #363636;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.city-link:hover {
    background-color: #3273dc;
    color: white;
    border-color: #3273dc;
    text-decoration: none;
}

.city-link .tag {
    margin-left: 0.5rem;
}

/* Index Page Search Results Styles */
#search-results-container {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.search-result-item {
    background: white;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
}

.search-result-item:hover {
    border-color: #3273dc;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.search-result-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.search-result-item a:hover {
    text-decoration: none;
}

.search-result-title {
    font-weight: 600;
    color: #3273dc;
    margin-bottom: 0.25rem;
}

.search-result-meta {
    color: #666;
    font-size: 0.9rem;
}

/* Tweet correction link styling */
.playground-feedback {
    margin-top: 12px;
    text-align: right;
}

.tweet-correction {
    color: #1DA1F2;
    text-decoration: none;
    font-size: 0.85em;
    padding: 3px 6px;
    border-radius: 4px;
    background-color: rgba(29, 161, 242, 0.1);
    transition: background-color 0.2s;
}

.tweet-correction:hover {
    background-color: rgba(29, 161, 242, 0.2);
    text-decoration: none;
}

/* Best Of Page Styles */
.best-of-content h1 {
    color: #3273dc;
    border-bottom: 2px solid #3273dc;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.best-of-content h2 {
    color: #363636;
    margin-top: 2rem;
    margin-bottom: 1rem;
    position: relative;
}

.best-of-content h2::before {
    content: "⭐";
    margin-right: 0.5rem;
}

.best-of-content h3 {
    color: #4a4a4a;
    background-color: #f8f9fa;
    padding: 0.75rem 1rem;
    border-left: 4px solid #3273dc;
    margin: 1.5rem 0 1rem 0;
}

.best-of-content ul {
    margin-left: 1rem;
}

.best-of-content li {
    margin-bottom: 0.5rem;
}

.best-of-content strong {
    color: #3273dc;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Add some visual hierarchy to playground listings */
.best-of-content h3 + p {
    margin-bottom: 0.25rem;
}

.best-of-content h3 + p + p {
    margin-bottom: 0.25rem;
}

/* Additional responsive adjustments */
@media screen and (max-width: 768px) {
    .city-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .button {
        min-width: 200px;
    }
    
    /* CRITICAL FIX: Force dropdown above everything on mobile */
    .location-search-dropdown {
        position: fixed !important;
        z-index: 2147483647 !important;
        background: white !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35) !important;
    }
    
    /* Reset any transforms on parent elements that might create stacking contexts */
    .section, .content, .container, .hero, .hero-body {
        transform: none !important;
        will-change: auto !important;
    }
}

/* Ultra-specific override for city pages */
body .hero .search-container .location-search-dropdown {
    z-index: 2147483647 !important;
}

/* =====================================================
   Decision Strip Styles - Phase 1 Decision Engine
   Quick at-a-glance info for busy parents
   ===================================================== */

.decision-strip-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

.decision-strip {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.decision-strip-item {
    flex: 1;
    min-width: 120px;
    padding: 1rem;
    text-align: center;
    border-right: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.decision-strip-item:last-child {
    border-right: none;
}

.decision-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.decision-label {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.decision-value {
    font-size: 1rem;
    font-weight: 700;
    color: #212529;
}

/* Open Status Badge Styles */
.decision-strip-item.open-status .decision-value.is-open {
    color: #28a745;
    background: #d4edda;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.decision-strip-item.open-status .decision-value.is-closed {
    color: #dc3545;
    background: #f8d7da;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.decision-strip-item.open-status .decision-value.is-unknown {
    color: #6c757d;
    background: #e9ecef;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Rating highlight for high-rated playgrounds */
.decision-strip-item.rating-quick .decision-value.high-rating {
    color: #ffc107;
}

/* Mobile responsive decision strip */
@media screen and (max-width: 768px) {
    .decision-strip {
        flex-wrap: wrap;
        border-radius: 8px;
    }

    .decision-strip-item {
        flex: 1 1 45%;
        min-width: 0;
        padding: 0.75rem 0.5rem;
        border-bottom: 1px solid #e9ecef;
    }

    .decision-strip-item:nth-child(2) {
        border-right: none;
    }

    .decision-strip-item:nth-child(3),
    .decision-strip-item:nth-child(4) {
        border-bottom: none;
    }

    .decision-icon {
        font-size: 1.25rem;
    }

    .decision-label {
        font-size: 0.65rem;
    }

    .decision-value {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .decision-strip-item {
        flex: 1 1 100%;
        flex-direction: row;
        justify-content: space-between;
        padding: 0.5rem 1rem;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }

    .decision-strip-item:last-child {
        border-bottom: none;
    }

    .decision-icon {
        order: 1;
    }

    .decision-label {
        order: 2;
        flex: 1;
        text-align: left;
        margin-left: 0.5rem;
    }

    .decision-value {
        order: 3;
    }
}

/* =====================================================
   Phase 2: City Page Decision Engine Styles
   Best Right Now, Featured Cards, Quick Filters
   ===================================================== */

/* Best Right Now Section */
.best-right-now {
    background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #fde047;
}

.best-right-now .section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.25rem;
}

.best-right-now .section-title .icon {
    font-size: 1.5rem;
}

/* Featured Cards Container */
.featured-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Featured Card Component */
.featured-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.featured-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-color: #3b82f6;
}

.featured-card .card-image {
    position: relative;
    flex-shrink: 0;
}

.featured-card .card-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.featured-card .card-image .rank-badge {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.featured-card .card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.featured-card .playground-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.375rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.featured-card .decision-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.375rem;
    font-size: 0.9rem;
}

.featured-card .rating {
    color: #f59e0b;
    font-weight: 600;
}

.featured-card .status {
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

.featured-card .status.open {
    background: #dcfce7;
    color: #16a34a;
}

.featured-card .status.closed {
    background: #fee2e2;
    color: #dc2626;
}

.featured-card .status.unknown {
    background: #f3f4f6;
    color: #6b7280;
}

.featured-card .quick-facts {
    display: flex;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.375rem;
}

.featured-card .amenity-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: center;
    font-size: 0.85rem;
    color: #6b7280;
}

.featured-card .amenity-badge {
    font-size: 1rem;
}

.featured-card .directions-button {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: auto;
    padding: 0.375rem 0.75rem;
    background: #3b82f6;
    color: white;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
    width: fit-content;
}

.featured-card .directions-button:hover {
    background: #2563eb;
    color: white;
}

/* Quick Filters */
.quick-filters {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-chip:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.filter-chip.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.filter-chip span:first-child {
    font-size: 1rem;
}

/* Collapsible Map */
#map-container {
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

#map-container.map-collapsed {
    height: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
}

#map-container.map-expanded {
    height: auto;
    opacity: 1;
}

#map-container.map-expanded #map {
    height: 400px;
    border-radius: 8px;
}

.map-controls {
    padding: 0.5rem 0;
}

.map-controls .map-legend-inline.is-small {
    font-size: 0.8rem;
}

/* All Playgrounds Header */
.all-playgrounds-header {
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.75rem;
}

.all-playgrounds-header .title {
    color: #374151;
}

/* Results count styling */
#open-count {
    font-weight: 600;
}

/* Responsive Featured Cards */
@media screen and (min-width: 768px) {
    .featured-card .card-image img {
        width: 120px;
        height: 120px;
    }

    .featured-card .playground-name {
        font-size: 1.2rem;
    }
}

@media screen and (min-width: 1024px) {
    .featured-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .featured-card {
        padding: 1.25rem;
    }
}

@media screen and (max-width: 480px) {
    .featured-card {
        flex-direction: column;
    }

    .featured-card .card-image {
        width: 100%;
    }

    .featured-card .card-image img {
        width: 100%;
        height: 150px;
    }

    .featured-card .card-image .rank-badge {
        top: 8px;
        left: 8px;
    }

    .filter-chip {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }

    .best-right-now {
        padding: 1rem;
    }
}

/* =====================================================
   Phase 3: Save & Return Styles
   Site header, save buttons, toast, My Playgrounds page
   ===================================================== */

/* Site Header */
.site-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    text-decoration: none;
}

.site-logo:hover {
    color: #3b82f6;
}

.my-playgrounds-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 24px;
    color: #dc2626;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.my-playgrounds-link:hover {
    background: #fee2e2;
    border-color: #f87171;
    color: #b91c1c;
}

.my-playgrounds-link.active {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
}

.my-playgrounds-link .heart-icon {
    font-size: 1.1rem;
}

.my-playgrounds-link .link-text {
    font-size: 0.9rem;
}

.save-count-badge {
    background: #dc2626;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

.my-playgrounds-link.active .save-count-badge {
    background: white;
    color: #dc2626;
}

.site-header-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.best-of-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 24px;
    color: #16a34a;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.best-of-link:hover {
    background: #dcfce7;
    border-color: #86efac;
    color: #15803d;
}

/* Save Button - Standard */
.save-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.save-button:hover {
    border-color: #f87171;
    color: #dc2626;
}

.save-button.saved {
    background: #fef2f2;
    border-color: #dc2626;
    color: #dc2626;
}

.save-button .save-heart {
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.save-button:hover .save-heart {
    transform: scale(1.2);
}

.save-button.saved .save-heart {
    color: #dc2626;
}

/* Save Button - Mini (for cards) */
.save-button-mini {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.save-button-mini:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.save-button-mini .save-heart {
    font-size: 1.25rem;
    color: #6b7280;
    transition: color 0.2s;
}

.save-button-mini:hover .save-heart {
    color: #dc2626;
}

.save-button-mini.saved {
    background: #dc2626;
}

.save-button-mini.saved .save-heart {
    color: white;
}

/* Decision Actions (Playground page) */
.decision-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

@media screen and (max-width: 480px) {
    .decision-actions {
        flex-direction: column;
    }

    .decision-actions .button {
        width: 100%;
    }
}

/* Toast Notifications */
.save-toast-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.save-toast {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #1f2937;
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.save-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.save-toast .toast-icon {
    color: #f87171;
    font-size: 1.2rem;
}

.save-toast .toast-message {
    font-size: 0.95rem;
}

/* =====================================================
   My Playgrounds Page Styles
   ===================================================== */

.my-playgrounds-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e5e7eb;
}

.my-playgrounds-section .section-header .title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.my-playgrounds-section .section-header .heart-icon {
    color: #dc2626;
}

.my-playgrounds-section .count-badge {
    font-weight: 400;
    color: #6b7280;
    font-size: 0.9em;
}

/* Saved Cards Grid */
.saved-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media screen and (min-width: 768px) {
    .saved-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.saved-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.saved-card .card-image {
    flex-shrink: 0;
}

.saved-card .card-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.saved-card .card-body {
    flex: 1;
    min-width: 0;
}

.saved-card .playground-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.saved-card .playground-name a {
    color: #1f2937;
    text-decoration: none;
}

.saved-card .playground-name a:hover {
    color: #3b82f6;
}

.saved-card .playground-location {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.saved-card .card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.saved-card .card-meta .rating {
    color: #f59e0b;
}

.saved-card .card-actions {
    display: flex;
    gap: 0.5rem;
}

/* Recently Viewed Row */
.recent-cards-row {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
}

.recent-card {
    flex-shrink: 0;
    width: 150px;
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: all 0.2s;
}

.recent-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.recent-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.recent-card-body {
    padding: 0.5rem;
}

.recent-card .name {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-card .location {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
}

.recent-card .save-mini-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 1rem;
    color: #6b7280;
}

.recent-card .save-mini-btn:hover {
    color: #dc2626;
}

.recent-card .saved-indicator {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #dc2626;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 2px dashed #d1d5db;
}

.empty-state .empty-icon {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.empty-state .title {
    color: #374151;
    margin-bottom: 0.5rem;
}

.empty-state .subtitle {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.empty-state .heart-icon {
    color: #dc2626;
}

.empty-state-small {
    text-align: center;
    padding: 2rem 1rem;
}

/* Mobile Responsive Header */
@media screen and (max-width: 480px) {
    .site-header-content {
        padding: 0 0.5rem;
    }

    .site-logo {
        font-size: 1.1rem;
    }

    .my-playgrounds-link {
        padding: 0.375rem 0.75rem;
    }

    .my-playgrounds-link .link-text {
        display: none;
    }

    .best-of-link {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }

    .saved-card {
        flex-direction: column;
    }

    .saved-card .card-image img {
        width: 100%;
        height: 150px;
    }

    .recent-card {
        width: 130px;
    }
}