/**
 * Auction Map Engine - Frontend Styles v3.0.0
 * Map-First Professional Design
 * متطابق مع هوية Auction Week
 */

/* ============================================
   Container & Base Styles
   ============================================ */
.ame-map-container {
    direction: rtl;
    text-align: right;
    font-family: 'Segoe UI', 'Cairo', 'Tajawal', Tahoma, Arial, sans-serif;
    width: 100%;
    margin: 0 auto;
}

/* ============================================
   Breadcrumb - Map-First Design
   ============================================ */
.ame-breadcrumb {
    margin-bottom: 16px;
    padding: 0;
}

.ame-breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

.ame-breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.ame-breadcrumb-link {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
    padding: 2px 0;
}

.ame-breadcrumb-link:hover {
    color: #0073aa;
    text-decoration: none;
}

.ame-breadcrumb-separator {
    color: #d1d5db;
    margin: 0 2px;
    user-select: none;
    font-size: 12px;
    opacity: 0.6;
}

.ame-breadcrumb-current {
    color: #1a1a1a;
    font-weight: 600;
}

.ame-breadcrumb-current span {
    color: #1a1a1a;
}

/* Mobile Breadcrumb */
@media (max-width: 768px) {
    .ame-breadcrumb-list {
        font-size: 12px;
        gap: 4px;
    }
    
    .ame-breadcrumb-separator {
        margin: 0 2px;
        font-size: 11px;
    }
}

/* ============================================
   Map-Friendly Filters Bar (Collapsed)
   ============================================ */
.ame-filters-bar {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.ame-filters-bar.ame-filters-expanded {
    padding: 16px;
}

/* Compact Filters Row */
.ame-filters-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

/* Filter Chips / Pills */
.ame-filter-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}

.ame-filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 32px;
    position: relative;
}

.ame-filter-chip:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.ame-filter-chip-select {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 20px;
    min-width: 100px;
}

.ame-filter-chip-select option {
    background: #ffffff;
    color: #1a1a1a;
    padding: 8px;
}

.ame-filter-chip-label {
    font-weight: 500;
    color: #374151;
}

.ame-filter-chip-icon {
    margin-right: 6px;
    font-size: 10px;
    color: #6b7280;
    transition: transform 0.2s ease;
}

.ame-filter-chip-price.active .ame-filter-chip-icon {
    transform: rotate(180deg);
}

