.suppliers-map-container {
    display: flex;
    gap: 10px;
    max-width: 100%;
    margin: 20px auto;
    background: #f8f9fa;
}

.map-header {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.map-header h1 {
    color: #333;
    margin: 0 0 20px 0;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.control-group {
    display: flex;    
    gap: 5px;
}

.control-group label {
    display: flex;
    font-weight: 600;
    color: #555;
    font-size: 14px;
    justify-content: center;
    align-items: center;
}

.control-group select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-width: 150px;
}

.reset-btn {
    padding: 8px 15px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.reset-btn:hover {
    background: #5a6268;
}

.map-lmc{
    position: absolute;
    right: 30px;
    padding: 10px 20px;
    background-color: #007abc;    
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.map-lmc a{
    color: white !important;
}

.map-lmc:hover{
    background-color: #f2546a;
}

.map-content {
    display: flex;
    flex-grow: 1; 
    flex-direction: column;
    gap: 20px;
    height: 100dvh;
}

.supplier-list-panel {
    width: 350px;
    height: 100dvh;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.list-header {
    padding: 15px 20px;
    background: #007abc;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list-header h3 {
    margin: 0;
    font-size: 18px!important;
}

.toggle-btn {
    padding: 5px 10px;
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    cursor: pointer;
}

.toggle-btn:hover {
    background: rgba(255,255,255,0.3);
}

.suppliers-container {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.supplier-item {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    margin-bottom: 10px;
    padding: 5px 10px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.supplier-item:hover {
    background: white;
    border-color: #0073aa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,115,170,0.1);
}

.supplier-item.selected {
    background: #e3f2fd;
    border-color: #1e90ff;
    box-shadow: 0 5px 15px rgba(30,144,255,0.2);
}

.supplier-info {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    padding: 0;
}

.supplier-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 50%;    
}

.supplier-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid #e1e8ed;
    background: white;
    padding: 2px;
    
}

.placeholder-logo {
    width: 50px;
    height: 50px;
    background: #0073aa;
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
}

.supplier-details {
    flex: 1;
}

.supplier-name {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 16px!important;
    font-weight: 500;
    word-wrap: break-word; 
    word-break: break-all;
}

.supplier-details-lole{
    display: flex;
    gap: 20px;
}

.supplier-location {
    margin: 0 0 5px 0;
    color: #6c757d;
    font-size: 12px;
}

.supplier-level {
    margin: 0 0 5px 0;
    color: #28a745;
    font-size: 12px;
    font-weight: 500;
}

.supplier-description {
    display: none;
    margin: 0;
    color: #555;
    font-size: 13px;
    line-height: 1.4;
}

.supplier-actions {
    text-align: center;
}

.view-btn {
    display: inline-block;
    padding: 6px 12px;
    background: #007abc;
    color: white!important;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: background 0.3s;
}

.view-btn:hover {
    background: #f2546a;
}

#supplier-map {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.marker-info h4{
    font-size: 1.1rem !important;
    font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .map-content {
        flex-direction: column;
        height: auto;
    }
    
    .supplier-list-panel {
        width: 100%;
        height: 400px;
    }
    
    .map-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .control-group {
        align-items: flex-start;
    }
    
    .control-group select {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .supplier-map-container {
        padding: 15px;
    }
    
    .map-header h1 {
        font-size: 20px;
    }
    
    .map-controls {
        gap: 15px;
    }
    
    .control-group select {
        min-width: auto;
    }
    
    .supplier-list-panel {
        height: 350px;
    }
    
    .supplier-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .supplier-logo img,
    .placeholder-logo {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .supplier-map-container {
        padding: 10px;
    }
    
    .map-header h1 {
        font-size: 18px;
    }
    
    .map-controls {
        gap: 10px;
    }
    
    .supplier-list-panel {
        height: 300px;
    }
    
    .list-header h3 {
        font-size: 16px;
    }
    
    .supplier-name {
        font-size: 14px;
    }
    
    .supplier-location,
    .supplier-level,
    .supplier-description {
        font-size: 12px;
    }
}