.quick-links-widget {
                margin-bottom: 22px;
    border: 0px solid #f1f2f3;
    box-shadow: 0px 1px 3px 0px rgb(0 0 0 / 3%);
    background-color: #fff;
    border-radius: 0px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
        }
        
        .quick-links-widget-header {

            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .quick-links-widget-header h4 {
            margin: 0;
            font-size: 16px;
            font-weight: 600;
        }
        
        .quick-links-widget-header .btn {
            border: none;
            border-radius: 4px;
            padding: 4px 8px;
            font-size: 12px;
            transition: all 0.3s ease;
        }
        
        .quick-links-widget-header .btn:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-1px);
        }
        
        .quick-links-widget-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 15px;
            padding: 20px;
        }
        
        .quick-link-widget-item {
            text-align: center;
        }
        
        .quick-link-widget-link {
            display: block;
            padding: 15px 10px;
            border-radius: 8px;
            text-decoration: none;
            color: #2d3748;
            transition: all 0.3s ease;
            border: 1px solid #e1e5e9;
        }
        
        .quick-link-widget-link:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            border-color: #667eea;
            text-decoration: none;
            color: #2d3748;
        }
        
        .quick-link-widget-icon {
            margin-bottom: 8px;
        }
        
        .quick-link-widget-icon img {
            width: 32px;
            height: 32px;

        }
        
        .quick-link-widget-text {
            font-size: 12px;
            font-weight: 500;
            line-height: 1.2;
        }
        
        @media (max-width: 768px) {
            .quick-links-widget-grid {
                grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
                gap: 10px;
                padding: 15px;
            }
            
            .quick-link-widget-link {
                padding: 10px 8px;
            }
            
            .quick-link-widget-icon img {
                width: 28px;
                height: 28px;
            }
            
            .quick-link-widget-text {
                font-size: 11px;
            }
        }
.quick-links-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    overflow: hidden;
}

.quick-links-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quick-links-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.quick-links-actions {
    display: flex;
    gap: 10px;
}

.quick-links-actions .btn {
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.quick-links-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
}

.quick-link-card {
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.quick-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.quick-link-icon {
    text-align: center;
    margin-bottom: 15px;
}

.quick-link-icon img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    padding: 8px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quick-link-content h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    text-align: center;
}

.quick-link-url {
    margin: 0 0 15px 0;
    font-size: 12px;
    color: #718096;
    text-align: center;
    word-break: break-all;
}

.quick-link-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.quick-link-actions .btn {
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.quick-link-actions .btn:hover {
    transform: scale(1.05);
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 15px;
    background: #f8f9fa;
}

.icon-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.icon-option:hover {
    border-color: #667eea;
    background: #f0f4ff;
    transform: scale(1.05);
}

.icon-option.selected {
    border-color: #667eea;
    background: #e6f0ff;
}

.icon-option img {
    width: 32px;
    height: 32px;
    margin-bottom: 5px;
}

.icon-option span {
    font-size: 10px;
    color: #718096;
    text-align: center;
    word-break: break-word;
}

/* æœç´¢ç»“æžœæ˜¾ç¤º */
.search-results {
    max-height: 400px;
    overflow-y: auto;
}

.default-links-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.default-link-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
}

.default-link-item:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.link-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.link-info img {
    border-radius: 6px;
    padding: 4px;
    background: #f8f9fa;
}

.link-info div {
    display: flex;
    flex-direction: column;
}

.link-info strong {
    font-size: 14px;
    color: #2d3748;
    margin-bottom: 2px;
}

.link-info small {
    font-size: 12px;
    color: #718096;
}

/* ç¼–è¾‘æ¨¡å¼æ ·å¼ */
.edit-mode .quick-link-card {
    cursor: move;
}

.edit-mode .quick-link-card:hover {
    border-color: #f56565;
}

.sort-handle {
    cursor: move;
    color: #718096;
    transition: color 0.3s ease;
}

.sort-handle:hover {
    color: #667eea;
}

/* å“åº”å¼è®¾è®¡ */
@media (max-width: 768px) {
    .quick-links-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .quick-links-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }
    
    .quick-link-card {
        padding: 15px;
    }
    
    .icon-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }
    
    .default-link-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .link-info {
        flex-direction: column;
        text-align: center;
    }
}

/* åŠ¨ç”»æ•ˆæžœ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quick-link-card {
    animation: fadeIn 0.5s ease-out;
}

/* åŠ è½½çŠ¶æ€ */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: #718096;
}

.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #e1e5e9;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ç©ºçŠ¶æ€ */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #718096;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #cbd5e0;
}

.empty-state h4 {
    margin: 0 0 10px 0;
    color: #4a5568;
}

.empty-state p {
    margin: 0;
    font-size: 14px;
}


.quick-links-widget-actions {
    display: flex;
    gap: 5px;
    align-items: center;
}

.quick-link-widget-item {
    position: relative;
    text-align: center;
}

.quick-link-widget-item .quick-link-widget-actions {
    position: absolute;
    top: 5px;
    right: 5px;
    display: none;
    gap: 2px;
}

.quick-link-widget-item:hover .quick-link-widget-actions {
    display: flex;
}

.quick-link-widget-item .quick-link-widget-actions .btn {
    padding: 2px 4px;
    font-size: 10px;
    border: none;
    border-radius: 3px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.quick-link-widget-item .quick-link-widget-actions .btn:hover {
    opacity: 1;
}

/* å›¾æ ‡é€‰æ‹©ç½‘æ ¼æ ·å¼ */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    padding: 10px;
    background: #f8f9fa;
}

.icon-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.icon-option:hover {
    border-color: #667eea;
    background: #f0f4ff;
    transform: scale(1.05);
}

.icon-option.selected {
    border-color: #667eea;
    background: #e6f0ff;
}

.icon-option img {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
}

.icon-option span {
    font-size: 9px;
    color: #718096;
    text-align: center;
    word-break: break-word;
    line-height: 1.2;
}


@media (max-width: 768px) {
    .icon-grid {
        grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
        gap: 6px;
        padding: 8px;
    }
    
    .icon-option {
        padding: 6px;
    }
    
    .icon-option img {
        width: 20px;
        height: 20px;
    }
    
    .icon-option span {
        font-size: 8px;
    }
}