/* Filter Actions */
.ame-filter-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ame-reset-filters-ghost {
    padding: 6px 12px;
    background: transparent;
    color: #6b7280;
    border: 1px solid transparent;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ame-reset-filters-ghost:hover {
    background: #f9fafb;
    color: #374151;
    border-color: #e5e7eb;
}

/* Expanded Filters Panel */
.ame-filters-expanded {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.ame-filter-expanded-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ame-price-inputs-compact {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ame-price-input-compact {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    direction: ltr;
    text-align: left;
    background: #ffffff;
    color: #1a1a1a;
    transition: border-color 0.2s ease;
    min-width: 100px;
}

.ame-price-input-compact:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.ame-price-separator-compact {
    color: #9ca3af;
    font-weight: 500;
    font-size: 14px;
}

/* ============================================
   Map Wrapper
   ============================================ */
.ame-map-wrapper {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: #f3f4f6;
    min-height: 400px;
}

.ame-map {
    width: 100% !important;
    height: 100% !important;
    min-height: 400px !important;
    font-family: 'Segoe UI', 'Cairo', 'Tajawal', Tahoma, Arial, sans-serif;
    position: relative;
    z-index: 1;
}

/* Override Leaflet default styles */
.leaflet-container {
    font-family: 'Segoe UI', 'Cairo', 'Tajawal', Tahoma, Arial, sans-serif !important;
    background: #f3f4f6 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
}

.leaflet-tile-container img {
    max-width: none !important;
}

.leaflet-tile-pane {
    z-index: 2;
}

.leaflet-overlay-pane {
    z-index: 3;
}

.ame-map-loading {
    font-family: 'Segoe UI', 'Cairo', 'Tajawal', Tahoma, Arial, sans-serif;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Popup Card - Map-First Design (230-250px)
   ============================================ */
.ame-popup-card {
    padding: 0;
    direction: rtl;
    text-align: right;
    font-family: 'Segoe UI', 'Cairo', 'Tajawal', Tahoma, Arial, sans-serif;
    position: relative;
}

/* Map-First Popup: Lightweight, minimal (230-250px) */
.ame-popup-map-first {
    width: 230px;
    max-width: 250px;
    padding: 12px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: visible;
}

/* Arrow pointer connecting to marker */
.ame-popup-arrow {
    position: absolute;
    bottom: -7px;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #ffffff;
    z-index: 1;
}

.ame-popup-arrow::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid rgba(0, 0, 0, 0.05);
    z-index: -1;
}

/* Title - Single line with ellipsis */
.ame-popup-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    line-height: 1.4;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ame-popup-title-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
    color: #1a1a1a;
}

/* Badge (Status) - Small, next to title */
.ame-popup-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    flex-shrink: 0;
}

.ame-popup-badge-text {
    display: inline-block;
}

/* Location - Small line */
.ame-popup-location {
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 8px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ame-popup-location-text {
    color: #6b7280;
}

/* Price - Hero Element (most prominent visual) */
.ame-popup-price {
    margin-bottom: 10px;
    padding: 0;
    background: transparent;
    border: none;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.ame-popup-price-value {
    font-size: 22px;
    font-weight: 700;
    color: #059669;
    direction: ltr;
    text-align: left;
    display: inline-block;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.ame-popup-currency {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    margin-right: 4px;
    direction: rtl;
}

/* Actions - Text/Ghost Button */
.ame-popup-actions {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

.ame-popup-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    background: transparent;
    color: #0073aa;
    text-decoration: none;
    border: none;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

.ame-popup-button-text {
    color: #0073aa;
}

.ame-popup-button-arrow {
    font-size: 14px;
    line-height: 1;
    color: #0073aa;
    transition: transform 0.2s ease;
}

.ame-popup-button:hover {
    color: #005a87;
}

.ame-popup-button:hover .ame-popup-button-text {
    color: #005a87;
}

.ame-popup-button:hover .ame-popup-button-arrow {
    transform: translateX(-3px);
    color: #005a87;
}

/* Leaflet Popup Override */
.leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: transparent;
}

.leaflet-popup-content {
    margin: 0;
    padding: 0;
}

.ame-popup .leaflet-popup-content-wrapper {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.ame-popup .leaflet-popup-content {
    margin: 0;
    padding: 0;
}

.ame-popup .leaflet-popup-tip {
    display: none !important;
}

/* Close button - COMPLETELY HIDDEN */
.ame-popup .leaflet-popup-close-button {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Ensure popup doesn't cover more than 25% of map */
.ame-popup-map-first {
    max-width: 250px !important;
    max-height: 180px !important;
    overflow: hidden;
}

.ame-popup.ame-popup-map-first .leaflet-popup-content-wrapper {
    max-width: 250px !important;
    max-height: 180px !important;
}

.ame-popup.ame-popup-map-first .leaflet-popup-content {
    max-height: 160px;
    overflow-y: auto;
}

/* Leaflet Controls */
.leaflet-control-zoom {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.leaflet-control-zoom a {
    background-color: #ffffff;
    color: #374151;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 18px;
    line-height: 26px;
    width: 30px;
    height: 30px;
}

.leaflet-control-zoom a:hover {
    background-color: #f9fafb;
    color: #0073aa;
}

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
    font-family: 'Segoe UI', 'Cairo', 'Tajawal', Tahoma, Arial, sans-serif;
}

.leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.8);
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Marker Cluster Styles */
.ame-marker-cluster {
    background-color: rgba(0, 115, 170, 0.6);
    border: 2px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ame-marker-cluster div {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.ame-marker-cluster-small {
    width: 40px;
    height: 40px;
}

.ame-marker-cluster-medium {
    width: 50px;
    height: 50px;
}

.ame-marker-cluster-large {
    width: 60px;
    height: 60px;
}

/* No Results Message */
.ame-no-results {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Marker Highlight/Pulse Animation */
@keyframes ame-marker-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0.9;
    }
}

/* ============================================
   Responsive Design - Mobile
   ============================================ */
@media (max-width: 768px) {
    /* Filters - Mobile */
    .ame-filters-bar {
        padding: 10px 12px;
        margin-bottom: 12px;
    }
    
    .ame-filters-compact {
        gap: 8px;
    }
    
    .ame-filter-chip {
        padding: 5px 10px;
        font-size: 12px;
        min-height: 28px;
    }
    
    .ame-filter-chip-select {
        font-size: 12px;
        min-width: 80px;
        padding-right: 18px;
    }
    
    .ame-reset-filters-ghost {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    /* Popup - Mobile */
    .ame-popup-map-first {
        max-width: 230px !important;
        max-height: 170px !important;
        padding: 10px !important;
    }
    
    .ame-popup.ame-popup-map-first .leaflet-popup-content-wrapper {
        max-width: 230px !important;
        max-height: 170px !important;
    }
    
    .ame-popup-title {
        font-size: 13px;
    }
    
    .ame-popup-price-value {
        font-size: 20px !important;
    }
    
    .ame-popup-button {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .ame-filter-chips {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    
    .ame-filter-chip {
        width: 100%;
        justify-content: space-between;
    }
    
    .ame-filter-chip-select {
        width: 100%;
    }
}

/* ============================================
   Areas Statistics Frame
   ============================================ */
.ame-areas-frame {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding: 20px;
    margin-top: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    direction: rtl;
    text-align: right;
}

.ame-areas-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.ame-areas-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

.ame-areas-content {
    min-height: 60px;
}

.ame-areas-loading {
    text-align: center;
    padding: 20px;
    color: #6b7280;
    font-size: 14px;
}

.ame-areas-empty {
    text-align: center;
    padding: 20px;
    color: #9ca3af;
    font-size: 14px;
}

.ame-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.ame-area-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    cursor: default;
}

.ame-area-card:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.ame-area-name {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ame-area-count {
    font-size: 16px;
    font-weight: 700;
    color: #0073aa;
    background: #ffffff;
    border-radius: 6px;
    padding: 4px 10px;
    min-width: 40px;
    text-align: center;
    margin-right: 8px;
    flex-shrink: 0;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .ame-areas-frame {
        padding: 16px;
        margin-top: 12px;
    }
    
    .ame-areas-title {
        font-size: 16px;
    }
    
    .ame-areas-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .ame-area-card {
        padding: 10px 12px;
    }
    
    .ame-area-name {
        font-size: 13px;
    }
    
    .ame-area-count {
        font-size: 14px;
        padding: 3px 8px;
        min-width: 35px;
    }
}

@media (max-width: 480px) {
    .ame-areas-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Area Assets Section
   ============================================ */
.ame-area-assets-section {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding: 20px;
    margin-top: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    direction: rtl;
    text-align: right;
    max-height: 600px;
    display: flex;
    flex-direction: column;
}

.ame-area-assets-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
    flex-shrink: 0;
}

.ame-area-assets-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
    line-height: 1.4;
    flex: 1;
}

.ame-area-assets-close {
    background: transparent;
    border: none;
    font-size: 28px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    margin: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.ame-area-assets-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.ame-area-assets-close span {
    line-height: 1;
    font-weight: 300;
}

.ame-area-assets-content {
    overflow-y: auto;
    flex: 1;
    padding-right: 4px;
}

.ame-area-assets-content::-webkit-scrollbar {
    width: 8px;
}

.ame-area-assets-content::-webkit-scrollbar-track {
    background: #f9fafb;
    border-radius: 4px;
}

.ame-area-assets-content::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.ame-area-assets-content::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.ame-area-assets-empty {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
    font-size: 14px;
}

/* Assets Grid */
.ame-assets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.ame-asset-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.2s ease;
}

.ame-asset-card:hover {
    background: #ffffff;
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.ame-asset-card-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ame-asset-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ame-asset-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ame-asset-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.ame-asset-location {
    font-size: 12px;
    color: #6b7280;
    flex: 1;
}

.ame-asset-price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.ame-asset-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.ame-asset-price-value {
    font-size: 20px;
    font-weight: 700;
    color: #059669;
    direction: ltr;
    text-align: left;
    display: inline-block;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.ame-asset-currency {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    direction: rtl;
}

.ame-asset-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #0073aa;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    align-self: flex-start;
    margin-top: 4px;
}

.ame-asset-link:hover {
    background: #005a87;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 115, 170, 0.2);
}

/* Responsive - Area Assets Section */
@media (max-width: 768px) {
    .ame-area-assets-section {
        padding: 16px;
        margin-top: 12px;
        max-height: 500px;
    }
    
    .ame-area-assets-title {
        font-size: 16px;
    }
    
    .ame-area-assets-close {
        width: 28px;
        height: 28px;
        font-size: 24px;
    }
    
    .ame-assets-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 12px;
    }
    
    .ame-asset-card {
        padding: 12px;
    }
    
    .ame-asset-title {
        font-size: 14px;
    }
    
    .ame-asset-price-value {
        font-size: 18px;
    }
    
    .ame-asset-link {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .ame-assets-grid {
        grid-template-columns: 1fr;
    }
    
    .ame-area-assets-section {
        max-height: 400px;
    }
}

/* ============================================
   Live Assets Frame
   ============================================ */
.ame-live-assets-frame {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding: 20px;
    margin-top: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    direction: rtl;
    text-align: right;
}

.ame-live-assets-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.ame-live-assets-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ame-live-assets-title::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #00a32a;
    border-radius: 50%;
    display: inline-block;
    animation: ame-live-pulse 2s ease-in-out infinite;
}

@keyframes ame-live-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.ame-live-assets-content {
    min-height: 60px;
}

.ame-live-assets-loading {
    text-align: center;
    padding: 20px;
    color: #6b7280;
    font-size: 14px;
}

.ame-live-assets-empty {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
    font-size: 14px;
}

/* Responsive - Live Assets Frame */
@media (max-width: 768px) {
    .ame-live-assets-frame {
        padding: 16px;
        margin-top: 12px;
    }
    
    .ame-live-assets-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .ame-live-assets-frame {
        padding: 12px;
    }
    
    .ame-live-assets-title {
        font-size: 15px;
    }
}
